@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&display=swap');

:root {
    --trot-primary: #5B2E57;
    --trot-secondary: #A0539B;
    --trot-text: #6E6070;
    --trot-accent: #A0539B;
    --trot-white: #FFFFFF;
    --trot-cultured-white: #FBF8FB;
    --trot-gray: #D0BDD0;
    --trot-yellow: #FFF4DE;
    --trot-font-family: 'Barlow', sans-serif;
    --trot-type-display: clamp(2.4rem, 4vw, 3.5rem);
    --trot-type-h1: clamp(2rem, 3vw, 2.75rem);
    --trot-type-h2: clamp(1.45rem, 2.2vw, 1.95rem);
    --trot-type-h3: clamp(1.1rem, 1.4vw, 1.3rem);
    --trot-type-h4: 1rem;
    --trot-type-h5: 0.875rem;
    --trot-type-body: 0.95rem;
    --trot-type-small: 0.8125rem;
    --trot-type-micro: 0.75rem;
    --trot-tracking-tight: -0.03em;
    --trot-tracking-medium: -0.015em;
    --trot-tracking-caps: 0.08em;
}

/* Typography Hierarchy — scopée aux conteneurs Trotannonce uniquement */
.trot-single-ad-container h1,
.trot-form-container h1,
.trot-dashboard h1,
.trot-listings-container h1,
.trot-profile-container h1,
.trot-home-v3 h1,
.trp-wrap h1 {
    font-size: var(--trot-type-h1) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    font-family: var(--trot-font-family) !important;
    color: var(--trot-home-ink, var(--trot-primary)) !important;
    letter-spacing: var(--trot-tracking-tight) !important;
    text-transform: none !important;
}

.trot-single-ad-container h2,
.trot-form-container h2,
.trot-dashboard h2,
.trot-listings-container h2,
.trot-section-header h2,
.trot-profile-container h2,
.trot-home-v3 h2 {
    font-size: var(--trot-type-h2) !important;
    font-weight: 800 !important;
    line-height: 1.14 !important;
    font-family: var(--trot-font-family) !important;
    color: var(--trot-home-ink, var(--trot-primary)) !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

.trot-single-ad-container h3,
.trot-form-container h3,
.trot-dashboard h3,
.trot-listings-container h3,
.trot-profile-container h3,
.trot-home-v3 h3 {
    font-size: var(--trot-type-h3) !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    font-family: var(--trot-font-family) !important;
    color: var(--trot-home-ink, var(--trot-primary)) !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

.trot-single-ad-container h4,
.trot-form-container h4,
.trot-dashboard h4,
.trot-listings-container h4,
.trot-profile-container h4,
.trot-home-v3 h4 {
    font-size: var(--trot-type-h4) !important;
    font-weight: 700 !important;
    font-family: var(--trot-font-family) !important;
    color: var(--trot-home-ink, var(--trot-primary)) !important;
}

.trot-single-ad-container h5,
.trot-form-container h5,
.trot-dashboard h5,
.trot-listings-container h5,
.trot-profile-container h5,
.trot-home-v3 h5 {
    font-size: var(--trot-type-h5) !important;
    font-weight: 700 !important;
    font-family: var(--trot-font-family) !important;
    color: var(--trot-home-muted, var(--trot-text)) !important;
    text-transform: uppercase !important;
    letter-spacing: var(--trot-tracking-caps) !important;
}

body,
button,
input,
select,
textarea {
    font-family: var(--trot-font-family);
}

/* Reset explicite : la médiathèque WP ne doit jamais hériter nos styles */
.media-modal h1,
.media-modal h2,
.media-modal h3,
.media-modal h4,
.media-frame h1,
.media-frame h2,
.media-frame h3,
.media-frame h4 {
    font-size: revert !important;
    font-weight: revert !important;
    text-transform: revert !important;
    line-height: revert !important;
    font-family: revert !important;
    color: revert !important;
}

/* Trotannonce Wizard Progress Bar - Premium */
.trot-wizard-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
    padding: 0;
    margin: 0 0 34px 0;
    position: relative;
    font-family: var(--trot-font-family) !important;
    gap: 18px;
}

.trot-wizard-steps::before {
    content: '';
    position: absolute;
    top: 23px;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: linear-gradient(90deg, rgba(160, 97, 159, 0.14), rgba(160, 97, 159, 0.26));
    z-index: 1;
}

.trot-wizard-steps li {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: transparent;
    padding: 0 12px;
    font-size: 13px;
    color: #8a7a95;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: all 0.25s ease;
}

.trot-wizard-steps li::before {
    content: '';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: #fff;
    border: 1px solid #e7def0;
    border-radius: 50%;
    margin: 0 auto;
    text-align: center;
    font-size: 15px;
    color: #8a7a95;
    box-shadow: 0 12px 24px rgba(31, 16, 44, 0.06);
    transition: all 0.25s ease;
}

.trot-wizard-steps li:nth-child(1)::before {
    content: '1';
}

.trot-wizard-steps li:nth-child(2)::before {
    content: '2';
}

.trot-wizard-steps li:nth-child(3)::before {
    content: '3';
}

.trot-wizard-steps li.active {
    color: #2c1836;
}

.trot-wizard-steps li.active::before {
    border-color: var(--trot-home-violet, #a0619f);
    background: linear-gradient(135deg, var(--trot-home-violet, #a0619f), var(--trot-home-violet-dark, #7c4b82));
    color: #fff;
    box-shadow: 0 0 0 6px rgba(160, 97, 159, 0.12);
}

.trot-wizard-steps li.completed {
    color: var(--trot-home-violet-dark, #7c4b82);
}

.trot-wizard-steps li.completed::before {
    background: var(--trot-accent);
    border-color: var(--trot-accent);
    color: #fff;
    content: '✓';
}

/* Premium Form Styles */
.trot-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
}

.trot-submit-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 18px 20px 28px;
}

.trot-submit-hero {
    margin-bottom: 26px;
    padding: 30px 32px;
    border: 1px solid #e9dff0;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(160, 97, 159, 0.12), transparent 34%),
        linear-gradient(180deg, #ffffff, #fbf8fd);
    box-shadow: 0 20px 50px rgba(31, 16, 44, 0.06);
    text-align: center;
}

.trot-submit-kicker {
    margin-bottom: 10px;
    color: var(--trot-home-violet-dark, #7c4b82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.trot-submit-hero h2 {
    margin: 0 0 10px;
    color: #22122d;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.05;
}

.trot-submit-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #6f617c;
    font-size: 16px;
    line-height: 1.65;
}

.trot-submit-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.75fr);
    gap: 26px;
    align-items: start;
}

.trot-submit-card {
    padding: 32px;
    border: 1px solid #eadff2;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 20px 44px rgba(31, 16, 44, 0.05);
}

.trot-submit-sidebar {
    position: sticky;
    top: 24px;
}

.trot-submit-tip-card {
    padding: 26px 24px;
    border: 1px solid #eadff2;
    border-radius: 24px;
    background: linear-gradient(180deg, #fcfbfe, #f7f1fb);
}

.trot-submit-tip-kicker {
    margin-bottom: 12px;
    color: var(--trot-home-violet-dark, #7c4b82);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trot-submit-tip-list {
    margin: 0;
    padding-left: 18px;
    color: #4f415d;
    line-height: 1.7;
}

.trot-submit-tip-list li + li {
    margin-top: 10px;
}

.trot-submit-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.trot-submit-section-heading h3 {
    margin: 0 0 6px;
    color: #22122d;
    font-size: 24px;
}

.trot-submit-section-heading p {
    margin: 0;
    color: #6f617c;
    line-height: 1.6;
}

.trot-submit-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.trot-form-group {
    margin-bottom: 25px;
}

.trot-form-group label {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--trot-primary);
    margin-bottom: 10px;
    font-family: var(--trot-font-family);
}

.trot-form-group input[type="text"],
.trot-form-group input[type="number"],
.trot-form-group input[type="datetime-local"],
.trot-form-group select,
.trot-form-group textarea {
    width: 100%;
    min-height: 54px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid #e7def0;
    font-family: var(--trot-font-family);
    font-size: 14px;
    color: var(--trot-primary);
    transition: all 0.2s ease;
    background: #fcfbfd;
}

.trot-form-group input:focus,
.trot-form-group select:focus,
.trot-form-group textarea:focus {
    border-color: var(--trot-home-violet, #a0619f);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(160, 97, 159, 0.10);
}

.trot-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
}

.trot-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.trot-form-header h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: var(--trot-primary) !important;
    margin-bottom: 10px !important;
}

.trot-form-header p {
    color: var(--trot-text);
    font-size: 16px;
}

.trot-back-link {
    text-decoration: none !important;
    color: var(--trot-text) !important;
    font-size: 13px !important;
    transition: color 0.2s !important;
}

.trot-back-link:hover {
    color: var(--trot-home-violet-dark, #7c4b82) !important;
}

.trot-partner-info {
    font-size: 13px;
    color: var(--trot-text);
    margin-top: 5px;
}

.trot-form-actions {
    margin-top: 40px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 16px;
}

.trot-btn-submit {
    background: linear-gradient(135deg, var(--trot-home-violet, #a0619f), var(--trot-home-violet-dark, #7c4b82)) !important;
    color: #fff !important;
    padding: 14px 24px !important;
    border-radius: 16px !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    border: none !important;
    cursor: pointer !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    font-family: var(--trot-font-family) !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 16px 28px rgba(160, 97, 159, 0.20);
}

.trot-btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(160, 97, 159, 0.26);
}

.trot-required {
    color: var(--trot-home-violet, #a0619f);
}

.trot-form-help {
    display: block;
    margin-top: 8px;
    color: #7a6c88;
    font-size: 12px;
    line-height: 1.5;
}

.trot-stallion-fields,
.trot-standard-description.is-hidden {
    display: none;
}

.trot-stallion-fields.is-visible {
    display: block;
    margin: 22px 0;
    padding: 22px;
    border: 1px solid rgba(160, 97, 159, 0.16);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #fbf7fc 100%);
}

.trot-stallion-notice {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(160, 97, 159, 0.10);
    color: var(--trot-home-violet-dark, #7c4b82);
}

.trot-stallion-notice strong {
    font-size: 15px;
    font-weight: 800;
}

.trot-stallion-notice span {
    font-size: 13px;
    font-weight: 600;
}

.trot-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.trot-checkbox-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid var(--trot-home-border, #ece6f4);
    border-radius: 15px;
    background: #fff;
    color: var(--trot-home-ink, #3a2440);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.trot-checkbox-pill input {
    width: 16px;
    height: 16px;
    accent-color: var(--trot-home-violet, #a0619f);
}

.trot-submit-alert,
.trot-submit-inline-error {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff4f2;
    color: #9d382d;
    font-size: 13px;
    font-weight: 600;
}

.trot-submit-existing-grid,
.trot-submit-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
    margin-bottom: 22px;
}

.trot-submit-existing-item,
.trot-submit-preview-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    border: 1px solid #eadff2;
    border-radius: 18px;
    background: #fff;
}

.trot-submit-existing-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trot-submit-delete-photo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(34, 18, 45, 0.68);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 18px;
}

.trot-submit-upload-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 22px;
}

.trot-submit-upload-choice {
    padding: 26px 22px;
    border: 1px solid #eadff2;
    border-radius: 22px;
    background: #fff;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.trot-submit-upload-choice:hover {
    transform: translateY(-2px);
    border-color: rgba(160, 97, 159, 0.32);
    box-shadow: 0 18px 34px rgba(31, 16, 44, 0.08);
}

.trot-submit-upload-choice--accent {
    background: linear-gradient(180deg, #ffffff, #faf5fc);
}

.trot-submit-upload-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(160, 97, 159, 0.10);
    color: var(--trot-home-violet-dark, #7c4b82);
    font-size: 24px;
    font-weight: 900;
}

.trot-submit-upload-title {
    margin-bottom: 6px;
    color: #22122d;
    font-size: 16px;
    font-weight: 800;
}

.trot-submit-upload-copy {
    color: #7a6c88;
    font-size: 13px;
    line-height: 1.6;
}

.trot-submit-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 16px;
    padding: 0 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--trot-home-violet, #a0619f), var(--trot-home-violet-dark, #7c4b82));
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.trot-submit-upload-btn--dark {
    border: 0;
    background: #22122d;
    color: #fff;
    cursor: pointer;
}

.trot-submit-selected-info {
    margin-top: 8px;
    margin-bottom: 22px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #eef8f0;
    color: #215f33;
    font-size: 13px;
    font-weight: 700;
}

.trot-submit-preview-badge {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(34, 18, 45, 0.72);
    color: #fff;
    font-size: 10px;
    text-align: center;
}

.trot-recap-section--soft {
    border: 1px solid #eadff2;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #fbf8fd);
}

@media (max-width: 960px) {
    .trot-submit-layout {
        grid-template-columns: 1fr;
    }

    .trot-submit-sidebar {
        position: static;
    }
}

@media (max-width: 720px) {
    .trot-submit-shell {
        padding: 14px 14px 24px;
    }

    .trot-submit-hero,
    .trot-submit-card,
    .trot-submit-tip-card {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .trot-submit-field-grid,
    .trot-submit-upload-grid,
    .trot-wizard-steps {
        grid-template-columns: 1fr;
    }

    .trot-wizard-steps::before {
        display: none;
    }
}

/* Loading State */
.trot-button-primary.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.trot-button-primary.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: trot-spin 0.8s linear infinite;
}

@keyframes trot-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Listings Page - Premium Grid */
.trot-listings-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--trot-font-family) !important;
}

.trot-listings-container.is-simple {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.trot-search-bar-v2 {
    background: var(--trot-white);
    border-radius: 24px;
    padding: 10px;
    border: 2px solid var(--trot-cultured-white);
    margin-bottom: 50px;
}

.trot-search-form {
    display: flex;
    align-items: center;
    gap: 0;
}

.trot-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    gap: 12px;
}

.trot-search-input-wrapper.divider {
    border-left: 1px solid #eee;
}

.trot-search-input-wrapper .icon {
    font-size: 18px;
}

.trot-search-input-wrapper input {
    border: none !important;
    outline: none !important;
    width: 100%;
    font-size: 15px;
    background: transparent !important;
    padding: 8px 0 !important;
    box-shadow: none !important;
}

.trot-price-filter {
    flex: 0 0 250px;
    gap: 8px !important;
}

.trot-price-filter input {
    width: 80px;
    text-align: center;
}

.price-sep {
    color: #999;
    font-weight: bold;
}

.trot-search-btn {
    background: var(--trot-primary) !important;
    color: #fff !important;
    padding: 14px 35px !important;
    border-radius: 18px !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: var(--trot-font-family) !important;
}

.trot-search-btn:hover {
    background: var(--trot-secondary) !important;
    transform: scale(1.02);
}

.trot-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.trot-card-v2 {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 1px solid #eee;
    position: relative;
}

.trot-card-v2:hover {
    border-color: var(--trot-secondary);
}

.trot-card-link {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.trot-card-img-container {
    height: 190px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.trot-card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.trot-card-v2:hover .trot-card-img-container img {
    transform: scale(1.1);
}

.trot-card-price-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--trot-secondary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: -0.2px;
    box-shadow: 0 4px 12px rgba(189, 158, 114, 0.3);
}

.trot-card-body {
    padding: 20px 22px;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.trot-card-meta-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.trot-card-meta-top .category {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--trot-secondary);
    letter-spacing: 1.2px;
    background: var(--trot-cultured-white);
    padding: 4px 10px;
    border-radius: 6px;
}

.trot-card-date-badge {
    font-size: 10px;
    color: var(--trot-text);
    font-weight: 500;
}

.trot-card-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 8px 0 6px !important;
    color: var(--trot-primary) !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.trot-card-location {
    font-size: 13px;
    color: var(--trot-text);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.trot-card-footer-v2 {
    padding: 14px 22px;
    border-top: 1px solid var(--trot-cultured-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--trot-text);
}

.trot-card-footer-v2 .view-btn {
    font-weight: 700;
    color: var(--trot-primary);
    font-size: 13px;
    transition: color 0.2s, transform 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.trot-card-v2:hover .view-btn {
    color: var(--trot-secondary);
    transform: translateX(3px);
}

/* Placeholder sans image élégant */
.trot-card-no-image {
    width: 100%;
    height: 100%;
    background: var(--trot-cultured-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    opacity: 0.4;
}

/* Compteur de résultats */
.trot-results-count {
    font-size: 14px;
    color: var(--trot-text);
    font-weight: 600;
    margin-bottom: 24px;
    padding: 0 4px;
}


/* Badges Status */
.trot-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.trot-badge-published {
    background: #dcfce7;
    color: #166534;
}

.trot-badge-pending_review {
    background: #fef9c3;
    color: #854d0e;
}

.trot-badge-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.trot-badge-draft {
    background: #f3f4f6;
    color: #374151;
}

/* Dashboard Modern Layout */
.trot-dashboard {
    background: #fff;
    padding: 0;
    border-radius: 24px;
    border: 1px solid #eee;
    font-family: var(--trot-font-family) !important;
    overflow: hidden;
    display: flex;
    min-height: 600px;
}

.trot-dashboard-sidebar {
    width: 260px;
    background: #fcfcfc;
    border-right: 1px solid #eee;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trot-dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none !important;
    color: #666 !important;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.2s ease;
}

.trot-dashboard-nav-item:hover,
.trot-dashboard-nav-item.active {
    background: var(--trot-secondary);
    color: #fff !important;
}

.trot-dashboard-nav-item .icon {
    font-size: 18px;
}

.trot-dashboard-content {
    flex: 1;
    padding: 40px;
    background: #fff;
}

.trot-dashboard-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.trot-dashboard-header-inline h2 {
    font-size: var(--trot-type-h2) !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--trot-home-ink) !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

/* Stats Overview Cards */
.trot-stats-overview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.trot-stat-box {
    padding: 24px;
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 20px;
}

.trot-stat-box .label {
    font-size: var(--trot-type-micro);
    color: var(--trot-text);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--trot-tracking-caps);
    margin-bottom: 8px;
    display: block;
}

.trot-stat-box .number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--trot-home-ink);
    letter-spacing: var(--trot-tracking-medium);
}

/* Horizontal Ad Cards */
.trot-ad-card-row {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    transition: border-color 0.2s ease;
}

.trot-ad-card-row:hover {
    border-color: var(--trot-home-violet);
}

.trot-ad-card-thumb {
    width: 100px;
    height: 80px;
    border-radius: 12px;
    background: #eee;
    object-fit: cover;
}

.trot-ad-card-info {
    flex: 1;
}

.trot-ad-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--trot-home-ink);
    margin-bottom: 5px;
    letter-spacing: var(--trot-tracking-medium);
}

.trot-ad-card-meta {
    font-size: var(--trot-type-small);
    color: var(--trot-home-muted);
    display: flex;
    gap: 15px;
}

.trot-ad-card-stats {
    text-align: center;
    padding: 0 30px;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #f0f0f0;
}

.trot-ad-card-stats .val {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--trot-home-violet);
}

.trot-ad-card-stats .lab {
    font-size: var(--trot-type-micro);
    color: var(--trot-home-muted);
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: var(--trot-tracking-caps);
}

.trot-ad-card-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.trot-action-btn-mini {
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.trot-btn-edit {
    background: #f0f8ff;
    color: #007cba !important;
}

.trot-btn-delete {
    background: #fff5f5;
    color: #d63638 !important;
}

.trot-btn-boost-mini {
    background: var(--trot-secondary);
    color: #fff !important;
}

.trot-action-btn-mini:hover {
    filter: brightness(0.95);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .trot-dashboard {
        flex-direction: column;
    }

    .trot-dashboard-sidebar {
        width: 100%;
        padding: 20px;
        flex-direction: row;
        overflow-x: auto;
    }

    .trot-ad-card-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .trot-ad-card-stats {
        border: none;
        padding: 10px 0;
        text-align: left;
    }
}

/* Similar Ads Section */
.trot-similar-ads-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--trot-cultured-white);
}

