/* =========================================================
   OUTAREA — OFFICE FURNITURE
   Premium Architectural Workspace Collection
   ========================================================= */

.outarea-office-section {
    --ofo-paper: #f5f2ec;
    --ofo-white: #ffffff;
    --ofo-cream: #ebe6dc;
    --ofo-charcoal: #102c24;
    --ofo-muted: #77736b;
    --ofo-line: #d9d4ca;
    --ofo-bronze: #b28a22;
    --ofo-bronze-dark: #80633d;

    position: relative;
    width: 100%;
    margin-top: 0;
    padding: 39px 0 75px;

    background: var(--ofo-paper);

    overflow: hidden;

    border-top: 1px solid rgba(16, 44, 36, 0.08);
    border-bottom: 1px solid rgba(16, 44, 36, 0.08);

    box-sizing: border-box;
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.outarea-office-section::before {
    content: "";

    position: absolute;
    top: 0;
    right: 0;

    width: 34%;
    height: 100%;

    background: linear-gradient(
        135deg,
        transparent 0%,
        rgba(178, 138, 34, 0.035) 100%
    );

    pointer-events: none;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.ofo-container {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 50px));

    margin: 0 auto;

    box-sizing: border-box;
}


/* =========================================================
   HEADER
   ========================================================= */

.ofo-header {
    position: relative;
    margin-bottom: 48px;
}


