/* =========================================================
           MAIN PAGE
        ========================================================= */

.tf-mockup-details-page {
    width: 100%;
    min-height: 100vh;
    background: #ffffff;
    color: #172b4d;
    /*font-family: Arial, Helvetica, sans-serif;*/
    box-sizing: border-box;
}

    .tf-mockup-details-page *,
    .tf-mockup-details-page *::before,
    .tf-mockup-details-page *::after {
        box-sizing: border-box;
    }

.tf-mockup-details-container {
    width: calc(100% - 84px);
    max-width: 1450px;
    margin: 0 auto;
    padding: 15px 0 60px;
}


/* =========================================================
           BACK BUTTON
        ========================================================= */

.tf-mockup-details-back-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    height: 42px;
    padding: 0 22px;
    margin-bottom: 20px;
    border: 1px solid #dce2ea;
    border-radius: 9px;
    background: #ffffff;
    color: #172b4d;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(25, 45, 75, 0.08);
    transition: all 0.2s ease;
}

    .tf-mockup-details-back-button:hover {
        border-color: #4169e1;
        color: #4169e1;
    }

.tf-mockup-details-back-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}


/* =========================================================
           MAIN 60 / 40 LAYOUT
        ========================================================= */

.tf-mockup-details-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 60%) minmax(400px, 40%);
    gap: 40px;
    align-items: start;
}


/* =========================================================
           LEFT SECTION
        ========================================================= */

.tf-mockup-details-left-section {
    min-width: 0;
}


/* =========================================================
           IMAGE VIEWER
        ========================================================= */

.tf-mockup-details-viewer {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f1f1;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.tf-mockup-details-viewer-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-mockup-details-viewer-fg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: opacity .15s ease;
}

.tf-mockup-details-viewer-caption {
    margin: 10px 2px 0;
    color: #5b6b85;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}


/* =========================================================
           360 BUTTON
        ========================================================= */

.tf-mockup-details-360-button {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 3;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    background: rgba(35, 35, 35, 0.18);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(2px);
}

.tf-mockup-details-360-icon {
    width: 34px;
    height: 34px;
    margin-top: -2px;
    stroke-width: 1.7;
}

.tf-mockup-details-360-number {
    font-size: 25px;
    font-weight: 700;
    line-height: 1;
}

.tf-mockup-details-360-label {
    position: absolute;
    left: 50%;
    top: calc(100% + 9px);
    transform: translateX(-50%);
    white-space: nowrap;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
}


/* =========================================================
           FULLSCREEN
        ========================================================= */

.tf-mockup-details-fullscreen-button {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.88);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tf-mockup-details-fullscreen-icon {
    width: 21px;
    height: 21px;
    stroke-width: 1.8;
}


/* =========================================================
           IMAGE NAVIGATION
        ========================================================= */

.tf-mockup-details-nav-button {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    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-mockup-details-nav-icon {
    width: 27px;
    height: 27px;
    stroke-width: 1.8;
}

.tf-mockup-details-nav-prev {
    left: 20px;
}

.tf-mockup-details-nav-next {
    right: 20px;
}


/* =========================================================
           LEFT TITLE / ACTIONS
        ========================================================= */

.tf-mockup-details-left-footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 25px;
    margin-top: 40px;
}

.tf-mockup-details-title-area {
    min-width: 0;
}

.tf-mockup-details-title {
    margin: 0;
    color: #172b4d;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.tf-mockup-details-description {
    margin: 10px 0 0;
    max-width: 60ch;
    color: #5b6b85;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
           ACTION BUTTONS
        ========================================================= */

.tf-mockup-details-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.tf-mockup-details-action-button {
    height: 49px;
    padding: 0 20px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s ease;
}

.tf-mockup-details-save-button {
    background: #ffffff;
    border: 1px solid #cbd3df;
    color: #172b4d;
}

    .tf-mockup-details-save-button:hover {
        border-color: #4169e1;
        color: #4169e1;
    }

.tf-mockup-details-save-button.active {
    border-color: #e11d48;
    background: #fef2f2;
    color: #e11d48;
}

    .tf-mockup-details-save-button.active .tf-mockup-details-action-icon {
        color: #e11d48;
        fill: #e11d48;
    }

.tf-mockup-details-share-button {
    background: #4169e1;
    border: 1px solid #4169e1;
    color: #ffffff;
}

    .tf-mockup-details-share-button:hover {
        background: #3158d1;
    }

.tf-mockup-details-action-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    stroke-width: 1.8;
}


/* =========================================================
           RIGHT SECTION
        ========================================================= */

.tf-mockup-details-right-section {
    min-width: 0;
}


/* =========================================================
           SAVE / SHARE (desktop: sits above the sidebar,
           in place of the row that used to run under the title)
        ========================================================= */

.tf-mockup-details-right-section > .tf-mockup-details-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 16px;
}

    .tf-mockup-details-right-section > .tf-mockup-details-actions .tf-mockup-details-action-button {
        width: 100%;
    }

