/* ============================================
   THEOFFERRER — CUSTOM STYLES (Scoped)
   B2B Wholesale Produce Marketplace
   ============================================ */

/* ============================================
   HERO SECTION
   ============================================ */
.to-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--to-primary) 0%, #0d3d30 100%);
}

.to-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.to-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.to-hero-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.to-hero .to-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.to-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 120px 0 80px;
}

.to-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
}

.to-hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
}

.to-hero h1 .to-text-accent {
    color: var(--to-accent);
}

.to-hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.to-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.to-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.to-stat-item {
    text-align: center;
}

.to-stat-number {
    display: block;
    font-family: var(--to-font-brand);
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.to-stat-label {
    display: block;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

.to-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.to-hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    animation: toBounce 2s infinite;
}

@keyframes toBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.to-section-header {
    margin-bottom: 60px;
}

.to-section-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(27, 94, 75, 0.1);
    color: var(--to-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.to-section-header h2 {
    margin-bottom: 16px;
}

.to-section-header p {
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   CATEGORIES GRID
   ============================================ */
.to-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.to-category-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    box-shadow: var(--to-shadow-card);
    text-decoration: none;
    transition: var(--to-transition);
    border: 1px solid transparent;
}

.to-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--to-primary);
}

.to-category-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.to-icon-fresh { background: rgba(46, 204, 113, 0.1); color: #2ecc71; }
.to-icon-frozen { background: rgba(52, 152, 219, 0.1); color: #3498db; }
.to-icon-veg { background: rgba(39, 174, 96, 0.1); color: #27ae60; }
.to-icon-frozen-veg { background: rgba(155, 89, 182, 0.1); color: #9b59b6; }
.to-icon-bio { background: rgba(241, 196, 15, 0.1); color: #f1c40f; }
.to-icon-juice { background: rgba(230, 126, 34, 0.1); color: #e67e22; }
.to-icon-processed { background: rgba(231, 76, 60, 0.1); color: #e74c3c; }
.to-icon-all { background: rgba(27, 94, 75, 0.1); color: var(--to-primary); }

.to-category-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--to-text-primary);
    margin-bottom: 8px;
}

.to-category-card p {
    font-size: 14px;
    color: var(--to-text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
}

.to-category-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--to-primary);
    transition: var(--to-transition);
}

.to-category-card:hover .to-category-link {
    color: var(--to-primary-hover);
}

.to-category-all {
    background: linear-gradient(135deg, var(--to-primary) 0%, #14503d 100%);
    color: #ffffff;
}

.to-category-all h3,
.to-category-all p,
.to-category-all .to-category-link {
    color: #ffffff;
}

.to-category-all .to-icon-all {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* ============================================
   HOW IT WORKS — STEPS
   ============================================ */
.to-steps-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    position: relative;
}

.to-step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 24px;
    position: relative;
    z-index: 2;
}

.to-step-number {
    font-family: var(--to-font-brand);
    font-size: 48px;
    font-weight: 700;
    color: rgba(27, 94, 75, 0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.to-step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--to-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.to-step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.to-step-card p {
    font-size: 15px;
}

.to-step-connector {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, var(--to-primary), var(--to-accent));
    margin-top: 80px;
    position: relative;
}

.to-step-connector::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--to-accent);
    border-right: 2px solid var(--to-accent);
    transform: rotate(45deg);
}

/* ============================================
   FEATURED LISTINGS
   ============================================ */
.to-listings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.to-listing-card {
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    box-shadow: var(--to-shadow-card);
    overflow: hidden;
    transition: var(--to-transition);
}

.to-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.to-listing-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.to-listing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.to-listing-card:hover .to-listing-image img {
    transform: scale(1.05);
}

.to-listing-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--to-bg-alt);
    color: var(--to-text-secondary);
}

.to-listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.to-badge-featured {
    background: var(--to-accent);
    color: #ffffff;
}

.to-badge-sell {
    background: #2ecc71;
    color: #ffffff;
}

.to-badge-buy {
    background: #3498db;
    color: #ffffff;
}

.to-listing-content {
    padding: 24px;
}

.to-listing-type {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(27, 94, 75, 0.1);
    color: var(--to-primary);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 12px;
}

.to-listing-content h3 {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.3;
}

.to-listing-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.to-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--to-text-secondary);
}

.to-listing-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--to-secondary);
}

.to-listing-price {
    font-family: var(--to-font-brand);
    font-size: 18px;
    font-weight: 700;
    color: var(--to-primary);
}

.to-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.to-cta-section {
    padding: 0;
}

.to-cta-box {
    position: relative;
    background: linear-gradient(135deg, var(--to-primary) 0%, #0d3d30 100%);
    border-radius: var(--to-radius-card);
    padding: 80px 60px;
    overflow: hidden;
    margin: 0 var(--to-grid-gutter);
}

.to-cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.to-cta-content h2 {
    color: #ffffff;
    font-size: 36px;
    margin-bottom: 16px;
}

.to-cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    margin-bottom: 32px;
}