.trot-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.trot-section-header h2 {
    font-size: var(--trot-type-h2) !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: var(--trot-home-ink) !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

.trot-view-more {
    color: var(--trot-home-violet) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    font-size: var(--trot-type-small);
    transition: all 0.2s ease;
}

.trot-view-more:hover {
    transform: translateX(5px);
    opacity: 0.8;
}

/* Leboncoin-style Single Ad Layout - Premium Refinement */
.trot-single-ad-container {
    max-width: 1060px;
    margin: 20px auto;
    padding: 0 20px;
    font-family: var(--trot-font-family) !important;
    color: #1a1a1a !important;
}

.trot-breadcrumbs {
    font-size: 13px !important;
    color: #888 !important;
    margin-bottom: 15px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
}

.trot-breadcrumbs a {
    color: #888 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.trot-breadcrumbs a:hover {
    color: #000 !important;
}

.trot-ad-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

.trot-ad-left-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Gallery Section */
.trot-ad-gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: 240px 240px;
    gap: 12px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #000;
    border: 1px solid #eee;
}

.trot-ad-gallery-main {
    grid-row: span 2;
}

.trot-ad-gallery-main img,
.trot-ad-gallery-side img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #111;
    cursor: zoom-in;
    transition: transform 0.5s ease;
}

.trot-ad-gallery-main img:hover {
    transform: scale(1.02);
}

.trot-gallery-count {
    position: absolute;
    bottom: 25px;
    right: 25px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 800;
    color: #1a1a1a;
    border: 1px solid #eee;
    z-index: 10;
}

/* ── Galerie Premium ────────────────────────────────── */
.trot-gallery {
    border-radius: 20px;
    overflow: hidden;
    background: #0a0a0a;
    margin-bottom: 28px;
}

.trot-gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
    cursor: zoom-in;
}

.trot-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.2s;
}

.trot-gallery-counter {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 11px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    pointer-events: none;
}

.trot-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(6px);
    border: none;
    color: #fff;
    font-size: 30px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 5;
    line-height: 1;
}

.trot-gallery-arrow:hover {
    background: rgba(255, 255, 255, .3);
}

.trot-gallery-prev {
    left: 12px;
}

.trot-gallery-next {
    right: 12px;
}

.trot-gallery-fullscreen-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, .5);
    border: none;
    color: #fff;
    font-size: 17px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    transition: background .2s;
    z-index: 5;
}

.trot-gallery-fullscreen-btn:hover {
    background: rgba(0, 0, 0, .8);
}

.trot-gallery-thumbs {
    display: flex;
    gap: 6px;
    padding: 6px;
    overflow-x: auto;
    background: #0a0a0a;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, .2) transparent;
}

.trot-gallery-thumbs::-webkit-scrollbar {
    height: 3px;
}

.trot-gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .2);
    border-radius: 3px;
}

.trot-gallery-thumb {
    flex: 0 0 78px;
    height: 58px;
    border-radius: 7px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.45;
    transition: opacity .2s;
    outline: 2px solid transparent;
    outline-offset: 1px;
}

.trot-gallery-thumb:hover {
    opacity: .75;
}

.trot-gallery-thumb.active {
    opacity: 1;
    outline-color: var(--trot-secondary, #BD9E72);
}

.trot-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Lightbox ────────────────────────────────────────── */
.trot-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, .95);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.trot-lightbox.active {
    display: flex;
}

.trot-lightbox img {
    max-width: 92vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
}

.trot-lightbox-close {
    position: fixed;
    top: 18px;
    right: 22px;
    background: rgba(255, 255, 255, .12);
    border: none;
    color: #fff;
    font-size: 20px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
    z-index: 100000;
}

.trot-lightbox-close:hover {
    background: rgba(255, 255, 255, .25);
}

.trot-lightbox-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    font-size: 38px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .2s;
    z-index: 100000;
}

.trot-lightbox-arrow:hover {
    background: rgba(255, 255, 255, .25);
}

.trot-lightbox-prev {
    left: 18px;
}

.trot-lightbox-next {
    right: 18px;
}

.trot-lightbox-counter {
    position: fixed;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
}

.trot-gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 280px;
    background: var(--trot-cultured-white);
    border-radius: 20px;
    font-size: 60px;
    margin-bottom: 28px;
}

/* Info Summary (Title/Price) */
.trot-ad-info-summary {
    padding: 28px 0 20px;
    border-bottom: 1px solid var(--trot-cultured-white);
}

.trot-ad-top-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.trot-ad-cat-badge {
    font-size: var(--trot-type-micro);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--trot-tracking-caps);
    color: var(--trot-home-violet);
    background: var(--trot-home-violet-soft);
    padding: 4px 12px;
    border-radius: 20px;
}

.trot-ad-pub-date {
    font-size: var(--trot-type-small);
    color: var(--trot-home-muted);
    font-weight: 500;
}

.trot-ad-info-summary h1 {
    font-size: clamp(1.7rem, 2.6vw, 2.35rem) !important;
    margin: 0 0 12px !important;
    font-weight: 800 !important;
    color: var(--trot-home-ink) !important;
    line-height: 1.12 !important;
    letter-spacing: var(--trot-tracking-tight) !important;
}

.trot-ad-location-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--trot-type-small);
    color: var(--trot-home-muted);
    margin-top: 10px;
}

.trot-price {
    font-size: clamp(1.5rem, 2.5vw, 2.15rem) !important;
    font-weight: 800 !important;
    margin: 8px 0 0 !important;
    color: var(--trot-home-violet) !important;
    display: block !important;
    font-family: var(--trot-font-family) !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

/* Prix mis en avant dans la sidebar */
.trot-price-card {
    background: var(--trot-primary);
    color: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    text-align: center;
    display: none;
    /* Visible en mobile uniquement via media query */
}

.trot-price-card-amount {
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 6px;
}

.trot-price-card-label {
    font-size: var(--trot-type-micro);
    font-weight: 800;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: var(--trot-tracking-caps);
}

.trot-date {
    font-size: 14px !important;
    color: #a0a0a0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

/* Sections Content */
.trot-ad-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--trot-cultured-white);
}

.trot-ad-section:last-child {
    border-bottom: none;
}

.trot-ad-section h2 {
    font-size: 16px !important;
    margin: 0 0 16px !important;
    font-weight: 600 !important;
    color: var(--trot-primary) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

/* Galerie placeholder */
.trot-gallery-placeholder {
    width: 100%;
    height: 100%;
    background: var(--trot-cultured-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    opacity: 0.3;
}

.trot-gallery-more-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
}

/* Key Info Grid */
.trot-key-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.trot-key-info-item {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fcfcfc;
    padding: 20px 25px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.trot-key-info-item:hover {
    background: #fff;
    border-color: #ddd;
}

.trot-key-info-item .icon {
    font-size: 22px;
}

.trot-key-info-item .label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.trot-key-info-item .value {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Description */
.trot-ad-description-text {
    font-size: 15px !important;
    line-height: 1.9 !important;
    color: var(--trot-text) !important;
    font-weight: 400 !important;
}

.trot-map-wrapper {
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--trot-cultured-white);
}

/* Right Column - Sticky Sidebar */
.trot-ad-right-col {
    position: sticky;
    top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trot-seller-card-v2 {
    background: #fff !important;
    border: 1px solid #eee !important;
    padding: 20px !important;
    border-radius: 24px !important;
}

/* Seller Card & Sidebar Actions */
.trot-seller-card-v2 {
    background: var(--trot-white) !important;
    border: 1px solid var(--trot-cultured-white) !important;
    padding: 25px !important;
    border-radius: 24px !important;
    border: 1px solid var(--trot-cultured-white) !important;
}

.trot-seller-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.trot-seller-avatar-v2 {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--trot-cultured-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border: 1px solid var(--trot-cultured-white);
    color: var(--trot-primary);
}

.trot-seller-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--trot-primary) !important;
    margin-bottom: 4px !important;
}

.trot-seller-stats {
    font-size: 13px !important;
    color: var(--trot-text) !important;
}

.trot-badge-reactive {
    background: #d1fae5 !important;
    color: #065f46 !important;
    padding: 7px 14px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: block !important;
    text-align: center !important;
    margin-bottom: 16px !important;
}

.trot-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trot-btn-buy,
.trot-btn-contact {
    background: var(--trot-primary) !important;
    color: var(--trot-white) !important;
    padding: 11px 18px !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: background 0.2s ease !important;
    border: none !important;
    cursor: pointer !important;
    font-family: var(--trot-font-family) !important;
    display: block !important;
}

.trot-btn-buy:hover,
.trot-btn-contact:hover {
    background: var(--trot-secondary) !important;
}

.trot-btn-offer {
    background: var(--trot-white) !important;
    border: 1.5px solid var(--trot-primary) !important;
    color: var(--trot-primary) !important;
    padding: 10px 18px !important;
    border-radius: 10px !important;
    text-align: center !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    cursor: pointer !important;
    display: block !important;
}

.trot-btn-offer:hover {
    background: var(--trot-primary) !important;
    color: var(--trot-white) !important;
}

.trot-security-info {
    font-size: 12px !important;
    color: var(--trot-text) !important;
    text-align: center !important;
    padding: 10px 0 !important;
}

.trot-map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--trot-cultured-white);
}

/* Messaging Section */
.trot-messaging-container {
    max-width: 800px;
    background: var(--trot-white);
    padding: 0;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--trot-cultured-white);
    border: 1px solid var(--trot-cultured-white);
    font-family: var(--trot-font-family);
}

