/* Main Wrapper */
.ft-sale-wrapper {
    background-color: var(--oc-page-bg);
    min-height: 100vh;
    padding-bottom: 80px;
    margin-top: -4.75rem;
}

@media (max-width: 1199.98px) {
    .ft-sale-wrapper {
        margin-top: -6rem;
    }
}

/* ---------------- Hero Section ---------------- */
.ft-hero-section {
    position: relative;
    background: linear-gradient(135deg, var(--oc-orange-1) 0%, var(--oc-orange-2) 100%);
    color: #ffffff;
    padding: 120px 0 80px 0;
    text-align: center;
    overflow: hidden;
}

.ft-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.ft-floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.15;
    animation: ftFloat 8s ease-in-out infinite alternate;
}

@keyframes ftFloat {
    0% {
        transform: translateY(0) scale(1);
    }

    100% {
        transform: translateY(-20px) scale(1.05);
    }
}

.ft-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.ft-hero-title {
    margin: 0 0 20px;
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.7rem, 5vw, 4.7rem);
    font-weight: 700;
    line-height: 1.03;
}

.ft-hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.92);
}

/* Badges / Pills in Hero */
.ft-hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.ft-badge-pill {
    background-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
    transition: background-color 0.3s ease;
}

.ft-badge-pill:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.ft-disclaimers-top {
    padding: 1.35rem 1.4rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--oc-text);
    line-height: 1.65;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(112, 44, 55, 0.12);
    box-shadow: 0 12px 30px rgba(112, 44, 55, 0.08);
    backdrop-filter: blur(8px);
}

.ft-disclaimer-eyebrow {
    margin-bottom: 0.75rem;
    color: var(--oc-orange-2);
}

.ft-disclaimers-top p {
    margin-bottom: 0.6rem;
}

.ft-disclaimers-top strong {
    color: var(--oc-title);
}

.ft-disclaimers-top p:last-child {
    margin-bottom: 0;
}

/* ---------------- Banner Section ---------------- */
.ft-sell-banner {
    background: linear-gradient(135deg, var(--oc-orange-1), var(--oc-orange-2));
    color: #ffffff;
    border-radius: 12px;
    padding: 30px 40px;
    margin-top: 40px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(246, 137, 34, 0.2);
}

.ft-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ft-banner-icon {
    background-color: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.ft-banner-title {
    color: #ffffff;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.ft-banner-subtitle {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

.ft-banner-btn {
    background-color: #ffffff;
    color: var(--oc-wine);
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ft-banner-btn:hover {
    background-color: #fffaf5;
    transform: translateY(-2px);
    color: var(--oc-orange-2);
}

/* ---------------- Grid Section ---------------- */
.ft-section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 700;
    color: var(--oc-title);
    margin-bottom: 30px;
}

/* Cards */
.ft-card {
    background-color: var(--card-surface);
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ft-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.ft-card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.ft-img-count-badge {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(4px);
}

.ft-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ft-card:hover .ft-card-img {
    transform: scale(1.05);
}

.ft-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ft-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--oc-title);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3rem;
}

.ft-card-desc {
    font-size: 0.88rem;
    color: var(--oc-text);
    margin-bottom: 15px;
    flex-grow: 1;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ft-card-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    font-size: 0.82rem;
    color: var(--oc-muted);
}

.ft-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ft-spec-item i {
    color: var(--oc-orange-1);
}

.ft-card-footer-row {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ft-card-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--oc-title);
}

.ft-btn-view {
    background: linear-gradient(135deg, var(--oc-orange-1), var(--oc-orange-2));
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
    font-family: inherit;
    font-size: inherit;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
    display: block;
    cursor: pointer;
    line-height: inherit;
    -webkit-appearance: none;
    appearance: none;
}

.ft-btn-view:hover {
    background: linear-gradient(135deg, #f68922, #dc6513);
    color: #ffffff;
}

.ft-status-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(112, 44, 55, 0.12);
    color: var(--oc-title);
}