.to-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.to-cta-decoration {
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.3;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.to-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.to-trust-item {
    text-align: center;
    padding: 24px;
}

.to-trust-item svg {
    margin-bottom: 16px;
}

.to-trust-item h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.to-trust-item p {
    font-size: 14px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .to-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .to-listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .to-trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .to-steps-grid {
        flex-direction: column;
        gap: 32px;
    }
    .to-step-connector {
        display: none;
    }
    .to-cta-box {
        padding: 60px 40px;
    }
    .to-cta-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .to-hero-content {
        padding: 80px 0 60px;
    }
    .to-hero-stats {
        gap: 24px;
    }
    .to-stat-divider {
        display: none;
    }
    .to-categories-grid {
        grid-template-columns: 1fr;
    }
    .to-listings-grid {
        grid-template-columns: 1fr;
    }
    .to-trust-grid {
        grid-template-columns: 1fr;
    }
    .to-cta-box {
        padding: 40px 24px;
        margin: 0 16px;
    }
    .to-cta-content h2 {
        font-size: 24px;
    }
    .to-hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .to-hero-buttons .to-btn {
        width: 100%;
        max-width: 280px;
    }
}


/* ============================================
   HEADER
   ============================================ */
.to-header {
    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);
    transition: var(--to-transition);
}

.to-header-scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.to-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

/* Logo */
.to-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.to-logo-text {
    font-family: var(--to-font-brand);
    font-size: 20px;
    font-weight: 700;
    color: var(--to-text-primary);
    letter-spacing: -0.5px;
}

/* Desktop Navigation */
.to-nav-desktop {
    display: flex;
}

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

.to-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--to-text-secondary);
    text-decoration: none;
    border-radius: var(--to-radius-btn);
    transition: var(--to-transition);
}

.to-nav-link:hover,
.to-nav-item.is-active .to-nav-link {
    color: var(--to-primary);
    background: rgba(27, 94, 75, 0.08);
}

.to-nav-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    background: var(--to-error);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 3px;
    letter-spacing: 0.5px;
    animation: toPulse 2s infinite;
}

@keyframes toPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* User Area */
.to-user-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.to-user-guest {
    display: flex;
    gap: 8px;
}

.to-user-logged {
    position: relative;
}

.to-user-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--to-secondary);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--to-transition);
}

.to-user-toggle:hover {
    border-color: var(--to-primary);
}

.to-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.to-user-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--to-text-primary);
}

.to-user-badge {
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
}

.to-badge-pro {
    background: var(--to-accent);
    color: #ffffff;
}

.to-user-chevron {
    color: var(--to-text-secondary);
    transition: transform 0.2s;
}

/* User Dropdown */
.to-user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 280px;
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1001;
}

.to-user-dropdown.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-dropdown-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
}

.to-dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.to-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.to-dropdown-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--to-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.to-dropdown-email {
    font-size: 12px;
    color: var(--to-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.to-dropdown-divider {
    height: 1px;
    background: var(--to-secondary);
    margin: 0 16px;
}

.to-dropdown-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.to-dropdown-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--to-text-primary);
    text-decoration: none;
    transition: var(--to-transition);
}

.to-dropdown-menu li a:hover {
    background: var(--to-bg-alt);
    color: var(--to-primary);
}

.to-dropdown-menu li a svg {
    color: var(--to-text-secondary);
    flex-shrink: 0;
}

.to-dropdown-logout {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--to-error);
    text-decoration: none;
    transition: var(--to-transition);
}

.to-dropdown-logout:hover {
    background: rgba(231, 76, 60, 0.05);
}

/* Mobile Toggle */
.to-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.to-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--to-text-primary);
    border-radius: 2px;
    transition: var(--to-transition);
}

/* ============================================
   MOBILE MENU
   ============================================ */
.to-mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: var(--to-transition);
}

.to-menu-open .to-mobile-overlay {
    opacity: 1;
    visibility: visible;
}

.to-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 90vw;
    height: 100vh;
    background: var(--to-bg);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.to-mobile-menu.is-open {
    transform: translateX(0);
}

.to-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--to-secondary);
}

.to-mobile-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--to-text-secondary);
    padding: 4px;
}

.to-mobile-nav {
    flex: 1;
    padding: 16px 0;
}

.to-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.to-mobile-nav-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--to-text-primary);
    text-decoration: none;
    transition: var(--to-transition);
}

.to-mobile-nav-list li a:hover {
    background: var(--to-bg-alt);
    color: var(--to-primary);
}

.to-mobile-badge {
    margin-left: auto;
    padding: 2px 8px;
    background: var(--to-error);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
}

.to-mobile-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--to-secondary);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.to-btn-full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */
.to-footer {
    background: var(--to-text-primary);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.to-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.to-footer-brand .to-logo-text {
    color: #ffffff;
}

.to-footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    margin: 16px 0 24px;
    color: rgba(255, 255, 255, 0.6);
}

.to-footer-social {
    display: flex;
    gap: 12px;
}

.to-footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transition: var(--to-transition);
}

.to-footer-social a:hover {
    background: var(--to-primary);
    transform: translateY(-2px);
}

.to-footer-column h4 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.to-footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.to-footer-column ul li {
    margin-bottom: 12px;
}

.to-footer-column ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--to-transition);
}

.to-footer-column ul li a:hover {
    color: #ffffff;
}

.to-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.to-footer-powered {
    font-size: 12px;
}

/* ============================================
   AI ASSISTANT WIDGET
   ============================================ */
.to-ai-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--to-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(27, 94, 75, 0.4);
    transition: var(--to-transition);
    z-index: 999;
}

.to-ai-button:hover {
    transform: scale(1.1);
    background: var(--to-primary-hover);
}

.to-ai-widget {
    position: fixed;
    bottom: 92px;
    right: 24px;
    width: 360px;
    max-width: calc(100vw - 48px);
    height: 480px;
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--to-secondary);
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 998;
}

.to-ai-widget.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.to-ai-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: var(--to-primary);
    color: #ffffff;
    border-radius: var(--to-radius-card) var(--to-radius-card) 0 0;
}

.to-ai-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
}