.trot-messaging-container header {
    background: var(--trot-white);
    padding: 25px 30px;
    border-bottom: 1px solid var(--trot-cultured-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trot-messaging-container header h2 {
    font-size: 24px !important;
    margin: 10px 0 0 0 !important;
    font-weight: 700 !important;
    color: var(--trot-primary) !important;
}

.trot-messages-list {
    padding: 30px;
    max-height: 550px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    background: var(--trot-cultured-white);
}

.trot-message-bubble {
    max-width: 80%;
}

.trot-message-bubble.me {
    align-self: flex-end;
}

.trot-message-bubble.other {
    align-self: flex-start;
}

.trot-message-bubble .meta {
    font-size: 11px;
    color: var(--trot-text);
    margin-bottom: 6px;
}

.trot-message-content {
    padding: 15px 22px;
    border-radius: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.trot-message-bubble.me .trot-message-content {
    background: var(--trot-primary);
    color: var(--trot-white);
    border-bottom-right-radius: 4px;
}

.trot-message-bubble.other .trot-message-content {
    background: var(--trot-white);
    color: var(--trot-primary);
    border-bottom-left-radius: 4px;
}

.trot-messaging-footer {
    background: var(--trot-white);
    padding: 25px;
    border-top: 1px solid var(--trot-cultured-white);
}

.trot-messaging-footer form {
    display: flex;
    gap: 15px;
}

.trot-messaging-footer textarea {
    flex: 1;
    padding: 15px;
    border: 2px solid var(--trot-cultured-white);
    border-radius: 14px;
    resize: none;
    font-family: var(--trot-font-family);
    background: var(--trot-cultured-white);
}

.trot-messaging-footer textarea:focus {
    border-color: var(--trot-secondary);
    background: var(--trot-white);
    outline: none;
}

/* Animations */
@keyframes trotFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trot-ad-card-row,
.trot-stat-box,
.trot-card-v2 {
    animation: trotFadeIn 0.4s ease forwards;
}

@media (max-width: 900px) {
    .trot-ad-layout {
        grid-template-columns: 1fr;
    }

    .trot-ad-right-col {
        position: static;
        margin-top: 40px;
    }

    .trot-search-form {
        flex-direction: column;
    }

    .trot-search-input-wrapper.divider {
        border-left: none;
        border-top: 1px solid #eee;
    }

    .trot-price-filter {
        flex: 1 !important;
        width: 100%;
        justify-content: center;
    }

    .trot-price-filter input {
        flex: 1;
        width: auto !important;
    }

    .trot-search-btn {
        width: 100%;
        margin-top: 10px;
    }

    .trot-dashboard {
        flex-direction: column;
    }

    .trot-dashboard-sidebar {
        width: 100%;
        padding: 20px;
        flex-direction: row;
        overflow-x: auto;
    }

    .trot-ad-card-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .trot-ad-card-stats {
        border: none;
        padding: 10px 0;
        text-align: left;
    }
}
/* ══════════════════════════════════════════════════════════
   NEW HOMEPAGE REDESIGN (Inspired by trotannonces.com)
   ══════════════════════════════════════════════════════════ */

.trot-home {
    background: #fff;
    font-family: var(--trot-font-family) !important;
}

/* --- Hero Section --- */
.trot-hero {
    position: relative;
    background: #000 url('https://images.unsplash.com/photo-1553284965-83fd3e82fa5a?auto=format&fit=crop&q=80&w=2000') center/cover no-repeat;
    padding: 120px 0 100px;
    color: #fff;
    text-align: center;
}

.trot-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 25, 33, 0.85) 0%, rgba(14, 25, 33, 0.4) 100%);
}

.trot-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    margin: 0 auto;
}

.trot-badge-premium {
    background: rgba(189, 158, 114, 0.2);
    color: var(--trot-secondary);
    padding: 8px 16px;
    border-radius: 40px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid rgba(189, 158, 114, 0.3);
    margin-bottom: 30px;
    display: inline-block;
}

.trot-hero-title {
    font-size: 56px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 25px !important;
    color: #fff !important;
}

.trot-hero-title span {
    color: var(--trot-secondary);
}