@media (max-width: 950px) {
    .tf-mockup-details-right-section > .tf-mockup-details-actions {
        display: flex;
        gap: 10px;
        margin-bottom: 0;
    }
}

/* =========================================================
           SIDEBAR
        ========================================================= */

.tf-mockup-details-sidebar {
    border: 1px solid #dfe4eb;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(30, 50, 80, 0.05);
    overflow: hidden;
}

.tf-mockup-details-sidebar-title-row {
    height: 62px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e6ec;
}

.tf-mockup-details-sidebar-title {
    margin: 0;
    color: #172b4d;
    font-size: 20px;
    font-weight: 500;
}

.tf-mockup-details-tile-count {
    min-width: 65px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #6e91f0;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #4169e1;
    font-size: 14px;
    background: #ffffff;
}


/* =========================================================
           TILE LIST
        ========================================================= */

.tf-mockup-details-tile-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    max-height: 594px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-width: thin;
    scrollbar-color: #4169e1 #eef1f6;

}

    .tf-mockup-details-tile-list::-webkit-scrollbar {
        width: 6px;
    }

    .tf-mockup-details-tile-list::-webkit-scrollbar-track {
        background: #eef1f6;
        border-radius: 10px;
    }

    .tf-mockup-details-tile-list::-webkit-scrollbar-thumb {
        background: #4169e1;
        border-radius: 10px;
    }


/* =========================================================
           TILE CARD
        ========================================================= */

.tf-mockup-details-tile-card {
    flex: 0 0 auto;
    overflow: hidden;
    border: 1px solid #dfe4eb;
    /*border-radius: 11px;*/
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(30, 50, 80, 0.05);
}

.tf-mockup-details-tile-card-header {
    padding: 18px;
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
}

.tf-mockup-details-tile-image-section {
    min-width: 0;
}
/* =========================================================
           TILE IMAGE
        ========================================================= */
.tf-mockup-details-tile-image-wrapper {
    position: relative;
    width: 240px;
    height: 240px;
    overflow: hidden;
    border-radius: 4px;
    background: #eeeeee;
}

.tf-mockup-details-tile-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}


/* =========================================================
           TILE BIG-PREVIEW ICON (top right of each tile image)
        ========================================================= */

.tf-mockup-details-tile-preview-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 50%;
    background: rgba(20, 20, 20, 0.72);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .tf-mockup-details-tile-preview-btn:hover {
        background: #4169e1;
    }

    .tf-mockup-details-tile-preview-btn:hover::after {
        animation-play-state: paused;
        opacity: 0;
    }

    /* Pulsing identification ring so users notice the big-preview action */
    .tf-mockup-details-tile-preview-btn::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        box-shadow: 0 0 0 0 rgba(65, 105, 225, 0.55);
        animation: tf-mockup-details-preview-pulse 2.2s ease-out infinite;
        pointer-events: none;
    }

@keyframes tf-mockup-details-preview-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(65, 105, 225, 0.55);
        opacity: 1;
    }

    70% {
        box-shadow: 0 0 0 11px rgba(65, 105, 225, 0);
        opacity: 0;
    }

    100% {
        box-shadow: 0 0 0 0 rgba(65, 105, 225, 0);
        opacity: 0;
    }
}

.tf-mockup-details-tile-preview-icon {
    width: 14px;
    height: 14px;
    stroke-width: 2;
}

@media (prefers-reduced-motion: reduce) {
    .tf-mockup-details-tile-preview-btn::after {
        animation: none;
        display: none;
    }
}


/* =========================================================
           TILE NAME
        ========================================================= */

.tf-mockup-details-tile-name {
    margin-top: 9px;
    color: #172b4d;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
}

/* =========================================================
           TILE INFORMATION
        ========================================================= */

.tf-mockup-details-tile-information {
    min-width: 0;
}


.tf-mockup-details-info-row {
    min-height: 34px;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
}

.tf-mockup-details-info-name {
    color: #172b4d;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}


/* =========================================================
           DESIGN DETAILS TABLE (Size / Look / Color / Category)
        ========================================================= */

.tf-mockup-details-info-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 4px 0 2px;
}

    .tf-mockup-details-info-table tr {
        border-bottom: 1px solid #eef1f6;
    }

        .tf-mockup-details-info-table tr:last-child {
            border-bottom: 0;
        }

    .tf-mockup-details-info-table th,
    .tf-mockup-details-info-table td {
        width: 50%;
        padding: 10px 0;
        text-align: left;
        vertical-align: middle;
    }

    .tf-mockup-details-info-table th {
        padding-right: 18px;
        color: #8a94a6;
        font-size: 12.5px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.3px;
        white-space: nowrap;
    }

    .tf-mockup-details-info-table td {
        color: #172b4d;
        font-size: 15px;
        line-height: 1.35;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* =========================================================
           SIZE
        ========================================================= */

.tf-mockup-details-size-value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 13px;
    border: 1px solid #7d9af0;
    border-radius: 16px;
    color: #4169e1;
    white-space: nowrap;
    width: fit-content;
}