.to-ai-close {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 4px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.to-ai-close:hover {
    opacity: 1;
}

.to-ai-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.to-ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.to-ai-message {
    display: flex;
    gap: 10px;
    max-width: 85%;
}

.to-ai-message.to-ai-bot {
    align-self: flex-start;
}

.to-ai-message.to-ai-user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.to-ai-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--to-primary);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.to-ai-user .to-ai-avatar {
    background: var(--to-accent);
}

.to-ai-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
    background: var(--to-bg-alt);
    color: var(--to-text-primary);
}

.to-ai-user .to-ai-bubble {
    background: var(--to-primary);
    color: #ffffff;
}

.to-ai-input-area {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--to-secondary);
}

.to-ai-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid var(--to-secondary);
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    transition: var(--to-transition);
}

.to-ai-input:focus {
    border-color: var(--to-primary);
}

.to-ai-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--to-primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--to-transition);
    flex-shrink: 0;
}

.to-ai-send:hover {
    background: var(--to-primary-hover);
}

/* ============================================
   RESPONSIVE HEADER/FOOTER
   ============================================ */
@media (max-width: 1024px) {
    .to-nav-desktop {
        display: none;
    }
    .to-mobile-toggle {
        display: flex;
    }
    .to-user-name,
    .to-user-chevron {
        display: none;
    }
    .to-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .to-header-inner {
        height: 64px;
    }
    .to-user-guest .to-btn-sm {
        padding: 8px 14px;
        font-size: 13px;
    }
    .to-footer {
        padding-top: 48px;
    }
    .to-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .to-footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    .to-ai-widget {
        width: calc(100vw - 32px);
        right: 16px;
        bottom: 80px;
    }
    .to-ai-button {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}


/* ============================================
   LISTINGS PAGE — SEARCH & HERO
   ============================================ */
.to-listings-hero {
    background: linear-gradient(135deg, var(--to-primary) 0%, #0d3d30 100%);
    padding: 100px 0 60px;
    margin-top: 72px;
}

.to-listings-hero-content {
    text-align: center;
    margin-bottom: 40px;
}

.to-listings-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.to-listings-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
}

/* Search Bar */
.to-search-bar {
    display: flex;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}

.to-search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.to-search-icon {
    position: absolute;
    left: 16px;
    color: var(--to-text-secondary);
    pointer-events: none;
}

.to-search-input {
    width: 100%;
    padding: 14px 44px 14px 48px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--to-radius-btn);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 16px;
    outline: none;
    transition: var(--to-transition);
}

.to-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.to-search-input:focus {
    border-color: var(--to-accent);
    background: rgba(255, 255, 255, 0.15);
}

.to-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.to-search-clear:hover {
    color: #ffffff;
}

.to-search-btn {
    padding: 14px 28px;
    white-space: nowrap;
}

/* ============================================
   LISTINGS LAYOUT
   ============================================ */
.to-listings-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

/* ============================================
   FILTERS SIDEBAR
   ============================================ */
.to-filters-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.to-filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.to-filters-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.to-filters-reset {
    background: none;
    border: none;
    color: var(--to-primary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.to-filters-reset:hover {
    text-decoration: underline;
}

.to-mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px 16px;
    background: var(--to-bg);
    border: 1px solid var(--to-secondary);
    border-radius: var(--to-radius-btn);
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 16px;
}

.to-filter-count {
    display: none;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--to-primary);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    margin-left: auto;
}

.to-filter-group {
    margin-bottom: 8px;
    background: var(--to-bg);
    border-radius: var(--to-radius-btn);
    overflow: hidden;
}

.to-filter-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 14px 16px;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--to-text-primary);
}

.to-filter-toggle svg {
    transition: transform 0.2s;
}

.to-filter-toggle[aria-expanded="false"] svg {
    transform: rotate(-90deg);
}

.to-filter-content {
    padding: 0 16px 16px;
}

.to-filter-content.is-collapsed {
    display: none;
}

.to-filter-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--to-secondary);
    border-radius: 6px;
    font-size: 14px;
    background: var(--to-bg);
    color: var(--to-text-primary);
    outline: none;
}

.to-filter-select:focus {
    border-color: var(--to-primary);
}

.to-filter-radio-group,
.to-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.to-filter-radio,
.to-filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--to-text-secondary);
    cursor: pointer;
}

.to-filter-radio input,
.to-filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--to-primary);
}

/* ============================================
   RESULTS AREA
   ============================================ */
.to-results-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.to-results-count {
    font-size: 14px;
    color: var(--to-text-secondary);
}

.to-results-count strong {
    color: var(--to-text-primary);
    font-weight: 600;
}

.to-guest-limit {
    color: var(--to-accent);
    margin-left: 8px;
}

.to-guest-limit a {
    color: var(--to-primary);
    font-weight: 600;
}

.to-results-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.to-sort-dropdown select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--to-secondary);
    border-radius: 6px;
    font-size: 14px;
    background: var(--to-bg);
    color: var(--to-text-primary);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.to-view-toggle {
    display: flex;
    border: 1px solid var(--to-secondary);
    border-radius: 6px;
    overflow: hidden;
}

.to-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--to-bg);
    border: none;
    color: var(--to-text-secondary);
    cursor: pointer;
    transition: var(--to-transition);
}

.to-view-btn.is-active {
    background: var(--to-primary);
    color: #ffffff;
}

.to-view-btn:hover:not(.is-active) {
    background: var(--to-bg-alt);
    color: var(--to-text-primary);
}

/* Active Filters */
.to-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.to-active-filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(27, 94, 75, 0.1);
    color: var(--to-primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
}