.trot-hero-sub {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

/* Advanced Search Bar */
.trot-search-container {
    background: #fff;
    border-radius: 24px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.trot-main-search {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 10px;
}

.search-group {
    padding: 12px 20px;
    text-align: left;
    border-right: 1px solid #eee;
}

.search-group:nth-last-child(2) {
    border-right: none;
}

.search-group label {
    display: block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 6px;
}

.search-group input, 
.search-group select {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    color: var(--trot-primary);
    background: transparent;
    padding: 0;
}

.trot-btn-hero-search {
    background: var(--trot-primary);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 0 35px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.trot-btn-hero-search:hover {
    background: var(--trot-secondary);
    transform: translateY(-2px);
}

/* --- Categories Grid --- */
.trot-home-cats {
    padding: 80px 0;
    background: #fff;
}

.trot-section-header-center {
    text-align: center;
    margin-bottom: 60px;
}

.trot-section-header-center h2 {
    font-size: 36px !important;
    font-weight: 800 !important;
    color: var(--trot-primary) !important;
    margin-bottom: 15px !important;
}

.trot-divider-gold {
    width: 60px;
    height: 4px;
    background: var(--trot-secondary);
    margin: 0 auto;
    border-radius: 2px;
}

.trot-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
}

.trot-cat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.trot-cat-box .icon-circle {
    width: 90px;
    height: 90px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.trot-cat-box span {
    font-size: 15px;
    font-weight: 700;
    color: var(--trot-primary);
    text-align: center;
}

.trot-cat-box:hover .icon-circle {
    background: var(--trot-secondary);
    border-color: var(--trot-secondary);
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(189, 158, 114, 0.2);
}

.trot-cat-box:hover span {
    color: var(--trot-secondary);
}

/* --- Latest Ads --- */
.trot-home-latest {
    padding: 80px 0;
    background: #fcfcfc;
}

.trot-section-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.trot-section-header-inline h2 {
    font-size: 32px !important;
    font-weight: 800 !important;
}

.trot-link-gold {
    color: var(--trot-secondary) !important;
    font-weight: 700;
    text-decoration: none !important;
    font-size: 15px;
}

/* --- Stats --- */
.trot-home-stats {
    padding: 60px 0;
    background: var(--trot-primary);
    color: #fff;
}

.trot-stats-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item .number {
    display: block;
    font-size: 42px;
    font-weight: 800;
    color: var(--trot-secondary);
    margin-bottom: 5px;
}

.stat-item .label {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
}

.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- SEO Section --- */
.trot-home-seo {
    padding: 100px 0;
    background: #fff;
}

.seo-card {
    background: #f8f9fa;
    border-radius: 32px;
    padding: 60px;
    border: 1px solid #eee;
}

.seo-card h3 {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
}

.seo-card p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 40px;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.seo-item h4 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.seo-item p {
    font-size: 14px;
    margin-bottom: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .trot-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .trot-hero-title { font-size: 42px !important; }
}

@media (max-width: 768px) {
    .trot-main-search { grid-template-columns: 1fr; }
    .search-group { border-right: none; border-bottom: 1px solid #eee; }
    .trot-hero { padding: 80px 0 60px; }
    .trot-hero-title { font-size: 32px !important; }
    .trot-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .trot-stats-wrapper { flex-direction: column; gap: 40px; }
    .border-left { border-left: none; }
    .seo-grid { grid-template-columns: 1fr; }
    .seo-card { padding: 30px; }
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE DESIGN SYSTEM EXTENSIONS
   Harmonisation du plugin avec le langage visuel de la homepage
   ══════════════════════════════════════════════════════════ */

:root {
    --trot-home-violet: #A0539B;
    --trot-home-violet-dark: #5B2E57;
    --trot-home-violet-soft: #F6F1F6;
    --trot-home-ink: #5B2E57;
    --trot-home-muted: #6E6070;
    --trot-home-border: #E6D9E4;
    --trot-home-surface: #FBF8FB;
    --trot-home-shadow: 0 10px 30px rgba(36, 31, 61, 0.05);
    --trot-home-shadow-hover: 0 18px 36px rgba(98, 57, 97, 0.14);
}

.trot-fullwidth {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
}

.trot-home-v3 {
    font-family: var(--trot-font-family);
    color: var(--trot-home-ink);
    background: linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
}

.trot-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.trot-center-text {
    text-align: center;
}

.trot-home-note {
    margin-bottom: 30px;
    color: var(--trot-home-violet);
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.trot-home-hidden {
    display: none !important;
}

.trot-cta-espace-vente {
    font-size: 32px;
    font-weight: 800;
    color: var(--trot-home-violet);
    text-align: center;
    margin: 40px 0;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.trot-plans-title-grid {
    text-align: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--trot-primary);
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════════
   PREMIUM HEADER DESIGN (V4)
   ══════════════════════════════════════════════════════════ */

.trot-header-premium {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 28px rgba(31, 16, 44, 0.06);
    transition: all 0.3s ease;
}

body:has(.trot-header-premium) {
    padding-top: 80px;
}

.trot-header-inner {
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.trot-logo-link {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    max-width: min(250px, 30vw);
}

.trot-logo-img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 250px;
    max-height: 56px;
    transition: transform 0.2s;
}

.trot-logo-img:hover {
    transform: scale(1.02);
}

.trot-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trot-header-account {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(160, 83, 155, 0.22);
    border-radius: 999px;
    background: #fff;
    color: var(--trot-home-violet-dark);
    text-decoration: none !important;
    box-shadow: none;
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.trot-header-account:hover {
    transform: translateY(-1px);
    background: rgba(160, 83, 155, 0.08);
    border-color: rgba(160, 83, 155, 0.34);
}

.trot-header-account-icon {
    display: inline-flex;
    width: 18px;
    height: 18px;
    line-height: 1;
    color: currentColor;
}

.trot-header-account-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: currentColor;
}

.trot-nav-minimalist {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--trot-home-violet-dark);
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: normal;
    transition: color 0.2s, background-color 0.2s;
}

.trot-nav-minimalist:hover {
    color: var(--trot-home-violet-dark) !important;
    background: rgba(160, 83, 155, 0.08);
}

.trot-btn-premium {
    background: var(--trot-home-violet);
    color: #fff !important;
    padding: 11px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.trot-btn-premium:hover {
    background: var(--trot-home-violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(160, 97, 159, 0.25);
}

/* Barrettes de catégories */
.trot-header-categories {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    padding: 12px 0;
}

.trot-categories-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
}

.trot-categories-scroll::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.trot-cat-pill {
    white-space: nowrap;
    padding: 8px 18px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 20px;
    color: var(--trot-home-ink) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s;
}

.trot-cat-pill:hover {
    background: #fff;
    border-color: var(--trot-home-violet);
    color: var(--trot-home-violet) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Masquer les anciens styles pour éviter les conflits */
.trot-demo-header, .trot-demo-header-top, .trot-demo-header-main, .trot-demo-header-tools {
    display: none !important;
}

.trot-demo-footer {
    background: #ffffff;
    padding: 80px 0 60px;
    color: var(--trot-home-muted);
    border-top: 1px solid #f2f2f2;
}

.trot-demo-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.trot-demo-footer-brand p {
    margin: 20px 0 28px;
    max-width: 400px;
    line-height: 1.7;
    color: var(--trot-home-muted);
    font-size: 14px;
}

.trot-demo-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trot-demo-footer-col h3 {
    margin: 0 0 10px !important;
    color: var(--trot-home-ink) !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trot-demo-footer-col a {
    color: var(--trot-home-muted) !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: color 0.2s;
}

.trot-demo-footer-col a:hover {
    color: var(--trot-home-violet) !important;
}

.trot-demo-footer-note {
    margin-top: 15px;
    color: #bbb;
    font-size: 12px;
}

.trot-demo-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 24px;
    background: var(--trot-home-violet);
    color: #fff !important;
    border-radius: 50px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.trot-demo-footer-cta:hover {
    background: var(--trot-home-violet-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(160, 97, 159, 0.2);
}

.trot-hero-v3 {
    position: relative;
    background: var(--trot-home-hero-bg) center center / cover no-repeat;
    padding: 140px 0 160px;
    min-height: 520px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.trot-hero-v3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: grayscale(100%);
    z-index: 1;
}

.trot-hero-v3 > .trot-container {
    position: relative;
    z-index: 2;
}

.trot-hero-v3-kicker {
    display: inline-flex;
    margin-bottom: 20px;
    padding: 8px 14px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: normal;
    text-transform: none;
}

.trot-hero-v3 {
    position: relative;
    background: var(--trot-home-hero-bg) center center / cover no-repeat;
    padding: 148px 0 144px;
    min-height: 600px;
    display: flex;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.trot-hero-v3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    backdrop-filter: grayscale(100%) contrast(1.1);
    z-index: 1;
}

.trot-hero-v3 > .trot-container {
    position: relative;
    z-index: 2;
    animation: trotFadeInUp 1s ease-out;
}

@keyframes trotFadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.trot-home-v3 h1.trot-hero-v3-title {
    margin: 0 auto 30px !important;
    max-width: 760px;
    color: #ffffff !important;
    font-size: 56px !important; /* Retour à la taille initiale */
    font-weight: 800 !important;
    line-height: 1.06 !important;
    letter-spacing: normal !important;
    text-transform: none !important; /* Retrait du majuscule forcé */
    text-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

.trot-home-v3 h1.trot-hero-v3-title span {
    color: #ffffff !important;
    font-weight: 800 !important;
    opacity: 1 !important;
}

.trot-btn-v3 {
    display: inline-block;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    box-shadow: none;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s;
    cursor: pointer;
}

.trot-btn-v3--primary {
    background: var(--trot-home-violet);
    color: #fff !important;
}

.trot-btn-v3--primary:hover {
    background: #8d548d;
    transform: translateY(-1px);
}

.trot-btn-v3--outline {
    border: 2px solid rgba(255,255,255,.3);
    background: rgba(255,255,255,.12);
    color: #fff !important;
}

.trot-btn-v3--outline:hover {
    background: rgba(255,255,255,.22);
}

.trot-btn-v3--big {
    padding: 18px 40px;
    font-size: 17px;
}

.trot-market-bar-wrap {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    padding-bottom: 12px;
}

.trot-market-bar {
    padding: 30px;
    border: 1px solid rgba(160, 97, 159, 0.10);
    border-radius: 32px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(31, 16, 44, 0.06);
}

.trot-market-bar-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.trot-market-bar-copy-wrap {
    max-width: 720px;
}

.trot-market-bar-label {
    margin-bottom: 6px;
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: normal;
    text-transform: none;
}

.trot-market-bar-head h2 {
    margin: 0 !important;
    color: var(--trot-home-ink) !important;
    font-size: 1.8rem !important;
    font-weight: 800 !important;
    letter-spacing: normal !important;
}

.trot-market-bar-copy {
    max-width: 760px;
    margin: 10px 0 0;
    color: var(--trot-home-muted);
    font-size: 15px;
    line-height: 1.65;
}

.trot-market-bar-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    background: rgba(160, 97, 159, 0.10);
    color: var(--trot-home-violet) !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.trot-market-bar-cta:hover {
    background: rgba(160, 97, 159, 0.16);
}

.trot-market-search {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.trot-market-search-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--trot-home-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trot-market-search-field input,
.trot-market-search-field select {
    width: 100%;
    min-height: 54px;
    padding: 0 20px;
    border: 1px solid #f0f0f0;
    border-radius: 14px;
    background: #fbfbfb;
    color: var(--trot-home-ink);
    font-size: 14px;
    font-weight: 600;
    box-shadow: none;
    transition: all 0.2s ease;
}

.trot-market-search-field input:focus,
.trot-market-search-field select:focus {
    outline: none;
    border-color: var(--trot-home-violet);
    box-shadow: 0 0 0 4px rgba(160, 97, 159, 0.08);
    background: #fff;
}

.trot-market-search-btn {
    min-height: 54px;
    padding: 0 22px;
    border: none;
    border-radius: 16px;
    background: var(--trot-home-violet) !important;
    color: #fff !important;
    font-weight: 800;
    cursor: pointer;
    transition: all .2s ease;
    appearance: none;
    -webkit-appearance: none;
}

.trot-market-search-btn:hover {
    background: var(--trot-home-violet-dark) !important;
    transform: translateY(-1px);
}

.trot-sponsors-section {
    padding: 60px 0;
    background: #fff;
}

.trot-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: center;
}

.trot-sponsor-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.4s ease;
}

.trot-sponsor-item:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-4px);
}

.trot-sponsor-logo {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    overflow: hidden;
}


.trot-sponsor-logo:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(32, 24, 41, 0.08);
}

.trot-sponsor-logo--ad {
    position: relative;
    justify-content: flex-start;
    align-items: flex-start;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(18, 16, 22, .08) 0%, rgba(18, 16, 22, .58) 100%),
        var(--trot-sponsor-bg) center/cover no-repeat;
}

.trot-sponsor-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(20, 20, 23, .84);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trot-sponsor-badge--available {
    background: rgba(255, 255, 255, .9);
    color: var(--trot-home-violet);
    box-shadow: 0 6px 18px rgba(36, 31, 61, .10);
}

.trot-sponsor-logo--blue { background: #1a3a6e; color: #fff; }
.trot-sponsor-logo--dark { background: #1a1a1a; color: #d5c6ff; }
.trot-sponsor-logo--beige { background: #e8d5b2; color: #333; }
.trot-sponsor-logo--white { background: #f5f5f5; color: var(--trot-home-ink); border: 1px solid #eee; }

.trot-sponsor-name {
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.trot-surface-section {
    background: var(--trot-home-surface);
}

.trot-hp-section {
    padding: 100px 0;
    background: #fff;
}

.trot-hp-section--gray {
    background: var(--trot-home-surface);
}

.trot-section-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.trot-section-intro p {
    max-width: 520px;
    margin: 0;
    color: var(--trot-home-muted);
    line-height: 1.6;
}

.trot-section-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trot-section-kicker {
    display: inline-block;
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.trot-section-main-title {
    margin: 0 !important;
    color: var(--trot-home-ink) !important;
    font-size: 32px !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.2 !important;
}

.trot-hp-section-footer {
    text-align: center;
    margin-top: 50px;
}

.trot-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.trot-popular-card {
    padding: 24px;
    border: 1px solid var(--trot-home-border);
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, var(--trot-home-violet-soft) 100%);
    box-shadow: 0 14px 32px rgba(36, 31, 61, 0.06);
    color: inherit !important;
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.trot-popular-card:hover {
    transform: translateY(-3px);
    border-color: rgba(160, 97, 159, 0.35);
    box-shadow: 0 20px 40px rgba(98, 57, 97, 0.12);
}

.trot-popular-pill {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 7px 11px;
    border-radius: 999px;
    background: #fff;
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.trot-popular-card h3 {
    margin: 0 0 10px !important;
    color: var(--trot-home-ink) !important;
    font-size: 20px !important;
}

.trot-popular-card p {
    margin: 0 0 18px;
    color: var(--trot-home-muted);
    line-height: 1.6;
}

.trot-popular-link {
    color: var(--trot-home-violet);
    font-weight: 800;
}

.trot-plans-section {
    background: #ffffff !important;
}

.trot-plans-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 10px;
}

.trot-toggle-btn {
    padding: 12px 32px;
    border: 1px solid #eee !important;
    background: #ffffff !important;
    color: var(--trot-home-muted) !important;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all .3s ease;
}

.trot-toggle-btn:first-child { border-radius: 50px 0 0 50px; border-right: none !important; }
.trot-toggle-btn:last-child { border-radius: 0 50px 50px 0; border-left: none !important; }

.trot-toggle-btn.active {
    background: var(--trot-home-violet) !important;
    border-color: var(--trot-home-violet) !important;
    color: #fff !important;
    box-shadow: 0 10px 20px rgba(160, 97, 159, 0.2);
}

.trot-plans-intro {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--trot-home-violet);
    font-size: var(--trot-type-body);
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
}

.trot-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.trot-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.trot-plan-price--small {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trot-plan-amount-sm {
    color: var(--trot-home-ink);
    font-size: 36px;
    font-weight: 800;
}

.trot-plans-footnote {
    margin-top: 10px;
    color: #888;
    font-size: 12px;
    font-style: italic;
    text-align: center;
}

.trot-btn-plans {
    display: block;
    width: 100%;
    margin-top: auto;
    padding: 13px 20px;
    border-radius: 8px;
    background: var(--trot-home-violet);
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s;
}

.trot-btn-plans:hover {
    background: var(--trot-home-violet-dark);
}

.trot-cats-v3-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 28px 20px;
}

.trot-cat-v3-title {
    display: block;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--trot-home-violet);
    color: var(--trot-home-ink) !important;
    text-decoration: none !important;
    font-size: var(--trot-type-micro);
    font-weight: 800;
    letter-spacing: var(--trot-tracking-caps);
    text-transform: uppercase;
    transition: color .2s;
}

.trot-cat-v3-title:hover {
    color: var(--trot-home-violet) !important;
}

.trot-cat-v3-subs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.trot-cat-v3-subs li a {
    color: #555 !important;
    text-decoration: none !important;
    font-size: var(--trot-type-small);
    transition: color .2s;
}

.trot-cat-v3-subs li a::before {
    content: '› ';
    color: var(--trot-home-violet);
    font-weight: 700;
}

.trot-cat-v3-subs li a:hover {
    color: var(--trot-home-violet) !important;
}

.trot-regions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.trot-region-link {
    padding: 8px 18px;
    border: 1px solid #ddd;
    border-radius: 30px;
    background: #fff;
    color: var(--trot-home-ink) !important;
    text-decoration: none !important;
    font-size: var(--trot-type-small);
    font-weight: 700;
    transition: all .2s;
}

.trot-region-link:hover {
    border-color: var(--trot-home-violet);
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet) !important;
}

.trot-sell-cta {
    padding: 140px 0;
    background: #1a151a url('../img/cta-equestrian-dark.png') center center / cover no-repeat;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.trot-sell-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26, 21, 26, 0.5) 0%, rgba(26, 21, 26, 0.4) 100%);
    z-index: 1;
}

.trot-sell-cta .trot-container {
    position: relative;
    z-index: 2;
}

.trot-sell-cta-title {
    margin: 0 0 20px !important;
    color: #ffffff !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
}

.trot-sell-cta-sub {
    max-width: 650px;
    margin: 0 auto 48px;
    color: rgba(255,255,255,0.6) !important;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
}

.trot-sell-cta .trot-btn-v3--primary {
    background: #ffffff !important;
    color: #1a151a !important;
    border-radius: 50px;
    padding: 18px 45px;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

.trot-sell-cta .trot-btn-v3--primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(255,255,255,0.2);
    background: #f8f8f8 !important;
}

.trot-hp-section-title {
    color: var(--trot-home-ink) !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: var(--trot-tracking-caps) !important;
    text-transform: uppercase !important;
}

.trot-single-ad-container,
.trot-form-container,
.trot-dashboard,
.trot-listings-container,
.trot-profile-container {
    color: var(--trot-home-ink);
    font-family: var(--trot-font-family) !important;
}

.trot-single-ad-container h1,
.trot-form-container h1,
.trot-dashboard h1,
.trot-listings-container h1,
.trot-profile-container h1 {
    font-size: clamp(2.2rem, 4vw, 3.2rem) !important;
    font-weight: 800 !important;
    line-height: 1.08 !important;
    color: var(--trot-home-ink) !important;
    letter-spacing: -0.03em;
}

.trot-single-ad-container h2,
.trot-form-container h2,
.trot-dashboard h2,
.trot-listings-container h2,
.trot-profile-container h2,
.trot-section-header h2 {
    font-size: clamp(1.2rem, 2vw, 1.75rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--trot-home-ink) !important;
    letter-spacing: -0.02em;
}

.trot-single-ad-container h3,
.trot-form-container h3,
.trot-dashboard h3,
.trot-listings-container h3,
.trot-profile-container h3 {
    font-size: 1rem !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    color: var(--trot-home-ink) !important;
}

.trot-listings-container {
    max-width: 1320px;
}

.trot-search-bar-v2 {
    background: #fff;
    border: 1px solid var(--trot-home-border);
    border-radius: 24px;
    box-shadow: var(--trot-home-shadow);
}

.trot-search-form {
    gap: 0;
}

.trot-search-input-wrapper {
    min-height: 88px;
}

.trot-search-input-wrapper input,
.trot-search-input-wrapper select {
    font-size: 15px;
    font-weight: 600;
    color: var(--trot-home-ink);
}

.trot-search-input-wrapper input::placeholder {
    color: var(--trot-home-muted);
}

.trot-search-btn {
    background: var(--trot-home-ink) !important;
    border-radius: 16px !important;
    box-shadow: 0 14px 28px rgba(36, 31, 61, 0.16);
}

.trot-search-btn:hover {
    background: var(--trot-home-violet) !important;
}

.trot-results-count {
    color: var(--trot-home-muted);
    font-size: var(--trot-type-small);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--trot-tracking-caps);
}

.trot-listing-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trot-listing-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #f2f2f2;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    text-decoration: none !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.trot-listing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(160, 97, 159, 0.12);
}

.tlc-img {
    position: relative;
    height: 188px;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.tlc-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.trot-listing-card:hover .tlc-img img {
    transform: scale(1.04);
}

.tlc-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(160, 97, 159, 0.94);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 10px 22px rgba(160, 97, 159, 0.24);
}

.tlc-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 40px;
    opacity: 0.25;
}

.tlc-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

.tlc-meta {
    display: flex;
    justify-content: flex-end;
}

.trot-listing-cards-grid--archive,
.trot-listing-cards-grid--similar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trot-listing-card--enhanced .tlc-meta--spread {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.trot-listing-card--enhanced .tlc-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trot-listing-card--enhanced .tlc-spec {
    font-size: 12px;
    line-height: 1.5;
    color: var(--trot-home-muted);
}

.trot-listing-card--enhanced .tlc-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
}

.trot-listing-card--enhanced .tlc-photos-count {
    font-size: 11px;
    font-weight: 700;
    color: var(--trot-home-muted);
}

.tlc-date {
    color: var(--trot-home-muted);
    font-size: var(--trot-type-micro);
    font-weight: 700;
}

.tlc-title {
    min-height: 44px;
    overflow: hidden;
    color: var(--trot-home-ink);
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.tlc-loc {
    color: var(--trot-home-muted);
    font-size: 12px;
    font-weight: 600;
}

.tlc-price {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f8f8f8;
    color: var(--trot-home-violet);
    font-size: 1.1rem;
    font-weight: 900;
}

.tlc-img--compact {
    height: 168px;
}

.trot-single-ad-container {
    max-width: 1320px;
    margin: 32px auto 72px;
    padding: 0 20px;
}

.trot-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
    color: var(--trot-home-muted);
    font-size: var(--trot-type-micro);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--trot-tracking-caps);
}

.trot-breadcrumbs a {
    color: var(--trot-home-muted) !important;
    text-decoration: none !important;
}

.trot-breadcrumbs a:hover {
    color: var(--trot-home-violet) !important;
}

.trot-ad-layout {
    gap: 28px;
}

.trot-ad-info-summary,
.trot-ad-section,
.trot-price-card,
.trot-seller-card-v2,
.trot-profile-header,
.trot-stat-box,
.trot-ad-card-row,
.trot-dashboard-sidebar,
.trot-dashboard-content {
    border: 1px solid var(--trot-home-border);
    box-shadow: var(--trot-home-shadow);
}

.trot-ad-info-summary,
.trot-ad-section,
.trot-price-card,
.trot-seller-card-v2 {
    background: #fff;
    border-radius: 22px;
}

.trot-ad-info-summary {
    padding: 28px;
}

.trot-ad-top-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
}

.trot-ad-cat-badge,
.trot-ad-highlight-chip {
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet);
    border: 1px solid var(--trot-home-border);
}

.trot-ad-cat-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trot-ad-pub-date,
.trot-ad-location-inline,
.trot-ad-description-text,
.trot-ad-spec-label {
    color: var(--trot-home-muted);
}

.trot-price {
    margin-top: 10px;
    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
    font-weight: 800;
    color: var(--trot-home-violet);
    letter-spacing: var(--trot-tracking-medium);
}

.trot-ad-highlights-inline {
    margin-top: 20px;
    gap: 10px;
}

.trot-ad-highlight-chip {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.trot-ad-section {
    padding: 24px 26px;
    margin-top: 22px;
}

.trot-ad-section h2 {
    margin-bottom: 18px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--trot-home-border);
    font-size: 1.05rem !important;
    text-transform: uppercase !important;
    letter-spacing: var(--trot-tracking-caps) !important;
}

.trot-ad-description-text {
    font-size: var(--trot-type-body);
    line-height: 1.75;
}

.trot-ad-spec-grid {
    gap: 14px;
}

.trot-ad-spec-item {
    background: var(--trot-home-surface);
    border: 1px solid var(--trot-home-border);
    border-radius: 16px;
    padding: 16px;
}

.trot-ad-spec-value {
    color: var(--trot-home-ink);
}

.trot-price-card {
    padding: 22px;
    background: linear-gradient(180deg, #ffffff 0%, var(--trot-home-violet-soft) 100%);
}

.trot-price-card-amount {
    color: var(--trot-home-ink);
    font-size: 1.9rem;
    font-weight: 800;
}

.trot-price-card-label {
    color: var(--trot-home-violet);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.trot-seller-card-v2 {
    padding: 24px;
}

.trot-seller-name,
.trot-seller-name a {
    color: var(--trot-home-ink) !important;
}

.trot-seller-stats,
.trot-security-info {
    color: var(--trot-home-muted);
}

.trot-security-info {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--trot-home-surface);
    border: 1px solid var(--trot-home-border);
}

.trot-btn-buy,
.trot-btn-offer,
.trot-btn-contact,
.trot-action-btn-mini,
.trot-btn-outline {
    border-radius: 14px !important;
    font-weight: 800 !important;
}

.trot-btn-buy,
.trot-btn-offer,
.trot-btn-contact {
    min-height: 50px;
}

.trot-btn-buy,
.trot-btn-contact,
.trot-action-btn-mini,
.trot-btn-delete,
.trot-btn-edit,
.trot-btn-boost-mini {
    background: var(--trot-home-violet) !important;
    border-color: var(--trot-home-violet) !important;
    color: #fff !important;
}

.trot-btn-buy:hover,
.trot-btn-contact:hover,
.trot-action-btn-mini:hover,
.trot-btn-delete:hover,
.trot-btn-edit:hover,
.trot-btn-boost-mini:hover {
    background: var(--trot-home-violet-dark) !important;
    border-color: var(--trot-home-violet-dark) !important;
}

.trot-btn-offer,
.trot-btn-outline {
    background: #fff !important;
    border: 1px solid var(--trot-home-border) !important;
    color: var(--trot-home-ink) !important;
}

.trot-btn-offer:hover,
.trot-btn-outline:hover {
    background: var(--trot-home-violet-soft) !important;
    border-color: rgba(160, 97, 159, 0.35) !important;
    color: var(--trot-home-violet) !important;
}

.trot-profile-container {
    max-width: 1320px;
    margin: 40px auto 72px;
    padding: 0 20px;
}

.trot-profile-header {
    background: #fff;
    border-radius: 24px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 34px;
}

.trot-profile-info-v2 {
    display: flex;
    align-items: center;
    gap: 24px;
}

.trot-profile-avatar-wrapper {
    width: 104px;
    height: 104px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--trot-home-violet-soft);
}

.trot-profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trot-profile-meta-v2 {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: var(--trot-type-small);
    color: var(--trot-home-muted);
}

.trot-profile-meta-v2 a {
    color: var(--trot-home-violet) !important;
}

.trot-profile-stats {
    display: flex;
    gap: 24px;
}

.trot-dashboard {
    gap: 24px;
}

.trot-dashboard-sidebar,
.trot-dashboard-content {
    background: #fff;
    border-radius: 24px;
}

.trot-dashboard-header-inline {
    margin-bottom: 24px;
}

.trot-dashboard-nav-item.active {
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet) !important;
}

.trot-stat-box {
    background: linear-gradient(180deg, #ffffff 0%, var(--trot-home-violet-soft) 100%);
    border-radius: 20px;
}

.trot-stat-box .label {
    color: var(--trot-home-muted);
}

.trot-stat-box .number {
    color: var(--trot-home-ink);
}

.trot-ad-card-row {
    background: #fff;
    border-radius: 22px;
}

.trot-ad-card-title {
    color: var(--trot-home-ink);
    font-weight: 800;
}

.trot-ad-card-meta {
    color: var(--trot-home-muted);
}

.trot-empty-state {
    border: none;
    border-radius: 22px;
    background: #fff;
    box-shadow: none;
}

.trot-empty-state-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 48px;
    margin-top: 10px;
    padding: 0 20px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, var(--trot-home-violet), var(--trot-home-violet-dark)) !important;
    border-color: var(--trot-home-violet) !important;
    color: #fff !important;
    box-shadow: 0 14px 26px rgba(160, 97, 159, 0.18);
    text-decoration: none !important;
}

.trot-empty-state-cta:hover {
    background: linear-gradient(135deg, var(--trot-home-violet-dark), #6f4277) !important;
    border-color: var(--trot-home-violet-dark) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .trot-demo-header-main-inner,
    .trot-demo-header-top-inner,
    .trot-demo-tools-grid,
    .trot-demo-footer-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .trot-demo-main-nav {
        flex-wrap: wrap;
    }

    .trot-market-search {
        grid-template-columns: 1fr 1fr;
    }

    .trot-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trot-cats-v3-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .trot-plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trot-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trot-listing-cards-grid--archive,
    .trot-listing-cards-grid--similar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .trot-listing-cards-grid--archive,
    .trot-listing-cards-grid--similar {
        grid-template-columns: 1fr;
    }

    .trot-demo-header-main-inner {
        min-height: auto;
        padding: 18px 0;
    }

    .trot-demo-header-top-links,
    .trot-demo-main-nav {
        gap: 12px;
    }

    .trot-market-bar-wrap {
        margin-top: 22px;
    }

    .trot-market-bar {
        padding: 20px;
        border-radius: 22px;
    }

    .trot-market-bar-head,
    .trot-section-intro,
    .trot-messaging-header,
    .trot-thread-header-top,
    .trot-reply-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .trot-market-search,
    .trot-popular-grid,
    .trot-plans-grid {
        grid-template-columns: 1fr;
    }

    .trot-market-bar-cta {
        width: 100%;
    }

    .trot-hero-v3-title {
        font-size: 26px !important;
    }

    .trot-hero-v3-stats {
        gap: 10px;
    }

    .trot-hero-stat {
        min-width: unset;
        width: 100%;
    }

    .trot-cats-v3-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trot-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trot-search-input-wrapper {
        min-height: 72px;
    }

    .trot-profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .trot-profile-stats {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Accounts / Auth */
.trot-auth-container {
    max-width: 520px;
    margin: 72px auto;
    padding: 0 24px;
    font-family: var(--trot-font-family);
}

.auth-box {
    background: #fff;
    border: 1px solid var(--trot-home-border);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--trot-home-shadow);
}

.auth-tabs {
    display: flex;
    background: var(--trot-home-surface);
    border: 1px solid var(--trot-home-border);
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 36px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    border: none;
    background: transparent;
    color: var(--trot-home-ink);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.auth-tab.active {
    background: var(--trot-home-violet);
    color: #fff;
    box-shadow: 0 10px 22px rgba(160, 97, 159, 0.24);
}

.auth-form-panel {
    display: none;
}

.auth-form-panel.active {
    display: block;
    animation: trotAuthFadeIn 0.25s ease;
}

@keyframes trotAuthFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-header h2 {
    font-size: 24px !important;
    margin: 0 0 8px !important;
}

.auth-header p {
    margin: 0 0 28px;
    font-size: 14px;
    color: var(--trot-home-muted);
}

.auth-error {
    margin-bottom: 24px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fef2f2;
    border: 1px solid #fee2e2;
    color: #991b1b;
    font-size: 14px;
    font-weight: 600;
}

.trot-auth-container .form-group {
    margin-bottom: 18px;
}

.trot-auth-container .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--trot-home-ink);
    font-size: 13px;
    font-weight: 700;
}

.trot-auth-container .form-group input[type="text"],
.trot-auth-container .form-group input[type="email"],
.trot-auth-container .form-group input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid var(--trot-home-border);
    background: var(--trot-home-surface);
    border-radius: 14px;
    color: var(--trot-home-ink);
    font-size: 15px;
    font-family: var(--trot-font-family);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.trot-auth-container .form-group input:focus {
    border-color: rgba(160, 97, 159, 0.42);
    box-shadow: 0 0 0 4px rgba(160, 97, 159, 0.08);
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.remember-me {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--trot-home-muted);
    font-size: 13px;
}

.lost-pass {
    color: var(--trot-home-violet) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 700;
}

.auth-btn {
    width: 100%;
    min-height: 54px;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
    font-family: var(--trot-font-family);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--trot-home-ink);
    color: #fff;
}

.btn-primary:hover {
    background: var(--trot-home-violet);
}

.role-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 6px;
}

