/* ===== Pincode availability notice (scrolling bar) ===== */
.tf-pincode-alert-bar {
    background: #416974;
    color: #fff;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 500;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

    .tf-pincode-alert-bar .marquee-track {
        display: flex;
        justify-content: center;
        width: 100%;
    }

    .tf-pincode-alert-bar .marquee-item {
        display: inline-flex;
        align-items: center;
        flex-shrink: 0;
        gap: 8px;
        padding: 10px 48px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: .2px;
    }

        .tf-pincode-alert-bar .marquee-item svg {
            flex-shrink: 0;
        }

    /* desktop: text fits, so only the single (first) copy is shown, centered, no scroll */
    .tf-pincode-alert-bar .marquee-item:not(:first-child) {
        display: none;
    }

/* tablet/mobile: text overflows the narrower viewport, so scroll it continuously */
@media (max-width: 1024px) {
    .tf-pincode-alert-bar .marquee-track {
        display: inline-flex;
        justify-content: flex-start;
        width: max-content;
        animation: tf-pincode-marquee 35s linear infinite;
    }

    .tf-pincode-alert-bar:hover .marquee-track {
        animation-play-state: paused;
    }

    .tf-pincode-alert-bar .marquee-item:not(:first-child) {
        display: inline-flex;
    }
}

@media (max-width: 768px) {
    .tf-pincode-alert-bar .marquee-item {
        padding: 8px 28px;
        font-size: 13px;
    }
}

@keyframes tf-pincode-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .tf-pincode-alert-bar .marquee-track {
        animation: none;
    }
}

.tf-product-page {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --orange: #f59e0b;
    --red: #e11d48;
    --radius: 10px;
    background: #f5f6f8;
    color: var(--text-dark);
    overflow-x: hidden; /* safety net: nothing inside can push the page sideways */
}

    .tf-product-page,
    .tf-product-page * {
        box-sizing: border-box;
    }

        .tf-product-page .page-wrap {
            max-width: 95%;
            margin: 30px auto;
            padding: 0 16px;
        }

        .tf-product-page .product-grid {
            display: grid;
            grid-template-columns: 64px 300px 260px 1fr;
            gap: 18px;
            align-items: start;
        }

        .tf-product-page .product-grid-not360 {
            display: grid;
            grid-template-columns: 64px 560px 1fr;
            gap: 18px;
            align-items: start;
        }

        /* When the 360 view isn't available, primary image expands into that column */
        .tf-product-page .primary-full {
            grid-column: 2 / span 2;
        }

@media (min-width: 1201px) {
    .tf-product-page .primary-full .lifestyle-container {
        height: 420px;
    }
}

/* ---------- Thumbnail rail (fixed height, scrollable) ---------- */
.tf-product-page .thumb-rail-wrap {
    position: relative;
    height: 360px;
}

.tf-product-page .thumb-rail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .tf-product-page .thumb-rail::-webkit-scrollbar {
        display: none;
    }

.tf-product-page .thumb-scroll-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.95);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}

    .tf-product-page .thumb-scroll-btn.up {
        top: -2px;
    }

    .tf-product-page .thumb-scroll-btn.down {
        bottom: -2px;
    }

    .tf-product-page .thumb-scroll-btn.left,
    .tf-product-page .thumb-scroll-btn.right {
        display: none; /* only used in mobile row layout */
        top: 50%;
        left: auto;
        transform: translateY(-50%);
        width: 18px;
        height: 28px;
    }

    .tf-product-page .thumb-scroll-btn.left {
        left: -2px;
    }

    .tf-product-page .thumb-scroll-btn.right {
        right: -2px;
    }

    .tf-product-page .thumb-scroll-btn:hover {
        background: var(--blue-light);
        border-color: var(--blue);
        color: var(--blue);
    }

    .tf-product-page .thumb-scroll-btn[disabled],
    .tf-product-page .thumb-scroll-btn.is-hidden {
        display: none;
    }

.tf-product-page .thumb {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    border-radius: 8px;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}

    .tf-product-page .thumb.active {
        border-color: var(--blue);
    }

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

/* ---------- 360 viewer (middle) ---------- */
.tf-product-page .view360-container {
    position: relative;
    width: 100%;
    height: 360px;
    background: #c7ccd1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.tf-product-page .view360-iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.tf-product-page .badge-360 {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255,255,255,.92);
    color: #1f2933;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 16px;
    z-index: 5;
    pointer-events: none;
}

.tf-product-page .expand-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: pointer;
    border: 0;
}

.tf-product-page .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.92);
    border-radius: 50%;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    font-size: 16px;
    color: #374151;
}

    .tf-product-page .nav-arrow.prev {
        left: 12px;
    }

    .tf-product-page .nav-arrow.next {
        right: 12px;
    }

.tf-product-page .frame-counter {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.9);
    color: #374151;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 12px;
    z-index: 5;
    pointer-events: none;
}

.tf-product-page .dot-row {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.tf-product-page .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #d1d5db;
}

    .tf-product-page .dot.active {
        background: var(--blue);
    }

/* ---------- Lifestyle / primary image (3rd column) ---------- */
.tf-product-page .lifestyle-container {
    position: relative;
    width: 100%;
    height: 490px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.tf-product-page .lifestyle-caption {
    margin: 8px 2px 0;
    color: var(--text-muted);
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
}

.tf-product-page .lifestyle-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(25px) brightness(.75);
    transform: scale(1.15);
    z-index: 0;
}

.tf-product-page .lifestyle-fg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: opacity .15s ease;
}