.to-active-filter-tag button {
    background: none;
    border: none;
    color: var(--to-primary);
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.to-active-filter-tag button:hover {
    color: var(--to-error);
}

/* ============================================
   LISTINGS CONTAINER — GRID VIEW
   ============================================ */
.to-listings-container.to-view-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================
   LISTINGS CONTAINER — LIST VIEW
   ============================================ */
.to-listings-container.to-view-list .to-listing-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

.to-listings-container.to-view-list .to-listing-image {
    width: 280px;
    height: auto;
    flex-shrink: 0;
}

.to-listings-container.to-view-list .to-listing-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.to-listings-container.to-view-list .to-listing-content h3 {
    font-size: 20px;
}

.to-listings-container.to-view-list .to-listing-description {
    display: block;
    font-size: 14px;
    color: var(--to-text-secondary);
    margin: 8px 0 12px;
    line-height: 1.5;
}

/* ============================================
   PAGINATION
   ============================================ */
.to-pagination-wrap {
    margin-top: 40px;
}

.to-pagination ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.to-pagination li {
    display: flex;
}

.to-page-link,
.to-page-current,
.to-page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--to-transition);
}

.to-page-link {
    background: var(--to-bg);
    color: var(--to-text-primary);
    border: 1px solid var(--to-secondary);
}

.to-page-link:hover {
    background: var(--to-primary);
    color: #ffffff;
    border-color: var(--to-primary);
}

.to-page-current {
    background: var(--to-primary);
    color: #ffffff;
}

.to-page-dots {
    color: var(--to-text-secondary);
}

/* ============================================
   LOADING STATE
   ============================================ */
.to-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    gap: 16px;
}

.to-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--to-secondary);
    border-top-color: var(--to-primary);
    border-radius: 50%;
    animation: toSpin 0.8s linear infinite;
}

@keyframes toSpin {
    to { transform: rotate(360deg); }
}

.to-loading p {
    color: var(--to-text-secondary);
    font-size: 14px;
}

/* ============================================
   NO RESULTS
   ============================================ */
.to-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
}

.to-no-results svg {
    color: var(--to-text-secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.to-no-results h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.to-no-results p {
    color: var(--to-text-secondary);
    margin-bottom: 24px;
}

/* ============================================
   LISTING DETAIL PAGE
   ============================================ */
.to-listing-header {
    background: linear-gradient(135deg, var(--to-primary) 0%, #0d3d30 100%);
    padding: 100px 0 60px;
    margin-top: 72px;
}

.to-listing-header-inner {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 40px;
    align-items: start;
}

.to-listing-header-image {
    border-radius: var(--to-radius-card);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.to-listing-header-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.to-listing-header-placeholder {
    width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.3);
}

.to-listing-header-info {
    color: #ffffff;
}

.to-listing-header-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.to-listing-header-info h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.to-listing-header-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}

.to-listing-header-meta .to-meta-item {
    color: rgba(255, 255, 255, 0.7);
}

.to-listing-header-meta .to-meta-item svg {
    color: rgba(255, 255, 255, 0.5);
}

.to-listing-header-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.to-price-value {
    font-family: var(--to-font-brand);
    font-size: 32px;
    font-weight: 700;
    color: var(--to-accent);
}

.to-price-volume {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
}

/* Listing Layout */
.to-listing-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.to-listing-main {
    min-width: 0;
}

.to-listing-section {
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--to-shadow-card);
}

.to-listing-section h2 {
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--to-secondary);
}

/* Details Grid */
.to-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.to-detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    background: var(--to-bg-alt);
    border-radius: 8px;
}

.to-detail-label {
    font-size: 12px;
    color: var(--to-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.to-detail-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--to-text-primary);
}

/* Certifications */
.to-certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.to-cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(27, 94, 75, 0.08);
    color: var(--to-primary);
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
}

/* Related Grid */
.to-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Sidebar */
.to-listing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.to-sidebar-card {
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    padding: 24px;
    box-shadow: var(--to-shadow-card);
}

.to-sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Seller Info */
.to-seller-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.to-seller-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.to-seller-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.to-seller-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--to-text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.to-verified-badge {
    color: var(--to-success);
}

.to-seller-company {
    font-size: 13px;
    color: var(--to-text-secondary);
}

.to-seller-country {
    font-size: 13px;
    color: var(--to-text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Contact List */
.to-contact-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.to-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    color: var(--to-text-primary);
    text-decoration: none;
    transition: var(--to-transition);
}

.to-contact-item:hover {
    background: var(--to-bg-alt);
}

.to-contact-item svg {
    color: var(--to-primary);
    flex-shrink: 0;
}

.to-contact-locked {
    color: var(--to-text-secondary);
    background: var(--to-bg-alt);
}

.to-contact-locked svg {
    color: var(--to-text-secondary);
}

/* Actions */
.to-actions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.to-action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    background: var(--to-bg-alt);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--to-text-primary);
    cursor: pointer;
    text-decoration: none;
    transition: var(--to-transition);
}

.to-action-btn:hover {
    background: var(--to-secondary);
}

.to-action-btn svg {
    color: var(--to-text-secondary);
}

.to-action-primary {
    background: var(--to-primary);
    color: #ffffff;
}

.to-action-primary:hover {
    background: var(--to-primary-hover);
}

.to-action-primary svg {
    color: #ffffff;
}

/* ============================================
   POST OFFER PAGE
   ============================================ */
.to-post-offer-hero {
    background: linear-gradient(135deg, var(--to-primary) 0%, #0d3d30 100%);
    padding: 100px 0 40px;
    margin-top: 72px;
    text-align: center;
}

.to-post-offer-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.to-post-offer-hero p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.to-limit-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #ffffff;
    font-size: 14px;
}