.role-option {
    cursor: pointer;
}

.role-option input {
    display: none;
}

.role-label {
    display: block;
    padding: 12px 8px;
    border: 1px solid var(--trot-home-border);
    border-radius: 12px;
    background: var(--trot-home-surface);
    color: var(--trot-home-muted);
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.role-option input:checked + .role-label {
    border-color: rgba(160, 97, 159, 0.35);
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet);
}

.auth-legal {
    margin: 22px 0;
    color: var(--trot-home-muted);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
}

/* Pricing pages */
.trp-wrap,
.trot-pricing-wrap {
    max-width: 1120px;
    margin: 56px auto;
    padding: 0 24px 24px;
    font-family: var(--trot-font-family);
}

.trp-header,
.trot-pricing-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 32px;
}

.trp-header h1,
.trot-pricing-title {
    display: block;
    width: 100%;
    margin: 0 auto;
    text-align: center !important;
    color: var(--trot-home-ink) !important;
    font-weight: 800 !important;
}

.trp-header p,
.trot-pricing-sub {
    max-width: 760px;
    margin: 0 auto;
    color: var(--trot-home-muted);
    line-height: 1.7;
}

.trot-pricing-eyebrow {
    margin: 0 0 8px;
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.trp-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.trp-toggle-wrap--compact {
    margin-bottom: 8px;
}

.trp-toggle {
    padding: 12px 26px;
    border: 1px solid var(--trot-home-border);
    background: #fff;
    color: var(--trot-home-violet);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.trp-toggle:first-child {
    border-radius: 12px 0 0 12px;
}

.trp-toggle:last-child {
    border-radius: 0 12px 12px 0;
}

.trp-toggle.active {
    background: var(--trot-home-violet);
    border-color: var(--trot-home-violet);
    color: #fff;
}

.trp-toggle-sub,
.trot-pricing-legal,
.trp-legal,
.trp-footnote {
    text-align: center;
    font-size: 12px;
    color: var(--trot-home-muted);
}

.trp-toggle-sub--compact {
    margin-bottom: 28px;
}

.trp-grid,
.trot-plans-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.trot-plans-row {
    grid-template-columns: repeat(2, 1fr);
}

.trp-is-hidden {
    display: none;
}

.trp-card,
.trot-plan-box {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 40px 32px 32px;
    border: 1px solid #f0f0f0;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.trp-card--featured,
.trot-plan-box.is-highlight {
    background: #ffffff;
    border-color: var(--trot-home-violet);
    box-shadow: 0 25px 60px rgba(160, 97, 159, 0.08); /* Glow subtil violet au lieu du fond coloré */
    transform: scale(1.02);
    z-index: 2;
}

.trp-card-ribbon,
.trot-plan-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 999px;
    background: var(--trot-home-violet);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 10px 20px rgba(160, 97, 159, 0.2);
}

.trp-card-name,
.trot-plan-name {
    color: var(--trot-home-ink);
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.trot-plan-subtitle,
.trp-period,
.trot-plan-period {
    color: var(--trot-home-muted);
}

.trp-card-price,
.trot-plan-price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.trp-card-price--sm {
    flex-direction: column;
    align-items: center;
}

.trp-amount,
.trot-plan-amount {
    color: var(--trot-home-ink);
    font-size: 40px;
    font-weight: 800;
    line-height: 1;
}

.trp-amount-sm {
    color: var(--trot-home-ink);
    font-size: 34px;
    font-weight: 800;
}

.trot-plan-divider {
    height: 1px;
    background: var(--trot-home-border);
}

.trp-features,
.trot-plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.trp-features li,
.trot-plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--trot-home-ink);
    font-size: 13px;
    line-height: 1.45;
}

.trp-features li.trp-save,
.trot-plan-features li.unavailable,
.trp-footnote {
    color: var(--trot-home-muted);
}

.ft-icon {
    width: 16px;
    flex-shrink: 0;
    color: var(--trot-home-violet);
    font-size: 12px;
    font-weight: 800;
    text-align: center;
}

.trp-btn,
.trot-plan-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    border: 1px solid var(--trot-home-violet);
    border-radius: 14px;
    background: var(--trot-home-violet);
    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 800;
    font-family: var(--trot-font-family);
    cursor: pointer;
    transition: all 0.2s ease;
}

.trp-btn:hover,
.trot-plan-btn:hover {
    background: var(--trot-home-violet-dark);
    border-color: var(--trot-home-violet-dark);
}

.trp-btn--outline,
.trot-plan-btn.dark {
    background: var(--trot-home-ink);
    border-color: var(--trot-home-ink);
}

.trp-btn--outline:hover,
.trot-plan-btn.dark:hover {
    background: #17142a;
    border-color: #17142a;
}

.trot-plan-btn.golden {
    background: var(--trot-home-violet);
    border-color: var(--trot-home-violet);
}

.trot-plan-active-badge {
    padding: 10px 12px;
    border-radius: 12px;
    background: #e9f9f0;
    color: #127348;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

/* Dashboard utilities */
.trot-dashboard-sidebar-header {
    padding: 0 20px 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--trot-home-border);
}

.trot-dashboard-sidebar-title {
    margin: 0 !important;
    color: var(--trot-home-muted) !important;
    font-size: var(--trot-type-micro) !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: var(--trot-tracking-caps);
}

.trot-dashboard-nav-item--relative {
    position: relative;
}

.trot-dashboard-unread-pill {
    margin-left: auto;
    padding: 2px 7px;
    border-radius: 20px;
    background: #e53935;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.6;
}

.trot-dashboard-unread-dot {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #e53935;
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.14);
    pointer-events: none;
}

.trot-notice {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    font-size: 14px;
    font-weight: 600;
}

.trot-dashboard-cta {
    text-decoration: none !important;
}

.trot-ad-card-meta--spaced {
    margin-top: 6px;
}

@media (max-width: 900px) {
    .trp-grid,
    .trot-plans-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .trot-auth-container {
        margin: 40px auto;
        padding: 0 16px;
    }

    .auth-box {
        padding: 24px;
    }

    .role-selector {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .trp-wrap,
    .trot-pricing-wrap {
        padding: 0 16px 24px;
    }

    .trp-toggle {
        padding: 10px 16px;
        font-size: 12px;
    }
}

/* Messaging */
.trot-btn-submit--compact {
    padding: 10px 20px !important;
    font-size: 13px !important;
}

.trot-messaging-wrap,
.trot-thread-wrap {
    overflow: hidden;
    border: 1px solid var(--trot-home-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--trot-home-shadow);
    font-family: var(--trot-font-family);
}

.trot-messaging-header,
.trot-thread-header-card {
    padding: 28px 30px;
    border-bottom: 1px solid var(--trot-home-border);
}

.trot-messaging-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.trot-messaging-subtitle {
    margin: 0;
    color: var(--trot-home-muted);
    font-size: 13px;
}

.trot-messaging-empty {
    padding: 60px 20px;
    text-align: center;
    color: var(--trot-home-muted);
}

.trot-messaging-empty span {
    display: block;
    margin-bottom: 16px;
    font-size: 48px;
    opacity: 0.35;
}

.trot-messaging-empty p {
    margin-bottom: 20px;
    font-size: 15px;
}

.trot-thread-list {
    display: flex;
    flex-direction: column;
}

.trot-thread-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 30px;
    border-bottom: 1px solid var(--trot-home-border);
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.trot-thread-item:last-child {
    border-bottom: none;
}

.trot-thread-item:hover {
    background: var(--trot-home-surface);
}

.trot-thread-avatar {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--trot-home-violet-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.trot-thread-content {
    flex: 1;
    min-width: 0;
}

.trot-thread-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 5px;
}

.trot-thread-subject {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--trot-home-ink);
    font-size: 0.95rem;
    font-weight: 700;
}