/* =========================================================
           INQUIRE BUTTON
        ========================================================= */
.tf-mockup-details-inquire-button {
    width: 100%;
    height: 38px;
    margin-top: 14px;
    border: 1px solid #bdc8dc;
    border-radius: 6px;
    background: #ffffff;
    color: #4169e1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

    .tf-mockup-details-inquire-button:hover {
        border-color: #4169e1;
        background: #f5f7ff;
    }

.tf-mockup-details-mail-icon {
    width: 17px;
    height: 17px;
    color: #4169e1;
    stroke-width: 1.8;
}


/* =========================================================
           TABLET
        ========================================================= */

@media (max-width: 1200px) {

    .tf-mockup-details-container {
        width: calc(100% - 48px);
    }

    .tf-mockup-details-main-layout {
        grid-template-columns: minmax(0, 58%) minmax(360px, 42%);
        gap: 25px;
    }

    .tf-mockup-details-viewer {
        height: 520px;
    }

    .tf-mockup-details-tile-card-header {
        grid-template-columns: 180px minmax(0, 1fr);
        gap: 16px;
    }

    .tf-mockup-details-tile-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .tf-mockup-details-info-name {
        font-size: 15px;
    }

    .tf-mockup-details-info-table th {
        font-size: 12px;
    }

    .tf-mockup-details-info-table td {
        font-size: 14px;
    }

    .tf-mockup-details-left-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .tf-mockup-details-actions {
        width: 100%;
    }
}


/* =========================================================
           SMALL LAPTOP / TABLET
        ========================================================= */

@media (max-width: 950px) {

    .tf-mockup-details-main-layout {
        grid-template-columns: 1fr;
    }

    .tf-mockup-details-viewer {
        height: min(65vw, 620px);
    }

    .tf-mockup-details-right-section {
        width: 100%;
    }

    .tf-mockup-details-tile-card-header {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .tf-mockup-details-tile-image-wrapper {
        width: 220px;
        height: 220px;
    }

    .tf-mockup-details-left-footer {
        flex-direction: row;
        align-items: flex-end;
    }

    .tf-mockup-details-actions {
        width: auto;
    }
}


/* =========================================================
           MOBILE
        ========================================================= */

@media (max-width: 650px) {

    .tf-mockup-details-container {
        width: calc(100% - 24px);
        /*padding-top: 18px;*/
        padding-bottom: 35px;
    }

    .tf-mockup-details-back-button {
        height: 35px;
        padding: 0 15px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .tf-mockup-details-main-layout {
        gap: 24px;
    }

    .tf-mockup-details-viewer {
        height: 72vw;
        min-height: 270px;
        max-height: 500px;
        border-radius: 9px;
    }

    .tf-mockup-details-viewer-caption {
        font-size: 12px;
    }

    .tf-mockup-details-360-button {
        top: 16px;
        left: 16px;
        width: 76px;
        height: 76px;
    }

    .tf-mockup-details-360-number {
        font-size: 21px;
    }

    .tf-mockup-details-360-icon {
        width: 27px;
        height: 27px;
    }

    .tf-mockup-details-360-label {
        font-size: 12px;
        top: calc(100% + 6px);
    }

    .tf-mockup-details-fullscreen-button {
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
    }

    .tf-mockup-details-fullscreen-icon {
        width: 18px;
        height: 18px;
    }

    .tf-mockup-details-nav-button {
        width: 42px;
        height: 42px;
    }

    .tf-mockup-details-nav-icon {
        width: 23px;
        height: 23px;
    }

    .tf-mockup-details-nav-prev {
        left: 12px;
    }

    .tf-mockup-details-nav-next {
        right: 12px;
    }

    .tf-mockup-details-left-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        margin-top: 28px;
    }

    .tf-mockup-details-title {
        font-size: 25px;
    }

    .tf-mockup-details-actions {
        /* sticky at the very bottom of the screen, Save (left) / Share (right) split 50/50 */
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1000;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        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);
    }

    /* keep page content (and the footer) clear of the fixed Save/Share bar */
    body {
        padding-bottom: 78px;
    }

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

    .tf-mockup-details-action-button {
        width: 100%;
        padding: 0 10px;
        font-size: 14px;
    }

    .tf-mockup-details-tile-list {
        /* cards stack image-over-details on mobile (taller per card), so
           the scroll cap is raised to still preview 1+ card before scrolling */
        max-height: 640px;
        padding-right: 6px;
    }

    .tf-mockup-details-sidebar-title-row {
        height: 58px;
        padding: 0 14px;
    }

    .tf-mockup-details-sidebar-title {
        font-size: 17px;
    }

    .tf-mockup-details-tile-card-header {
        /* stack: image on top, design details below (not side-by-side like desktop) */
        grid-template-columns: 1fr;
        gap: 13px;
        padding: 13px;
    }

    .tf-mockup-details-tile-image-wrapper {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .tf-mockup-details-tile-name {
        margin-top: 6px;
        font-size: 12px;
    }

    .tf-mockup-details-info-row {
        min-height: 26px;
        gap: 8px;
    }

    .tf-mockup-details-info-table th {
        font-size: 14px;
        padding: 9px 12px 9px 0;
    }

    .tf-mockup-details-info-table td {
        font-size: 16px;
        padding: 9px 0;
    }

    .tf-mockup-details-size-value {
        min-height: 26px;
        padding: 0 8px;
        font-size: 11px;
    }

    .tf-mockup-details-inquire-button {
        width: 100%;
        margin-top: 10px;
        height: 36px;
        font-size: 13px;
    }

    .tf-mockup-details-mail-icon {
        width: 15px;
        height: 15px;
    }
}


/* =========================================================
           SMALL MOBILE
        ========================================================= */

@media (max-width: 430px) {

    .tf-mockup-details-tile-preview-btn {
        top: 5px;
        right: 5px;
        width: 22px;
        height: 22px;
    }

    .tf-mockup-details-tile-preview-icon {
        width: 12px;
        height: 12px;
    }

    .tf-mockup-details-info-name {
        font-size: 15px;
    }

    .tf-mockup-details-info-table th {
        font-size: 13px;
        padding: 8px 10px 8px 0;
    }

    .tf-mockup-details-info-table td {
        font-size: 15px;
        padding: 8px 0;
    }

    .tf-mockup-details-title {
        font-size: 22px;
    }

    .tf-mockup-details-action-button {
        height: 45px;
    }
}


/* =========================================================
           SHARE MODAL (same UX as design details, own prefix)
        ========================================================= */

.tf-mockup-details-share-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s ease;
}

    .tf-mockup-details-share-modal.open {
        display: flex;
        opacity: 1;
    }

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

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

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

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

.tf-mockup-details-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-mockup-details-share-modal-close:hover {
        background: #f0f0f0;
        color: #333;
    }

.tf-mockup-details-share-modal-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 4px;
    color: #172b4d;
}