.to-limit-notice a {
    color: var(--to-accent);
    font-weight: 600;
}

.to-limit-notice svg {
    color: var(--to-accent);
}

/* Progress Bar */
.to-progress-bar-wrap {
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    padding: 20px 24px;
    margin-bottom: 24px;
    box-shadow: var(--to-shadow-card);
    display: flex;
    align-items: center;
    gap: 16px;
}

.to-progress-bar {
    flex: 1;
    height: 8px;
    background: var(--to-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.to-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--to-primary), var(--to-accent));
    border-radius: 4px;
    transition: width 0.3s ease;
}

.to-progress-text {
    font-size: 13px;
    font-weight: 600;
    color: var(--to-primary);
    white-space: nowrap;
}

/* Form */
.to-post-offer-form {
    max-width: 800px;
}

.to-form-section {
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--to-shadow-card);
}

.to-form-section h2 {
    font-size: 20px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--to-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.to-optional {
    font-size: 13px;
    font-weight: 400;
    color: var(--to-text-secondary);
}

.to-form-row {
    margin-bottom: 20px;
}

.to-form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.to-form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.to-form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.to-form-field label {
    font-size: 14px;
    font-weight: 600;
    color: var(--to-text-primary);
}

.to-form-field input[type="text"],
.to-form-field input[type="email"],
.to-form-field input[type="tel"],
.to-form-field input[type="number"],
.to-form-field select,
.to-form-field textarea {
    padding: 12px 14px;
    border: 1px solid var(--to-secondary);
    border-radius: 8px;
    font-size: 15px;
    background: var(--to-bg);
    color: var(--to-text-primary);
    outline: none;
    transition: var(--to-transition);
    font-family: var(--to-font-body);
}

.to-form-field input:focus,
.to-form-field select:focus,
.to-form-field textarea:focus {
    border-color: var(--to-primary);
    box-shadow: 0 0 0 3px rgba(27, 94, 75, 0.1);
}

.to-form-field.has-error input,
.to-form-field.has-error select,
.to-form-field.has-error textarea {
    border-color: var(--to-error);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.to-field-error,
.to-field-error-live {
    font-size: 13px;
    color: var(--to-error);
}

.to-field-hint {
    font-size: 12px;
    color: var(--to-text-secondary);
}

/* Radio Group */
.to-radio-group {
    display: flex;
    gap: 16px;
}

.to-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--to-bg-alt);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--to-transition);
    border: 2px solid transparent;
}

.to-radio-label:hover {
    background: var(--to-secondary);
}

.to-radio-label input:checked + span {
    font-weight: 600;
}

.to-radio-label:has(input:checked) {
    border-color: var(--to-primary);
    background: rgba(27, 94, 75, 0.05);
}

/* Image Upload */
.to-image-upload {
    position: relative;
}

.to-upload-zone {
    border: 2px dashed var(--to-secondary);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: var(--to-transition);
}

.to-upload-zone:hover,
.to-upload-zone.is-dragover {
    border-color: var(--to-primary);
    background: rgba(27, 94, 75, 0.02);
}

.to-upload-zone svg {
    color: var(--to-text-secondary);
    margin-bottom: 12px;
}

.to-upload-zone p {
    font-size: 15px;
    color: var(--to-text-primary);
    margin-bottom: 4px;
}

.to-upload-zone p span {
    color: var(--to-primary);
    font-weight: 600;
}

.to-upload-hint {
    font-size: 12px;
    color: var(--to-text-secondary);
}

.to-upload-preview {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.to-preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.to-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.to-preview-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--to-error);
    color: #ffffff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cert Checkboxes */
.to-cert-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.to-cert-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--to-bg-alt);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--to-transition);
}

.to-cert-checkbox:hover {
    background: var(--to-secondary);
}

.to-cert-checkbox input {
    accent-color: var(--to-primary);
}

/* Checkbox Label */
.to-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}

.to-checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--to-primary);
}