.trot-thread-date,
.trot-thread-with {
    color: var(--trot-home-muted);
}

.trot-thread-date {
    font-size: var(--trot-type-micro);
    white-space: nowrap;
    flex-shrink: 0;
}

.trot-thread-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trot-thread-with {
    font-size: var(--trot-type-small);
}

.trot-thread-status-dot,
.trot-thread-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.trot-thread-status-dot.open,
.trot-thread-status-pill.is-open {
    background: #e9f9f0;
    color: #127348;
}

.trot-thread-status-dot.closed,
.trot-thread-status-pill.is-closed {
    background: var(--trot-home-surface);
    color: var(--trot-home-muted);
}

.trot-thread-arrow {
    flex-shrink: 0;
    color: var(--trot-home-muted);
    font-size: 16px;
    transition: transform 0.2s ease, color 0.2s ease;
}

.trot-thread-item:hover .trot-thread-arrow {
    transform: translateX(4px);
    color: var(--trot-home-violet);
}

.trot-back-link--thread {
    display: inline-block;
    margin-bottom: 14px;
    font-size: 13px !important;
}

.trot-thread-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.trot-thread-subject-title {
    margin: 0 0 6px !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    line-height: 1.4 !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

.trot-thread-partner {
    margin: 0 0 8px;
    color: var(--trot-home-muted);
    font-size: var(--trot-type-small);
}

.trot-thread-linked-ad {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 10px;
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet) !important;
    text-decoration: none !important;
    font-size: 12px;
    font-weight: 700;
}

.trot-messages-list {
    min-height: 160px;
    padding: 24px 28px;
    background: var(--trot-home-surface);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trot-message-bubble {
    max-width: 75%;
}

.trot-message-bubble.me {
    align-self: flex-end;
}

.trot-message-bubble.other {
    align-self: flex-start;
}

.trot-message-bubble .meta {
    margin-bottom: 5px;
    color: var(--trot-home-muted);
    font-size: 11px;
}

.trot-message-bubble.me .meta {
    text-align: right;
}

.trot-message-content {
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--trot-home-violet);
    color: #fff;
    font-size: var(--trot-type-body);
    line-height: 1.6;
}

.trot-message-bubble.other .trot-message-content {
    background: #fff;
    color: var(--trot-home-ink);
    border: 1px solid var(--trot-home-border);
}

.trot-message-content p {
    margin: 0;
}

.trot-reply-bar {
    padding: 16px 28px;
    border-top: 1px solid var(--trot-home-border);
    background: #fff;
}

.trot-reply-form {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.trot-reply-textarea {
    flex: 1;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--trot-home-border);
    border-radius: 12px;
    background: var(--trot-home-surface);
    color: var(--trot-home-ink);
    font-family: var(--trot-font-family);
    font-size: 14px;
    resize: none;
    outline: none;
}

.trot-reply-submit {
    padding: 0 22px;
    border: none;
    border-radius: 12px;
    background: var(--trot-home-ink);
    color: #fff;
    font-family: var(--trot-font-family);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.trot-reply-submit:hover {
    background: var(--trot-home-violet);
}

.trot-thread-closed-note {
    padding: 20px;
    text-align: center;
    color: var(--trot-home-muted);
    font-size: 13px;
}

/* Submit upgrade */
.trot-submit-upgrade-container {
    max-width: 640px;
    margin: 60px auto;
    padding: 20px;
}

.trot-upgrade-card {
    padding: 48px 38px;
    border: 1px solid var(--trot-home-border);
    border-radius: 28px;
    background: #fff;
    box-shadow: var(--trot-home-shadow);
    text-align: center;
}

.trot-upgrade-card .icon {
    margin-bottom: 24px;
    font-size: 60px;
}

.trot-upgrade-card h2 {
    margin-bottom: 14px !important;
}

.trot-upgrade-card p {
    margin-bottom: 10px;
    color: var(--trot-home-muted);
    font-size: 15px;
    line-height: 1.7;
}

.trot-upgrade-card .sub-text {
    margin-bottom: 32px;
    font-size: 14px;
}

.trot-upgrade-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.trot-upgrade-actions .trot-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 14px;
    background: var(--trot-home-violet);
    color: #fff !important;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none !important;
}

.trot-upgrade-actions .trot-btn-primary:hover {
    background: var(--trot-home-violet-dark);
}

.trot-upgrade-actions .trot-btn-outline {
    font-size: 14px;
    font-weight: 700;
}

/* Panels / compose / settings / recap */
.trot-panel-title {
    margin: 0 0 18px !important;
    font-size: var(--trot-type-h2) !important;
    font-weight: 800 !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

.trot-panel-intro {
    margin: 0 0 24px;
    color: var(--trot-home-muted);
    font-size: var(--trot-type-body);
    line-height: 1.7;
}

.trot-form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--trot-home-ink);
    font-size: var(--trot-type-small);
    font-weight: 700;
}

.trot-input-flat,
.trot-textarea-flat {
    width: 100%;
    border: 1px solid var(--trot-home-border);
    border-radius: 12px;
    background: var(--trot-home-surface);
    color: var(--trot-home-ink);
    font-family: var(--trot-font-family);
    font-size: var(--trot-type-body);
    outline: none;
}

.trot-input-flat {
    min-height: 48px;
    padding: 0 14px;
}

.trot-textarea-flat {
    padding: 12px 14px;
    line-height: 1.6;
}

.trot-form-group--tight {
    margin-bottom: 20px;
}

.trot-form-group--tight-lg {
    margin-bottom: 25px;
}

.trot-form-actions--inline {
    display: flex;
    gap: 15px;
}

.trot-button-link--muted,
.trot-button-link--centered {
    color: var(--trot-home-muted) !important;
    text-decoration: none !important;
    font-size: var(--trot-type-small);
}

.trot-button-link--muted {
    padding: 10px 0;
}

.trot-button-link--centered {
    display: block;
    margin-top: 15px;
    text-align: center;
}

.trot-contact-ad-card,
.trot-messaging-compose,
.trot-settings-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid var(--trot-home-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--trot-home-shadow);
}

.trot-contact-ad-card,
.trot-messaging-compose {
    max-width: 600px;
}

.trot-contact-ad-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    border-radius: 12px;
    background: var(--trot-home-surface);
}

.trot-contact-ad-summary-icon {
    font-size: 24px;
}

.trot-contact-ad-summary-title {
    color: var(--trot-home-ink);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: var(--trot-tracking-medium);
}

.trot-contact-ad-summary-price {
    color: var(--trot-home-muted);
    font-size: var(--trot-type-small);
}

.trot-btn-buy--full,
.trot-button-primary--full {
    width: 100%;
}

.trot-settings-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--trot-font-family);
}

.trot-settings-card {
    margin-bottom: 30px;
}

.trot-settings-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.trot-settings-card-title {
    margin: 0 0 25px !important;
    font-size: var(--trot-type-h3) !important;
    font-weight: 800 !important;
    letter-spacing: var(--trot-tracking-medium) !important;
}

.trot-settings-card-head .trot-settings-card-title {
    margin: 0 !important;
}

.trot-subscription-pill {
    padding: 5px 12px;
    border-radius: 999px;
    background: #fdf2f2;
    color: #c53030;
    font-size: var(--trot-type-micro);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: var(--trot-tracking-caps);
}

.trot-settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.trot-settings-label {
    display: block;
    margin-bottom: 5px;
    color: var(--trot-home-muted);
    font-size: var(--trot-type-micro);
    font-weight: 800;
    letter-spacing: var(--trot-tracking-caps);
    text-transform: uppercase;
}

.trot-settings-value {
    color: var(--trot-home-ink);
    font-size: 1rem;
    font-weight: 700;
}

.trot-settings-actions-cell {
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.trot-button-small--dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 10px;
    background: var(--trot-home-ink);
    color: #fff !important;
    text-decoration: none !important;
    font-size: var(--trot-type-small);
    font-weight: 800;
}

.trot-form-actions--top-gap {
    margin-top: 30px;
}

.trot-recap-section {
    margin-bottom: 30px;
    padding: 30px;
    border: 1px solid var(--trot-home-border);
    border-radius: 20px;
    background: var(--trot-home-surface);
}

.trot-recap-title {
    margin: 0 0 20px !important;
    color: var(--trot-home-ink) !important;
    font-size: var(--trot-type-h3) !important;
    font-weight: 800 !important;
}

.trot-recap-copy {
    color: var(--trot-home-muted);
    font-size: var(--trot-type-body);
    line-height: 1.7;
}

.trot-recap-gallery {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.trot-recap-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #fff;
    border-radius: 12px;
}

.trot-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--trot-home-ink);
    font-weight: 400;
    cursor: pointer;
}

.trot-checkbox-row-input {
    width: auto !important;
    margin-top: 4px;
}

.trot-form-actions--between {
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

.trot-btn-submit--success {
    background-color: var(--trot-accent) !important;
}

@media (max-width: 768px) {
    .trot-thread-header-card,
    .trot-thread-item,
    .trot-messages-list,
    .trot-reply-bar {
        padding-left: 18px;
        padding-right: 18px;
    }

    .trot-message-bubble {
        max-width: 100%;
    }

    .trot-upgrade-card {
        padding: 34px 24px;
    }
}

/* Detail page cleanup */
.trot-single-ad-container {
    max-width: 1280px;
    margin: 36px auto 72px;
}

.trot-single-ad-container .trot-breadcrumbs {
    margin-bottom: 22px;
    font-size: 12px;
    color: var(--trot-home-muted);
}

.trot-single-ad-container .trot-ad-layout {
    gap: 24px;
    align-items: start;
}

.trot-single-ad-container .trot-ad-info-summary,
.trot-single-ad-container .trot-ad-section,
.trot-single-ad-container .trot-price-card,
.trot-single-ad-container .trot-seller-card-v2,
.trot-single-ad-container .trot-security-info {
    box-shadow: none !important;
}

.trot-single-ad-container .trot-ad-info-summary,
.trot-single-ad-container .trot-ad-section,
.trot-single-ad-container .trot-price-card,
.trot-single-ad-container .trot-seller-card-v2 {
    border-radius: 18px;
    border: 1px solid rgba(160, 97, 159, 0.14);
}

.trot-single-ad-container .trot-ad-info-summary {
    padding: 24px;
}

.trot-single-ad-container .trot-ad-top-meta {
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.trot-single-ad-container .trot-ad-info-summary h1 {
    font-size: clamp(1.5rem, 2vw, 2rem) !important;
    line-height: 1.14 !important;
    margin-bottom: 10px !important;
}

.trot-single-ad-container .trot-price {
    font-size: clamp(1.3rem, 1.9vw, 1.75rem) !important;
    margin-top: 4px !important;
}

.trot-single-ad-container .trot-ad-location-inline,
.trot-single-ad-container .trot-ad-pub-date,
.trot-single-ad-container .trot-ad-description-text,
.trot-single-ad-container .trot-seller-stats,
.trot-single-ad-container .trot-security-info {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

.trot-single-ad-container .trot-ad-highlights-inline {
    margin-top: 16px;
    gap: 8px;
}

.trot-single-ad-container .trot-ad-highlight-chip,
.trot-single-ad-container .trot-ad-cat-badge {
    padding: 6px 11px;
    font-size: 11px;
    border-radius: 999px;
}

.trot-single-ad-container .trot-ad-section {
    padding: 22px 24px;
    margin-top: 18px;
}

.trot-single-ad-container .trot-ad-section h2 {
    margin-bottom: 14px !important;
    padding-bottom: 0;
    border-bottom: 0;
    font-size: 0.95rem !important;
    letter-spacing: 0.08em !important;
    color: var(--trot-home-violet) !important;
}

.trot-single-ad-container .trot-ad-description-text p {
    margin: 0 0 0.95em;
}

.trot-single-ad-container .trot-ad-spec-grid {
    gap: 12px;
}

.trot-single-ad-container .trot-ad-spec-item {
    padding: 14px 15px;
    border-radius: 14px;
    background: #fcfbfd;
}

.trot-single-ad-container .trot-ad-spec-label {
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trot-single-ad-container .trot-ad-spec-value {
    font-size: 0.97rem;
    line-height: 1.35;
}

.trot-single-ad-container .trot-map-wrapper,
.trot-single-ad-container .trot-gallery-main,
.trot-single-ad-container .trot-gallery-thumb,
.trot-single-ad-container .trot-ad-gallery-main {
    border-radius: 18px;
}

.trot-single-ad-container .trot-ad-right-col {
    top: 24px;
    gap: 12px;
}

.trot-single-ad-container .trot-price-card {
    padding: 18px 20px;
}

.trot-single-ad-container .trot-price-card-amount {
    font-size: 1.55rem;
}

.trot-single-ad-container .trot-seller-card-v2 {
    padding: 20px !important;
}

.trot-single-ad-container .trot-seller-header {
    gap: 14px;
    margin-bottom: 16px;
}

.trot-single-ad-container .trot-seller-avatar-v2 {
    width: 56px;
    min-width: 56px;
    height: 56px;
    flex: 0 0 56px;
    aspect-ratio: 1 / 1;
    font-size: 22px;
    border-radius: 50% !important;
    overflow: hidden;
    line-height: 1;
}

.trot-single-ad-container .trot-seller-name {
    font-size: 1rem !important;
    margin-bottom: 2px !important;
}

.trot-single-ad-container .trot-badge-reactive {
    margin-bottom: 12px !important;
    padding: 8px 12px !important;
    border-radius: 999px !important;
    background: var(--trot-home-violet-soft) !important;
    color: var(--trot-home-violet) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.trot-single-ad-container .trot-action-buttons {
    gap: 10px;
}

.trot-single-ad-container .trot-btn-buy,
.trot-single-ad-container .trot-btn-offer,
.trot-single-ad-container .trot-btn-contact {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100%;
    min-height: 46px;
    padding: 0 16px !important;
    font-size: 13px !important;
    border-radius: 12px !important;
    text-align: center !important;
}

.trot-single-ad-container .trot-security-info {
    margin-top: 0;
    padding: 12px 14px;
    border-radius: 14px;
}

.trot-single-ad-container .trot-similar-ads-section {
    margin-top: 44px;
}

.trot-single-ad-container .trot-section-header h2 {
    font-size: 1.1rem !important;
}

.trot-single-ad-container .trot-gallery {
    padding: 14px;
    border: 1px solid rgba(160, 97, 159, 0.14);
    border-radius: 22px;
    background: #fff;
}

.trot-single-ad-container .trot-gallery-main {
    background: #f7f3f8;
    border-radius: 18px;
}

.trot-single-ad-container .trot-gallery-main img {
    object-fit: cover;
    background: transparent;
}

.trot-single-ad-container .trot-gallery-counter {
    bottom: 14px;
    left: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(18, 16, 27, 0.72);
    backdrop-filter: blur(8px);
    font-size: 11px;
    font-weight: 800;
}

.trot-single-ad-container .trot-gallery-arrow {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.84);
    color: var(--trot-home-ink);
    border: 1px solid rgba(160, 97, 159, 0.18);
    box-shadow: 0 10px 30px rgba(32, 24, 41, 0.12);
    font-size: 24px;
}

.trot-single-ad-container .trot-gallery-arrow:hover {
    background: #fff;
    color: var(--trot-home-violet);
}

.trot-single-ad-container .trot-gallery-prev {
    left: 14px;
}

.trot-single-ad-container .trot-gallery-next {
    right: 14px;
}

.trot-single-ad-container .trot-gallery-fullscreen-btn {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--trot-home-ink);
    border: 1px solid rgba(160, 97, 159, 0.18);
    box-shadow: 0 10px 30px rgba(32, 24, 41, 0.12);
}

.trot-single-ad-container .trot-gallery-fullscreen-btn:hover {
    background: #fff;
    color: var(--trot-home-violet);
}

.trot-single-ad-container .trot-gallery-thumbs {
    gap: 10px;
    margin-top: 12px;
    padding: 0;
    background: transparent;
    scrollbar-color: rgba(160, 97, 159, 0.3) transparent;
}

.trot-single-ad-container .trot-gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(160, 97, 159, 0.3);
}

.trot-single-ad-container .trot-gallery-thumb {
    flex: 0 0 88px;
    height: 68px;
    border-radius: 14px;
    opacity: 1;
    outline: none;
    border: 2px solid transparent;
    box-shadow: none;
}

.trot-single-ad-container .trot-gallery-thumb img {
    object-fit: cover;
}

.trot-single-ad-container .trot-gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.trot-single-ad-container .trot-gallery-thumb.active {
    border-color: var(--trot-secondary);
    box-shadow: 0 0 0 3px rgba(189, 158, 114, 0.18);
}

/* Listings search + empty state cleanup */
.trot-listings-container .trot-search-bar-v2 {
    margin-bottom: 36px;
    padding: 10px;
    border: 1px solid rgba(160, 97, 159, 0.16);
    border-radius: 24px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.96);
}

.trot-listings-container .trot-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(190px, 0.9fr) minmax(220px, 0.85fr) minmax(170px, 0.8fr) auto auto;
    align-items: stretch;
    gap: 0;
}

