
/* ── Detail Wrapper ── */
.ft-detail-wrapper {
    background-color: #f6f5f2;
    min-height: 100vh;
    padding-bottom: 80px;
    margin-top: -4.75rem;
}

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

/* ── Hero offset  ── */
.ft-detail-hero-spacer {
    height: 4.75rem;
    background-color: #f6f5f2;
}

@media (max-width: 1199.98px) {
    .ft-detail-hero-spacer {
        height: 6rem;
    }
}

/* ── Carousel ── */
.ft-carousel-wrapper {
    position: relative;
    background: #111;
    border-radius: 0;
    overflow: hidden;
    max-height: 460px;
}

.ft-carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 460px;
}

.ft-carousel-slide {
    min-width: 100%;
    position: relative;
}

.ft-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Counter badge */
.ft-carousel-counter {
    position: absolute;
    bottom: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 5;
}

/* Arrows */
.ft-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #333;
    cursor: pointer;
    z-index: 5;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.ft-carousel-btn:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.ft-carousel-btn.prev {
    left: 14px;
}

.ft-carousel-btn.next {
    right: 14px;
}

/* Thumbnails */
.ft-thumbs-strip {
    display: flex;
    gap: 8px;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: thin;
}

.ft-thumb {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    border: 2px solid transparent;
    transition: border-color 0.2s ease, opacity 0.2s ease;
    opacity: 0.65;
}

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

.ft-thumb.active {
    border-color: #f68922;
    opacity: 1;
}

.ft-thumb:hover {
    opacity: 1;
}

/* ── Content Card ── */
.ft-detail-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
    margin-bottom: 24px;
}

/* ── Title / Price ── */
.ft-detail-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
    margin-bottom: 8px;
}

.ft-detail-price {
    font-size: 2rem;
    font-weight: 800;
    color: #f68922;
    margin-bottom: 0;
}

/* ── Section headings inside card ── */
.ft-detail-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f6f5f2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Description ── */
.ft-detail-desc {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.75;
    white-space: pre-line;
}

/* ── Features / Equipment lists ── */
.ft-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ft-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.5;
}

.ft-check-list li i {
    color: #f68922;
    margin-top: 2px;
    flex-shrink: 0;
    font-size: 0.85rem;
}

/* ── Seller / Logo ── */
.ft-detail-logo {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ── Contact Form ── */
.ft-contact-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

.ft-contact-input {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 0.9rem;
    color: #333;
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-family: inherit;
    margin-bottom: 16px;
}

.ft-contact-input:focus {
    border-color: #f68922;
    box-shadow: 0 0 0 3px rgba(246, 137, 34, 0.12);
    background: #fff;
}

textarea.ft-contact-input {
    resize: vertical;
    min-height: 110px;
}

.ft-contact-submit {
    width: 100%;
    background-color: #f68922;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.ft-contact-submit:hover {
    background-color: #e07718;
}

/* ── Fullscreen Image Viewer ── */

.ft-image-viewer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

.ft-image-viewer img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 6px;
}

.ft-image-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 42px;
    color: #fff;
    cursor: pointer;
    line-height: 1;
}

/* ── Disclaimer ── */
.ft-detail-disclaimer {
    font-size: 0.8rem;
    color: #999;
    line-height: 1.6;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.ft-detail-disclaimer a {
    color: #f68922;
}

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

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

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

body.theme-dark .ft-detail-price {
    color: #f68922;
}

body.theme-dark .ft-detail-section-title {
    color: var(--oc-title);
    border-bottom-color: #2a2a2a;
}

body.theme-dark .ft-detail-desc,
body.theme-dark .ft-check-list li {
    color: var(--oc-text);
}

body.theme-dark .ft-contact-input {
    background: #1e2631;
    border-color: #374151;
    color: var(--oc-title);
}

body.theme-dark .ft-contact-input:focus {
    border-color: #f68922;
    background: #232d3a;
}

body.theme-dark .ft-seller-name {
    color: var(--oc-title);
}

body.theme-dark .ft-thumb {
    border-color: transparent;
}

body.theme-dark .ft-thumb.active {
    border-color: #f68922;
}

body.theme-dark .ft-carousel-btn {
    background: rgba(30, 38, 49, 0.85);
    color: #e5e7eb;
}

body.theme-dark .ft-carousel-btn:hover {
    background: #1e2631;
}

body.theme-dark .ft-detail-disclaimer {
    color: #666;
    border-top-color: #2a2a2a;
}

/* ── Responsive ── */
@media (max-width: 768px) {

    .ft-carousel-wrapper,
    .ft-carousel-track {
        max-height: 260px;
        height: 260px;
    }

    .ft-detail-title {
        font-size: 1.3rem;
    }

    .ft-detail-price {
        font-size: 1.6rem;
    }

    .ft-detail-card {
        padding: 20px;
    }
}