/* ---------- Prev/Next design navigation (same button type as Mockup Details' main image nav) ---------- */
.tf-product-page .tf-mockup-details-nav-button {
    position: absolute;
    top: 50%;
    z-index: 5;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #172b4d;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

    .tf-product-page .tf-mockup-details-nav-button:hover {
        background: #f5f6f8;
    }

    .tf-product-page .tf-mockup-details-nav-button.d-none {
        display: none;
    }

.tf-product-page .tf-mockup-details-nav-icon {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
}

.tf-product-page .tf-mockup-details-nav-prev {
    left: 14px;
}

.tf-product-page .tf-mockup-details-nav-next {
    right: 14px;
}

@media (max-width: 768px) {
    .tf-product-page .tf-mockup-details-nav-button {
        width: 36px;
        height: 36px;
    }

    .tf-product-page .tf-mockup-details-nav-icon {
        width: 18px;
        height: 18px;
    }

    .tf-product-page .tf-mockup-details-nav-prev {
        left: 10px;
    }

    .tf-product-page .tf-mockup-details-nav-next {
        right: 10px;
    }
}

.tf-product-page .brand-tag {
    position: absolute;
    top: 0;
    left: 0;
    background: #ef1f24;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    font-weight: 700;
    font-size: 13px;
}

    .tf-product-page .brand-tag small {
        display: block;
        font-size: 8px;
        font-weight: 600;
        letter-spacing: .5px;
    }

.tf-product-page .concept-tag {
    position: absolute;
    bottom: 10px;
    right: 12px;
    color: #fff;
    font-size: 11px;
    text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

    .tf-product-page .concept-tag b {
        font-weight: 800;
    }

/* ---------- Info panel (right column) ---------- */
.tf-product-page .info-panel {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}

.tf-product-page .info-top {
    /*display: flex;*/
    /*justify-content: space-between;*/
    align-items: center;
    /*gap: 16px;*/
}

.tf-product-page .info-title-wrap {
    /*flex: 0 0 60%;*/
    /*max-width: 60%;*/
    min-width: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
/*
.tf-product-page .info-actions-inline {
    flex: 0 0 40%;
    max-width: 40%;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

    .tf-product-page .info-actions-inline .bottom-actions {
        margin: 0;
        min-width: 0;
        max-width: 100%;
        margin-right: 8px;
    }

    .tf-product-page .info-actions-inline .pill-btn {
        border-radius: 5px;
        min-width: 0;
        flex: 1 1 0;
        padding: 0 10px;
        height: 38px;
        font-size: 12.5px;
        white-space: nowrap;
    }*/

.tf-product-page .info-title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.tf-product-page .share-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 4px 8px;
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
}



@media (min-width: 1201px) and (max-width: 1330px) {
    .tf-product-page .info-actions-inline .bottom-actions {
        flex-direction: column;
        width: 100%;
    }

    .tf-product-page .info-actions-inline .pill-btn {
        width: 100%;
        height: 44px;
    }

    .tf-product-page .info-actions-inline {
        min-height: 80px;
        align-items: stretch;
    }

        .tf-product-page .info-actions-inline .pill-btn {
            height: auto;
        }
}


/* ---------- Action row: Wishlist / Compare / pieces-per-box ---------- */
.tf-product-page .action-row {
    display: flex;
    gap: 8px;
    margin: 14px 0;
}

.tf-product-page .action-btn {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    /*border: 1px solid var(--border);*/ /*changeui*/
    border: 1px solid;
    border-radius: 8px;
    padding: 10px 8px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dark);
    background: #fff;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.3;
}


.tf-product-page .pieces-per-box {
    border-color: var(--orange);
    background: var(--blue-light);
}

.tf-product-page .action-btn:hover {
    border-color: var(--blue);
    background: var(--blue-light);
}

.tf-product-page .action-btn svg {
    flex-shrink: 0;
    color: var(--text-muted);
}

.tf-product-page .action-btn .info-icon {
    color: var(--blue);
}

.tf-product-page .action-btn.wishlist-toggle-btn.active {
    border-color: var(--red);
    color: var(--red);
    background: #fef2f2;
}

    .tf-product-page .action-btn.wishlist-toggle-btn.active svg {
        color: var(--red);
        fill: var(--red);
    }

.tf-product-page .action-btn.compare-toggle-btn.active {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}

    .tf-product-page .action-btn.compare-toggle-btn.active svg {
        color: var(--blue);
    }

.tf-product-page .spec-table {
    border-top: 1px solid var(--border);
}

.tf-product-page .spec-row {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.tf-product-page .spec-table > .spec-row:last-child {
    border-bottom: none;
}

@media (min-width: 769px) {
    .tf-product-page .spec-row-pair {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 24px;
    }

        .tf-product-page .spec-row-pair .spec-row {
            padding: 10px 0;
        }
}

.tf-product-page .pincode-check-row {
    margin-top: 16px;
}

.tf-product-page .pincode-check-input-group {
    display: flex;
    gap: 8px;
}

@media (min-width: 769px) {
    .tf-product-page .pincode-check-input-group {
        width: 70%;
    }
}

.tf-product-page .pincode-check-input-wrap {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 6px;
    overflow: hidden;
    animation: pincode-pulse 2s infinite;
}

    .tf-product-page .pincode-check-input-wrap:focus-within {
        border-color: var(--blue);
        animation: none;
    }

@keyframes pincode-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(120, 72, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 9px rgba(120, 72, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(120, 72, 0, 0);
    }
}

.tf-product-page .pincode-check-input-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    background: #f3f4f6;
    color: var(--text-muted);
    border-right: 1px solid var(--border);
}

.tf-product-page .pincode-check-input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: none;
    font-size: 14px;
    color: var(--text-dark);
    background: transparent;
}

    .tf-product-page .pincode-check-input:focus {
        outline: none;
    }

.tf-product-page .pincode-check-btn {
    flex-shrink: 0;
    height: 40px;
    padding: 0 20px;
    border: none;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

    .tf-product-page .pincode-check-btn:hover {
        background: #1d4ed8;
    }

.tf-product-page .pincode-check-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Mobile-only titled cards for Area/Look (hidden on desktop) */
.tf-product-page .spec-card {
    display: none;
}

.tf-product-page .spec-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.tf-product-page .spec-value {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

    .tf-product-page .spec-value.link {
        color: var(--blue);
        font-weight: 500;
    }

        .tf-product-page .spec-value.link a {
            color: var(--blue);
            text-decoration: none;
        }

            .tf-product-page .spec-value.link a:hover {
                color: #5180e8;
            }

.tf-product-page .color-dots {
    display: flex;
    gap: 6px;
}

.tf-product-page .color-dot {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border);
}

/* ---------- Badge/chip style for multi-value fields (Area, Look, etc.) ---------- */
.tf-product-page .spec-value.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tf-product-page .chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 14px;
    background: var(--blue-light);
    color: var(--blue);
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    white-space: nowrap;
}

    .tf-product-page .chip:hover {
        background: var(--blue);
        color: #fff;
        text-decoration: none;
    }

/* ---------- Bottom feature strip ---------- */
.tf-product-page .feature-strip {
    grid-column: 1 / span 2;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 10px;
    display: flex;
    justify-content: space-around;
    margin-top: 18px;
}

.tf-product-page .feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-dark);
    text-align: center;
    width: 90px;
}

    .tf-product-page .feature-item svg {
        color: var(--blue);
    }

/* ---------- Bottom action buttons ---------- */
.tf-product-page .bottom-actions {
    grid-column: 3 / span 2;
    display: flex;
    gap: 10px;
    margin-top: 18px;
    align-items: stretch;
}

.tf-product-page .pill-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 24px;
    border: 1px solid var(--blue);
    color: var(--blue);
    background: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 18px;
    height: 44px;
    white-space: nowrap;
}

    .tf-product-page .pill-btn svg {
        flex-shrink: 0;
    }

    .tf-product-page .pill-btn.filled svg {
        animation: tf-arrow-nudge 1.4s ease-in-out infinite;
    }

@keyframes tf-arrow-nudge {
    0%, 100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(4px);
    }
}

.tf-product-page .pill-btn:hover {
    background: var(--blue-light);
}

.tf-product-page .pill-btn.orange {
    border-color: var(--orange);
    color: var(--orange);
}

    .tf-product-page .pill-btn.orange:hover {
        background: #fff7ed;
    }

.tf-product-page .pill-btn.filled {
    background: var(--blue);
    color: #fff;
    border-color: var(--blue);
    flex: 1.2;
}

    .tf-product-page .pill-btn.filled:hover {
        background: #1d4ed8;
    }

/* ---------- Desktop: keep bottom-action buttons compact now that only 2 remain ---------- */
@media (min-width: 769px) {
    .tf-product-page .bottom-actions {
        justify-content: flex-start;
    }

    .tf-product-page .pill-btn {
        flex: 0 0 auto;
        min-width: 160px;
    }

        .tf-product-page .pill-btn.filled {
            flex: 0 0 auto;
            min-width: 180px;
        }
}

/* Guaranteed to win over the rule above regardless of source order */
.tf-product-page .info-actions-inline .pill-btn.filled {
    min-width: 0;
    flex: 1 1 0;
}


/* ---------- Tablet (iPad portrait/landscape, small laptops) ---------- */
@media (max-width: 1200px) {
    .tf-product-page .product-grid {
        grid-template-columns: 64px 330px 1fr;
        gap: 14px;
    }

    .tf-product-page .product-grid-not360 {
        grid-template-columns: 64px 330px 1fr;
        gap: 14px;
    }
}
/* ---------- Tablet (iPad portrait/landscape, small laptops) ---------- */
@media (max-width: 1065px) {
    .tf-product-page .product-grid {
        grid-template-columns: 64px 1fr 1fr; /* was 56px � mismatched .thumb's 64px width and caused clipping */
        gap: 14px;
    }

    .tf-product-page .product-grid-not360 {
        grid-template-columns: 64px 1fr 1fr; /* was 56px � mismatched .thumb's 64px width and caused clipping */
        gap: 14px;
    }

    .tf-product-page .info-panel,
    .tf-product-page .feature-strip,
    .tf-product-page .bottom-actions {
        grid-column: 1 / -1;
    }

    .tf-product-page .thumb-rail-wrap,
    .tf-product-page .lifestyle-container,
    .tf-product-page .view360-container {
        height: 320px;
    }
}

