:root {
    --c-light-bg: #f6f6f6;
    --c-gray-bg: #e8e8e8;
    --c-dark: #333333;
    --c-red: #990100;
    --c-red2: #b90504;
    --c-link: #e30613;
    --c-accent: #b90504;
    --c-footer-bg: #222;
    --c-hero-grad1: #b90504;
    --c-hero-grad2: #990100;
    --c-cta: #fff;
    --c-btn-hover: #ffe6e6;
    --font-main: 'Montserrat', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
}

html {
    overflow-x: clip;
}

body {
    font-family: var(--font-main);
    background: var(--c-light-bg);
    color: var(--c-dark);
    max-width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

/* HEADER */
.ntuc-spaces-header {
    background: var(--c-red);
    padding: 0 0 0 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 96px;
    gap: 32px;
    flex-wrap: wrap;
}

.ntuc-logo-flex {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1 1 520px;
    min-width: 0;
    flex-wrap: wrap;
}

.ntuc-logo-img {
    width: 110px;
    height: auto;
    background: #fff;
    border-radius: 32px;
    padding: 8px 13px;
    box-shadow: 0 2px 12px rgba(153, 1, 0, 0.12);
    border: 2.5px solid var(--c-gray-bg);
    transition: width 0.2s;
}

.extra-large-logo {
    width: 180px !important;
    height: auto;
    box-shadow: 0 6px 22px rgba(153, 1, 0, 0.18);
    border-radius: 36px;
    border: 3.5px solid #fff;
    background: #fff;
}

@media (max-width: 700px) {
    .ntuc-logo-img.extra-large-logo {
        width: 100px !important;
    }
}

.ntuc-gif {
    height: 65px;
    width: auto;
    max-width: min(100%, 600px);
    margin-left: 8px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(153, 1, 0, 0.11);
    background: transparent;
    display: block;
}

.ntuc-main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-content: flex-end;
    flex: 1 1 360px;
    flex-wrap: wrap;
    min-width: 0;
}

.ntuc-main-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    color: #fff;
    letter-spacing: 0.03em;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.ntuc-main-nav a:hover {
    color: var(--c-accent);
}

/* MODERN HERO LAYOUT */
.hero-modern {
    background: linear-gradient(120deg, var(--c-hero-grad1) 0%, var(--c-hero-grad2) 100%);
    color: #fff;
    padding: 72px 0 72px 0;
    position: relative;
}

.hero-modern-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    min-height: 320px;
}