.ft-status-icon {
    color: var(--oc-orange-1);
}

.ft-status-copy,
.ft-empty-copy {
    color: var(--oc-text);
}

.ft-status-action {
    min-width: 0;
    padding-right: 1.2rem;
    padding-left: 1.2rem;
}

.ft-empty-title {
    color: var(--oc-title);
    font-family: 'Playfair Display', Georgia, serif;
}

.ft-inline-link {
    color: var(--oc-wine);
    font-weight: 700;
}

.ft-inline-link:hover {
    color: var(--oc-orange-2);
}

/* Responsividad extra */
@media (max-width: 768px) {
    .ft-hero-title {
        font-size: 2.5rem;
    }

    .ft-sell-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .ft-banner-left {
        flex-direction: column;
    }
}

/* Dark Mode Adjustments */
body.theme-dark .ft-sale-wrapper {
    background-color: var(--oc-page-bg);
}

body.theme-dark .ft-disclaimers-top {
    background: rgba(34, 43, 54, 0.88);
    border-color: rgba(255, 154, 60, 0.16);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

body.theme-dark .ft-disclaimer-eyebrow {
    color: #ffb16a;
}

body.theme-dark .ft-disclaimers-top strong,
body.theme-dark .ft-empty-title,
body.theme-dark .ft-status-card h4 {
    color: var(--oc-title);
}

body.theme-dark .ft-status-card {
    background: rgba(34, 43, 54, 0.92);
    border-color: rgba(255, 154, 60, 0.16);
}

body.theme-dark .ft-status-copy,
body.theme-dark .ft-empty-copy,
body.theme-dark .ft-disclaimers-top p {
    color: var(--oc-text);
}

body.theme-dark .ft-inline-link {
    color: #ffb16a;
}

body.theme-dark .ft-inline-link:hover {
    color: #ffd1a3;
}

body.theme-dark .ft-section-title {
    color: var(--oc-title);
    text-shadow: none;
}

body.theme-dark .ft-card {
    background-color: var(--card-surface);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

body.theme-dark .ft-card-img-wrapper {
    background-color: #2a2a2a;
}

body.theme-dark .ft-card-title,
body.theme-dark .ft-card-price {
    color: var(--oc-title);
}

body.theme-dark .ft-card-desc,
body.theme-dark .ft-spec-item {
    color: var(--oc-text);
}

body.theme-dark .ft-sell-banner {
    background: linear-gradient(135deg, #f68922, #c95712);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body.theme-dark .ft-banner-btn {
    background-color: var(--oc-page-bg);
    color: #ffb16a;
}

body.theme-dark .ft-banner-btn:hover {
    background-color: #222b36;
    color: #ffd1a3;
}

body.theme-dark .ft-badge-pill {
    background-color: rgba(0, 0, 0, 0.3);
    color: #e5e7eb;
}

body.theme-dark .ft-badge-pill:hover {
    background-color: rgba(0, 0, 0, 0.5);
}

body.theme-dark .ft-pagination-btn {
    background: var(--card-surface);
    border-color: #374151;
    color: var(--oc-text);
}

body.theme-dark .ft-pagination-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #f68922;
    color: #f68922;
}

/* Pagination Styles */
.ft-pagination-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    color: #666;
    font-weight: 600;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.ft-pagination-btn:hover {
    background: #fffaf5;
    border-color: #f68922;
    color: #f68922;
}

.ft-pagination-btn.active {
    background: #f68922;
    border-color: #f68922;
    color: #fff;
}

.ft-pagination-btn.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f9f9f9;
}

body.theme-dark .ft-pagination-btn {
    background: var(--card-surface);
    border-color: #374151;
    color: var(--oc-text);
}

body.theme-dark .ft-pagination-btn:hover {
    border-color: #f68922;
    color: #f68922;
}

body.theme-dark .ft-pagination-btn.active {
    background: #f68922;
    border-color: #f68922;
    color: #fff;
}