/* ---------- Small tablet / large phone landscape ---------- */
@media (max-width: 900px) {
    .tf-product-page .product-grid {
        grid-template-columns: 64px 1fr;
    }

    .tf-product-page .product-grid-not360 {
        grid-template-columns: 64px 1fr;
    }

    .tf-product-page .view360-container {
        grid-column: 1 / -1;
    }
}

/* ---------- Mobile (phones + narrow tablets) ---------- */
@media (max-width: 768px) {
    .tf-product-page .page-wrap {
        max-width: 100%;
        margin: 16px auto;
        padding: 0 12px;
    }

    .tf-product-page .product-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tf-product-page .product-grid-not360 {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tf-product-page .product-grid > * {
        min-width: 0; /* lets grid children shrink so internal scroll works instead of pushing the page wider */
    }

    .tf-product-page .product-grid-not360 > * {
        min-width: 0; /* lets grid children shrink so internal scroll works instead of pushing the page wider */
    }

    .tf-product-page .thumb-rail-wrap {
        height: auto;
        width: 100%;
        min-width: 0;
    }

    .tf-product-page .thumb-rail {
        flex-direction: row;
        height: auto;
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 4px;
    }

    .tf-product-page .thumb-scroll-btn.up,
    .tf-product-page .thumb-scroll-btn.down {
        display: none; /* row layout uses left/right instead */
    }

    .tf-product-page .thumb-scroll-btn.left,
    .tf-product-page .thumb-scroll-btn.right {
        display: flex;
        width: 28px;
        height: 40px;
    }

        .tf-product-page .thumb-scroll-btn.left svg,
        .tf-product-page .thumb-scroll-btn.right svg {
            width: 20px;
            height: 20px;
        }

    .tf-product-page .lifestyle-container,
    .tf-product-page .view360-container {
        height: auto;
        aspect-ratio: 1 / 1;
        grid-column: auto;
    }

    .tf-product-page .lifestyle-caption {
        font-size: 11.5px;
    }

    .tf-product-page .info-panel {
        padding: 14px;
    }

    .tf-product-page .area-look-row {
        display: none; /* shown as separate cards instead, below */
    }

    .tf-product-page .spec-card.mobile-only-card {
        display: block;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 14px;
        margin-top: 14px;
    }

        .tf-product-page .spec-card.mobile-only-card .spec-card-title {
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .5px;
            color: var(--text-muted);
            margin-bottom: 10px;
        }

        .tf-product-page .spec-card.mobile-only-card .chips {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }

    .tf-product-page .info-top {
        flex-wrap: wrap;
    }

    .tf-product-page .info-title-wrap {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .tf-product-page .info-actions-inline {
        display: none;
    }

    .tf-product-page .share-btn {
        flex-shrink: 0;
    }

    .tf-product-page .action-row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        align-items: stretch;
    }

    .tf-product-page .action-btn {
        width: auto;
        font-size: 11px;
        padding: 8px 4px;
        gap: 4px;
        white-space: normal;
        text-align: center;
        line-height: 1.2;
    }

        .tf-product-page .action-btn svg {
            width: 14px;
            height: 14px;
        }

    .tf-product-page .feature-strip {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 14px 10px;
        justify-items: center;
    }

    .tf-product-page .feature-item {
        width: auto;
    }

    .tf-product-page .bottom-actions {
        /* sticky at the very bottom of the screen, Mockup (left) / Inquiry (right)
           split 50/50 — same pattern as Mockup Details' fixed Save/Share bar */
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        width: 100%;
        flex-direction: row;
        margin: 0;
        background: #ffffff;
        padding: 10px 14px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
        box-shadow: 0 -4px 16px rgba(0, 0, 0, .12);
    }

    .tf-product-page .pill-btn {
        padding: 0 10px;
        font-size: 14.5px;
        flex: 1;
        min-width: 0;
    }

    /* keep page content clear of the fixed Mockup/Inquiry bar */
    body {
        padding-bottom: 78px;
    }

    /* let the shared compare tray sit above the fixed Mockup/Inquiry bar instead of covering it */
    .tf-compare-tray {
        bottom: 64px;
    }
}

@media (max-width: 380px) {
    .tf-product-page .thumb {
        width: 56px;
        height: 56px;
    }
}











































.modal-backdrop {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    background-color: rgba(0,0,0,.6);
}

/* ---------- Big preview (lightbox) — same UX as Mockup Details' big preview, used by the image/360 expand buttons ---------- */
.media-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity .25s ease;
}

    .media-preview-modal.open {
        display: flex;
        opacity: 1;
    }

.media-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 25, 0.9);
}

.media-preview-close {
    position: absolute;
    top: 22px;
    right: 26px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s ease;
}

    .media-preview-close:hover {
        background: rgba(255, 255, 255, 0.22);
    }