.ofo-heading {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    align-items: end;

    column-gap: 80px;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.ofo-eyebrow {
    grid-column: 1;

    display: inline-flex;
    align-items: center;

    gap: 14px;

    width: fit-content;

    margin-bottom: 18px;

    color: var(--ofo-bronze);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.ofo-eyebrow::before {
    content: "";

    width: 52px;
    height: 1px;

    background: var(--ofo-bronze);
}


/* =========================================================
   MAIN HEADING
   TABLE SERIES / BALCONY STYLE
   ========================================================= */

.ofo-heading h2 {
    grid-column: 1;

    margin: 0;

    color: var(--ofo-charcoal);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            4.6vw,
            70px
        );

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -3px;

    /* text-transform: uppercase; */
}


/* =========================================================
   HEADER DESCRIPTION
   ========================================================= */

.ofo-heading p {
    grid-column: 2;
    grid-row: 1 / span 2;

    max-width: 500px;

    margin: 0 0 4px auto;

    padding-left: 28px;

    border-left: 1px solid var(--ofo-bronze);

    color: var(--ofo-muted);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 15px;

    line-height: 1.8;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.ofo-navigation {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 100%;

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    pointer-events: none;

    z-index: 30;
}


.ofo-nav-btn {
    position: relative;

    top: 455px;

    width: 53px;
    height: 53px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0;

    border: 1px solid rgba(16, 44, 36, 0.18);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.88);

    color: var(--ofo-charcoal);

    font-size: 22px;

    line-height: 1;

    cursor: pointer;

    pointer-events: auto;

    box-shadow:
        0 2px 8px rgba(16, 44, 36, 0.04);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.ofo-navigation .ofo-prev {
    left: -20px;
}


.ofo-navigation .ofo-next {
    right: -20px;
}


.ofo-nav-btn:hover:not(:disabled) {
    background: #ffffff;

    color: var(--ofo-charcoal);

    border-color: rgba(16, 44, 36, 0.30);

    transform: scale(1.04);
}


.ofo-nav-btn:disabled {
    opacity: 0.35;

    cursor: not-allowed;
}


/* =========================================================
   SLIDER
   ========================================================= */

.ofo-slider {
    position: relative;

    width: 100%;

    overflow: hidden;
}


.ofo-track {
    display: flex;

    gap: 22px;

    width: max-content;

    will-change: transform;

    transition:
        transform 0.55s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


/* =========================================================
   CARD
   ========================================================= */

.ofo-card {
    position: relative;

    flex: 0 0
        calc(
            (
                min(
                    1400px,
                    calc(100vw - 50px)
                ) - 88px
            ) / 5
        );

    min-width: 0;

    background: var(--ofo-white);

    border: 1px solid rgba(16, 44, 36, 0.09);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.ofo-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px
        rgba(16, 44, 36, 0.10);
}


/* =========================================================
   IMAGE WRAPPER
   ========================================================= */

.ofo-image-wrap {
    display: block;

    text-decoration: none;
}


/* =========================================================
   IMAGE
   ========================================================= */

.ofo-image {
    position: relative;

    width: 100%;

    aspect-ratio: 0.88;

    overflow: hidden;

    background: var(--ofo-cream);
}


.ofo-main-img,
.ofo-hover-img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        opacity 0.65s ease,
        transform 0.8s
        cubic-bezier(
            0.2,
            0.7,
            0.2,
            1
        );
}


.ofo-main-img {
    opacity: 1;

    transform: scale(1);
}


.ofo-hover-img {
    opacity: 0;

    transform: scale(1.06);
}


.ofo-card:hover .ofo-main-img {
    opacity: 0;

    transform: scale(1.05);
}


.ofo-card:hover .ofo-hover-img {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   IMAGE TAG
   ========================================================= */

.ofo-image-tag {
    position: absolute;

    top: 17px;
    left: 17px;

    padding: 8px 12px;

    background: rgba(16, 44, 36, 0.95);

    color: #ffffff;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =========================================================
   VIEW PRODUCT
   ========================================================= */

.ofo-view {
    position: absolute;

    right: 17px;
    bottom: 17px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 13px;

    background: var(--ofo-charcoal);

    color: #ffffff;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    opacity: 0;

    transform: translateY(10px);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}


.ofo-card:hover .ofo-view {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   PRODUCT INFO
   ========================================================= */

.ofo-info {
    padding: 21px 20px 22px;
}


/* =========================================================
   META
   ========================================================= */

.ofo-meta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-bottom: 11px;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 600;

    letter-spacing: 1.1px;

    color: #98938a;
}


.ofo-rating {
    color: var(--ofo-bronze);

    letter-spacing: 0.5px;
}


/* =========================================================
   PRODUCT TITLE
   ========================================================= */

.ofo-info h3 {
    margin: 0;
}


.ofo-info h3 a {
    color: var(--ofo-charcoal);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 15px;

    line-height: 1.35;

    font-weight: 700;

    text-decoration: none;

    transition:
        color 0.25s ease;
}


.ofo-info h3 a:hover {
    color: var(--ofo-bronze-dark);
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.ofo-description {
    min-height: 49px;

    margin: 9px 0 17px;

    color: var(--ofo-muted);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 11.5px;

    line-height: 1.65;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.ofo-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 15px;

    border-top: 1px solid #eeeae3;
}


/* =========================================================
   PRICE
   ========================================================= */

.ofo-price {
    display: flex;

    align-items: baseline;

    gap: 8px;
}


.ofo-price strong {
    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 15px;

    font-weight: 700;

    color: var(--ofo-charcoal);
}


.ofo-price del {
    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    color: #a8a39a;
}


/* =========================================================
   ARROW
   ========================================================= */

.ofo-arrow {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--ofo-line);

    border-radius: 50%;

    color: var(--ofo-charcoal);

    text-decoration: none;

    font-size: 15px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.ofo-arrow:hover {
    background: var(--ofo-charcoal);

    border-color: var(--ofo-charcoal);

    color: #ffffff;
}


/* =========================================================
   FOOTER
   ONLY COUNTER — NO LONG LINE
   ========================================================= */

.ofo-footer {
    display: flex;

    align-items: center;

    justify-content: flex-end;

    margin-top: 28px;

    width: 100%;
}


/* Hide progress line completely */

.ofo-progress {
    display: none !important;
}


/* Counter */

.ofo-counter {
    display: flex;

    align-items: center;

    gap: 9px;

    flex-shrink: 0;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 11px;

    font-weight: 700;

    color: #99948b;

    letter-spacing: 1px;
}


.ofo-current {
    color: var(--ofo-charcoal);
}


.ofo-counter-line {
    width: 20px;

    height: 1px;

    background: #c8c2b8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .outarea-office-section {
        padding: 85px 0 70px;
    }

    .ofo-container {
        width:
            min(
                calc(100% - 40px),
                1000px
            );
    }

    .ofo-heading {
        column-gap: 50px;
    }

    .ofo-heading h2 {
        font-size: 56px;

        letter-spacing: -3px;
    }

    .ofo-card {
        flex-basis:
            calc(
                (100% - 44px) / 3
            );
    }

    .ofo-nav-btn {
        top: 430px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .outarea-office-section {
        padding: 75px 0 60px;
    }

    .ofo-container {
        width:
            calc(
                100% - 32px
            );
    }

    .ofo-header {
        margin-bottom: 30px;
    }

    .ofo-heading {
        display: block;
    }

    .ofo-eyebrow {
        margin-bottom: 16px;

        font-size: 9px;

        letter-spacing: 2.5px;
    }

    .ofo-heading h2 {
        font-size:
            clamp(
                42px,
                11vw,
                70px
            );

        letter-spacing: -2.5px;

        line-height: 0.95;
    }

    .ofo-heading p {
        max-width: 500px;

        margin: 28px 0 0;

        padding-left: 20px;

        font-size: 14px;

        line-height: 1.7;
    }

    .ofo-navigation {
        top: 0;

        bottom: auto;

        height: 100%;
    }

    .ofo-nav-btn {
        top: 330px;

        width: 41px;
        height: 41px;

        font-size: 18px;
    }

    .ofo-navigation .ofo-prev {
        left: -8px;
    }

    .ofo-navigation .ofo-next {
        right: -8px;
    }

    .ofo-track {
        gap: 22px;
    }

    .ofo-card {
        flex-basis:
            calc(
                (100% - 22px) / 2
            );
    }

    .ofo-image {
        aspect-ratio: 0.92;
    }

    .ofo-info {
        padding: 18px;
    }

    .ofo-description {
        min-height: auto;
    }

    .ofo-footer {
        margin-top: 24px;

        justify-content: flex-end;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .outarea-office-section {
        padding: 65px 0 55px;
    }

    .ofo-card {
        flex-basis: 100%;
    }

    .ofo-heading h2 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .ofo-nav-btn {
        top: 315px;

        width: 37px;
        height: 37px;

        font-size: 16px;
    }

    .ofo-counter {
        font-size: 9px;

        letter-spacing: 1.2px;
    }
}