.tf-mockup-details-share-modal-sub {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 22px;
}

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

.tf-mockup-details-share-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border-radius: 10px;
    border: 1px solid #dce2ea;
    background: #fff;
    text-decoration: none;
    color: #172b4d;
    font-size: 11px;
    font-weight: 600;
    transition: all .2s;
    cursor: pointer;
    /*font-family: inherit;*/
}

    .tf-mockup-details-share-icon svg {
        width: 26px;
        height: 26px;
    }

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

    .tf-mockup-details-share-icon span {
        line-height: 1.2;
    }

.tf-mockup-details-share-facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
}

.tf-mockup-details-share-twitter:hover {
    border-color: #000;
    color: #000;
}

.tf-mockup-details-share-whatsapp:hover {
    border-color: #25d366;
    color: #25d366;
}

.tf-mockup-details-share-linkedin:hover {
    border-color: #0a66c2;
    color: #0a66c2;
}

.tf-mockup-details-share-email:hover {
    border-color: #ea4335;
    color: #ea4335;
}

.tf-mockup-details-share-copy:hover {
    border-color: #4169e1;
    color: #4169e1;
}

.tf-mockup-details-share-link-container {
    display: flex;
    border: 1px solid #dce2ea;
    border-radius: 8px;
    overflow: hidden;
}

.tf-mockup-details-share-link-input {
    flex: 1;
    border: 0;
    padding: 10px 12px;
    font-size: 12px;
    color: #172b4d;
    background: #f8f8f8;
    outline: none;
    min-width: 0;
    /*font-family: inherit;*/
}

.tf-mockup-details-share-link-copy {
    flex-shrink: 0;
    border: 0;
    background: #4169e1;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    padding: 0 18px;
    cursor: pointer;
    transition: background .2s;
    /*font-family: inherit;*/
}

    .tf-mockup-details-share-link-copy:hover {
        background: #3158d1;
    }

.tf-mockup-details-share-toast {
    text-align: center;
    font-size: 13px;
    color: #2e9e5b;
    font-weight: 600;
    margin-top: 12px;
    opacity: 0;
    transition: opacity .3s;
    min-height: 20px;
}

    .tf-mockup-details-share-toast.show {
        opacity: 1;
    }

@media (max-width: 640px) {
    .tf-mockup-details-share-icon {
        padding: 10px 4px;
        font-size: 10px;
    }

        .tf-mockup-details-share-icon svg {
            width: 22px;
            height: 22px;
        }

    .tf-mockup-details-share-modal-content {
        padding: 24px 18px 20px;
    }

    .tf-mockup-details-share-modal-title {
        font-size: 18px;
    }
}


/* =========================================================
           BIG PREVIEW (lightbox) — mockup fullscreen + tile preview icons
        ========================================================= */

.tf-mockup-details-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;
}

    .tf-mockup-details-preview-modal.open {
        display: flex;
        opacity: 1;
    }

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

.tf-mockup-details-preview-modal-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;
}

    .tf-mockup-details-preview-modal-close:hover {
        background: rgba(255, 255, 255, 0.22);
    }