.media-preview-image {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.media-preview-iframe {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: 1100px;
    border: 0;
    border-radius: 8px;
    background: #c7ccd1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@media (max-width: 650px) {
    .media-preview-modal {
        padding: 16px;
    }

    .media-preview-close {
        top: 12px;
        right: 14px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
}








/*share button*/
/* ===== SHARE BUTTON ===== */
.tf-product-page .share-btn {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark, #1f2933);
    transition: all .2s;
    cursor: pointer;
}

    .tf-product-page .share-btn:hover {
        background: #4169e1;
        color: #fff;
        border-color: var(--orange, #4169e1);
    }

    .tf-product-page .share-btn svg {
        width: 17px;
        height: 17px;
    }

/* ===== SHARE MODAL ===== */
.tf-product-page .share-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

    .tf-product-page .share-modal.open {
        display: flex;
        opacity: 1;
    }

.tf-product-page .share-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
}

.tf-product-page .share-modal-content {
    position: relative;
    background: #fff;
    border-radius: var(--radius, 10px);
    padding: 32px 28px 28px;
    max-width: 480px;
    width: 92%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: shareFadeIn .3s ease;
}

@keyframes shareFadeIn {
    from {
        transform: scale(0.92) translateY(12px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.tf-product-page .share-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    transition: background .2s;
}

    .tf-product-page .share-modal-close:hover {
        background: #f0f0f0;
        color: #333;
    }

.tf-product-page .share-modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-dark, #1f2933);
}

.tf-product-page .share-modal-sub {
    font-size: 14px;
    color: var(--text-muted, #8a8f98);
    margin: 0 0 22px;
}

.tf-product-page .share-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.tf-product-page .share-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 10px;
    border: 1px solid var(--border, #daa520);
    background: #fff;
    text-decoration: none;
    color: var(--text-dark, #1f2933);
    font-size: 11px;
    font-weight: 600;
    transition: all .2s;
    cursor: pointer;
    font-family: inherit;
}

    .tf-product-page .share-icon svg {
        width: 26px;
        height: 26px;
    }

    .tf-product-page .share-icon:hover {
        border-color: var(--orange, #4169e1);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    }

    .tf-product-page .share-icon span {
        line-height: 1.2;
    }

.tf-product-page .share-facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.tf-product-page .share-twitter:hover {
    border-color: #000;
    color: #000;
}

.tf-product-page .share-whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
}

.tf-product-page .share-linkedin:hover {
    border-color: #0a66c2;
    color: #0a66c2;
}

.tf-product-page .share-email:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.tf-product-page .share-copy:hover {
    border-color: var(--orange, #4169e1);
    color: var(--orange, #4169e1);
}

.tf-product-page .share-link-container {
    display: flex;
    border: 1px solid var(--border, #daa520);
    border-radius: 8px;
    overflow: hidden;
}

.tf-product-page .share-link-input {
    flex: 1;
    border: 0;
    padding: 10px 12px;
    font-size: 12px;
    color: var(--text-dark, #1f2933);
    background: #f8f8f8;
    outline: none;
    min-width: 0;
    font-family: inherit;
}

.tf-product-page .share-link-copy {
    flex-shrink: 0;
    border: 0;
    background: var(--orange, #4169e1);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 0 18px;
    cursor: pointer;
    transition: background .2s;
    font-family: inherit;
}

    .tf-product-page .share-link-copy:hover {
        background: var(--orange-dark, #2f4fb8);
    }

.tf-product-page .share-toast {
    text-align: center;
    font-size: 13px;
    color: var(--green, #2e9e5b);
    font-weight: 600;
    margin-top: 12px;
    opacity: 0;
    transition: opacity .3s;
    min-height: 20px;
}

    .tf-product-page .share-toast.show {
        opacity: 1;
    }

/* ---- Mobile responsive ---- */
@media (max-width: 640px) {
    .tf-product-page .share-icons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .tf-product-page .share-icon {
        padding: 10px 4px;
        font-size: 10px;
    }

        .tf-product-page .share-icon svg {
            width: 22px;
            height: 22px;
        }

    .tf-product-page .share-modal-content {
        padding: 24px 18px 20px;
    }

    .tf-product-page .share-modal-title {
        font-size: 18px;
    }
}
/*end share button*/

























































































































































/* Hub page quick links */
.hub-links-section {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    max-width: 90%;
    margin: 40px auto;
    padding: 0 16px;
}

.hub-links-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.hub-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 769px) {
    .hub-links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hub-links-grid {
        grid-template-columns: 1fr;
    }
}

.hub-link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    /*background: linear-gradient(135deg, color-mix(in srgb, var(--hub-color, var(--blue)) 7%, #fff), #fff 65%);*/
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

   /* .hub-link-card::before {
        content: "";
        position: absolute;
        inset: 0 auto 0 0;
        width: 4px;
        background: var(--hub-color, var(--blue));
    }*/

    .hub-link-card:hover {
        transform: translateY(-4px);
        /*border-color: color-mix(in srgb, var(--hub-color, var(--blue)) 40%, var(--border));
        box-shadow: 0 16px 28px -12px color-mix(in srgb, var(--hub-color, var(--blue)) 50%, transparent);*/
    }

.hub-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--hub-color, var(--blue)), color-mix(in srgb, var(--hub-color, var(--blue)) 70%, #000));
    color: #fff;
    box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--hub-color, var(--blue)) 65%, transparent);
    transition: transform .2s ease;
}

    .hub-link-card:hover .hub-link-icon {
        transform: scale(1.08) rotate(-4deg);
    }

.hub-link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.hub-link-label {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--text-dark);
}

.hub-link-sub {
    font-size: 12px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hub-link-arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 7px;
    box-sizing: border-box;
    border-radius: 50%;
    background: #f3f4f6;
    color: var(--text-muted);
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

    .hub-link-card:hover .hub-link-arrow {
        background: var(--hub-color, var(--blue));
        color: #fff;
        transform: translateX(3px);
    }

.hub-link-category {
    --hub-color: #2563eb;
}

.hub-link-size {
    --hub-color: #059669;
}

.hub-link-finish {
    --hub-color: #7c3aed;
}

.hub-link-color {
    --hub-color: #db2777;
}

.hub-link-look {
    --hub-color: #ea580c;
}

.hub-link-area {
    --hub-color: #0891b2;
}

/*by size, by color, by look start */
.tf-explore-wrap {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --radius: 10px;
    color: var(--text-dark);
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
}

    .tf-explore-wrap, .tf-explore-wrap * {
        box-sizing: border-box;
    }

        .tf-explore-wrap .explore-section {
            margin-bottom: 32px;
        }

        .tf-explore-wrap .explore-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
        }

        .tf-explore-wrap .explore-title {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
            color: var(--text-dark);
        }

        /* ---------- Horizontal scroll track ---------- */
        .tf-explore-wrap .explore-scroll-outer {
            position: relative;
        }

        .tf-explore-wrap .explore-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            padding-bottom: 4px;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

            .tf-explore-wrap .explore-scroll::-webkit-scrollbar {
                display: none;
            }

        /* ---------- Scroll arrows (same pattern as thumbnail rail) ---------- */
        .tf-explore-wrap .explore-scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #fff;
            border: 1px solid var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 5;
            box-shadow: 0 1px 4px rgba(0,0,0,.12);
        }

            .tf-explore-wrap .explore-scroll-btn:hover {
                background: var(--blue-light);
                border-color: var(--blue);
                color: var(--blue);
            }

            .tf-explore-wrap .explore-scroll-btn.left {
                left: -18px;
            }

            .tf-explore-wrap .explore-scroll-btn.right {
                right: -18px;
            }

            .tf-explore-wrap .explore-scroll-btn.is-hidden {
                display: none;
            }

        /* ---------- Product card ---------- */
        .tf-explore-wrap .explore-card {
            flex: 0 0 220px;
            scroll-snap-align: start;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,.06);
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
        }

        .tf-explore-wrap .explore-card-img {
            width: 100%;
            height: 160px;
            overflow: hidden;
            background: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .tf-explore-wrap .explore-card-img img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                object-position: center;
                display: block;
            }

        .tf-explore-wrap .explore-card-body {
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            flex: 1;
        }

        .tf-explore-wrap .explore-card-title {
            font-size: 13.5px;
            font-weight: 700;
            line-height: 1.35;
            margin: 0;
            color: var(--text-dark);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .tf-explore-wrap .explore-card-meta {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
        }

        .tf-explore-wrap .explore-card-btn {
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--blue);
            color: var(--blue);
            background: #fff;
            border-radius: 20px;
            font-size: 12.5px;
            font-weight: 600;
            padding: 7px 0;
            text-decoration: none;
            cursor: pointer;
        }

            .tf-explore-wrap .explore-card-btn:hover {
                background: var(--blue);
                color: #fff;
            }

        /* ---------- "View Design" link, sits beside the section title in .explore-header ---------- */
        .tf-explore-wrap .explore-viewall-row {
            display: flex;
            flex-shrink: 0;
        }

        .tf-explore-wrap .explore-viewall-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            color: var(--blue);
            font-size: 13.5px;
            font-weight: 700;
            text-decoration: none;
        }

            .tf-explore-wrap .explore-viewall-link:hover {
                text-decoration: underline;
            }

            .tf-explore-wrap .explore-viewall-link svg {
                flex-shrink: 0;
                transition: transform .2s ease;
            }

            .tf-explore-wrap .explore-viewall-link:hover svg {
                transform: translateX(3px);
            }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .tf-explore-wrap .explore-card {
        flex-basis: 180px;
    }

    .tf-explore-wrap .explore-card-img {
        height: 130px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .tf-explore-wrap {
        max-width: 100%;
        padding: 0 12px;
    }

        /*.tf-explore-wrap .explore-scroll-btn {
            display: none;*/ /* rely on touch/swipe scrolling instead */
        /*}*/

        .tf-explore-wrap .explore-card {
            flex-basis: 150px;
        }

        .tf-explore-wrap .explore-card-img {
            height: 110px;
        }

        .tf-explore-wrap .explore-title {
            font-size: 16px;
        }

        .tf-explore-wrap .explore-scroll-btn.left {
            left: 4px;
        }

        .tf-explore-wrap .explore-scroll-btn.right {
            right: 4px;
        }
}
/*by size, by color, by look end */



/*faqs start*/
.tf-faq-wrap {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --radius: 10px;
    color: var(--text-dark);
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
}

    .tf-faq-wrap, .tf-faq-wrap * {
        box-sizing: border-box;
    }

        .tf-faq-wrap .faq-header {
            margin-bottom: 14px;
        }

        .tf-faq-wrap .faq-title {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
            color: var(--text-dark);
        }

        .tf-faq-wrap .faq-list {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
        }

        .tf-faq-wrap .faq-item {
            border-bottom: 1px solid var(--border);
        }

            .tf-faq-wrap .faq-item:last-child {
                border-bottom: none;
            }

        .tf-faq-wrap .faq-question {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            background: none;
            border: 0;
            padding: 16px;
            font-size: 14.5px;
            font-weight: 700;
            color: var(--text-dark);
            text-align: left;
            cursor: pointer;
        }

            .tf-faq-wrap .faq-question:hover {
                background: var(--blue-light);
            }

        .tf-faq-wrap .faq-chevron {
            flex-shrink: 0;
            color: var(--text-muted);
            transition: transform .2s ease;
        }

        .tf-faq-wrap .faq-item.active .faq-chevron {
            transform: rotate(180deg);
            color: var(--blue);
        }

        .tf-faq-wrap .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height .25s ease;
        }

        .tf-faq-wrap .faq-answer-inner {
            padding: 0 16px 16px;
            font-size: 13.5px;
            line-height: 1.6;
            color: var(--text-muted);
        }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .tf-faq-wrap {
        max-width: 100%;
        padding: 0 12px;
    }

        .tf-faq-wrap .faq-title {
            font-size: 16px;
        }

        .tf-faq-wrap .faq-question {
            font-size: 13.5px;
            padding: 14px;
        }

        .tf-faq-wrap .faq-answer-inner {
            font-size: 13px;
            padding: 0 14px 14px;
        }
}
/*faqs end*/




/*Content start*/

/* ---------- Content row: description (left) + Product You're Viewing (right) ---------- */
.tf-details-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* stretch (not start) so the right column's grid cell is as tall as the left
       column's content — that height is what gives .tf-viewing-sticky room to stick */
    align-items: stretch;
    gap: 24px;
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
}

.tf-details-col-content {
    min-width: 0; /* let the accordion shrink inside the grid column instead of overflowing */
}

.tf-viewing-sticky {
    position: sticky;
    top: 100px;
}

.tf-viewing-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 16px;
}

.tf-viewing-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    padding: 14px;
    text-align: center;
    max-width: 320px;
    margin: 0 auto;
}