.trot-listings-container .trot-search-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    min-height: 68px;
    padding: 0 18px;
    gap: 7px;
}

.trot-listings-container .trot-search-input-wrapper label {
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
}

.trot-listings-container .trot-search-input-wrapper.divider {
    border-left: 1px solid rgba(160, 97, 159, 0.12);
}

.trot-listings-container .trot-search-input-wrapper .icon {
    flex: 0 0 auto;
    font-size: 16px;
    opacity: 0.9;
}

.trot-listings-container .trot-search-input-wrapper input,
.trot-listings-container .trot-search-input-wrapper select {
    width: 100%;
    min-width: 0;
    min-height: 28px;
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: var(--trot-home-ink) !important;
    font-size: 14px;
    font-weight: 700;
    cursor: text;
    font-family: var(--trot-font-family) !important;
}

.trot-listings-container .trot-search-input-wrapper input::placeholder {
    color: var(--trot-home-muted) !important;
    font-weight: 600;
}

.trot-listings-container .trot-search-input-wrapper select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    border-radius: 14px;
    padding-right: 32px !important;
    background-image: linear-gradient(45deg, transparent 50%, var(--trot-home-violet) 50%), linear-gradient(135deg, var(--trot-home-violet) 50%, transparent 50%);
    background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.trot-listings-container .trot-price-filter-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.trot-listings-container .trot-price-filter {
    flex: initial;
    gap: 10px !important;
}

.trot-listings-container .trot-price-filter input {
    width: 100%;
    text-align: left;
}

.trot-listings-container .price-sep {
    color: var(--trot-home-muted);
    font-weight: 700;
}

.trot-listings-container .trot-search-btn {
    align-self: center;
    min-width: 200px;
    min-height: 50px;
    margin: 9px;
    padding: 0 24px !important;
    border-radius: 16px !important;
    box-shadow: none;
    font-size: 13px;
    font-weight: 800 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trot-listings-container .trot-search-btn:hover {
    transform: none;
}

.trot-listings-container .trot-empty-state {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 18px;
    padding: 34px 36px;
    border-radius: 24px;
    border: 1px solid rgba(160, 97, 159, 0.14);
    box-shadow: none;
}

.trot-listings-container .trot-empty-state .icon {
    font-size: 28px;
    line-height: 1;
}

.trot-listings-container .trot-empty-state h3 {
    margin: 0 !important;
    font-size: 1.35rem !important;
    color: var(--trot-home-ink) !important;
}

.trot-listings-container .trot-empty-state p {
    max-width: 720px;
    margin: 0;
    color: var(--trot-home-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.trot-listings-container .trot-empty-state .trot-btn-outline {
    margin-top: 4px;
}

@media (max-width: 1180px) {
    .trot-listings-container .trot-search-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trot-listings-container .trot-search-btn {
        grid-column: 1 / -1;
        width: calc(100% - 22px);
    }
}

@media (max-width: 767px) {
    .trot-listings-container .trot-search-bar-v2 {
        padding: 10px;
        border-radius: 22px;
    }

    .trot-listings-container .trot-search-form {
        grid-template-columns: 1fr;
    }

    .trot-listings-container .trot-search-input-wrapper {
        min-height: 68px;
        padding: 0 18px;
    }

    .trot-listings-container .trot-search-input-wrapper.divider {
        border-left: 0;
        border-top: 1px solid rgba(160, 97, 159, 0.12);
    }

    .trot-listings-container .trot-search-btn {
        width: 100%;
        min-width: 0;
        margin: 8px 0 0;
    }

    .trot-listings-container .trot-empty-state {
        padding: 24px 22px;
    }
}

/* Account area cleanup */
.trot-dashboard-sidebar,
.trot-dashboard-content,
.trot-stat-box,
.trot-messaging-container,
.trot-thread-wrap,
.trot-thread-header-card,
.trot-thread-item,
.trot-settings-card,
.trot-empty-state,
.trot-notice {
    box-shadow: none !important;
}

.trot-dashboard-sidebar,
.trot-dashboard-content,
.trot-stat-box,
.trot-messaging-container,
.trot-thread-wrap,
.trot-thread-header-card,
.trot-thread-item,
.trot-settings-card {
    border: 1px solid rgba(160, 97, 159, 0.14);
}

.trot-dashboard-nav-item {
    color: var(--trot-home-ink) !important;
}

.trot-dashboard-nav-item:hover {
    background: var(--trot-home-violet-soft) !important;
    color: var(--trot-home-violet) !important;
}

.trot-dashboard-nav-item.active {
    background: rgba(160, 97, 159, 0.18) !important;
    color: var(--trot-home-violet) !important;
}

.trot-dashboard .trot-pricing-wrap {
    max-width: none;
    margin: 0;
    padding: 0;
}

.trot-dashboard .trot-plans-row {
    gap: 18px;
}

.trot-dashboard .trot-plan-box {
    min-height: 100%;
    gap: 14px;
    padding: 28px 24px 24px;
    border-radius: 22px;
    box-shadow: none;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbfd 100%);
}

.trot-dashboard .trot-plan-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
}

.trot-dashboard .trot-plan-name {
    font-size: 1.1rem;
    letter-spacing: 0.08em;
}

.trot-dashboard .trot-plan-subtitle {
    font-size: 0.9rem;
    line-height: 1.55;
    max-width: 22ch;
    margin: 0 auto;
}

.trot-dashboard .trot-plan-price-row {
    min-height: 58px;
    margin-top: 2px;
}

.trot-dashboard .trot-plan-price-row small {
    font-size: 0.95rem;
    color: var(--trot-home-muted);
}

.trot-dashboard .trot-plan-amount {
    font-size: 2.6rem;
}

.trot-dashboard .trot-plan-divider {
    margin: 4px 0 2px;
}

.trot-dashboard .trot-plan-features {
    gap: 12px;
    padding-top: 6px;
}

.trot-dashboard .trot-plan-features li {
    align-items: flex-start;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--trot-home-ink);
}

.trot-dashboard .trot-plan-features .ft-icon {
    margin-top: 2px;
}

.trot-dashboard .trot-plan-footer {
    margin-top: auto;
    padding-top: 8px;
}

.trot-dashboard .trot-plan-footer form {
    width: 100%;
}

.trot-dashboard .trot-plan-box form {
    width: 100%;
}

.trot-dashboard .trot-plan-btn {
    width: 100%;
    min-height: 50px;
    border-radius: 14px;
}

.trot-dashboard .trot-plan-box.is-highlight {
    border-color: rgba(160, 97, 159, 0.28);
    background: linear-gradient(180deg, #ffffff 0%, rgba(160, 97, 159, 0.09) 100%);
}

.trot-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.trot-pagination-link,
.trot-pagination-ellipsis {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
}

.trot-pagination-link {
    border: 1px solid rgba(160, 97, 159, 0.16);
    background: #fff;
    color: var(--trot-home-ink) !important;
}

.trot-pagination-link:hover {
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet) !important;
}

.trot-pagination-link.is-active {
    background: var(--trot-home-violet);
    border-color: var(--trot-home-violet);
    color: #fff !important;
}

.trot-pagination-ellipsis {
    color: var(--trot-home-muted);
}

.trot-results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.trot-active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.trot-filter-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--trot-home-violet-soft);
    border: 1px solid rgba(160, 97, 159, 0.14);
    color: var(--trot-home-violet);
    font-size: 12px;
    font-weight: 800;
}

.trot-search-reset {
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 50px;
    margin: 9px 9px 9px 0;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(160, 97, 159, 0.16);
    background: #fff;
    color: var(--trot-home-ink) !important;
    text-decoration: none !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.trot-search-reset:hover {
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet) !important;
}

.trot-listing-card-shell {
    position: relative;
}

.trot-favorite-toggle {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(160, 97, 159, 0.16);
    background: rgba(255, 255, 255, 0.94);
    color: var(--trot-home-violet) !important;
    text-decoration: none !important;
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}

.trot-favorite-toggle:hover,
.trot-favorite-toggle.is-active {
    background: var(--trot-home-violet);
    border-color: var(--trot-home-violet);
    color: #fff !important;
}

.trot-favorite-toggle--archive {
    width: 38px;
    height: 38px;
    font-size: 0;
    box-shadow: 0 10px 24px rgba(36, 31, 61, 0.10);
}

.trot-favorite-toggle--archive svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linejoin: round;
}

.trot-favorite-toggle--archive.is-active svg {
    fill: currentColor;
}

.trot-favorite-toggle--inline {
    position: static;
    width: auto;
    min-height: 34px;
    padding: 0 12px;
    margin-left: auto;
    gap: 8px;
    font-size: 13px;
}

.trot-ad-card-row--link {
    text-decoration: none !important;
    color: inherit !important;
}

.trot-inline-success {
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid #b7ebd1;
    border-radius: 16px;
    background: #edf9f2;
    color: #146c43;
    font-size: 14px;
    font-weight: 700;
}

.trot-account-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 24px;
}

.trot-account-card {
    background: #fff;
    border: 1px solid rgba(160, 97, 159, 0.14);
    border-radius: 24px;
    padding: 24px;
}

.trot-account-card h3 {
    margin: 0 0 10px;
    color: var(--trot-home-ink);
}

.trot-form-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.trot-form-stack label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--trot-home-muted);
    font-size: 14px;
    font-weight: 700;
}

.trot-form-stack input,
.trot-form-stack select,
.trot-form-stack textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(160, 97, 159, 0.16);
    border-radius: 16px;
    background: #fff;
    color: var(--trot-home-ink);
    font-family: var(--trot-font-family);
}

.trot-form-stack textarea {
    resize: vertical;
}

.trot-account-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trot-account-list-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid rgba(160, 97, 159, 0.12);
}

.trot-account-list-item:first-child {
    border-top: none;
    padding-top: 0;
}

.trot-muted-meta {
    color: var(--trot-home-muted);
    font-size: 13px;
    line-height: 1.5;
}

.trot-campaign-thumb {
    display: block;
    width: 160px;
    max-width: 100%;
    height: 90px;
    object-fit: cover;
    margin-top: 12px;
    border-radius: 14px;
    border: 1px solid rgba(160, 97, 159, 0.14);
    background: #f8f4fa;
}

.trot-ad-slot {
    max-width: 1240px;
    margin: 18px auto;
    padding: 0 20px;
}

.trot-ad-slot-link {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(240px, .55fr);
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(160, 97, 159, 0.14);
    border-radius: 24px;
    background: #fff;
    text-decoration: none !important;
    color: inherit !important;
}

.trot-ad-slot-media {
    display: block;
    min-height: 180px;
    background: #f6f1f7;
}

.trot-ad-slot-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 180px;
    object-fit: cover;
}

.trot-ad-slot-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    padding: 22px;
    background: linear-gradient(180deg, #fff 0%, #fbf8fc 100%);
}