.tf-mockup-details-preview-modal-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 (max-width: 650px) {
    .tf-mockup-details-preview-modal {
        padding: 16px;
    }

    .tf-mockup-details-preview-modal-close {
        top: 12px;
        right: 14px;
        width: 36px;
        height: 36px;
        font-size: 22px;
    }
}


/* =========================================================
           HUB PAGE QUICK LINKS (exact same as design details' .hub-links-section)
        ========================================================= */

.tf-mockup-details-hub-links-section {
    max-width: 90%;
    margin: 40px auto;
    padding: 0 16px;
}

.tf-mockup-details-hub-links-title {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #172b4d;
    margin-bottom: 18px;
}

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

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

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

.tf-mockup-details-hub-link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #dfe4eb;
    border-radius: 16px;
    /*background: linear-gradient(135deg, color-mix(in srgb, var(--hub-color, #4169e1) 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;
}

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

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

.tf-mockup-details-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, #4169e1), color-mix(in srgb, var(--hub-color, #4169e1) 70%, #000));
    color: #fff;
    box-shadow: 0 8px 16px -6px color-mix(in srgb, var(--hub-color, #4169e1) 65%, transparent);
    transition: transform .2s ease;
}

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

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

.tf-mockup-details-hub-link-label {
    font-size: 15.5px;
    font-weight: 700;
    color: #172b4d;
}

.tf-mockup-details-hub-link-sub {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tf-mockup-details-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: #6b7280;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

    .tf-mockup-details-hub-link-card:hover .tf-mockup-details-hub-link-arrow {
        background: var(--hub-color, #4169e1);
        color: #fff;
        transform: translateX(3px);
    }

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

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

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

.tf-mockup-details-hub-link-color {
    --hub-color: #db2777;
}

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

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


/* =========================================================
           SIMILAR MOCKUPS
        ========================================================= */

.tf-mockup-details-similar {
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
    color: #172b4d;
}

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

.tf-mockup-details-similar-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.tf-mockup-details-similar-viewall-link {
    font-size: 13px;
    font-weight: 600;
    color: #4169e1;
    text-decoration: none;
}

    .tf-mockup-details-similar-viewall-link:hover {
        text-decoration: underline;
    }

.tf-mockup-details-similar-scroll-outer {
    position: relative;
}

.tf-mockup-details-similar-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-mockup-details-similar-scroll::-webkit-scrollbar {
        display: none;
    }

.tf-mockup-details-similar-scroll-btn {
    position: absolute;
    top: 90px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dfe4eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

    .tf-mockup-details-similar-scroll-btn:hover {
        background: #eaf0ff;
        border-color: #4169e1;
        color: #4169e1;
    }

    .tf-mockup-details-similar-scroll-btn.left {
        left: -18px;
    }

    .tf-mockup-details-similar-scroll-btn.right {
        right: -18px;
    }

    .tf-mockup-details-similar-scroll-btn.is-hidden {
        display: none;
    }

.tf-mockup-details-similar-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #dfe4eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.tf-mockup-details-similar-card-img {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: #e5e7eb;
}

    .tf-mockup-details-similar-card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.tf-mockup-details-similar-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.tf-mockup-details-similar-card-title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #172b4d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tf-mockup-details-similar-card-meta {
    font-size: 12.5px;
    color: #6b7280;
    margin: 0;
}

.tf-mockup-details-similar-card-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #4169e1;
}

    .tf-mockup-details-similar-card:hover .tf-mockup-details-similar-card-readmore svg {
        transform: translateX(3px);
    }

    .tf-mockup-details-similar-card-readmore svg {
        transition: transform .15s ease;
    }

@media (max-width: 900px) {
    .tf-mockup-details-similar-card {
        flex-basis: 220px;
    }

    .tf-mockup-details-similar-card-img {
        height: 150px;
    }

    .tf-mockup-details-similar-scroll-btn {
        top: 75px;
    }
}

@media (max-width: 768px) {
    .tf-mockup-details-similar {
        max-width: 100%;
        padding: 0 12px;
    }

    .tf-mockup-details-similar-card {
        flex-basis: 200px;
    }

    .tf-mockup-details-similar-card-img {
        height: 130px;
    }

    .tf-mockup-details-similar-title {
        font-size: 16px;
    }

    .tf-mockup-details-similar-scroll-btn {
        top: 65px;
        left: 4px;
        right: 4px;
    }

        .tf-mockup-details-similar-scroll-btn.left {
            left: 4px;
        }

        .tf-mockup-details-similar-scroll-btn.right {
            right: 4px;
        }
}


/* =========================================================
           RELATED BLOGS (same pattern as design details' .design-detail-blogs)
        ========================================================= */

.tf-mockup-details-blogs {
    max-width: 90%;
    margin: 30px auto;
    padding: 0 16px;
    color: #172b4d;
}

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

.tf-mockup-details-blogs-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.tf-mockup-details-blogs-viewall-link {
    font-size: 13px;
    font-weight: 600;
    color: #4169e1;
    text-decoration: none;
}

    .tf-mockup-details-blogs-viewall-link:hover {
        text-decoration: underline;
    }