.tf-viewing-img {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f6f8;
    margin: 0 auto 12px;
}

    .tf-viewing-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.tf-viewing-name {
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.4;
}

.tf-viewing-meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 15.5px;
    color: #6b7280;
}

    .tf-viewing-meta strong {
        color: #1e293b;
        font-weight: 600;
    }

@media (max-width: 900px) {
    .tf-details-row {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .tf-viewing-sticky {
        position: static;
    }
}

/* ---------- Dynamic design content accordion (from DB: AI_Design_Content) ---------- */
.tf-design-content {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    color: var(--text-dark);
    max-width: 100%;
    margin: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    box-sizing: border-box;
}

    .tf-design-content * {
        box-sizing: border-box;
    }

    .tf-design-content .tf-section-title {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        background: none;
        border: 0;
        border-bottom: 1px solid var(--border);
        padding: 18px 16px;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--text-dark);
        text-align: left;
        cursor: pointer;
    }

        .tf-design-content .tf-section-title:last-of-type {
            border-bottom: 0;
        }

        .tf-design-content .tf-section-title:hover {
            background: var(--blue-light);
        }

        .tf-design-content .tf-section-title::after {
            content: "+";
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 26px;
            height: 26px;
            border-radius: 50%;
            border: 1px solid var(--border);
            color: var(--text-muted);
            font-size: 16px;
            line-height: 1;
            transition: transform .2s ease, background .2s ease, color .2s ease;
        }

        .tf-design-content .tf-section-title.active::after {
            transform: rotate(45deg);
            background: var(--blue);
            color: #fff;
            border-color: var(--blue);
        }

        .tf-design-content .tf-section-title.active {
            background: var(--blue-light);
        }

    .tf-design-content p {
        margin: 0;
        padding: 0 16px 18px;
        font-size: 13.5px;
        line-height: 1.7;
        color: var(--text-muted);
        display: none; /* hidden until JS opens the section */
    }

        .tf-design-content p:last-of-type {
            padding-bottom: 18px;
        }

        .tf-design-content p strong {
            color: var(--text-dark);
            font-weight: 600;
        }

        .tf-design-content p.tf-open {
            display: block;
            animation: tf-fade-in .2s ease;
        }

@keyframes tf-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* When an open paragraph is immediately followed by another button (end of section),
   give it extra bottom padding so it doesn't look cramped against the next title */
.tf-design-content p.tf-open + .tf-section-title {
    border-top: 1px solid var(--border);
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .tf-design-content {
        max-width: 100%;
    }

        .tf-design-content .tf-section-title {
            font-size: 12px;
            padding: 15px 14px;
        }

        .tf-design-content p {
            font-size: 13px;
            padding: 0 14px 15px;
        }

            .tf-design-content p:last-of-type {
                padding-bottom: 15px;
            }
}

/*Content end*/