/* Form Submit */
.to-form-submit {
    display: flex;
    gap: 12px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.to-form-error-general {
    padding: 16px;
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid var(--to-error);
    border-radius: 8px;
    color: var(--to-error);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Success Message */
.to-success-message {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.to-success-message svg {
    margin-bottom: 20px;
}

.to-success-message h2 {
    font-size: 28px;
    margin-bottom: 12px;
}

.to-success-message p {
    color: var(--to-text-secondary);
    margin-bottom: 32px;
}

.to-success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Toast */
.to-toast {
    position: fixed;
    bottom: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    background: var(--to-text-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 1000;
    pointer-events: none;
}

.to-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Guest Notice */
.to-guest-notice {
    text-align: center;
    padding: 40px;
    background: var(--to-bg-alt);
    border-radius: var(--to-radius-card);
}

.to-guest-notice p {
    margin-bottom: 16px;
}

/* ============================================
   RESPONSIVE — FAZA 2
   ============================================ */
@media (max-width: 1024px) {
    .to-listings-layout {
        grid-template-columns: 1fr;
    }

    .to-filters-sidebar {
        position: static;
    }

    .to-filters-body {
        display: none;
    }

    .to-filters-body.is-open {
        display: block;
    }

    .to-mobile-filter-toggle {
        display: flex;
    }

    .to-listings-container.to-view-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-listing-header-inner {
        grid-template-columns: 1fr;
    }

    .to-listing-layout {
        grid-template-columns: 1fr;
    }

    .to-listing-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .to-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-form-row-2,
    .to-form-row-3 {
        grid-template-columns: 1fr;
    }

    .to-search-bar {
        flex-direction: column;
    }

    .to-search-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .to-listings-hero {
        padding: 80px 0 40px;
    }

    .to-listings-hero h1 {
        font-size: 28px;
    }

    .to-listings-container.to-view-grid {
        grid-template-columns: 1fr;
    }

    .to-listings-container.to-view-list .to-listing-card {
        flex-direction: column;
    }

    .to-listings-container.to-view-list .to-listing-image {
        width: 100%;
        height: 200px;
    }

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

    .to-listing-header-info h1 {
        font-size: 24px;
    }

    .to-price-value {
        font-size: 24px;
    }

    .to-listing-sidebar {
        grid-template-columns: 1fr;
    }

    .to-related-grid {
        grid-template-columns: 1fr;
    }

    .to-details-grid {
        grid-template-columns: 1fr;
    }

    .to-post-offer-hero h1 {
        font-size: 24px;
    }

    .to-form-section {
        padding: 20px;
    }

    .to-cert-checkboxes {
        grid-template-columns: 1fr;
    }

    .to-upload-preview {
        grid-template-columns: repeat(3, 1fr);
    }

    .to-form-submit {
        flex-direction: column;
    }

    .to-form-submit .to-btn {
        width: 100%;
        justify-content: center;
    }

    .to-progress-bar-wrap {
        flex-direction: column;
        gap: 8px;
    }
}


/* ============================================
   BOOKMARK BUTTON
   ============================================ */
.to-bookmark-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--to-bg-alt);
    border: 1px solid var(--to-secondary);
    color: var(--to-text-secondary);
    cursor: pointer;
    transition: var(--to-transition);
    flex-shrink: 0;
}

.to-bookmark-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: var(--to-error);
    color: var(--to-error);
}

.to-bookmark-btn.is-bookmarked {
    background: rgba(231, 76, 60, 0.15);
    border-color: var(--to-error);
    color: var(--to-error);
}

.to-bookmark-btn.is-bookmarked svg {
    fill: currentColor;
}

/* ============================================
   LIVE BADGE
   ============================================ */
.to-badge-live {
    background: var(--to-error);
    color: #ffffff;
    animation: toPulse 2s infinite;
}

/* ============================================
   LISTING CARD — ACTIONS ROW
   ============================================ */
.to-listing-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   VIEW LIST — DESCRIPTION (hidden in grid)
   ============================================ */
.to-listings-container.to-view-grid .to-listing-description {
    display: none;
}

/* ============================================
   AI CHAT WIDGET — OPEN STATE
   ============================================ */
.to-ai-widget.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* ============================================
   MOBILE MENU — BODY LOCK
   ============================================ */
body.to-menu-open {
    overflow: hidden;
}

/* ============================================
   SCROLLBAR STYLING
   ============================================ */
.to-ai-messages::-webkit-scrollbar {
    width: 4px;
}

.to-ai-messages::-webkit-scrollbar-track {
    background: transparent;
}

.to-ai-messages::-webkit-scrollbar-thumb {
    background: var(--to-secondary);
    border-radius: 2px;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 1024px) {
    .to-listings-layout {
        grid-template-columns: 1fr;
    }

    .to-filters-sidebar {
        position: static;
    }

    .to-filters-body {
        display: none;
    }

    .to-filters-body.is-open {
        display: block;
    }

    .to-mobile-filter-toggle {
        display: flex;
    }

    .to-listings-container.to-view-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-listing-header-inner {
        grid-template-columns: 1fr;
    }

    .to-listing-layout {
        grid-template-columns: 1fr;
    }

    .to-listing-sidebar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .to-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-details-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-form-row-2,
    .to-form-row-3 {
        grid-template-columns: 1fr;
    }

    .to-search-bar {
        flex-direction: column;
    }

    .to-search-btn {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .to-listings-hero {
        padding: 80px 0 40px;
    }

    .to-listings-hero h1 {
        font-size: 28px;
    }

    .to-listings-container.to-view-grid {
        grid-template-columns: 1fr;
    }

    .to-listings-container.to-view-list .to-listing-card {
        flex-direction: column;
    }

    .to-listings-container.to-view-list .to-listing-image {
        width: 100%;
        height: 200px;
    }

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

    .to-listing-header-info h1 {
        font-size: 24px;
    }

    .to-price-value {
        font-size: 24px;
    }

    .to-listing-sidebar {
        grid-template-columns: 1fr;
    }

    .to-related-grid {
        grid-template-columns: 1fr;
    }

    .to-details-grid {
        grid-template-columns: 1fr;
    }

    .to-post-offer-hero h1 {
        font-size: 24px;
    }

    .to-form-section {
        padding: 20px;
    }

    .to-cert-checkboxes {
        grid-template-columns: 1fr;
    }

    .to-upload-preview {
        grid-template-columns: repeat(3, 1fr);
    }

    .to-form-submit {
        flex-direction: column;
    }

    .to-form-submit .to-btn {
        width: 100%;
        justify-content: center;
    }

    .to-progress-bar-wrap {
        flex-direction: column;
        gap: 8px;
    }

    .to-listing-header {
        padding: 80px 0 40px;
    }

    .to-listing-header-image img,
    .to-listing-header-placeholder {
        height: 200px;
    }

    .to-listing-header-meta {
        flex-direction: column;
        gap: 8px;
    }

    .to-listing-header-badges {
        flex-wrap: wrap;
    }
}


/* ============================================
   PRICING PAGE
   ============================================ */
.to-pricing-hero {
    background: linear-gradient(135deg, var(--to-primary) 0%, #0d3d30 100%);
    padding: 120px 0 60px;
    margin-top: 72px;
    text-align: center;
}

.to-pricing-hero-content {
    margin-bottom: 40px;
}

.to-pricing-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.to-pricing-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
}

/* Toggle */
.to-pricing-toggle {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.to-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.to-toggle-label.is-active {
    color: #ffffff;
    font-weight: 600;
}

.to-toggle-save {
    display: inline-block;
    padding: 2px 8px;
    background: var(--to-accent);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 4px;
}

.to-toggle-switch {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.to-toggle-track {
    display: block;
    width: 48px;
    height: 26px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 13px;
    position: relative;
    transition: background 0.3s;
}

.to-toggle-switch[aria-pressed="true"] .to-toggle-track {
    background: var(--to-accent);
}

.to-toggle-thumb {
    display: block;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.to-toggle-switch[aria-pressed="true"] .to-toggle-thumb {
    transform: translateX(22px);
}

/* Pricing Grid */
.to-pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.to-pricing-card {
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    padding: 40px 32px;
    box-shadow: var(--to-shadow-card);
    position: relative;
    display: flex;
    flex-direction: column;
}

.to-pricing-pro {
    border: 2px solid var(--to-accent);
    transform: scale(1.02);
}

.to-pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--to-accent);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.to-pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.to-pricing-header h3 {
    font-size: 24px;
    font-weight: 700;
}

.to-pricing-badge {
    padding: 4px 12px;
    background: var(--to-bg-alt);
    color: var(--to-text-secondary);
    font-size: 12px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
}

.to-badge-pro {
    background: var(--to-accent);
    color: #ffffff;
}

.to-pricing-price {
    margin-bottom: 12px;
}

.to-price-amount {
    font-family: var(--to-font-brand);
    font-size: 48px;
    font-weight: 700;
    color: var(--to-text-primary);
    line-height: 1;
}

.to-price-period {
    font-size: 16px;
    color: var(--to-text-secondary);
}

.to-pricing-desc {
    font-size: 15px;
    color: var(--to-text-secondary);
    margin-bottom: 24px;
}

.to-pricing-features {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    flex: 1;
}

.to-pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
}

.to-pricing-features li.is-included {
    color: var(--to-text-primary);
}

.to-pricing-features li.is-included svg {
    color: var(--to-success);
    flex-shrink: 0;
}

.to-pricing-features li.is-not-included {
    color: var(--to-text-secondary);
    opacity: 0.6;
}

.to-pricing-features li.is-not-included svg {
    color: var(--to-text-secondary);
    flex-shrink: 0;
}

.to-pricing-footer {
    margin-top: auto;
}

.to-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.to-btn-full {
    width: 100%;
    justify-content: center;
}

/* Payment Methods */
.to-payment-methods {
    text-align: center;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--to-secondary);
}

.to-payment-methods p {
    font-size: 14px;
    color: var(--to-text-secondary);
    margin-bottom: 16px;
}

.to-payment-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
}

.to-payment-icon {
    padding: 8px 16px;
    background: var(--to-bg-alt);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--to-text-primary);
}