.tf-mockup-details-blogs-scroll-outer {
    position: relative;
}

.tf-mockup-details-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;
}

    .tf-mockup-details-blogs-scroll::-webkit-scrollbar {
        display: none;
    }

.tf-mockup-details-blogs-scroll-btn {
    position: absolute;
    top: 90px;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dfe4eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

    .tf-mockup-details-blogs-scroll-btn:hover {
        background: #eaf0ff;
        border-color: #4169e1;
        color: #4169e1;
    }

    .tf-mockup-details-blogs-scroll-btn.left {
        left: -18px;
    }

    .tf-mockup-details-blogs-scroll-btn.right {
        right: -18px;
    }

    .tf-mockup-details-blogs-scroll-btn.is-hidden {
        display: none;
    }

.tf-mockup-details-blogs-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #dfe4eb;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

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

    .tf-mockup-details-blogs-card-img img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        display: block;
    }

.tf-mockup-details-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;
}

.tf-mockup-details-blogs-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.tf-mockup-details-blogs-card-title {
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #172b4d;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tf-mockup-details-blogs-card-excerpt {
    font-size: 13.5px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tf-mockup-details-blogs-card-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: #6b7280;
}

.tf-mockup-details-blogs-card-dot {
    opacity: .6;
}

.tf-mockup-details-blogs-card-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 700;
    color: #4169e1;
}

    .tf-mockup-details-blogs-card:hover .tf-mockup-details-blogs-card-readmore svg {
        transform: translateX(3px);
    }

    .tf-mockup-details-blogs-card-readmore svg {
        transition: transform .15s ease;
    }

@media (max-width: 900px) {
    .tf-mockup-details-blogs-card {
        flex-basis: 280px;
    }

    .tf-mockup-details-blogs-card-img {
        height: 180px;
    }

    .tf-mockup-details-blogs-scroll-btn {
        top: 90px;
    }
}

@media (max-width: 768px) {
    .tf-mockup-details-blogs {
        max-width: 100%;
        padding: 0 12px;
    }

    .tf-mockup-details-blogs-card {
        flex-basis: 260px;
    }

    .tf-mockup-details-blogs-card-img {
        height: 160px;
    }

    .tf-mockup-details-blogs-title {
        font-size: 16px;
    }

    .tf-mockup-details-blogs-scroll-btn {
        top: 80px;
        left: 4px;
        right: 4px;
    }

        .tf-mockup-details-blogs-scroll-btn.left {
            left: 4px;
        }

        .tf-mockup-details-blogs-scroll-btn.right {
            right: 4px;
        }
}















/*cta start*/
.tf-cta-demo-page {
    background: #f5f6f8;
    /*font-family: Arial, Helvetica, sans-serif;*/
    padding: 40px 20px;
}

.tf-cta-demo-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tf-cta-demo-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #6b7280;
    margin-bottom: 10px;
}

/* ============================================================
     BASE CTA BANNER (shared shell — both variants build on this)
     ============================================================ */
.tf-cta-banner {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: 18px;
    padding: 52px 40px;
    text-align: center;
    color: #ffffff;
    box-shadow: 0 12px 32px -12px rgba(10, 20, 40, .45);
}

.tf-cta-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    max-width: 640px;
    margin: 0 auto;
}

.tf-cta-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
}

.tf-cta-heading {
    margin: 4px 0 6px;
    font-size: 27px;
    line-height: 1.4;
    font-weight: 400;
}

    .tf-cta-heading strong {
        font-weight: 800;
        display: block;
    }

    .tf-cta-heading span {
        display: block;
        font-size: 17px;
        font-weight: 400;
        opacity: .82;
        margin-top: 4px;
    }

.tf-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 15px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    color: #172b4d;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

    .tf-cta-button:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }

    .tf-cta-button svg {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
        transition: transform .18s ease;
    }

    .tf-cta-button:hover svg {
        transform: translateX(3px);
    }

@media (prefers-reduced-motion: reduce) {
    .tf-cta-button, .tf-cta-button svg {
        transition: none !important;
    }

        .tf-cta-button:hover {
            transform: none !important;
        }
}