/*previously product start*/
.tf-recent-wrap {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --radius: 10px;
    color: var(--text-dark);
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
}

    .tf-recent-wrap, .tf-recent-wrap * {
        box-sizing: border-box;
    }

        .tf-recent-wrap .recent-header {
            margin-bottom: 14px;
        }

        .tf-recent-wrap .recent-title {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }

        /* ---------- Horizontal scroll track ---------- */
        .tf-recent-wrap .recent-scroll-outer {
            position: relative;
        }

        .tf-recent-wrap .recent-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            padding-bottom: 4px;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

            .tf-recent-wrap .recent-scroll::-webkit-scrollbar {
                display: none;
            }

        /* ---------- Scroll arrows ---------- */
        .tf-recent-wrap .recent-scroll-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #fff;
            border: 1px solid var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 5;
            box-shadow: 0 1px 4px rgba(0,0,0,.12);
        }

            .tf-recent-wrap .recent-scroll-btn:hover {
                background: var(--blue-light);
                border-color: var(--blue);
                color: var(--blue);
            }

            .tf-recent-wrap .recent-scroll-btn.left {
                left: -18px;
            }

            .tf-recent-wrap .recent-scroll-btn.right {
                right: -18px;
            }

            .tf-recent-wrap .recent-scroll-btn.is-hidden {
                display: none;
            }

        /* ---------- Product card ---------- */
        .tf-recent-wrap .recent-card {
            flex: 0 0 220px;
            scroll-snap-align: start;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,.06);
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
        }

        .tf-recent-wrap .recent-card-img {
            width: 100%;
            height: 160px;
            overflow: hidden;
            background: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
        }

            .tf-recent-wrap .recent-card-img img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                object-position: center;
                display: block;
            }

        .tf-recent-wrap .recent-card-body {
            padding: 12px;
            display: flex;
            flex-direction: column;
            gap: 6px;
            flex: 1;
        }

        .tf-recent-wrap .recent-card-title {
            font-size: 13.5px;
            font-weight: 700;
            line-height: 1.35;
            margin: 0;
            color: var(--text-dark);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .tf-recent-wrap .recent-card-meta {
            font-size: 12px;
            color: var(--text-muted);
            margin: 0;
        }

        .tf-recent-wrap .recent-card-btn {
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid var(--blue);
            color: var(--blue);
            background: #fff;
            border-radius: 20px;
            font-size: 12.5px;
            font-weight: 600;
            padding: 7px 0;
        }

        .tf-recent-wrap .recent-card:hover .recent-card-btn {
            background: var(--blue);
            color: #fff;
        }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .tf-recent-wrap .recent-card {
        flex-basis: 180px;
    }

    .tf-recent-wrap .recent-card-img {
        height: 130px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .tf-recent-wrap {
        max-width: 100%;
        padding: 0 12px;
    }

        /*.tf-recent-wrap .recent-scroll-btn {
            display: none;*/ /* rely on touch/swipe scrolling instead */
        /*}*/

        .tf-recent-wrap .recent-card {
            flex-basis: 150px;
        }

        .tf-recent-wrap .recent-card-img {
            height: 110px;
        }

        .tf-recent-wrap .recent-title {
            font-size: 16px;
        }

        .tf-recent-wrap .recent-scroll-btn.left {
            left: 4px;
        }

        .tf-recent-wrap .recent-scroll-btn.right {
            right: 4px;
        }
}
/*previously product end*/





/*related blog section start*/
.design-detail-blogs {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --radius: 10px;
    color: var(--text-dark);
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
}

    .design-detail-blogs, .design-detail-blogs * {
        box-sizing: border-box;
    }

        .design-detail-blogs .design-detail-blogs-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 14px;
        }

        .design-detail-blogs .design-detail-blogs-title {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }

        .design-detail-blogs .design-detail-blogs-viewall-link {
            font-size: 13px;
            font-weight: 600;
            color: var(--blue);
            text-decoration: none;
        }

            .design-detail-blogs .design-detail-blogs-viewall-link:hover {
                text-decoration: underline;
            }

        /* ---------- Horizontal scroll track ---------- */
        .design-detail-blogs .design-detail-blogs-scroll-outer {
            position: relative;
        }

        .design-detail-blogs .design-detail-blogs-scroll {
            display: flex;
            gap: 16px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-snap-type: x mandatory;
            scroll-behavior: smooth;
            padding-bottom: 4px;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

            .design-detail-blogs .design-detail-blogs-scroll::-webkit-scrollbar {
                display: none;
            }

        /* ---------- Scroll arrows ---------- */
        .design-detail-blogs .design-detail-blogs-scroll-btn {
            position: absolute;
            top: 90px;
            transform: translateY(-50%);
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #fff;
            border: 1px solid var(--border);
            color: var(--text-muted);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 5;
            box-shadow: 0 1px 4px rgba(0,0,0,.12);
        }

            .design-detail-blogs .design-detail-blogs-scroll-btn:hover {
                background: var(--blue-light);
                border-color: var(--blue);
                color: var(--blue);
            }

            .design-detail-blogs .design-detail-blogs-scroll-btn.left {
                left: -18px;
            }

            .design-detail-blogs .design-detail-blogs-scroll-btn.right {
                right: -18px;
            }

            .design-detail-blogs .design-detail-blogs-scroll-btn.is-hidden {
                display: none;
            }

        /* ---------- Blog card ---------- */
        .design-detail-blogs .design-detail-blogs-card {
            flex: 0 0 340px;
            scroll-snap-align: start;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow: hidden;
            box-shadow: 0 1px 3px rgba(0,0,0,.06);
            display: flex;
            flex-direction: column;
            text-decoration: none;
            color: inherit;
        }

        .design-detail-blogs .design-detail-blogs-card-img {
            position: relative;
            width: 100%;
            height: 220px;
            overflow: hidden;
            background: #e5e7eb;
        }

            .design-detail-blogs .design-detail-blogs-card-img img {
                width: 100%;
                height: 100%;
                object-fit: fill;
                display: block;
            }

        .design-detail-blogs .design-detail-blogs-card-tag {
            position: absolute;
            top: 12px;
            right: 12px;
            background: #daa520;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            padding: 5px 12px;
            border-radius: 14px;
        }

        .design-detail-blogs .design-detail-blogs-card-body {
            padding: 18px;
            display: flex;
            flex-direction: column;
            gap: 10px;
            flex: 1;
        }

        .design-detail-blogs .design-detail-blogs-card-title {
            font-size: 16.5px;
            font-weight: 700;
            line-height: 1.4;
            margin: 0;
            color: var(--text-dark);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .design-detail-blogs .design-detail-blogs-card-excerpt {
            font-size: 13.5px;
            line-height: 1.6;
            color: var(--text-muted);
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .design-detail-blogs .design-detail-blogs-card-meta {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 12.5px;
            color: var(--text-muted);
        }

        .design-detail-blogs .design-detail-blogs-card-dot {
            opacity: .6;
        }

        .design-detail-blogs .design-detail-blogs-card-readmore {
            margin-top: auto;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 13.5px;
            font-weight: 700;
            color: var(--blue);
        }

        .design-detail-blogs .design-detail-blogs-card:hover .design-detail-blogs-card-readmore svg {
            transform: translateX(3px);
        }

        .design-detail-blogs .design-detail-blogs-card-readmore svg {
            transition: transform .15s ease;
        }

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .design-detail-blogs .design-detail-blogs-card {
        flex-basis: 280px;
    }

    .design-detail-blogs .design-detail-blogs-card-img {
        height: 180px;
    }

    .design-detail-blogs .design-detail-blogs-scroll-btn {
        top: 90px;
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .design-detail-blogs {
        max-width: 100%;
        padding: 0 12px;
    }

        .design-detail-blogs .design-detail-blogs-card {
            flex-basis: 260px;
        }

        .design-detail-blogs .design-detail-blogs-card-img {
            height: 160px;
        }

        .design-detail-blogs .design-detail-blogs-title {
            font-size: 16px;
        }

        .design-detail-blogs .design-detail-blogs-scroll-btn {
            top: 80px;
            left: 4px;
            right: 4px;
        }

            .design-detail-blogs .design-detail-blogs-scroll-btn.left {
                left: 4px;
            }

            .design-detail-blogs .design-detail-blogs-scroll-btn.right {
                right: 4px;
            }
}
/*related blog end*/




/*review section start*/
.design-detail-reviews {
    --border: #e5e7eb;
    --text-dark: #1f2933;
    --text-muted: #6b7280;
    --blue: #2563eb;
    --blue-light: #eff6ff;
    --star: #daa520;
    --radius: 10px;
    color: var(--text-dark);
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
}

    .design-detail-reviews, .design-detail-reviews * {
        box-sizing: border-box;
    }

        .design-detail-reviews .design-detail-reviews-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 18px;
        }

        .design-detail-reviews .design-detail-reviews-title {
            font-size: 18px;
            font-weight: 700;
            margin: 0;
        }

        /* ---------- Summary ---------- */
        .design-detail-reviews .design-detail-reviews-summary {
            display: flex;
            gap: 32px;
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 20px;
            margin-bottom: 20px;
        }

        .design-detail-reviews .design-detail-reviews-score {
            flex: 0 0 160px;
            text-align: center;
            border-right: 1px solid var(--border);
            padding-right: 24px;
        }

        .design-detail-reviews .design-detail-reviews-score-number {
            font-size: 40px;
            font-weight: 800;
            line-height: 1;
            color: var(--text-dark);
        }

        .design-detail-reviews .design-detail-reviews-score-stars {
            display: flex;
            justify-content: center;
            gap: 3px;
            color: var(--star);
            margin: 8px 0 6px;
        }

        .design-detail-reviews .design-detail-reviews-score-count {
            font-size: 12px;
            color: var(--text-muted);
        }

        .design-detail-reviews .design-detail-reviews-breakdown {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 8px;
            justify-content: center;
        }

        .design-detail-reviews .design-detail-reviews-breakdown-headings {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 10.5px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: .04em;
            color: var(--text-muted);
            margin-bottom: 2px;
        }

            .design-detail-reviews .design-detail-reviews-breakdown-headings .rdh-label {
                flex: 0 0 34px;
            }

            .design-detail-reviews .design-detail-reviews-breakdown-headings .rdh-count {
                flex: 0 0 24px;
                text-align: center;
            }

            .design-detail-reviews .design-detail-reviews-breakdown-headings .rdh-spacer {
                flex: 1;
            }

            .design-detail-reviews .design-detail-reviews-breakdown-headings .rdh-pct {
                flex: 0 0 32px;
                text-align: right;
            }

        .design-detail-reviews .design-detail-reviews-bar-row {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 12.5px;
        }

        .design-detail-reviews .design-detail-reviews-bar-label {
            flex: 0 0 34px;
            display: flex;
            align-items: center;
            gap: 3px;
            color: var(--text-muted);
            font-weight: 600;
        }

            .design-detail-reviews .design-detail-reviews-bar-label svg {
                color: var(--star);
            }

        .design-detail-reviews .design-detail-reviews-bar-count {
            flex: 0 0 24px;
            text-align: center;
            color: var(--text-dark);
            font-weight: 600;
        }

        .design-detail-reviews .design-detail-reviews-bar-track {
            flex: 1;
            height: 8px;
            background: #f1f2f4;
            border-radius: 4px;
            overflow: hidden;
        }

        .design-detail-reviews .design-detail-reviews-bar-fill {
            height: 100%;
            background: var(--star);
            border-radius: 4px;
        }

        .design-detail-reviews .design-detail-reviews-bar-pct {
            flex: 0 0 32px;
            text-align: right;
            color: var(--text-muted);
        }

        .design-detail-reviews .half-star {
            position: relative;
            display: inline-flex;
            width: 18px;
            height: 18px;
            color: var(--star);
        }

            .design-detail-reviews .half-star svg {
                position: absolute;
                top: 0;
                left: 0;
            }

            .design-detail-reviews .half-star .half-star-fg {
                clip-path: inset(0 50% 0 0);
            }

        /* ---------- Review list ---------- */
        .design-detail-reviews .design-detail-reviews-list {
            display: flex;
            flex-direction: column;
            gap: 14px;
            max-height: 500px;
            overflow-y: auto;
            padding-right: 8px; /* keeps cards clear of the scrollbar */
            scrollbar-width: thin;
            scrollbar-color: var(--blue) #f1f1f1;
        }

            .design-detail-reviews .design-detail-reviews-list::-webkit-scrollbar {
                width: 6px;
            }

            .design-detail-reviews .design-detail-reviews-list::-webkit-scrollbar-track {
                background: #f1f1f1;
                border-radius: 10px;
            }

            .design-detail-reviews .design-detail-reviews-list::-webkit-scrollbar-thumb {
                background: var(--blue);
                border-radius: 10px;
            }

        .design-detail-reviews .design-detail-review-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 16px;
        }

        .design-detail-reviews .design-detail-review-card-top {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 10px;
        }

        .design-detail-reviews .design-detail-review-avatar {
            flex-shrink: 0;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--blue-light);
            color: var(--blue);
            font-size: 13px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .design-detail-reviews .design-detail-review-meta {
            flex: 1;
            min-width: 0;
        }

        .design-detail-reviews .design-detail-review-name {
            font-size: 13.5px;
            font-weight: 700;
            color: var(--text-dark);
        }

        .design-detail-reviews .design-detail-review-stars {
            display: flex;
            align-items: center;
            gap: 2px;
            color: var(--star);
            margin-top: 2px;
        }

        .design-detail-reviews .design-detail-review-usedin {
            margin-left: 8px;
            font-size: 11.5px;
            font-weight: 600;
            color: var(--text-muted);
        }

        .design-detail-reviews .design-detail-review-date {
            flex-shrink: 0;
            font-size: 12px;
            color: var(--text-muted);
        }

        .design-detail-reviews .design-detail-review-text {
            font-size: 13.5px;
            line-height: 1.6;
            color: var(--text-muted);
            margin: 0;
        }

        /* ---------- Load more ---------- */
        .design-detail-reviews .design-detail-reviews-load-more-wrap {
            display: flex;
            justify-content: center;
            margin-top: 18px;
        }

        .design-detail-reviews .design-detail-reviews-load-more {
            border: 1px solid var(--border);
            background: #fff;
            color: var(--text-dark);
            border-radius: 20px;
            padding: 10px 22px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
        }

            .design-detail-reviews .design-detail-reviews-load-more:hover {
                background: var(--blue-light);
                border-color: var(--blue);
                color: var(--blue);
            }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .design-detail-reviews {
        max-width: 100%;
        padding: 0 12px;
    }

        .design-detail-reviews .design-detail-reviews-header {
            flex-wrap: wrap;
        }

        .design-detail-reviews .design-detail-reviews-summary {
            flex-direction: column;
            gap: 16px;
        }

        .design-detail-reviews .design-detail-reviews-score {
            border-right: none;
            border-bottom: 1px solid var(--border);
            padding-right: 0;
            padding-bottom: 16px;
        }

        .design-detail-reviews .design-detail-review-card-top {
            flex-wrap: wrap;
        }

        .design-detail-reviews .design-detail-review-date {
            /*flex-basis: 100%;*/
            flex-basis: calc(100% - 48px);
            margin-left: 48px;
        }
}
/*review section end*/