.hero-modern-text {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-modern-text h1 {
    font-size: 2.7rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -1.2px;
    color: #fff;
}

.hero-highlight {
    color: #ffe6e6;
    font-size: 1.22em;
}

.hero-modern-text p {
    font-size: 1.2rem;
    margin-bottom: 34px;
    color: #fff;
    max-width: 490px;
}

.hero-cta-btn {
    background: #fff;
    color: var(--c-accent);
    font-weight: bold;
    border: none;
    padding: 15px 36px;
    border-radius: 9px;
    font-size: 1.15rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(185, 5, 4, 0.16);
    border: 2.5px solid var(--c-accent);
    transition: background 0.18s, color 0.18s;
}

.hero-cta-btn:hover {
    background: var(--c-accent);
    color: #fff;
}

/* Modern hero right image styling */
.hero-modern-image {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mayday-img-large {
    width: 20000px;
    height: auto;
    max-width: 100%;
    border-radius: 18px;
    box-shadow: 0 8px 38px 2px rgba(60, 10, 0, 0.13), 0 0 0 5px #fff;
    background: #fff;
    object-fit: contain;
    margin-left: 0;
}

@media (max-width: 1000px) {
    .hero-modern-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .hero-modern-text,
    .hero-modern-image {
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .hero-modern-text h1,
    .hero-modern-text p {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .mayday-img-large {
        width: 98vw;
        max-width: 98vw;
    }

    .hero-modern-content {
        gap: 20px;
    }
}

/* SPACES SECTIONS */
.spaces-section {
    background: var(--c-light-bg);
    padding: 52px 0 56px 0;
}

.section-title {
    color: var(--c-red);
    font-size: 2rem;
    margin-bottom: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 13px;
}

.spaces-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 34px 38px;
}

.space-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 18px rgba(51, 51, 51, 0.07);
    display: flex;
    overflow: hidden;
    min-height: 230px;
    border-left: 7px solid var(--c-red2);
    transition: box-shadow 0.19s;
    flex-direction: column;
}

.space-card:hover {
    box-shadow: 0 6px 24px rgba(185, 5, 4, 0.13);
}

.space-img {
    width: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    background: #e8e8e8;
    min-height: 210px;
    max-height: 340px;
    display: block;
    border-bottom: 1px solid #eee;
}

.uncropped {
    object-fit: contain !important;
    height: 240px !important;
}

.space-info {
    padding: 25px 32px 25px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.space-info h3 {
    font-size: 1.28rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: var(--c-dark);
}

.space-location {
    display: inline-block;
    color: var(--c-accent);
    font-size: 1.02rem;
    font-weight: 600;
    margin-bottom: 7px;
}

.space-info p {
    color: #444;
    font-size: 1.06rem;
    margin-bottom: 19px;
}

.design-btn {
    background: var(--c-accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.06rem;
    padding: 11px 29px;
    text-decoration: none;
    font-weight: 600;
    align-self: flex-start;
    box-shadow: 0 1.5px 6px rgba(185, 5, 4, 0.10);
    transition: background 0.18s;
}

.design-btn:hover {
    background: var(--c-btn-hover);
    color: var(--c-accent);
}

/* ABOUT SECTION */
.about-section {
    background: var(--c-gray-bg);
    padding: 54px 0 54px 0;
}

.about-content h2 {
    margin-bottom: 22px;
}

.about-content ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-content li {
    margin-bottom: 12px;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--c-dark);
}

.about-content li i {
    color: var(--c-accent);
}

/* CONTACT SECTION */
.contact-section {
    background: #fff;
    padding: 54px 0 60px 0;
}

.contact-content h2 {
    margin-bottom: 14px;
}

.contact-content p {
    font-size: 1.08rem;
    margin-bottom: 17px;
}

.contact-details {
    display: flex;
    gap: 28px;
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 19px;
    flex-wrap: wrap;
}

.contact-details span i {
    color: var(--c-red2);
    margin-right: 8px;
}

/* VIDEO + TESTIMONIAL */
.video-testimonial-section {
    background: var(--c-gray-bg);
    padding: 55px 0 44px 0;
}

.video-testimonial-flex {
    display: flex;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

.video-block {
    flex: 0 1 330px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-title {
    font-size: 1.22rem;
    color: var(--c-red2);
    font-weight: 700;
    margin-bottom: 18px;
    text-align: center;
}

.video-responsive {
    position: relative;
    width: 440px;
    /* Half of 640px */
    height: 260px;
    /* Half of 360px */
    box-shadow: 0 2px 14px rgba(185, 5, 4, 0.13);
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    margin-bottom: 13px;
    max-width: 100%;
}

.video-responsive iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.testimonial-block {
    flex: 1 1 360px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.testimonial-flex {
    display: flex;
    align-items: center;
    gap: 30px;
}

.testimonial-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 90px;
    border: 7px solid var(--c-accent);
    background: #fff;
    box-shadow: 0 3px 18px rgba(153, 1, 0, 0.13);
    transition: width 0.2s, height 0.2s;
}

.testimonial-img-big {
    width: 280px;
    height: 280px;
    border-radius: 120px;
}

.testimonial-quote {
    position: relative;
    background: linear-gradient(135deg, #fff 78%, #ffe6e6 100%);
    color: var(--c-dark);
    border-radius: 18px 18px 18px 30px;
    box-shadow: 0 8px 32px rgba(185, 5, 4, 0.09), 0 0 0 2.5px #fff;
    padding: 32px 40px 28px 54px;
    margin: 0;
    font-size: 1.13rem;
    font-weight: 500;
    line-height: 1.58;
    min-width: 250px;
    max-width: 400px;
    border-left: 7px solid var(--c-accent);
    border-top: 2px solid #ffd9d9;
    /* Add a slight shadow at the bottom for a card effect */
}

.testimonial-quote .fa-quote-left {
    position: absolute;
    left: 16px;
    top: 18px;
    color: var(--c-accent);
    font-size: 2.1rem;
    opacity: 1;
    z-index: 1;
    pointer-events: none;
}

.testimonial-quote strong {
    color: var(--c-accent);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.testimonial-quote a {
    color: var(--c-accent);
    font-weight: 600;
    text-decoration: none;
    /* Removes underline */
    transition: color 0.18s;
}

.testimonial-quote a:hover {
    color: var(--c-red2);
}

.solidarity {
    color: #fff;
    background: var(--c-accent);
    padding: 4px 14px 4px 14px;
    border-radius: 7px;
    font-size: 1.07em;
    font-weight: 700;
    display: inline-block;
    margin-top: 10px;
    letter-spacing: 0.03em;
    box-shadow: 0 1px 4px rgba(185, 5, 4, 0.08);
}


/* FOOTER */
.ntuc-footer {
    background: var(--c-footer-bg);
    color: #fff;
    padding: 33px 0 18px 0;
}

.footer-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-logo {
    width: auto;
    max-width: 130px;
    height: auto;
    background: #fff;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 2.5px solid var(--c-gray-bg);
    padding: 6px 14px;
}

.large-footer-logo {
    max-width: 160px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-copy {
    font-size: 0.97em;
    color: #eee;
}

.footer-social {
    display: flex;
    gap: 18px;
}

.footer-social a {
    color: #fff;
    font-size: 1.4em;
    text-decoration: none;
    transition: color 0.19s;
}

.footer-social a:hover {
    color: var(--c-red2);
}

/* --- Responsive --- */
@media (max-width: 1200px) {
    .spaces-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .spaces-list {
        grid-template-columns: 1fr;
    }

    .header-flex,
    .footer-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }

    .ntuc-main-nav {
        gap: 18px;
    }

    .testimonial-flex {
        flex-direction: column;
        gap: 18px;
        align-items: flex-start;
    }

    .video-testimonial-flex {
        flex-direction: column;
        gap: 32px;
    }

    .hero-modern-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .hero-modern-text,
    .hero-modern-image {
        align-items: center;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    .hero-modern-text h1,
    .hero-modern-text p {
        text-align: center;
    }
}

@media (max-width: 700px) {

    .ntuc-logo-img,
    .large-logo,
    .extra-large-logo {
        width: 68px !important;
    }

    .ntuc-gif {
        height: 36px;
    }

    .mayday-img-large {
        width: 180px;
    }

    .section-title {
        font-size: 1.22rem;
    }

    .space-img {
        min-height: 120px;
        height: 150px !important;
    }

    .space-info {
        padding: 11px 13px;
    }

    .testimonial-quote {
        font-size: 1.04rem;
        padding: 14px 13px;
    }

    .video-responsive {
        width: 99vw;
        max-width: 99vw;
        height: 33vw;
        max-height: 182px;
    }

    .testimonial-img,
    .testimonial-img-big {
        width: 98px !important;
        height: 98px !important;
        border-radius: 60px !important;
    }

    .footer-logo,
    .large-footer-logo {
        max-width: 90px !important;
        padding: 4px 10px !important;
    }
}

@media (max-width: 600px) {
    .mayday-img-large {
        width: 98vw;
        max-width: 98vw;
    }

    .hero-modern-content {
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .container {
        padding: 0 7px;
    }

    .space-card {
        flex-direction: column;
    }

    .space-img {
        width: 100%;
        min-height: 85px;
        height: 130px !important;
    }

    .space-info {
        padding: 14px 10px;
    }

    .footer-logo,
    .large-footer-logo {
        max-width: 80px !important;
        padding: 4px 8px !important;
    }
}

/* ======================= ENHANCED FLOORPLANNER CSS ======================= */

/* ----- Room Specs Card ----- */
.fp-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.fp-room-specs-card {
    background: #fff;
    border: 2px solid #0066b3;
    border-radius: 10px;
    box-shadow: 0 1.5px 6px rgba(0, 102, 179, 0.07);
    padding: 13px 24px 11px 20px;
    min-width: 285px;
    font-size: 1.04rem;
    color: #222;
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.fp-room-label {
    font-weight: 600;
    color: #e30613;
    margin-right: 5px;
}

.fp-room-value {
    font-weight: 500;
    color: #222;
}

/* ----- Inventory: Always 2x2 neat grid, equal size ----- */
.fp-furniture-grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 4 columns */
    gap: 16px 12px;
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .fp-furniture-grid-2x2 {
        flex-direction: column;
        gap: 7px;
    }
}

.fp-furniture {
    flex: 1;
    min-width: 0;
    max-width: 135px;
    min-height: 135px;
    background: #f7f7fb;
    border: 1.8px solid #e30613;
    border-radius: 10px;
    padding: 10px 6px 7px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: grab;
    transition: box-shadow 0.15s, border 0.15s;
    box-sizing: border-box;
    margin: 0 3px;
    position: relative;
}

.fp-furniture:hover {
    border-color: #0066b3;
    box-shadow: 0 4px 13px rgba(0, 102, 179, 0.10);
}

.fp-f-details {
    text-align: center;
    width: 100%;
    margin-top: 2px;
}

.fp-f-name {
    font-size: 1.02rem;
    font-weight: 500;
    color: #444;
}

.fp-f-size {
    font-size: 0.96rem;
    color: #888;
    margin-bottom: 2px;
}

.fp-f-count {
    margin-top: 3px;
    font-size: 0.99rem;
    color: #222;
    background: #f6e6e6;
    border-radius: 8px;
    padding: 2px 6px;
    font-weight: bold;
    display: inline-block;
}

.fp-counter {
    color: #e30613;
    font-weight: bold;
}

/* ----- Floorplanner Section Container (background, padding) ----- */
.fp-floorplanner-section {
    scroll-margin-top: 90px;
    background: #fafafb;
    padding: 48px 0 35px 0;
}

.fp-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #e30613;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

/* ----- Preset Layout Buttons ----- */
.fp-presets-compact {
    display: flex;
    gap: 14px;
    margin: 24px 0 20px 0;
    flex-wrap: wrap;
}

.fp-preset-btn {
    background: #fff;
    color: #0066b3;
    border: 1.5px solid #e30613;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 18px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.06);
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
}

.fp-preset-btn:hover {
    background: #e30613;
    color: #fff;
}

/* ----- Flex Layout: Inventory + Floorplan ----- */
.fp-flex-layout {
    display: flex;
    gap: 32px;
    align-items: stretch;
    max-width: 100%;
}

/* ----- Inventory Area ----- */
.fp-inventory {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1.5px 10px rgba(51, 51, 51, 0.07);
    padding: 24px 17px 18px 17px;
    min-width: 290px;
    max-width: 305px;
    flex: 0 0 300px;
    max-height: none;
    overflow-y: auto;
    position: sticky;
    top: 20px;
}

.fp-inventory h3 {
    color: #0066b3;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 18px;
}




/* ----- Placed Furniture Sizing (proportional) ----- */
.placed-furniture[data-type="rectangle-table"] {
    width: 90px;
    height: 40px;
}

.placed-furniture[data-type="round-table"] {
    width: 73px;
    height: 73px;
}

.placed-furniture[data-type="white-board"] {
    width: 24px;
    /* 2ft wide */
    height: 48px;
    /* 4ft tall (vertical!) */
}

.placed-furniture[data-type="chair"] {
    width: 24px;
    height: 32px;
}

.placed-furniture[data-type="partition"] {
    width: 60px;
    height: 24px;
}

.placed-furniture[data-type="portable-stage"] {
    width: 210px;
    height: 59px;
}

.placed-furniture[data-type="standing-mic"] {
    width: 16px;
    height: 34px;
}

.placed-furniture[data-type="jumbo-bin"] {
    width: 26px;
    height: 24px;
}

/* ----- Overlap Collision Glow (game-style) ----- */
.placed-furniture.fp-overlap {
    outline: 3px solid rgba(255, 0, 0, 0.8);
    outline-offset: 2px;
    border-radius: 4px;
    box-shadow: 0 0 12px 4px rgba(255, 0, 0, 0.5), inset 0 0 8px rgba(255, 0, 0, 0.15);
    animation: fp-overlap-pulse 1s ease-in-out infinite;
    z-index: 50 !important;
}

@keyframes fp-overlap-pulse {
    0%, 100% { box-shadow: 0 0 12px 4px rgba(255, 0, 0, 0.5), inset 0 0 8px rgba(255, 0, 0, 0.15); }
    50% { box-shadow: 0 0 20px 8px rgba(255, 0, 0, 0.7), inset 0 0 12px rgba(255, 0, 0, 0.25); }
}

/* ----- Selected Furniture (group select) ----- */
.placed-furniture.fp-selected {
    outline: 2.5px solid rgba(0, 120, 255, 0.85);
    outline-offset: 3px;
    border-radius: 4px;
    box-shadow: 0 0 10px 3px rgba(0, 120, 255, 0.4);
    z-index: 45 !important;
}

.placed-furniture.fp-grouped:not(.fp-selected) {
    outline: 2px dashed rgba(0, 120, 255, 0.45);
    outline-offset: 3px;
    border-radius: 4px;
}

.placed-furniture.fp-selected.fp-overlap {
    outline: 3px solid rgba(255, 0, 0, 0.8);
}

.fp-selection-marquee {
    position: absolute;
    border: 2px solid rgba(0, 120, 255, 0.8);
    background: rgba(0, 120, 255, 0.12);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 120, 255, 0.18);
    pointer-events: none;
    z-index: 80;
}

#fp-instructions-section { scroll-margin-top: 90px; }

/* Group selection badge */
.fp-group-badge {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #172033;
    padding: 14px;
    border: 1px solid #dce3ec;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 18px rgba(0,102,179,0.35);
    z-index: 9999;
    display: none;
    min-width: 440px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    animation: fp-badge-in 0.25s ease;
}

.fp-group-badge button {
    background: #edf5fc;
    border: 1px solid #cfe0f0;
    color: #005c9f;
    padding: 9px 13px;
    border-radius: 9px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
    white-space: nowrap;
}

.fp-group-badge button:hover {
    background: #dceefa;
}
.fp-selection-popup-heading, .fp-selection-popup-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fp-selection-popup-heading > span { font-size: .9rem; }
.fp-selection-popup-heading > span i { color: #0066b3; margin-right: 5px; }
.fp-group-badge .fp-selection-popup-close { padding: 4px; width: 28px; height: 28px; border: 0; border-radius: 50%; color: #64748b; background: #f1f5f9; }
.fp-selection-popup-actions button { flex: 1; }
.fp-group-badge .fp-selection-delete-btn { color: #b90504; background: #fff0f0; border-color: #f2c6c6; }
.fp-group-badge .fp-selection-delete-btn:hover { background: #ffe0e0; }
@media (max-width: 480px) {
    .fp-group-badge { width: calc(100vw - 24px); min-width: 0; bottom: 12px; box-sizing: border-box; }
    .fp-selection-popup-actions { flex-direction: column; align-items: stretch; }
}

@keyframes fp-badge-in {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ----- Floorplan Controls (Save, Load, Download) ----- */
.fp-controls {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    grid-auto-rows: 78px;
    gap: 12px;
    margin: 20px auto 4px auto;
    width: 100%;
    max-width: min(100%, 1000px);
    padding: 0 12px;
}

.fp-controls > .fp-btn,
.fp-controls > .fp-rotate-layout-wrap {
    width: 100%;
    height: 78px;
    min-height: 78px;
    box-sizing: border-box;
}

/* Rotate Layout dropdown */
.fp-rotate-layout-wrap {
    position: relative;
    width: 100%;
}

.fp-rotate-layout-wrap > .fp-btn {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.fp-rotate-layout-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1.5px solid #cbe1fc;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 102, 179, 0.18), 0 0 0 1px rgba(0,102,179,0.06);
    z-index: 200;
    min-width: 240px;
    padding: 6px 0;
    animation: fp-dropdown-in 0.18s ease;
}

.fp-rotate-layout-dropdown.open {
    display: block;
}

@keyframes fp-dropdown-in {
    from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.fp-rotate-layout-dropdown button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 18px;
    border: none;
    background: transparent;
    font-size: 0.98rem;
    font-weight: 600;
    color: #23314a;
    cursor: pointer;
    transition: background 0.14s, color 0.14s;
    white-space: nowrap;
}

.fp-rotate-layout-dropdown button:hover {
    background: #e6f0fa;
    color: #0066b3;
}

.fp-rotate-layout-dropdown button i {
    font-size: 1.05rem;
    color: #0066b3;
    width: 20px;
    text-align: center;
}

.fp-btn {
    background: #0066b3;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.07rem;
    font-weight: 600;
    padding: 11px 18px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 102, 179, 0.09);
    transition: background 0.18s, color 0.18s;
    cursor: pointer;
    width: 100%;
    min-width: 0;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    text-align: center;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.fp-btn:hover {
    background: #e30613;
    color: #fff;
}

/* ----- Enhanced Modal Styles ----- */
.fp-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1200;
    background: rgba(0, 0, 0, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.fp-modal-content {
    background: #fff;
    border-radius: 14px;
    padding: 32px 28px 26px 28px;
    min-width: 340px;
    max-width: 95vw;
    box-shadow: 0 8px 40px rgba(0, 102, 179, 0.14);
    position: relative;
}

.fp-modal-close {
    position: absolute;
    right: 20px;
    top: 12px;
    font-size: 1.4rem;
    color: #e30613;
    cursor: pointer;
    font-weight: bold;
}

#fp-save-name,
#fp-save-desc {
    width: 100%;
    margin-bottom: 14px;
    border: 1.2px solid #bbb;
    border-radius: 8px;
    font-size: 1rem;
    padding: 9px 8px;
}

#fp-save-desc {
    min-height: 65px;
    max-height: 200px;
    resize: vertical;
}

/* Saved Designs List */
#fp-saved-list {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    max-height: 180px;
    overflow-y: auto;
}

#fp-saved-list li {
    padding: 9px 7px;
    margin-bottom: 6px;
    background: #f8f8fd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1.2px solid #cbe1fc;
    cursor: pointer;
    transition: background 0.13s;
}

#fp-saved-list li.selected,
#fp-saved-list li:hover {
    background: #e6f0fa;
    border-color: #98c7f8;
}

/* ----- Instructions (unchanged) ----- */
.fp-instructions-compact {
    background: #f5f8fb;
    border-radius: 10px;
    margin-top: 28px;
    padding: 13px 17px 10px 17px;
    box-shadow: 0 1.5px 7px rgba(0, 0, 0, 0.06);
    max-width: 710px;
}

.fp-instructions-compact h4 {
    font-size: 1.09rem;
    color: #0066b3;
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.fp-instructions-compact ol {
    margin: 0 0 0 19px;
    padding: 0;
    font-size: 0.98rem;
    color: #333;
}

.fp-instructions-compact li {
    margin-bottom: 4px;
}

/* ----- Responsive for Floorplanner ----- */
@media (max-width: 1020px) {
    .fp-flex-layout {
        flex-direction: column;
        gap: 20px;
    }

    .fp-floor-plan {
        width: 99vw;
        max-width: 99vw;
    }

    .fp-inventory {
        max-width: 100%;
    }
}

@media (max-width: 850px) {
    .fp-controls {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        max-width: min(100%, 460px);
    }
}

@media (max-width: 1000px) {
    .fp-header-flex {
        flex-direction: column;
        gap: 10px;
    }

    .fp-room-specs-card {
        min-width: 0;
    }
}

@media (max-width: 700px) {

    .fp-floorplan-main,
    .fp-inventory {
        min-width: 0;
    }

    .fp-floor-plan {
        width: 98vw;
        max-width: 98vw;
        min-width: 0;
    }

    .fp-controls {
        grid-template-columns: 1fr;
        max-width: min(100%, 260px);
    }

    .fp-section-title {
        font-size: 1.2rem;
    }

    .fp-modal-content {
        min-width: 95vw;
    }
}

/* ======================= END ENHANCED FLOORPLANNER CSS ======================= */

.fp-mini-btn {
    background: #0066b3;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.99em;
    font-weight: 500;
    margin-left: 5px;
    padding: 3px 11px;
    cursor: pointer;
    transition: background 0.17s;
}

.fp-mini-btn:hover {
    background: #e30613;
}

#fp-saved-list li {
    gap: 2px !important;
}







.fp-instructions-modern {
    max-width: 100%;
    margin: 32px 0 32px 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 18px rgba(51, 51, 51, 0.06), 0 0 0 1px #cbe1fc;
    border: 1.5px solid #e6e9f4;
    padding: 22px 28px 20px 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.fp-instructions-modern-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.12rem;
    color: #0066b3;
    font-weight: 700;
    margin-bottom: 16px;
    border-bottom: 1.5px solid #f0f3fa;
    padding-bottom: 8px;
}

.fp-instructions-modern-header i {
    font-size: 1.55rem;
    color: #e30613;
    background: #f4f7fd;
    border-radius: 50%;
    padding: 9px;
    box-shadow: 0 2px 8px rgba(227, 6, 19, 0.06);
}

.fp-instructions-modern-list {
    counter-reset: instruction-step;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fp-instructions-modern-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: #23314a;
    line-height: 1.45;
    background: #f8fafc;
    border-radius: 8px;
    padding: 9px 14px;
    box-shadow: 0 1px 5px rgba(60, 10, 0, 0.06);
    border: 1.2px solid #e6eaf4;
    transition: background 0.13s, border 0.13s;
}

.fp-instructions-modern-list li:last-child {
    margin-bottom: 0;
}

.fp-instructions-modern-list li:hover {
    background: #f1f6fb;
    border-color: #cbe1fc;
}

.fp-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0066b3;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 4px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 102, 179, 0.06);
    border: 2px solid #fff;
}

.fp-step-tip {
    color: #e30613;
    font-weight: 600;
    background: #f8e8ea;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.98em;
    margin-left: 7px;
    margin-right: 3px;
}

/* Responsive */
@media (max-width: 700px) {
    .fp-instructions-modern {
        max-width: 97vw;
        padding: 16px 6px 10px 10px;
    }

    .fp-instructions-modern-header {
        font-size: 1.04rem;
        gap: 10px;
        padding-bottom: 6px;
    }

    .fp-instructions-modern-list li {
        font-size: 0.99rem;
        padding: 9px 6px;
    }

    .fp-step-number {
        width: 23px;
        height: 23px;
        font-size: 0.98rem;
        margin-right: 6px;
    }
}


.video-testimonial-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: flex-start;
}

.testimonial-block,
.video-block {
    flex: 1 1 320px;
    min-width: 320px;
}

@media (max-width: 800px) {
    .video-testimonial-flex {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.contact-block {
    flex: 1 1 360px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin-right: 18px;
}

.contact-block .section-title {
    margin-bottom: 16px;
}

.contact-block .contact-details {
    display: flex;
    gap: 28px;
    font-weight: 600;
    font-size: 1.08rem;
    margin-bottom: 19px;
    flex-wrap: wrap;
}

.contact-block .contact-details span i {
    color: #b90504;
    margin-right: 8px;
}

/* Make the contact info paragraph and details bigger */
.contact-block p,
.contact-block .contact-details span {
    font-size: 1.4rem;
    /* You can increase or decrease this number */
    font-weight: 500;
    /* Optional: makes it a bit bolder */
    line-height: 1.5;
    /* Optional: adds space for readability */
}
































/* 1. Section background: elegant elevation */
.meet-team-section.enhanced-team-bg {
    background:
        linear-gradient(135deg, #fff7f0 0%, #ffe6e6 80%),
        url('https://www.transparenttextures.com/patterns/cubes.png');
    /* subtle texture overlay */
    background-blend-mode: lighten;
    padding: 80px 0;
    box-shadow: 0 12px 38px 0 rgba(185, 5, 4, 0.10), 0 2px 24px rgba(60, 10, 0, 0.06);
    position: relative;
    border-radius: 32px 32px 42px 42px;
    margin-top: 55px;
    z-index: 2;
    overflow: visible;
}

.meet-team-header-flex {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 38px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.meet-team-header-flex .section-title {
    margin-bottom: 0;
}

.team-intro-text {
    font-size: 1.19rem;
    color: #b90504;
    font-weight: 500;
    background: #fff8f7;
    padding: 10px 26px 10px 20px;
    border-radius: 15px 15px 22px 22px;
    box-shadow: 0 2px 12px 0 rgba(185, 5, 4, 0.06);
    border-left: 5px solid #e30613;
    margin-bottom: 7px;
    letter-spacing: 0.01em;
}

.slider-container {
    width: 100%;
    margin-top: 38px;
}

/* 2. FLEX ORDER for images: Alfiq (left), Business (center/active), Siti (right) handled by HTML order */
/* 3. Card Design: deeper shadow, subtle border, elevated 3D */
.slider-images {
    display: flex;
    gap: 28px;
    justify-content: center;
    perspective: 1200px;
    position: relative;
    z-index: 2;
}

.slider-img {
    position: relative;
    width: 250px;
    height: 400px;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(115deg, #fff 76%, #ffe6e6 100%);
    border: none !important;
    /* No border for all cards */
    box-shadow:
        0 10px 36px rgba(185, 5, 4, 0.14),
        0 2px 12px rgba(60, 10, 0, 0.07),
        0 0px 0px 4px #fff8f7;
    transform: rotateY(13deg) scale(0.92);
    transition: transform 0.65s cubic-bezier(.7, .15, .28, .94), box-shadow 0.65s;
}

.slider-img.active {
    width: 650px;
    transform: rotateY(0deg) scale(1.04);
    box-shadow:
        0 30px 68px 0 rgba(185, 5, 4, 0.18),
        0 0px 0px 12px #ffe6e6,
        0 0 32px 7px #ffb3b3;
    z-index: 4;
    border: none !important;
    /* REMOVE ANY RED OUTLINE */
}


.slider-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1) contrast(1.03) saturate(1.11);
    transition: filter 0.28s;
}

.slider-img.active img {
    filter: brightness(1.06) contrast(1.09) saturate(1.13);
}

.slider-img .details {
    position: absolute;
    bottom: 23px;
    left: 0;
    right: 0;
    color: #fff;
    /* Fallback for non-active cards: full width, still background */
    background: rgba(0, 0, 0, 0.63);
    padding: 13px 15px 11px 18px;
    border-radius: 13px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s, transform 0.65s;
    box-shadow: 0 4px 22px 0 rgba(185, 5, 4, 0.10);
    border: none;
}

.slider-img.active .details {
    display: inline-block;
    position: absolute;
    left: 25px;
    bottom: 28px;
    right: auto;
    top: auto;
    background: rgba(0, 0, 0, 0.69);
    border-radius: 16px 20px 20px 18px;
    box-shadow: 0 4px 22px 0 rgba(185, 5, 4, 0.14);
    border: none;
    min-width: 0;
    max-width: 95%;
    padding: 13px 24px 13px 20px;
    opacity: 1;
    transform: none;
    text-align: left;
    white-space: normal;
}

.slider-img.active .details h2,
.slider-img.active .details p {
    white-space: nowrap;
    /* Remove this if you want text wrap */
    text-align: left;
}

.slider-img .details h2 {
    font-size: 22px;
    margin-bottom: 7px;
    color: #fff;
    font-weight: 700;
}

.slider-img .details p {
    font-size: 16px;
    opacity: 0.95;
    color: #fff;
    margin-bottom: 0;
}

/* 4. Horizontal names on non-active cards: now on bottom, styled bold and highly visible */
.slider-img-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, #e30613 80%, #b90504 100%);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.23rem;
    padding: 15px 10px 13px 28px;
    text-align: left;
    letter-spacing: 0.02em;
    border-top-right-radius: 20px;
    box-shadow: 0 -1px 8px 0 rgba(185, 5, 4, 0.08);
    opacity: 1;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.55s;
    text-shadow: 0 2px 12px rgba(60, 10, 0, 0.13);
}

.slider-img.active .slider-img-name {
    opacity: 0;
    pointer-events: none;
}

/* Remove vertical (rotated) names from old CSS (do not use .slider-img h1) */
.slider-img h1 {
    display: none !important;
}

/* 5. Border and shadow: more subtle for non-active, bold for active */
.slider-img {
    border: 2.7px solid #f3d1ce;
    /* as above, shadow already added */
}

.slider-img.active {
    border: 2.7px solid #e30613;
    /* as above, shadow already added */
}

/* 6. Responsive: Keep sizing as before, but ensure new elements stack well */
@media (max-width: 1100px) {
    .slider-images {
        flex-direction: column;
        align-items: center;
    }

    .slider-img,
    .slider-img.active {
        width: 98vw;
        max-width: 420px;
        height: 310px;
        min-width: 210px;
    }

    .slider-img .slider-img-name {
        font-size: 1.06rem;
        padding-left: 15px;
    }

    .slider-img .details h2 {
        font-size: 18px;
    }

    .slider-img .details {
        padding: 11px 7px 8px 12px;
    }

    .meet-team-header-flex {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 700px) {

    .slider-img,
    .slider-img.active {
        width: 98vw;
        max-width: 95vw;
        min-width: 120px;
        height: 220px;
    }

    .slider-img .slider-img-name {
        font-size: 1.01rem;
        padding-left: 7px;
    }

    .slider-img .details {
        left: 6px;
        right: 6px;
    }
}

/* Responsive tweaks for adaptive width */
@media (max-width: 1100px) {

    .slider-img,
    .slider-img.active {
        width: 98vw;
        max-width: 420px;
        height: 310px;
        min-width: 210px;
    }

    .slider-img .details,
    .slider-img.active .details {
        font-size: 15px;
        min-width: 120px;
    }
}

@media (max-width: 700px) {

    .slider-img,
    .slider-img.active {
        width: 98vw;
        max-width: 95vw;
        min-width: 120px;
        height: 220px;
    }

    .slider-img .details,
    .slider-img.active .details {
        left: 50%;
        transform: translate(-50%, 0);
    }
}











body {
    background: #f6f6f6;
}

/* --------- DYNAMIC FLOORPLANNER --------- */
/* ----- Floorplan Area ----- */
.fp-floorplan-main {
    flex: 1;
    min-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
}

.fp-floorplan-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(51, 51, 51, 0.09);
    padding: 20px 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    width: auto;
    max-width: 100%;
    overflow: auto;
}

.fp-floor-plan {
    position: relative;
    width: 600px;
    height: 495px;
    margin: 0 auto;
    background-color: #f4f8ff;
    border: 2.5px solid #0066b3;
    border-radius: 8px;
    background-image: linear-gradient(#e3e3e3 1px, transparent 1px),
        linear-gradient(90deg, #e3e3e3 1px, transparent 1px);
    background-size: 36px 36px;
    overflow: hidden;
}

/* Entrance (top left, 80x80px) */
.fp-fixed-entrance {
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 80px;
    background: #f7dfdf;
    border: 2.5px solid #e30613;
    border-bottom-right-radius: 14px;
    z-index: 10;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0 0 6px 8px;
}

.fp-fixed-label {
    font-size: 0.9rem;
    color: #e30613;
    font-weight: 700;
    background: #fff3f3;
    padding: 2px 7px;
    border-radius: 7px;
}

/* Main Presentation Screen (bottom center) */
.fp-fixed-screen {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 240px;
    height: 35px;
    background: #333;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 10;
}

.fp-fixed-screen .fp-fixed-label {
    color: #fff;
    background: #222;
    font-size: 0.92rem;
    margin-bottom: 7px;
    padding: 3px 13px;
    border-radius: 7px;
    font-weight: 600;
}


/* --- Level 7 Foyer SVG --- */
.fp-foyer-svg-container {
    width: 1200px;
    height: 800px;
    position: relative;
    border: none !important;
    overflow: hidden;
    margin: 0 auto 14px auto;
}

.fp-foyer-svg-container svg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    pointer-events: none;
    border: none !important;
}

/* Make placed furniture absolute in both plans */
.placed-furniture {
    position: absolute;
    z-index: 10;
    user-select: none;
    touch-action: none;
    cursor: grab;
}

/* Inventory panel etc: use your existing .fp-inventory styles */

/* Foyer short description */
.fp-foyer-desc {
    font-size: 1rem;
    background: #f8faff;
    border-left: 4px solid #1976d2;
    padding: 0.85em 1em;
    color: #222;
    border-radius: 8px;
    max-width: 470px;
    margin-left: 1em;
    line-height: 1.45;
    box-shadow: 0 2px 10px #b5d9fd22;
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (max-width: 1020px) {
    .fp-foyer-svg-container {
        width: 100vw;
        height: 52vw;
        min-width: 360px;
        min-height: 320px;
    }
}



.foyer-stairs-text {
    fill: #1a1a1a;
    font-family: 'Segoe UI', sans-serif;
    font-size: 22px;
    text-anchor: middle;
    font-weight: 600;
    opacity: 0.95;
}

.foyer-lift-rect {
    fill: url(#liftGrad);
    stroke: #c62828;
    stroke-width: 2.5;
}

.foyer-lift-text {
    fill: #000000;
    font-family: 'Segoe UI', sans-serif;
    font-size: 22px;
    text-anchor: middle;
    font-weight: normal;
}


.main-site-btn {
    background: #e30613;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 13px 28px;
    border-radius: 9px;
    font-size: 1.12rem;
    text-decoration: none;
    margin-top: 16px;
    box-shadow: 0 2px 10px rgba(185, 5, 4, 0.13);
    border: 2px solid #e30613;
    display: inline-block;
    transition: background 0.18s, color 0.18s;
}

.main-site-btn:hover {
    background: #fff;
    color: #e30613;
    border-color: #e30613;
}

.main-site-btn i {
    margin-right: 10px;
}















.fp-floorplan-note.highlight-note {
    background: linear-gradient(90deg, #fffbe9 85%, #ffe6e6 100%);
    font-size: 1.42rem;
    font-weight: 800;
    color: #b90504;
    border-left: 7px solid #e30613;
    border-radius: 9px;
    padding: 13px 0 13px 18px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    box-shadow: 0 2px 9px #ffe6e655;
    display: flex;
    align-items: center;
    gap: 13px;
    justify-content: flex-start;
}

.fp-floorplan-note.highlight-note i {
    font-size: 1.4em;
    margin-right: 9px;
    color: #e30613;
}


/* =====================================================
   AI CHATBOT WIDGET
   ===================================================== */

/* --- Floating Action Button (FAB) --- */
#chatbot-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 9000;
    background: linear-gradient(135deg, #b90504 0%, #7a0000 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 22px 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(185,5,4,0.38), 0 2px 8px rgba(0,0,0,0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: visible;
    letter-spacing: 0.03em;
}

#chatbot-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 14px 40px rgba(185,5,4,0.46), 0 3px 12px rgba(0,0,0,0.16);
}

#chatbot-fab:active {
    transform: translateY(0) scale(0.98);
}

.chatbot-fab-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.chatbot-fab-label {
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Pulse ring */
.chatbot-fab-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50px;
    top: 0; left: 0;
    background: rgba(185,5,4,0.3);
    animation: chatbot-pulse 2.2s cubic-bezier(0.4,0,0.6,1) infinite;
    pointer-events: none;
}

@keyframes chatbot-pulse {
    0%   { transform: scale(1);   opacity: 0.7; }
    60%  { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

#chatbot-fab.chatbot-open .chatbot-fab-pulse {
    animation: none;
    opacity: 0;
}

/* --- Chat Panel (Docked Right Sidebar) --- */
.chatbot-panel {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 8999;
    width: var(--chatbot-width, 380px);
    height: 100vh;
    background: rgba(255,255,255,0.98);
    border-radius: 0;
    box-shadow:
        -4px 0 30px rgba(0,0,0,0.12),
        -1px 0 0 rgba(185,5,4,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(100%);
    opacity: 1;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), width 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    /* Container queries for fluid typography */
    container-type: inline-size;
    container-name: chatbot;
    font-size: clamp(14px, 4cqw, 20px);
}

.chatbot-panel.chatbot-panel-open {
    transform: translateX(0);
    pointer-events: all;
}

/* Push body content when chatbot is open */
body.chatbot-sidebar-open {
    margin-right: var(--chatbot-width, 380px);
    transition: margin-right 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
    transition: margin-right 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.chatbot-resizing, body.chatbot-resizing .chatbot-panel {
    transition: none !important;
    user-select: none;
}

/* --- Resizer --- */
.chatbot-resizer {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    cursor: ew-resize;
    z-index: 9000;
    background: transparent;
    transition: background 0.2s;
}

.chatbot-resizer:hover, .chatbot-resizer.resizing {
    background: rgba(185, 5, 4, 0.3);
}

/* --- Header --- */
.chatbot-header {
    background: linear-gradient(120deg, #990100 0%, #b90504 55%, #cc1b1b 100%);
    padding: 0 18px;
    height: 96px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
    flex-shrink: 0;
}

.chatbot-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 2px solid rgba(255,255,255,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3em;
    color: #fff;
    flex-shrink: 0;
}

.chatbot-header-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05em;
    letter-spacing: 0.02em;
}

.chatbot-header-subtitle {
    color: rgba(255,255,255,0.82);
    font-size: 0.82em;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.chatbot-online-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    display: inline-block;
    box-shadow: 0 0 6px rgba(74,222,128,0.7);
    animation: chatbot-blink 2s infinite;
}

@keyframes chatbot-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.45; }
}

.chatbot-close-btn {
    background: rgba(255,255,255,0.16);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s;
    flex-shrink: 0;
}

.chatbot-close-btn:hover {
    background: rgba(255,255,255,0.3);
}

/* --- Messages Area --- */
.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px 14px 8px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 4px;
}
.chatbot-messages::-webkit-scrollbar-track {
    background: transparent;
}
.chatbot-messages::-webkit-scrollbar-thumb {
    background: #e8c0c0;
    border-radius: 4px;
}

/* Message Bubbles */
.chatbot-msg {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    animation: chatbot-msg-in 0.3s cubic-bezier(0.34,1.36,0.64,1) both;
}

@keyframes chatbot-msg-in {
    from { opacity: 0; transform: translateY(12px) scale(0.95); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-msg.user {
    flex-direction: row-reverse;
}

.chatbot-msg-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b90504, #990100);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.chatbot-bubble {
    max-width: 80%;
    padding: 11px 15px;
    border-radius: 18px;
    font-size: 0.93em;
    line-height: 1.52;
    color: #1a1a1a;
}

.chatbot-msg.bot .chatbot-bubble {
    background: #f5f5f7;
    border-radius: 4px 18px 18px 18px;
    border: 1px solid #efefef;
    color: #222;
}

.chatbot-msg.user .chatbot-bubble {
    background: linear-gradient(135deg, #b90504 0%, #990100 100%);
    color: #fff;
    border-radius: 18px 4px 18px 18px;
    box-shadow: 0 2px 10px rgba(185,5,4,0.22);
}

/* --- Ranked Venue Recommendations --- */
.chatbot-rec-list {
    margin-top: 12px;
    border-top: 1.5px solid #f0e5e5;
    padding-top: 10px;
}

.chatbot-rec-list-header {
    font-weight: 800;
    font-size: 0.88em;
    color: #990100;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-rec-list-header i {
    color: #d4a017;
    font-size: 0.9em;
}

.chatbot-rec-item {
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1.5px solid #f0e0e0;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 8px;
    transition: box-shadow 0.18s, border-color 0.18s;
}

.chatbot-rec-item:hover {
    box-shadow: 0 4px 16px rgba(185, 5, 4, 0.1);
}

.chatbot-rec-item.best {
    border-color: #b90504;
    box-shadow: 0 2px 14px rgba(185, 5, 4, 0.12);
    background: linear-gradient(135deg, #fff 0%, #fff8f8 100%);
}

.chatbot-rec-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f0e0e0;
    color: #990100;
    font-weight: 800;
    font-size: 0.82em;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.chatbot-rec-rank.top {
    background: linear-gradient(135deg, #b90504 0%, #ff4444 100%);
    color: #fff;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(185, 5, 4, 0.3);
}

.chatbot-rec-content {
    flex: 1;
    min-width: 0;
}

.chatbot-rec-header {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.chatbot-rec-name {
    font-weight: 700;
    font-size: 0.9em;
    color: #1a1a1a;
}

.chatbot-rec-best-tag {
    background: linear-gradient(90deg, #b90504, #ff4444);
    color: #fff;
    border-radius: 20px;
    padding: 1px 8px;
    font-size: 0.62em;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.chatbot-rec-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.72em;
    color: #888;
}

.chatbot-rec-meta span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.chatbot-rec-meta i {
    font-size: 0.65em;
    color: #aaa;
}

.chatbot-rec-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 6px;
    background: #eee;
}

.chatbot-rec-desc {
    font-size: 0.78em;
    color: #666;
    line-height: 1.4;
    margin-bottom: 6px;
}

.chatbot-rec-reason {
    font-size: 0.78em;
    color: #333;
    line-height: 1.4;
    background: #f8f9fa;
    border-left: 3px solid #b90504;
    padding: 6px 10px;
    border-radius: 0 6px 6px 0;
    margin-bottom: 6px;
}

.chatbot-rec-setup {
    font-size: 0.75em;
    color: #2e7d32;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.chatbot-rec-setup i {
    font-size: 0.68em;
}

.chatbot-venue-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(120deg, #b90504, #990100);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 7px 15px;
    font-size: 0.78em;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.18s, transform 0.15s;
    font-family: var(--font-main);
    margin-top: 2px;
}

.chatbot-venue-card-cta:hover {
    opacity: 0.88;
    transform: scale(1.03);
    color: #fff;
}

/* --- Typing Indicator --- */
.chatbot-typing {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-typing-dots {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f0f0f2;
    padding: 10px 16px;
    border-radius: 4px 18px 18px 18px;
    border: 1px solid #efefef;
}

.chatbot-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b90504;
    opacity: 0.55;
    animation: chatbot-dot-bounce 1.2s infinite both;
}

.chatbot-typing-dots span:nth-child(2) { animation-delay: 0.18s; }
.chatbot-typing-dots span:nth-child(3) { animation-delay: 0.36s; }

@keyframes chatbot-dot-bounce {
    0%, 80%, 100% { transform: translateY(0);    opacity: 0.5; }
    40%            { transform: translateY(-6px); opacity: 1; }
}

/* --- Quick Reply Chips --- */
.chatbot-chips {
    padding: 6px 12px 4px 12px;
    display: flex;
    gap: 7px;
    overflow-x: auto;
    flex-shrink: 0;
    scrollbar-width: none;
    border-top: 1px solid #f2e8e8;
}

.chatbot-chips::-webkit-scrollbar { display: none; }

.chatbot-chip {
    background: #fff;
    border: 1.5px solid #e8b0b0;
    color: #990100;
    border-radius: 20px;
    padding: 6px 13px;
    font-size: 0.8em;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--font-main);
    transition: background 0.16s, border-color 0.16s, transform 0.12s;
    flex-shrink: 0;
}

.chatbot-chip:hover {
    background: #ffe6e6;
    border-color: #b90504;
    transform: scale(1.04);
}

/* --- Input Row --- */
.chatbot-input-row {
    display: flex;
    gap: 8px;
    padding: 10px 12px 14px 12px;
    background: #fff;
    border-top: 1.5px solid #f0e5e5;
    flex-shrink: 0;
}

.chatbot-input {
    flex: 1;
    border: 1.5px solid #e0c8c8;
    border-radius: 24px;
    padding: 10px 18px;
    font-family: var(--font-main);
    font-size: 0.92em;
    outline: none;
    color: #222;
    background: #fafafa;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.chatbot-input:focus {
    border-color: #b90504;
    box-shadow: 0 0 0 3px rgba(185,5,4,0.09);
    background: #fff;
}

.chatbot-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #b90504, #990100);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    transition: transform 0.15s, box-shadow 0.15s;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(185,5,4,0.28);
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 16px rgba(185,5,4,0.38);
}

.chatbot-send-btn:active {
    transform: scale(0.95);
}

/* --- Timestamp --- */
.chatbot-timestamp {
    font-size: 0.72em;
    color: #bbb;
    text-align: center;
    margin: 2px 0;
    user-select: none;
}

/* --- Best Match Badge --- */
.chatbot-best-match {
    background: linear-gradient(90deg, #b90504, #ff4444);
    color: #fff;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72em;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-left: 4px;
}

/* --- Responsive Mobile --- */
@media (max-width: 600px) {
    .chatbot-panel {
        width: 100vw;
    }

    body.chatbot-sidebar-open {
        margin-right: 0;
        overflow: hidden;
    }

    #chatbot-fab {
        right: 18px;
        bottom: 22px;
    }
}

/* --- Setup Badge --- */
.chatbot-badge.setup {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.chatbot-badge.setup i,
.chatbot-badge i {
    margin-right: 3px;
    font-size: 0.68em;
}

/* --- Amenity Pills Row --- */
.chatbot-amenity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.chatbot-amenity-pill {
    background: #f5f5f7;
    color: #666;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.68em;
    font-weight: 500;
    border: 1px solid #e8e8ea;
    white-space: nowrap;
}

/* --- Best Match Card Glow --- */
.chatbot-venue-card.best {
    border-color: #b90504;
    box-shadow: 0 4px 20px rgba(185, 5, 4, 0.15), 0 0 0 1px rgba(185, 5, 4, 0.1);
}

/* --- Image Wrapper & Ribbon --- */
.chatbot-venue-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.chatbot-venue-card-ribbon {
    position: absolute;
    top: 8px;
    right: -2px;
    background: linear-gradient(135deg, #b90504 0%, #ff4444 100%);
    color: #fff;
    padding: 3px 12px 3px 10px;
    font-size: 0.62em;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(185, 5, 4, 0.35);
}

/* --- Pro Tip Callout --- */
.chatbot-pro-tip {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    background: linear-gradient(135deg, #fffde7 0%, #fff8e1 100%);
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 8px 0 4px 0;
    font-size: 0.84em;
    line-height: 1.45;
    color: #5d4037;
}

.chatbot-pro-tip-icon {
    font-size: 1em;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Welcome Hint --- */
.chatbot-hint {
    display: block;
    background: #f0f4ff;
    border: 1px solid #d0daf0;
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 4px;
    font-size: 0.84em;
    color: #3a4a6a;
    line-height: 1.5;
}

/* --- Styled Lists in Bot Messages --- */
.chatbot-list {
    margin: 6px 0;
    padding-left: 18px;
    list-style: none;
}

.chatbot-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 3px;
    font-size: 0.88em;
    line-height: 1.45;
}

.chatbot-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #b90504;
    font-weight: 700;
    font-size: 0.9em;
}

/* ----- Fullscreen Floorplan Mode ----- */
.fp-floorplanner-section.fp-is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: #f8f9fc;
    margin: 0;
    padding: 20px;
    overflow-y: auto;
}

.fp-floorplanner-section.fp-is-fullscreen .fp-flex-layout {
    height: calc(100vh - 200px);
}

.fp-floorplanner-section.fp-is-fullscreen .fp-inventory {
    max-height: calc(100vh - 200px);
}

.fp-floorplanner-section.fp-is-fullscreen .fp-floorplan-main {
    justify-content: center;
    font-size: 1em;
    transition: transform 0.15s, box-shadow 0.15s;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(185,5,4,0.28);
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 5px 16px rgba(185,5,4,0.38);
}

.chatbot-send-btn:active {
    transform: scale(0.95);
}

/* --- Timestamp --- */
.chatbot-timestamp {
    font-size: 0.72em;
    color: #bbb;
    text-align: center;
    margin: 2px 0;
    user-select: none;
}

/* --- Best Match Badge --- */
.chatbot-best-match {
    background: linear-gradient(90deg, #b90504, #ff4444);
    color: #fff;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.72em;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-left: 4px;
}

/* --- Responsive Mobile --- */
@media (max-width: 600px) {
    .chatbot-panel {
        width: 100vw;
    }

    body.chatbot-sidebar-open {
        margin-right: 0;
        overflow: hidden;
    }

    #chatbot-fab {
        right: 18px;
        bottom: 22px;
    }
}

/* --- Setup Badge --- */
.chatbot-badge.setup {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.chatbot-badge.setup i,
.chatbot-badge i {
    margin-right: 3px;
    font-size: 0.68em;
}

/* --- Amenity Pills Row --- */
.chatbot-amenity-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.chatbot-amenity-pill {
    background: #f5f5f7;
    color: #666;
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.68em;
    font-weight: 500;
    border: 1px solid #e8e8ea;
    white-space: nowrap;
}

/* --- Best Match Card Glow --- */
.chatbot-venue-card.best {
    border-color: #b90504;
    box-shadow: 0 4px 20px rgba(185, 5, 4, 0.15), 0 0 0 1px rgba(185, 5, 4, 0.1);
}

/* --- Image Wrapper & Ribbon --- */
.chatbot-venue-card-img-wrap {
    position: relative;
    overflow: hidden;
}

.chatbot-venue-card-ribbon {
    position: absolute;
    top: 8px;
    right: -2px;
    background: linear-gradient(135deg, #b90504 0%, #ff4444 100%);
    color: #fff;
    padding: 3px 12px 3px 10px;
    font-size: 0.62em;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px 0 0 4px;
    box-shadow: 0 2px 8px rgba(185, 5, 4, 0.35);
}

/* --- Pro Tip Callout --- */
.chatbot-pro-tip {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    background: linear-gradient(135deg, #fffde7 0%, #fff8e1 100%);
    border: 1px solid #ffe082;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 8px 0 4px 0;
    font-size: 0.84em;
    line-height: 1.45;
    color: #5d4037;
}

.chatbot-pro-tip-icon {
    font-size: 1em;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Welcome Hint --- */
.chatbot-hint {
    display: block;
    background: #f0f4ff;
    border: 1px solid #d0daf0;
    border-radius: 10px;
    padding: 8px 12px;
    margin-top: 4px;
    font-size: 0.84em;
    color: #3a4a6a;
    line-height: 1.5;
}

/* --- Styled Lists in Bot Messages --- */
.chatbot-list {
    margin: 6px 0;
    padding-left: 18px;
    list-style: none;
}

.chatbot-list li {
    position: relative;
    padding-left: 12px;
    margin-bottom: 3px;
    font-size: 0.88em;
    line-height: 1.45;
}

.chatbot-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #b90504;
    font-weight: 700;
    font-size: 0.9em;
}

/* ----- Fullscreen Floorplan Mode ----- */
.fp-floorplanner-section.fp-is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: #f8f9fc;
    margin: 0;
    padding: 20px;
    overflow-y: auto;
}

.fp-floorplanner-section.fp-is-fullscreen .fp-flex-layout {
    height: calc(100vh - 200px);
}

.fp-floorplanner-section.fp-is-fullscreen .fp-inventory {
    max-height: calc(100vh - 200px);
}

.fp-floorplanner-section.fp-is-fullscreen .fp-floorplan-main {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.fp-floorplanner-section.fp-is-fullscreen .fp-floorplan-container {
    flex: 1;
}

/* ----- AI Generator UI ----- */
.fp-btn-ai {
    background: linear-gradient(135deg, #0066b3, #8a2be2) !important;
    color: white !important;
    border: none !important;
}

.fp-btn-ai:hover {
    background: linear-gradient(135deg, #005090, #7320c0) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.3);
}

.fp-ai-modal-content {
    max-width: 600px;
    width: 90%;
}

.fp-ai-modal-content p {
    margin-bottom: 15px;
    color: #555;
    font-size: 0.95em;
}

#fp-ai-prompt {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 15px;
    font-family: inherit;
    resize: vertical;
}

.fp-ai-results-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
}

.fp-ai-option-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    background: #fdfdfd;
    transition: transform 0.2s, box-shadow 0.2s;
}

.fp-ai-option-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.fp-ai-option-card h4 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #b90504;
    font-size: 1.1em;
}

.fp-ai-option-card p {
    margin-bottom: 12px;
    font-size: 0.9em;
}

.fp-ai-items-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.fp-ai-item-badge {
    background: #eef5fb;
    color: #0066b3;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
}

.fp-ai-warning {
    background: #fff7e6;
    border-left: 4px solid #f59e0b;
    color: #7a4d00;
    padding: 9px 11px;
    border-radius: 6px;
    line-height: 1.4;
}

.fp-ai-option-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.fp-ai-fill-btn {
    background: #0f8a44;
}

.fp-ai-fill-btn:hover {
    background: #0b6e36;
}

@media (max-width: 620px) {
    .fp-ai-option-actions {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   DUPLICATE SETUP — STAMP MODE STYLES
   ===================================================== */

/* Duplicate button — teal/green accent distinct from the AI blue */
.fp-btn-dup {
    background: linear-gradient(135deg, #0a7a5f 0%, #0e9b76 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 10px rgba(10, 122, 95, 0.25);
    transition: background 0.18s, box-shadow 0.18s, transform 0.1s;
}

.fp-btn-dup:hover {
    background: linear-gradient(135deg, #0e9b76 0%, #0a7a5f 100%);
    box-shadow: 0 4px 18px rgba(10, 122, 95, 0.38);
    transform: translateY(-1px);
}

.fp-btn-saved-stamps { color: #5a3ec8; background: #f1edff; border: 1px solid #cfc4f6; font-weight: 700; }
.fp-btn-saved-stamps:hover { background: #e5ddff; }
.fp-dup-tabs { display: flex; gap: 8px; margin: 16px 0 18px; padding: 5px; background: #f1f4f8; border-radius: 11px; }
.fp-dup-tab { flex: 1; border: 0; border-radius: 8px; padding: 10px 12px; color: #64748b; background: transparent; font-weight: 700; cursor: pointer; }
.fp-dup-tab-active { color: #5a3ec8; background: #fff; box-shadow: 0 2px 8px rgba(30,41,59,.1); }
.fp-dup-tab-count { display: inline-grid; min-width: 20px; height: 20px; margin-left: 5px; place-items: center; border-radius: 10px; color: #fff; background: #7056d8; font-size: .72rem; }
.fp-dup-saved-list { display: grid; gap: 10px; }
.fp-saved-stamp-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #dce3ec; border-radius: 11px; background: #fff; }
.fp-saved-stamp-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #5a3ec8; background: #f1edff; }
.fp-saved-stamp-info { flex: 1; min-width: 0; }
.fp-saved-stamp-info strong, .fp-saved-stamp-info small { display: block; }
.fp-saved-stamp-info small { margin-top: 3px; color: #64748b; }
.fp-saved-stamp-actions { display: flex; gap: 6px; }
.fp-saved-stamp-actions button { border: 0; border-radius: 8px; padding: 7px 10px; font-weight: 700; cursor: pointer; }
.fp-saved-stamp-use { color: #fff; background: #0a7a5f; }
.fp-saved-stamp-rename { color: #5a3ec8; background: #f1edff; }
.fp-saved-stamp-delete { color: #b90504; background: #fff0f0; }

/* Stamp Mode button — pulsing green */
.fp-btn-dup-stamp {
    background: linear-gradient(135deg, #0a7a5f 0%, #0e9b76 100%);
    color: #fff;
    font-weight: 700;
    border: none;
    box-shadow: 0 2px 10px rgba(10, 122, 95, 0.3);
    transition: all 0.18s;
}

.fp-btn-dup-stamp:hover {
    background: linear-gradient(135deg, #0b9070 0%, #0d7a60 100%);
    box-shadow: 0 4px 20px rgba(10, 122, 95, 0.45);
    transform: translateY(-1px);
}

/* Stamp mode active button — pulsing animation */
.fp-btn-dup-stamp.fp-stamp-active {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
    animation: stampPulse 1.5s ease-in-out infinite;
}

@keyframes stampPulse {
    0% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.45); }
    70% { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* Dup modal sizing */
.fp-dup-modal-content {
    min-width: 380px;
    max-width: 520px;
    width: 95vw;
}

.fp-dup-modal-content h3 {
    font-size: 1.22rem;
    color: #0a7a5f;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.fp-dup-desc {
    font-size: 0.97rem;
    color: #555;
    margin-bottom: 18px;
    line-height: 1.55;
}

.fp-dup-label {
    display: block;
    font-size: 0.93rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
}

#fp-dup-prompt {
    width: 100%;
    border: 1.5px solid #b2d6cc;
    border-radius: 8px;
    padding: 9px 10px;
    font-size: 0.97rem;
    font-family: inherit;
    resize: vertical;
    margin-bottom: 12px;
    transition: border-color 0.18s;
}

#fp-dup-prompt:focus {
    outline: none;
    border-color: #0a7a5f;
    box-shadow: 0 0 0 3px rgba(10, 122, 95, 0.12);
}

/* Preview box */
.fp-dup-preview-box {
    background: #f0faf6;
    border: 1.5px solid #b2e4cf;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 14px;
}

.fp-dup-preview-label {
    font-size: 0.93rem;
    font-weight: 700;
    color: #0a7a5f;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.fp-dup-stamp-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.fp-dup-hint-text {
    font-size: 0.88rem;
    color: #666;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1.5;
}

.fp-dup-hint-text kbd {
    background: #e8e8e8;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 1px 6px;
    font-size: 0.85em;
    font-family: monospace;
}

/* ---- Floor in Stamp Mode ---- */
.fp-stamp-mode-active {
    cursor: crosshair !important;
    outline: 3px dashed #0a7a5f;
    outline-offset: -3px;
    box-shadow: inset 0 0 0 3px rgba(10, 122, 95, 0.08);
}

/* Stamp Mode hint banner below controls */
.fp-stamp-hint-banner {
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, #e9faf4 0%, #d3f5e7 100%);
    border: 1.5px solid #8dd8b8;
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a7a5f;
    margin-top: 12px;
    animation: bannerSlideIn 0.22s ease-out;
    flex-wrap: wrap;
    gap: 8px;
}

@keyframes bannerSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.fp-stamp-hint-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.fp-stamp-hint-msg {
    flex: 1;
    min-width: 0;
}

.fp-stamp-exit-btn {
    background: #c0392b;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 5px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s;
    flex-shrink: 0;
}

.fp-stamp-exit-btn:hover {
    background: #a93226;
}

/* Ghost preview element that follows cursor */
.fp-dup-ghost {
    position: absolute;
    pointer-events: none;
    z-index: 500;
    opacity: 0.45;
}

.fp-dup-ghost .placed-furniture {
    pointer-events: none !important;
    border: 2px dashed #0a7a5f !important;
    border-radius: 4px;
    background: rgba(10, 122, 95, 0.12) !important;
    box-shadow: none !important;
}

/* Stamp Selected button inside the group badge */
#fp-stamp-selection-btn {
    background: linear-gradient(135deg, #0a7a5f 0%, #0e9b76 100%);
    color: #fff;
    border: none;
    font-weight: 700;
    padding: 5px 13px;
    border-radius: 7px;
    cursor: pointer;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.16s, box-shadow 0.16s;
    box-shadow: 0 2px 8px rgba(10, 122, 95, 0.28);
}

#fp-stamp-selection-btn:hover {
    background: linear-gradient(135deg, #0e9b76 0%, #0a7a5f 100%);
    box-shadow: 0 4px 14px rgba(10, 122, 95, 0.42);
}

/* ---- AI Stamp Edit Bar (persistent floating bar after AI places unit) ---- */
.fp-edit-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 22px;
    background: linear-gradient(135deg, #0d1b2a 0%, #1b2838 50%, #0d1b2a 100%);
    border-top: 3px solid #0a7a5f;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.35);
    animation: editBarSlideUp 0.3s ease-out;
    flex-wrap: wrap;
}

@keyframes editBarSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.fp-edit-bar-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    animation: editBarIconPulse 2s ease-in-out infinite;
}

@keyframes editBarIconPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50%      { transform: scale(1.15); opacity: 1; }
}

.fp-edit-bar-msg {
    color: #e0e8ef;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
    min-width: 0;
    max-width: 500px;
}

.fp-edit-bar-msg strong {
    color: #4fd1a5;
}

.fp-edit-bar-done-btn {
    background: linear-gradient(135deg, #0a7a5f 0%, #0fbe8a 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 0.97rem;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(10, 122, 95, 0.45);
    transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
    animation: editBarBtnGlow 2s ease-in-out infinite;
    white-space: nowrap;
}

.fp-edit-bar-done-btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(10, 122, 95, 0.6);
    background: linear-gradient(135deg, #0fbe8a 0%, #0a7a5f 100%);
}

.fp-edit-bar-action-btn {
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 9px;
    padding: 8px 12px;
    color: #fff;
    background: rgba(255,255,255,.12);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.fp-edit-bar-action-btn:hover { background: rgba(255,255,255,.22); }
.fp-edit-bar-delete-btn { color: #ffd5d5; border-color: rgba(255,130,130,.45); }

@keyframes editBarBtnGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(10, 122, 95, 0.45); }
    50%      { box-shadow: 0 4px 24px rgba(15, 190, 138, 0.65), 0 0 8px rgba(15, 190, 138, 0.3); }
}

.fp-edit-bar-dismiss-btn {
    background: transparent;
    color: #8899aa;
    border: 1px solid #3a4a5a;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.fp-edit-bar-dismiss-btn:hover {
    color: #e0e8ef;
    border-color: #6a7a8a;
}

/* Highlight the placed items with a subtle pulsing outline during edit mode */
.fp-edit-highlight {
    outline: 2.5px dashed #0fbe8a !important;
    outline-offset: 2px;
    animation: editHighlightPulse 2s ease-in-out infinite;
}

@keyframes editHighlightPulse {
    0%, 100% { outline-color: #0fbe8a; }
    50%      { outline-color: #4fd1a5; }
}


/* =====================================================
   COMMON TEMPLATES — Button & Modal
   ===================================================== */

/* Highlighted "Common Templates" preset button */
.fp-preset-btn-templates {
    background: linear-gradient(135deg, #b90504 0%, #e53935 100%) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 700 !important;
    box-shadow: 0 3px 14px rgba(185,5,4,0.32) !important;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}
.fp-preset-btn-templates::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0.18) 0%, transparent 60%);
    pointer-events: none;
}
.fp-preset-btn-templates:hover {
    background: linear-gradient(135deg, #e53935 0%, #b90504 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185,5,4,0.45) !important;
}

/* Modal outer wrapper */
.fp-templates-modal-outer {
    position: fixed;
    inset: 0;
    background: rgba(20,24,38,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    backdrop-filter: blur(4px);
    padding: 16px;
}

/* Modal content panel */
.fp-templates-modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 0;
    width: 100%;
    max-width: 940px;
    max-height: 88vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 24px 64px rgba(0,0,0,0.28), 0 4px 16px rgba(0,0,0,0.12);
    position: relative;
}

/* Close button */
.fp-templates-modal-content > .fp-modal-close {
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 1.6rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: color 0.15s;
}
.fp-templates-modal-content > .fp-modal-close:hover { color: #ff6b6b; }

/* Header bar */
.fp-tmpl-header {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 26px 32px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px 20px 0 0;
    flex-shrink: 0;
}
.fp-tmpl-header-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(185,5,4,0.25);
    border: 2px solid rgba(185,5,4,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ff6b6b;
    flex-shrink: 0;
}
.fp-tmpl-header h3 {
    margin: 0 0 4px;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}
.fp-tmpl-subtitle {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 400;
}

/* Category tabs */
.fp-tmpl-tabs {
    display: flex;
    gap: 0;
    background: #f0f2f6;
    padding: 10px 20px 0;
    border-bottom: 2px solid #e8eaf0;
    flex-shrink: 0;
    flex-wrap: wrap;
}
.fp-tmpl-tab {
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 10px 20px;
    font-family: var(--font-main);
    font-size: 0.86rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color 0.18s, border-color 0.18s, background 0.18s;
    border-radius: 8px 8px 0 0;
}
.fp-tmpl-tab:hover { color: #b90504; background: #fff; }
.fp-tmpl-tab-active {
    color: #b90504 !important;
    border-bottom-color: #b90504 !important;
    background: #fff !important;
}

/* Scrollable category body */
.fp-tmpl-cat {
    flex: 1;
    overflow-y: auto;
    padding: 20px 22px 10px;
    background: #f6f7fb;
}

/* Template cards grid */
.fp-tmpl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 14px;
    padding-bottom: 8px;
}

/* Individual template card */
.fp-tmpl-card {
    background: #fff;
    border-radius: 14px;
    border: 2px solid #e8eaf0;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.18s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.fp-tmpl-card:hover {
    border-color: #b90504;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(185,5,4,0.14);
}
.fp-tmpl-card-preview {
    background: #f0f2f7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    min-height: 120px;
    border-bottom: 1px solid #eaecf0;
}
.fp-tmpl-card-preview svg {
    max-width: 100%;
    max-height: 110px;
    display: block;
}
.fp-tmpl-card-body {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.fp-tmpl-card-title {
    font-size: 0.86rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
    line-height: 1.3;
}
.fp-tmpl-card-desc {
    font-size: 0.76rem;
    color: #777;
    margin-bottom: 10px;
    line-height: 1.4;
    flex: 1;
}
.fp-tmpl-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}
.fp-tmpl-card-badge {
    background: #f0f2f6;
    border: 1px solid #dde;
    border-radius: 20px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #555;
}
.fp-tmpl-card-badge.badge-chair { background: #e8f4fd; border-color: #b3d9ff; color: #0055cc; }
.fp-tmpl-card-badge.badge-table { background: #fef6e8; border-color: #f5d08a; color: #9a5700; }
.fp-tmpl-card-apply-btn {
    background: linear-gradient(135deg, #b90504 0%, #e53935 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 0;
    width: 100%;
    font-family: var(--font-main);
    font-size: 0.81rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.18s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}
.fp-tmpl-card-apply-btn:hover { opacity: 0.88; transform: translateY(-1px); }

/* Classroom table-count input */
.fp-tmpl-count-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 9px;
}
.fp-tmpl-count-label {
    font-size: 0.76rem;
    color: #555;
    flex: 1;
}
.fp-tmpl-count-input {
    width: 54px;
    border: 1.5px solid #d0d4e0;
    border-radius: 7px;
    padding: 4px 6px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-main);
    text-align: center;
    color: #1a1a2e;
    transition: border-color 0.15s;
}
.fp-tmpl-count-input:focus {
    outline: none;
    border-color: #b90504;
}

/* AI hint footer */
.fp-tmpl-ai-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    background: linear-gradient(135deg, #f0f6ff, #e8f4ff);
    border-top: 1px solid #d0e4fa;
    font-size: 0.82rem;
    color: #4466aa;
    flex-shrink: 0;
}
.fp-tmpl-ai-hint i { color: #0066b3; font-size: 1rem; }
.fp-tmpl-ai-hint strong { color: #0044bb; }

@media (max-width: 600px) {
    .fp-tmpl-header { padding: 16px 14px 12px; }
    .fp-tmpl-grid { grid-template-columns: 1fr 1fr; }
    .fp-tmpl-tab { padding: 8px 10px; font-size: 0.78rem; }
}
@media (max-width: 400px) {
    .fp-tmpl-grid { grid-template-columns: 1fr; }
}

/* ===== Guided website tour ===== */
.site-tour[hidden] { display: none; }
.site-tour { position: fixed; inset: 0; z-index: 10050; display: grid; place-items: center; padding: 20px; box-sizing: border-box; font-family: 'Montserrat', sans-serif; }
.site-tour-backdrop { position: absolute; inset: 0; background: rgba(10, 18, 30, 0.72); backdrop-filter: blur(5px); }
.site-tour-spotlight { display: none; position: fixed; z-index: 1; border: 3px solid #d71920; border-radius: 12px; box-shadow: 0 0 0 7px rgba(255,255,255,.95), 0 0 0 9999px rgba(10,18,30,.72); pointer-events: none; }
.site-tour-card {
    z-index: 2; position: relative; width: min(520px, calc(100vw - 32px)); padding: 32px;
    background: #fff; border-radius: 20px; box-shadow: 0 24px 70px rgba(0,0,0,.28);
    box-sizing: border-box; animation: site-tour-enter .28s ease both;
}
.site-tour-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f4f6; color: #4b5563; cursor: pointer; }
.site-tour-visual { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; margin: -8px -8px 24px; border-radius: 16px; background: linear-gradient(135deg, #fff0f0, #f4f7ff); }
.site-tour-icon { position: relative; z-index: 2; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 22px; color: #fff; background: linear-gradient(135deg, #d71920, #a8070c); box-shadow: 0 15px 35px rgba(185,5,4,.28); font-size: 2rem; }
.site-tour-visual-rings span { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(215,25,32,.14); border-radius: 50%; transform: translate(-50%, -50%); }
.site-tour-visual-rings span:nth-child(1) { width: 120px; height: 120px; }
.site-tour-visual-rings span:nth-child(2) { width: 200px; height: 200px; }
.site-tour-visual-rings span:nth-child(3) { width: 290px; height: 290px; }
.site-tour.site-tour-targeted { display: block; padding: 0; }
.site-tour-targeted .site-tour-spotlight { display: block; visibility: hidden; }
.site-tour-targeted.site-tour-target-ready .site-tour-backdrop { display: none; }
.site-tour-targeted.site-tour-target-ready .site-tour-spotlight { visibility: visible; }
.site-tour-targeted .site-tour-card { position: fixed; width: min(430px, calc(100vw - 32px)); padding: 24px; }
.site-tour-targeted .site-tour-visual { height: 72px; margin: -2px -2px 18px; }
.site-tour-targeted .site-tour-icon { width: 50px; height: 50px; border-radius: 15px; font-size: 1.3rem; }
.site-tour-kicker { color: #b90504; font-size: .72rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 7px; }
.site-tour-card h2 { margin: 0 35px 10px 0; color: #172033; font-size: 1.35rem; line-height: 1.25; }
.site-tour-card p { margin: 0; color: #596174; font-size: .92rem; line-height: 1.65; }
.site-tour-progress { display: flex; gap: 7px; margin: 22px 0 18px; }
.site-tour-progress span { height: 5px; flex: 1; border-radius: 99px; background: #e5e7eb; }
.site-tour-progress span.active { background: #d71920; }
.site-tour-actions, .site-tour-actions > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.site-tour-actions button { border: 0; border-radius: 9px; padding: 10px 13px; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.site-tour-skip, .site-tour-back { color: #596174; background: #f3f4f6; }
.site-tour-next { color: #fff; background: #d71920; }
@keyframes site-tour-enter { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
    .site-tour-card { padding: 24px 20px; }
    .site-tour-targeted .site-tour-card { width: calc(100vw - 24px); padding: 20px; }
    .site-tour-actions { align-items: stretch; }
    .site-tour-actions > div { justify-content: flex-end; }
}
@media (prefers-reduced-motion: reduce) { .site-tour-card { animation: none; } }