@media (max-width: 650px) {
    .tf-cta-banner {
        padding: 38px 22px;
        border-radius: 14px;
    }

    .tf-cta-heading {
        font-size: 22px;
    }

        .tf-cta-heading span {
            font-size: 15px;
        }

    .tf-cta-button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
     VARIANT 1 — ARCHITECT / TRADE
     Cooler navy-to-slate, faint blueprint grid, brass accent
     ============================================================ */
.tf-cta-banner--architect {
    background: linear-gradient(135deg, #0b1830 0%, #16294f 48%, #24457a 100%);
}

    .tf-cta-banner--architect .tf-cta-eyebrow {
        color: #e8c874;
        border-color: rgba(232, 200, 116, .35);
        background: rgba(232, 200, 116, .1);
    }

    .tf-cta-banner--architect .tf-cta-button {
        background: #e8b64c;
    }

        .tf-cta-banner--architect .tf-cta-button:hover {
            background: #f0c568;
            box-shadow: 0 8px 20px -6px rgba(232, 182, 76, .55);
            transform: translateY(-2px);
        }

/* ============================================================
     VARIANT 2 — HOMEPAGE / HOMEOWNER
     Brand blue (matches --4169e1 already used on the site),
     faint tile-mosaic grid, warm amber accent
     ============================================================ */
.tf-cta-banner--home {
    background: linear-gradient(135deg, #142a52 0%, #1f3f74 50%, #3159a8 100%);
}

    .tf-cta-banner--home .tf-cta-eyebrow {
        color: #ffd8a8;
        border-color: rgba(255, 216, 168, .35);
        background: rgba(255, 216, 168, .1);
    }

    .tf-cta-banner--home .tf-cta-button {
        background: #f2a93b;
    }

        .tf-cta-banner--home .tf-cta-button:hover {
            background: #f5b95e;
            box-shadow: 0 8px 20px -6px rgba(242, 169, 59, .55);
            transform: translateY(-2px);
        }


/* =========================================================
           BACK TO TOP
        ========================================================= */

.tf-mockup-details-back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #4169e1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: 0 4px 14px rgba(65, 105, 225, .45);
    transition: opacity .25s ease, transform .25s ease, background .2s ease;
}

    .tf-mockup-details-back-to-top.show {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .tf-mockup-details-back-to-top:hover {
        background: #3158d1;
    }

@media (max-width: 650px) {
    .tf-mockup-details-back-to-top {
        right: 18px;
        bottom: 82px; /* clear the fixed Save/Share bar */
        width: 40px;
        height: 40px;
    }

    /* push higher still when the shared compare tray is also open at the bottom */
    body:has(#compareTray.is-visible) .tf-mockup-details-back-to-top {
        bottom: 150px;
    }
}
/*cta end*/

/* ===== TILES NEAR YOU (ported from design-details.css — same styling as Design/DesignDetailsForCityAndMaster.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;
    }
}
/*tny end*/






/* ============================================================
     Everything is namespaced under .tf-cta-mockupdetails so this
     block can be dropped into any page without leaking styles
     into the rest of the site (no *, body, or :root rules).
     ============================================================ */

.tf-cta-mockupdetails {
    /* component-scoped custom properties (was :root) */
    --blue: #4169E1;
    --blue-deep: #2E4FB8;
    --blue-tint: #EEF2FD;
    --amber: #EF9F27;
    --amber-soft: #FBE3B8;
    --amber-deep: #C97F12;
    --ink: #1B2029;
    --ink-2: #5A6472;
    --ink-3: #9AA1AC;
    --line: rgba(27,32,41,0.09);
    --line-2: rgba(27,32,41,0.16);
    /* component-scoped base (was body) */
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.005em;
    position: relative;
    overflow: hidden;
    padding: 40px 0 60px;
}

    /* box-sizing scoped to descendants of the component instead of * */
    .tf-cta-mockupdetails, .tf-cta-mockupdetails * {
        box-sizing: border-box;
    }

@media (prefers-reduced-motion:reduce) {
    .tf-cta-mockupdetails *, .tf-cta-mockupdetails *::before, .tf-cta-mockupdetails *::after {
        animation: none !important;
        transition: none !important;
    }

    .tf-cta-mockupdetails .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* faint tile grid wash behind everything */
.tf-cta-mockupdetails__grid {
    position: absolute;
    inset: 0;
    opacity: .5;
    pointer-events: none;
    background-size: 46px 46px;
}

.tf-cta-mockupdetails__inner {
    position: relative;
    z-index: 2;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 28px;
}

.tf-cards {
    display: grid;
    gap: 22px;
}

/* shared card */
.tf-card {
    position: relative;
    border-radius: 22px;
    padding: 40px 38px;
    overflow: hidden;
    transition: transform .3s cubic-bezier(.2,.8,.3,1), box-shadow .3s ease;
}

    .tf-card:hover {
        transform: translateY(-4px);
    }

.tf-tag {
    font-size: 11px;
    letter-spacing: .11em;
    text-transform: uppercase;
    margin: 0 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tf-card h3 {
    font-weight: 700;
    font-size: clamp(21px,2.5vw,27px);
    line-height: 1.16;
    letter-spacing: -0.015em;
    margin: 0 0 12px;
}

.tf-card p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 26px;
    max-width: 40ch;
}

/* animated amber underline behind a key phrase */
.mark-m {
    position: relative;
    white-space: nowrap;
}

    

/* button */
.tf-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: fit-content;
    max-width: max-content;
    flex: 0 0 auto;
    min-height: 52px;
    font-weight: 600;
    font-size: 15px;
    padding: 15px 30px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .25s ease, box-shadow .25s ease;
}
    .tf-btn .arw {
        transition: transform .25s ease;
        font-size: 17px;
    }

    .tf-btn:hover .arw {
        transform: translateX(5px);
    }

    .tf-btn::after {
        content: '';
        position: absolute;
        top: 0;
        left: -75%;
        width: 45%;
        height: 100%;
        background: linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);
        transform: skewX(-20deg);
        transition: left .6s ease;
    }

    .tf-btn:hover::after {
        left: 140%;
    }

.tf-btn--amber {
    background: var(--amber);
    color: #3A2A08;
    box-shadow: 0 8px 22px rgba(239,159,39,0.30);
}

    .tf-btn--amber:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(239,159,39,0.40);
    }

/* ---- B2C card (white / buyer) ---- */
.tf-card--b2c {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(27,32,41,0.05);
}

    .tf-card--b2c:hover {
        box-shadow: 0 20px 44px rgba(27,32,41,0.10);
    }

    .tf-card--b2c .tf-tag {
        color: var(--blue);
    }

        .tf-card--b2c .tf-tag .lv {
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--blue);
            position: relative;
        }

            .tf-card--b2c .tf-tag .lv::after {
                content: '';
                position: absolute;
                inset: -4px;
                border-radius: 50%;
                border: 1.5px solid var(--blue);
                animation: tfpulse 2s ease-out infinite;
            }

    .tf-card--b2c h3 {
        color: var(--ink);
    }

    .tf-card--b2c p {
        color: var(--ink-2);
    }
    /* quiet blue corner registration mark */
    .tf-card--b2c::before {
        content: '';
        position: absolute;
        top: 26px;
        right: 30px;
        width: 34px;
        height: 1px;
        background: var(--line-2);
    }

    .tf-card--b2c::after {
        content: '';
        position: absolute;
        top: 9px;
        right: 46px;
        width: 1px;
        height: 34px;
        background: var(--line-2);
    }