/*installation tip start*/
.design-detail-install-tips {
    --border: #e5e7eb;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --accent: #daa520;
    max-width: 90%;
    margin: 40px auto;
    padding: 0 16px;
}

    .design-detail-install-tips, .design-detail-install-tips * {
        box-sizing: border-box;
    }

        .design-detail-install-tips .dit-eyebrow {
            font-family: 'Segoe UI', Arial, sans-serif;
            font-size: 12.5px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .design-detail-install-tips .dit-heading {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 28px;
            line-height: 1.3;
        }

        .design-detail-install-tips .dit-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 16px;
        }

        .design-detail-install-tips .dit-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 24px 20px;
        }

        .design-detail-install-tips .dit-icon {
            font-size: 26px;
            line-height: 1;
            margin-bottom: 16px;
        }

        .design-detail-install-tips .dit-card-title {
            font-family: 'Segoe UI', Arial, sans-serif;
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 10px;
            line-height: 1.35;
        }

        .design-detail-install-tips .dit-card-text {
            font-family: 'Segoe UI', Arial, sans-serif;
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-muted);
            margin: 0;
        }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .design-detail-install-tips .dit-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .design-detail-install-tips {
        max-width: 100%;
        padding: 0 12px;
        margin: 28px auto;
    }

        .design-detail-install-tips .dit-heading {
            font-size: 21px;
        }

        .design-detail-install-tips .dit-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .design-detail-install-tips .dit-card {
            padding: 18px 16px;
        }
}

@media (max-width: 460px) {
    .design-detail-install-tips .dit-grid {
        grid-template-columns: 1fr;
    }
}
/*installation tip end*/

/* ---------- USP / product highlights ---------- */
.design-detail-usp {
    --border: #e5e7eb;
    --text-dark: #1a1a1a;
    --text-muted: #6b7280;
    --accent: #2563eb;
    max-width: 90%;
    margin: 40px auto;
    padding: 0 16px;
}

    .design-detail-usp, .design-detail-usp * {
        box-sizing: border-box;
    }

        .design-detail-usp .usp-eyebrow {
            font-family: 'Segoe UI', Arial, sans-serif;
            font-size: 12.5px;
            font-weight: 700;
            letter-spacing: .08em;
            text-transform: uppercase;
            color: var(--accent);
            margin-bottom: 8px;
        }

        .design-detail-usp .usp-heading {
            font-size: 28px;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 28px;
            line-height: 1.3;
        }

        .design-detail-usp .usp-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 16px;
        }

        .design-detail-usp .usp-card {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: 12px;
            padding: 22px 18px;
        }

        .design-detail-usp .usp-icon {
            color: var(--accent);
            margin-bottom: 14px;
        }

        .design-detail-usp .usp-card-title {
            font-family: 'Segoe UI', Arial, sans-serif;
            font-size: 15px;
            font-weight: 700;
            color: var(--text-dark);
            margin: 0 0 8px;
            line-height: 1.35;
        }

        .design-detail-usp .usp-card-text {
            font-family: 'Segoe UI', Arial, sans-serif;
            font-size: 13px;
            line-height: 1.6;
            color: var(--text-muted);
            margin: 0;
        }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
    .design-detail-usp .usp-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
    .design-detail-usp {
        max-width: 100%;
        padding: 0 12px;
        margin: 28px auto;
    }

        .design-detail-usp .usp-heading {
            font-size: 21px;
        }

        .design-detail-usp .usp-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .design-detail-usp .usp-card {
            padding: 18px 16px;
        }
}