.trot-ad-slot-kicker {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(34, 38, 38, .86);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trot-ad-slot-title {
    color: var(--trot-home-ink);
    font-size: clamp(0.98rem, 1.4vw, 1.28rem);
    line-height: 1.18;
}

.trot-ad-slot-cta {
    color: var(--trot-home-violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.trot-ad-slot--sidebar_rectangle {
    max-width: none;
    margin: 0;
    padding: 0;
}

.trot-ad-slot--sidebar_rectangle .trot-ad-slot-link {
    grid-template-columns: 1fr;
    border-radius: 22px;
}

.trot-ad-slot--sidebar_rectangle .trot-ad-slot-media,
.trot-ad-slot--sidebar_rectangle .trot-ad-slot-media img {
    min-height: 190px;
}

.trot-ad-slot--sidebar_rectangle .trot-ad-slot-content {
    padding: 18px;
}

.trot-sidebar-ad-stack {
    display: grid;
    gap: 16px;
    margin-top: 18px;
}

.trot-ad-catalog-groups {
    display: grid;
    gap: 18px;
}

.trot-ad-pack-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 22px;
}

.trot-ad-pack-card {
    padding: 24px;
    border: 1px solid rgba(160, 97, 159, 0.14);
    border-radius: 24px;
    background: linear-gradient(180deg, #fff 0%, #fbf8fc 100%);
}

.trot-ad-pack-kicker {
    margin-bottom: 10px;
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trot-ad-pack-card h3 {
    margin: 0 0 10px;
    color: var(--trot-home-ink);
    font-size: 1.45rem;
    line-height: 1.08;
}

.trot-ad-pack-card p {
    margin: 0 0 16px;
    color: #66607a;
    font-size: 0.98rem;
    line-height: 1.55;
}

.trot-ad-pack-price {
    color: var(--trot-home-ink);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.1;
}

.trot-ad-pack-price span {
    color: #6c6680;
    font-size: 0.95rem;
    font-weight: 600;
}

.trot-ad-pack-focus {
    margin-top: 14px;
    color: #6c6680;
    font-size: 0.92rem;
    font-weight: 700;
}

.trot-ad-catalog-group {
    padding: 18px;
    border: 1px solid rgba(160, 97, 159, 0.12);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff 0%, #fcf9fd 100%);
}

.trot-ad-catalog-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.trot-ad-catalog-group-head h4 {
    margin: 0;
    color: var(--trot-home-ink);
    font-size: 1.15rem;
}

.trot-ad-catalog-group-head span {
    color: var(--trot-home-violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.trot-account-list-item--catalog {
    align-items: flex-start;
}

.trot-ad-catalog-eyebrow {
    margin-bottom: 6px;
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.trot-ad-catalog-pricing {
    min-width: 150px;
    text-align: right;
}

.trot-ad-catalog-pricing strong {
    color: var(--trot-home-ink);
}

.trot-ad-catalog-action {
    margin-top: 8px;
}

@media (max-width: 980px) {
    .trot-ad-pack-grid {
        grid-template-columns: 1fr;
    }
}

.trot-ad-slot--hero_partner .trot-ad-slot-media,
.trot-ad-slot--hero_partner .trot-ad-slot-media img {
    min-height: 210px;
}

.trot-ad-slot--hero_partner .trot-ad-slot-link,
.trot-ad-slot--banner_horizontal .trot-ad-slot-link {
    grid-template-columns: minmax(0, 1.55fr) minmax(210px, .45fr);
}

.trot-ad-slot--hero_partner .trot-ad-slot-content,
.trot-ad-slot--banner_horizontal .trot-ad-slot-content {
    justify-content: center;
}

.trot-ad-slot--hero_partner .trot-ad-slot-title,
.trot-ad-slot--banner_horizontal .trot-ad-slot-title {
    max-width: 18ch;
}

.trot-ad-slot--banner_horizontal .trot-ad-slot-media,
.trot-ad-slot--banner_horizontal .trot-ad-slot-media img {
    min-height: 170px;
}

/* Messaging premium pass */
.trot-messaging-wrap,
.trot-thread-wrap,
.trot-messaging-compose,
.trot-contact-ad-card {
    border-radius: 24px;
    border: 1px solid rgba(160, 97, 159, 0.14);
    box-shadow: none !important;
    background: #fff;
}

.trot-messaging-header,
.trot-thread-header-card {
    padding: 24px 26px;
}

.trot-messaging-header h2,
.trot-thread-subject-title,
.trot-panel-title {
    font-size: 1.35rem !important;
}

.trot-messaging-subtitle,
.trot-panel-intro,
.trot-thread-partner {
    color: var(--trot-home-muted);
}

.trot-thread-list {
    gap: 10px;
    padding: 16px;
    background: #fcfbfd;
}

.trot-thread-item {
    border: 1px solid rgba(160, 97, 159, 0.1);
    border-radius: 18px;
    padding: 18px 20px;
    background: #fff;
}

.trot-thread-item:last-child {
    border-bottom: 1px solid rgba(160, 97, 159, 0.1);
}

.trot-thread-item:hover {
    background: #fff;
    border-color: rgba(160, 97, 159, 0.22);
}

.trot-thread-avatar {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: linear-gradient(180deg, #fbf7fc 0%, var(--trot-home-violet-soft) 100%);
    color: var(--trot-home-violet);
}

.trot-thread-context {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 10px;
    border-radius: 999px;
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trot-thread-kicker {
    margin-bottom: 8px;
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trot-thread-linked-ad {
    margin-top: 4px;
}

.trot-messages-list {
    padding: 22px 24px;
    background: linear-gradient(180deg, #fcfbfd 0%, #f8f5fb 100%);
    gap: 14px;
}

.trot-message-bubble {
    max-width: min(78%, 700px);
}

.trot-message-bubble .meta {
    margin-bottom: 6px;
    font-size: 11px;
}

.trot-message-content {
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.65;
}

.trot-message-bubble.me .trot-message-content {
    background: linear-gradient(180deg, var(--trot-home-violet) 0%, var(--trot-home-violet-dark) 100%);
}

.trot-reply-bar {
    padding: 18px 20px;
}

.trot-reply-form {
    align-items: end;
}

.trot-reply-textarea,
.trot-input-flat,
.trot-textarea-flat {
    border: 1px solid rgba(160, 97, 159, 0.14);
    border-radius: 16px;
    background: #fcfbfd;
    box-shadow: none !important;
}

.trot-reply-textarea:focus,
.trot-input-flat:focus,
.trot-textarea-flat:focus {
    border-color: rgba(160, 97, 159, 0.38);
    box-shadow: 0 0 0 3px rgba(160, 97, 159, 0.1) !important;
    outline: none;
}

.trot-reply-submit {
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 800;
}

.trot-messaging-compose,
.trot-contact-ad-card {
    padding: 28px;
}

.trot-contact-ad-summary {
    border: 1px solid rgba(160, 97, 159, 0.12);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #fcfbfd 100%);
}

/* Micro-details pass */
.trot-demo-main-nav a,
.trot-demo-footer-col a,
.trot-view-more,
.trot-back-link,
.trot-button-link--muted,
.trot-button-link--centered {
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.trot-view-more,
.trot-back-link,
.trot-button-link--muted,
.trot-button-link--centered {
    color: var(--trot-home-muted) !important;
}

.trot-view-more:hover,
.trot-back-link:hover,
.trot-button-link--muted:hover,
.trot-button-link--centered:hover {
    color: var(--trot-home-violet) !important;
}

.trot-btn-v3,
.trot-btn-plans,
.trot-search-btn,
.trp-btn,
.trot-plan-btn,
.trot-btn-buy,
.trot-btn-offer,
.trot-btn-contact,
.trot-btn-outline,
.trot-button-primary,
.trot-button-small,
.trot-reply-submit,
.trot-demo-header-cta,
.trot-demo-footer-cta {
    box-shadow: none !important;
}

.trot-btn-v3:focus-visible,
.trot-btn-plans:focus-visible,
.trot-search-btn:focus-visible,
.trp-btn:focus-visible,
.trot-plan-btn:focus-visible,
.trot-btn-buy:focus-visible,
.trot-btn-offer:focus-visible,
.trot-btn-contact:focus-visible,
.trot-btn-outline:focus-visible,
.trot-button-primary:focus-visible,
.trot-button-small:focus-visible,
.trot-reply-submit:focus-visible,
.trot-demo-header-cta:focus-visible,
.trot-demo-footer-cta:focus-visible,
.trot-favorite-toggle:focus-visible,
.trot-pagination-link:focus-visible,
.trot-search-reset:focus-visible,
.trot-demo-main-nav a:focus-visible,
.trot-demo-footer-col a:focus-visible,
.trot-view-more:focus-visible,
.trot-back-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(160, 97, 159, 0.14) !important;
}

.trot-input-flat,
.trot-textarea-flat,
.trot-reply-textarea,
.trot-search-input-wrapper input,
.trot-search-input-wrapper select,
.trot-market-search-field input,
.trot-market-search-field select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.trot-dashboard-cta,
.trot-btn-submit--compact,
.trot-button-small,
.trot-action-btn-mini {
    letter-spacing: 0.02em;
}

.trot-notice {
    border: 1px solid rgba(160, 97, 159, 0.12);
}

.trot-profile-title {
    margin: 0 0 10px;
    color: var(--trot-home-ink);
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.4;
}

.trot-ad-section--profile-intro {
    margin-bottom: 32px;
}

.trot-seller-avatar-v2,
.trot-profile-avatar,
.trot-thread-avatar,
.trot-contact-ad-summary-icon {
    user-select: none;
}

.trot-profile-header {
    border: 1px solid rgba(160, 97, 159, 0.14);
    background: linear-gradient(180deg, #ffffff 0%, #fcfbfd 100%);
}

.trot-profile-text {
    min-width: 0;
}

.trot-profile-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin-bottom: 10px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--trot-home-violet-soft);
    color: var(--trot-home-violet);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trot-profile-company {
    margin: 2px 0 10px;
    color: var(--trot-home-ink);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
}

.trot-profile-container h1 {
    max-width: 18ch;
    font-size: clamp(1.9rem, 3vw, 3.1rem) !important;
    line-height: 1.02 !important;
    overflow-wrap: anywhere;
}

.trot-profile-avatar-wrapper {
    border: 4px solid #fff;
    box-shadow: 0 0 0 1px rgba(160, 97, 159, 0.14);
    background: #fff;
}

.trot-profile-meta-v2 {
    margin-top: 10px;
    gap: 10px;
}

.trot-profile-meta-v2 span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(160, 97, 159, 0.1);
}

.trot-profile-stats .stat-item {
    min-width: 132px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(160, 97, 159, 0.12);
    background: #fff;
    text-align: center;
}

.trot-profile-stats .value {
    color: var(--trot-home-violet);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.trot-profile-stats .label {
    margin-top: 8px;
    color: var(--trot-home-muted);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trot-profile-listings .trot-section-header {
    margin-bottom: 18px;
}

@media (max-width: 900px) {
    .trot-account-grid {
        grid-template-columns: 1fr;
    }

    .trot-account-list-item {
        flex-direction: column;
    }

    .trot-ad-slot-link {
        grid-template-columns: 1fr;
    }

    .trot-ad-slot {
        padding: 0 16px;
    }

    .trot-profile-container h1 {
        max-width: none;
    }
}

/* Sentence case pass */
.trot-home-v3 h2,
.trot-home-v3 h3,
.trot-home-v3 h4,
.trot-dashboard h2,
.trot-dashboard h3,
.trot-dashboard h4,
.trp-wrap h2,
.trp-wrap h3,
.trp-wrap h4,
.trot-section-main-title,
.trot-sell-cta-title,
.trot-plan-period-title,
.trot-plan-name,
.trp-card-name,
.trot-pricing-title,
.trot-profile-title,
.trot-panel-title,
.trot-thread-subject-title,
.trot-ad-slot-title,
.trot-ad-pack-card h3,
.trot-ad-catalog-group-head h4 {
    text-transform: none !important;
    letter-spacing: normal !important;
}

.trot-home-v3 h5,
.trot-section-kicker,
.trot-market-bar-label,
.trot-plan-subtitle,
.trot-thread-kicker,
.trot-thread-context,
.trot-profile-kicker,
.trot-ad-slot-kicker,
.trot-ad-pack-kicker,
.trot-ad-catalog-eyebrow,
.trot-ad-catalog-group-head span {
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Visual polish pass after screenshot review */
.trot-hero-v3 > .trot-container {
    animation: none;
}

.trot-home-v3 h1.trot-hero-v3-title {
    font-size: clamp(2.35rem, 4vw, 3.5rem) !important;
}

.trot-single-ad-container .trot-gallery-main {
    aspect-ratio: 16 / 7;
    max-height: 460px;
}

.trot-auth-gate {
    max-width: 720px;
    margin: 72px auto;
    padding: 42px 36px;
    border: 1px solid rgba(160, 97, 159, .14);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(31, 16, 44, .06);
    text-align: center;
}

.trot-auth-gate h2 {
    margin: 0 0 12px !important;
    color: #22122d !important;
    font-size: 2rem !important;
    line-height: 1.12 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.trot-auth-gate p {
    max-width: 560px;
    margin: 0 auto 24px;
    color: #6f617c;
    font-size: 1rem;
    line-height: 1.65;
}

.trot-auth-gate-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.trot-auth-gate .trot-btn-v3--outline {
    color: #7c4b82 !important;
    border-color: rgba(160,97,159,.18);
    background: rgba(160,97,159,.06);
}

@media (max-width: 640px) {
    .trot-header-inner {
        min-height: 72px;
        gap: 8px;
    }

    body:has(.trot-header-premium) {
        padding-top: 72px;
    }

    .trot-logo-link {
        max-width: 150px;
    }

    .trot-logo-img {
        width: 100%;
        height: auto;
        max-height: 40px;
    }

    .trot-header-actions {
        gap: 8px;
        flex: 1;
        justify-content: flex-end;
    }

    .trot-nav-minimalist {
        max-width: none;
        padding: 8px 4px;
        font-size: 0;
        line-height: 1.25;
        text-align: center;
    }

    .trot-nav-minimalist::after {
        content: "Annonces";
        font-size: 12px;
    }

    .trot-btn-premium {
        max-width: none;
        min-height: 38px;
        padding: 0 16px;
        border-radius: 999px;
        font-size: 0;
        line-height: 1.15;
        text-align: center;
        white-space: normal;
    }

    .trot-btn-premium::after {
        content: "Déposer";
        font-size: 12px;
    }

    .trot-header-account {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .trot-header-account-icon {
        width: 16px;
        height: 16px;
    }

    .trot-hero-v3 {
        min-height: 520px;
        padding: 72px 0 84px;
        background-position: center top;
    }

    .trot-hero-v3::before {
        background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.66) 100%);
    }

    .trot-home-v3 h1.trot-hero-v3-title {
        max-width: 330px;
        margin-bottom: 18px !important;
        font-size: 2rem !important;
        line-height: 1.08 !important;
    }

    .trot-hero-v3-kicker {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .trot-hero-v3-ctas {
        display: grid;
        gap: 10px;
        max-width: 290px;
        margin: 0 auto;
    }

    .trot-hero-v3-ctas .trot-btn-v3 {
        width: 100%;
        padding: 13px 16px;
        font-size: 13px;
    }

    .trot-single-ad-container .trot-gallery-main {
        aspect-ratio: 4 / 3;
        max-height: none;
    }

    .trot-single-ad-container .trot-breadcrumbs {
        display: none;
    }

    .trot-auth-gate {
        margin: 42px 16px;
        padding: 30px 22px;
    }

    .trot-auth-gate h2 {
        font-size: 1.55rem !important;
    }

    .trot-auth-gate-actions {
        flex-direction: column;
    }

    .trot-auth-gate-actions .trot-btn-v3 {
        width: 100%;
    }
}