@keyframes tfpulse {
    0% {
        transform: scale(.5);
        opacity: .9;
    }

    100% {
        transform: scale(2.1);
        opacity: 0;
    }
}

/* ---- B2B card (blue / seller) ---- */
.tf-card--b2b {
    background: linear-gradient(150deg,#4A72EB 0%, var(--blue) 45%, var(--blue-deep) 100%);
    color: #fff;
    box-shadow: 0 14px 36px rgba(46,79,184,0.34);
}

    .tf-card--b2b:hover {
        box-shadow: 0 24px 50px rgba(46,79,184,0.44);
    }

    .tf-card--b2b h3 {
        color: #fff;
    }

    .tf-card--b2b p {
        color: rgba(255,255,255,0.9);
    }

    .tf-card--b2b .tf-tag {
        color: rgba(255,255,255,0.85);
    }
    /* animated drifting tile grid inside the blue card */
    .tf-card--b2b .drift {
        position: absolute;
        inset: -40%;
        opacity: .16;
        pointer-events: none;
        background-image: linear-gradient(#fff 1px,transparent 1px), linear-gradient(90deg,#fff 1px,transparent 1px);
        background-size: 40px 40px;
        animation: drift 22s linear infinite;
    }

@keyframes drift {
    from {
        transform: translate(0,0);
    }

    to {
        transform: translate(40px,40px);
    }
}
/* breathing amber glow */
.tf-card--b2b .glow {
    position: absolute;
    width: 260px;
    height: 260px;
    right: -70px;
    bottom: -90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239,159,39,0.55), transparent 65%);
    filter: blur(6px);
    pointer-events: none;
    animation: breathe 6s ease-in-out infinite;
}

@keyframes breathe {
    0%,100% {
        transform: scale(1);
        opacity: .75;
    }

    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}
/* floating mini tile chips */
.tf-card--b2b .chip {
    position: absolute;
    border-radius: 6px;
    border: 1.5px solid rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.06);
    animation: floaty 5.5s ease-in-out infinite;
    pointer-events: none;
}

    .tf-card--b2b .chip.c1 {
        width: 26px;
        height: 26px;
        top: 30px;
        right: 44px;
        animation-delay: 0s;
    }

    .tf-card--b2b .chip.c2 {
        width: 16px;
        height: 16px;
        top: 64px;
        right: 22px;
        animation-delay: -1.6s;
        border-color: rgba(239,159,39,0.55);
    }

    .tf-card--b2b .chip.c3 {
        width: 20px;
        height: 20px;
        top: 14px;
        right: 88px;
        animation-delay: -3.2s;
    }

@keyframes floaty {
    0%,100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-9px) rotate(4deg);
    }
}

.tf-card--b2b .tf-body {
    position: relative;
    z-index: 2;
}

/* reveal */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .8s cubic-bezier(.2,.8,.3,1), transform .8s cubic-bezier(.2,.8,.3,1);
}

    .reveal.in {
        opacity: 1;
        transform: none;
    }

    .reveal.d1 {
        transition-delay: .12s;
    }

/* page frame for the preview only */
.frame-note {
    text-align: center;
    padding: 26px;
    color: var(--ink-3);
    font-size: 12px;
}