@media (max-width: 460px) {
    .design-detail-usp .usp-grid {
        grid-template-columns: 1fr;
    }
}
/*usp end*/






/*youtube video start*/

/*city hub page youtuebe video start*/
.tf-yt-section {
    padding: 48px 20px 40px;
    background: #f8f9fb;
}

.tf-yt-header {
    text-align: center;
    margin-bottom: 28px;
}

.tf-yt-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px;
}

.tf-yt-sub {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}

.tf-yt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1280px;
    margin: 0 auto;
}

/* only one video on this page: don't stretch it into a 3-col grid, just center it */
.tf-yt-grid.tf-yt-grid-single {
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
}

/* two videos on this page: center a 2-up row instead of stretching into a 3-col grid */
.tf-yt-grid.tf-yt-grid-two {
    grid-template-columns: repeat(2, minmax(320px, 560px));
    justify-content: center;
}

.tf-yt-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/*.tf-yt-play-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}*/

.tf-yt-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    height: 270px;
    cursor: pointer;
}

.tf-yt-embed--short {
    /*padding-bottom: 177.78%;*/
    max-width: 280px;
    margin: 0 auto;
}

    .tf-yt-embed--short iframe {
        width: 100%;
        height: 100%;
        object-fit: cover; /* crops Shorts to fill the box instead of stretching */
    }

.tf-yt-embed img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.tf-yt-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 56px;
    background: rgba(255, 0, 0, 0.88);
    border: none;
    border-radius: 25%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    z-index: 2;
}

.tf-yt-embed:hover .tf-yt-play-btn {
    background: rgba(255, 0, 0, 1);
    transform: translate(-50%, -50%) scale(1.08);
}

.tf-yt-play-btn svg {
    width: 35px;
    height: 35px;
    margin-left: 3px;
}

.tf-yt-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tf-yt-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #334155;
    padding: 10px 12px;
    margin: 0;
    line-height: 1.4;
}

.tf-yt-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.65), rgba(0,0,0,0));
    pointer-events: none;
    box-sizing: border-box;
}

.tf-yt-top-logo {
    width: 22px;
    height: 16px;
    flex: none;
}

.tf-yt-top-title {
    color: #fff;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tf-yt-bottom-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    box-sizing: border-box;
}

.tf-yt-bottom-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(0px);
    border-radius: 26px;
    padding: 3px 5px;
}

.tf-yt-chip-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 26px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
    box-sizing: border-box;
}

    .tf-yt-chip-btn:hover {
        background: rgba(255,255,255,0.18);
    }

    .tf-yt-chip-btn svg {
        width: 26px;
        height: 30px;
        flex: none;
    }

    .tf-yt-chip-btn span {
        display: none;
    }

@media (min-width: 480px) {
    .tf-yt-chip-btn span {
        display: inline;
    }
}

.tf-yt-watch-yt-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    /*font-weight: 700;*/
    padding: 10px 17px;
    border-radius: 4px;
    white-space: nowrap;
    transition: background 0.15s ease;
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(0px);
    border-radius: 24px;
}

    .tf-yt-watch-yt-btn:hover {
        background: rgba(255,255,255,0.18);
    }

    .tf-yt-watch-yt-btn svg {
        width: 37px;
        height: 20px;
        flex: none;
    }


.tf-yt-desc {
    font-size: 17px;
    line-height: 1.4;
    color: black; /* muted gray, adjust to match your theme */
    margin: 5px 12px 17px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tf-yt-about {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 20px 40px;
    text-align: center;
}

.tf-yt-about-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
}

.tf-yt-about-text {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

@media (max-width: 991px) {
    .tf-yt-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .tf-yt-title {
        font-size: 1.4rem;
    }
}

@media (max-width: 575px) {
    .tf-yt-about {
        padding: 22px 16px 30px;
    }

    .tf-yt-about-title {
        font-size: 1.05rem;
    }

    .tf-yt-about-text {
        font-size: 14px;
    }
}

@media (max-width: 575px) {
    .tf-yt-section {
        padding: 32px 14px 28px;
    }

    .tf-yt-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tf-yt-grid.tf-yt-grid-two,
    .tf-yt-grid.tf-yt-grid-single {
        grid-template-columns: 1fr;
    }

    .tf-yt-title {
        font-size: 1.2rem;
    }

    .tf-yt-sub {
        font-size: 0.88rem;
    }
}
/*
.tf-yt-seo-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}*/

.tf-yt-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tf-yt-seo-link {
    display: block;
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    padding: 0 12px 12px;
}

    .tf-yt-seo-link:hover {
        text-decoration: underline;
    }


/*end*/
.tf-yt-watch-link {
    display: block;
    font-size: 0.8rem;
    color: #2563eb;
    text-decoration: none;
    padding: 0 12px 12px;
    margin-top: -4px;
}

    .tf-yt-watch-link:hover {
        text-decoration: underline;
    }

/* ===== TILES NEAR YOU (ported from home.css — same styling as Home/Index.cshtml) ===== */
.tny-section {
    font-family: 'Poppins', sans-serif;
    padding: 36px 40px;
}

.tny-card {
    margin: auto;
    background: #f7f4f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 20px;
}

/* Left */
.tny-info {
    width: 240px;
}

.tny-info-title {
    font-size: 20px;
    font-weight: 800;
}

.tny-info-location {
    color: #E8A020;
    font-weight: 700;
    margin: 6px 0 10px;
}

.tny-info-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

.tny-info-btn {
    background: #1a1a1a;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
}

/* Dealers */
.tny-dealers {
    display: flex;
    gap: 12px;
    flex: 1;
}

.tny-dealer-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}

.tny-dealer-img {
    height: 120px;
    background-size: cover;
    background-position: center;
}

.tny-dealer-info {
    padding: 10px;
}

.tny-dealer-name {
    font-size: 13px;
    font-weight: 600;
}

.tny-rating-score {
    color: #E8A020;
    font-size: 12px;
}

/* View All */
.tny-view-all-card {
    width: 90px;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    padding: 10px;
}

.tny-view-all-btn {
    background: #E8A020;
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dummy images */
.tny-ph-1 {
    background-image: url('https://images.unsplash.com/photo-1618221195710-dd6b41faaea6?w=400');
}

.tny-ph-2 {
    background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=400');
}

.tny-ph-3 {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=400');
}
/* Address */
.tny-dealer-address {
    font-size: 11px;
    color: #777;
    margin-top: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Phone */
.tny-dealer-phone {
    display: inline-block;
    font-size: 11px;
    color: #1a1a1a;
    margin-top: 4px;
    text-decoration: none;
    font-weight: 600;
}

    .tny-dealer-phone:hover {
        color: #E8A020;
    }

.tny-ph-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: tny-shimmer 1.4s infinite;
}

.tny-skel-line {
    height: 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: tny-shimmer 1.4s infinite;
}

.tny-skel-title {
    width: 75%;
    height: 14px;
}

.tny-skel-short {
    width: 40%;
}

.tny-skel-long {
    width: 90%;
}

@keyframes tny-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.tny-dealer-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.tny-location-spinner {
    color: #888;
    font-size: 13px;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .tny-card {
        flex-direction: column;
    }

    .tny-info {
        width: 100%;
    }

    .tny-dealers {
        overflow-x: auto;
    }

    .tny-dealer-card {
        flex: 0 0 45%;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .tny-section {
        padding: 20px 16px;
    }

    .tny-dealers {
        overflow-x: auto;
    }

    .tny-dealer-card {
        flex: 0 0 73%;
    }

    .tny-dealers::-webkit-scrollbar {
        display: none;
    }
}

/*end*/