.to-payment-note {
    font-size: 13px;
    color: var(--to-text-secondary);
}

/* FAQ */
.to-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.to-faq-item {
    padding: 24px;
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    box-shadow: var(--to-shadow-card);
}

.to-faq-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.to-faq-item p {
    font-size: 14px;
    color: var(--to-text-secondary);
    line-height: 1.6;
}

/* ============================================
   MY ACCOUNT
   ============================================ */
.to-my-account {
    margin-top: 72px;
    padding: 40px 0;
}

.to-account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.to-account-sidebar {
    position: sticky;
    top: 90px;
    height: fit-content;
}

.to-account-user {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    box-shadow: var(--to-shadow-card);
    margin-bottom: 16px;
}

.to-account-user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.to-account-user-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.to-account-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--to-text-primary);
}

.to-account-package {
    font-size: 12px;
}

.to-badge-pro {
    display: inline-block;
    padding: 2px 8px;
    background: var(--to-accent);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

.to-badge-trader {
    display: inline-block;
    padding: 2px 8px;
    background: var(--to-bg-alt);
    color: var(--to-text-secondary);
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

.to-account-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    box-shadow: var(--to-shadow-card);
    padding: 12px;
}

.to-account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--to-text-secondary);
    text-decoration: none;
    transition: var(--to-transition);
}

.to-account-nav-item:hover {
    background: var(--to-bg-alt);
    color: var(--to-text-primary);
}

.to-account-nav-item.is-active {
    background: var(--to-primary);
    color: #ffffff;
}

.to-account-nav-item.is-active svg {
    color: #ffffff;
}

.to-account-nav-item svg {
    color: var(--to-text-secondary);
    flex-shrink: 0;
}

/* Account Content */
.to-account-content {
    min-width: 0;
}

.to-account-section {
    background: var(--to-bg);
    border-radius: var(--to-radius-card);
    padding: 32px;
    box-shadow: var(--to-shadow-card);
}

.to-account-section h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

/* Stats Grid */
.to-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.to-stat-card {
    background: var(--to-bg-alt);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--to-transition);
}

.to-stat-card.is-warning {
    border-color: var(--to-error);
    background: rgba(231, 76, 60, 0.05);
}

.to-stat-value {
    display: block;
    font-family: var(--to-font-brand);
    font-size: 36px;
    font-weight: 700;
    color: var(--to-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.to-stat-label {
    display: block;
    font-size: 13px;
    color: var(--to-text-secondary);
    margin-bottom: 8px;
}

.to-stat-limit {
    font-size: 12px;
    color: var(--to-text-secondary);
}

.to-stat-alert {
    display: block;
    font-size: 12px;
    color: var(--to-error);
    font-weight: 600;
    margin-top: 4px;
}

.to-stat-progress {
    width: 100%;
    height: 6px;
    background: var(--to-secondary);
    border-radius: 3px;
    overflow: hidden;
    margin-top: 8px;
}

.to-stat-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--to-primary), var(--to-accent));
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* Package Info */
.to-package-info {
    margin-bottom: 32px;
}

.to-package-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.to-package-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: var(--to-bg-alt);
    border-radius: 12px;
    flex-wrap: wrap;
    gap: 16px;
}

.to-package-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: var(--to-text-primary);
}

.to-package-status {
    display: block;
    font-size: 13px;
    color: var(--to-text-secondary);
    margin-top: 4px;
}

/* Quick Actions */
.to-quick-actions h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.to-quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.to-quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--to-bg-alt);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--to-text-primary);
    text-decoration: none;
    transition: var(--to-transition);
}

.to-quick-action:hover {
    background: var(--to-primary);
    color: #ffffff;
}

.to-quick-action svg {
    color: var(--to-primary);
    flex-shrink: 0;
}

.to-quick-action:hover svg {
    color: #ffffff;
}

/* My Listings Table */
.to-section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 12px;
}

.to-section-header-flex h2 {
    margin-bottom: 0;
}

.to-my-listings-table-wrap {
    overflow-x: auto;
}

.to-my-listings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.to-my-listings-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--to-text-secondary);
    border-bottom: 2px solid var(--to-secondary);
}

.to-my-listings-table td {
    padding: 16px;
    border-bottom: 1px solid var(--to-secondary);
    vertical-align: middle;
}

.to-listing-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.to-listing-cell img,
.to-listing-thumb-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--to-bg-alt);
}

.to-listing-title {
    display: block;
    font-weight: 600;
    color: var(--to-text-primary);
    text-decoration: none;
    margin-bottom: 2px;
}

.to-listing-title:hover {
    color: var(--to-primary);
}

.to-listing-meta {
    font-size: 12px;
    color: var(--to-text-secondary);
}

.to-badge-sell,
.to-badge-buy {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.to-badge-sell {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.to-badge-buy {
    background: rgba(52, 152, 219, 0.1);
    color: #2980b9;
}

.to-status-active,
.to-status-pending,
.to-status-closed {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.to-status-active {
    background: rgba(46, 204, 113, 0.1);
    color: #27ae60;
}

.to-status-pending {
    background: rgba(243, 156, 18, 0.1);
    color: #d35400;
}

.to-status-closed {
    background: rgba(231, 76, 60, 0.1);
    color: #c0392b;
}

.to-listing-actions-cell {
    display: flex;
    gap: 12px;
}

.to-action-link {
    font-size: 13px;
    color: var(--to-primary);
    text-decoration: none;
    font-weight: 500;
}

.to-action-link:hover {
    text-decoration: underline;
}

/* Bookmarks Grid */
.to-bookmarks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Empty State */
.to-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.to-empty-state svg {
    color: var(--to-text-secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.to-empty-state h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.to-empty-state p {
    color: var(--to-text-secondary);
    margin-bottom: 24px;
}

/* Messages Placeholder */
.to-messages-placeholder {
    text-align: center;
    padding: 60px 20px;
}

.to-messages-placeholder svg {
    color: var(--to-text-secondary);
    margin-bottom: 20px;
    opacity: 0.5;
}

.to-messages-placeholder h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.to-messages-placeholder p {
    color: var(--to-text-secondary);
    max-width: 400px;
    margin: 0 auto;
}

/* Settings */
.to-settings-form .to-form-section {
    margin-bottom: 24px;
    padding: 24px;
}

.to-settings-form .to-form-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.to-settings-note {
    font-size: 13px;
    color: var(--to-text-secondary);
    margin-top: 12px;
    font-style: italic;
}

.to-settings-danger {
    border: 1px solid var(--to-error);
}

/* ============================================
   RESPONSIVE — FAZA 3
   ============================================ */
@media (max-width: 1024px) {
    .to-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .to-pricing-pro {
        transform: none;
    }

    .to-faq-grid {
        grid-template-columns: 1fr;
    }

    .to-account-layout {
        grid-template-columns: 1fr;
    }

    .to-account-sidebar {
        position: static;
    }

    .to-account-nav {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 8px;
    }

    .to-account-nav-item {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }

    .to-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-quick-actions-grid {
        grid-template-columns: 1fr;
    }

    .to-bookmarks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .to-pricing-hero {
        padding: 80px 0 40px;
    }

    .to-pricing-hero h1 {
        font-size: 28px;
    }

    .to-price-amount {
        font-size: 36px;
    }

    .to-pricing-card {
        padding: 24px 20px;
    }

    .to-account-section {
        padding: 20px;
    }

    .to-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .to-stat-value {
        font-size: 28px;
    }

    .to-bookmarks-grid {
        grid-template-columns: 1fr;
    }

    .to-my-listings-table th,
    .to-my-listings-table td {
        padding: 10px;
    }

    .to-listing-cell img,
    .to-listing-thumb-placeholder {
        width: 36px;
        height: 36px;
    }

    .to-package-card {
        flex-direction: column;
        text-align: center;
    }

    .to-pricing-toggle {
        gap: 10px;
        padding: 6px 14px;
    }
}



.site-header img { height: 42px !important; width: auto !important; display: block !important; }

}
.to-header .to-logo-link { display:inline-flex !important; align-items:center !important; }
.to-header .to-logo-link img { height:42px !important; width:auto !important; display:block !important; opacity:1 !important; visibility:visible !important; }







