/* =========================================================
   OUTAREA — BALCONY FURNITURE
   Premium Architectural Layout
   ========================================================= */

.outarea-balcony-section {
    --obs-paper: #f5f2ec;
    --obs-white: #ffffff;
    --obs-cream: #ebe6dc;
    --obs-charcoal: #102c24;
    --obs-text: #34322f;
    --obs-muted: #77736b;
    --obs-line: #d9d4ca;
    --obs-bronze: #b28a22;
    --obs-bronze-dark: #80633d;

    position: relative;
    width: 100%;
    margin-top: 0;
    padding: 62px 0 60px;

    background: var(--obs-paper);

    overflow: hidden;

    border-top: 1px solid rgba(16, 44, 36, 0.08);
}


/* =========================================================
   BACKGROUND
   ========================================================= */

.outarea-balcony-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
   ========================================================= */

.obs-container {
    position: relative;
    z-index: 2;

    width: min(1400px, calc(100% - 50px));

    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.obs-header {
    position: relative;

    margin-bottom: 48px;
}


.obs-heading {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    align-items: end;

    column-gap: 80px;

    max-width: none;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.obs-eyebrow {
    grid-column: 1;

    display: inline-flex;

    align-items: center;

    gap: 14px;

    width: fit-content;

    margin-bottom: 18px;

    color: var(--obs-bronze);

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}


.obs-eyebrow::before {
    content: "";

    width: 52px;
    height: 1px;

    background: var(--obs-bronze);
}


/* =========================================================
   MAIN HEADING
   SAME ELEGANT STYLE AS TABLE SERIES
   ========================================================= */

.obs-heading h2 {
    grid-column: 1;

    margin: 0;

    color: var(--obs-charcoal);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(
            42px,
            4.2vw,
            64px
        );

    font-weight: 400;

    line-height: 0.95;

    letter-spacing: -2.5px;

    text-transform: none;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.obs-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(--obs-bronze);

    color: var(--obs-muted);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.obs-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;
}


.obs-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(--obs-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;
}


.obs-navigation .obs-prev {
    left: -20px;
}


.obs-navigation .obs-next {
    right: -20px;
}


.obs-nav-btn:hover:not(:disabled) {
    background: #ffffff;

    color: var(--obs-charcoal);

    border-color:
        rgba(16, 44, 36, 0.30);

    transform: scale(1.04);
}


.obs-nav-btn:disabled {
    opacity: 0.35;

    cursor: not-allowed;
}


/* =========================================================
   SLIDER
   ========================================================= */

.obs-slider {
    position: relative;

    width: 100%;

    overflow: hidden;
}


.obs-track {
    display: flex;

    gap: 22px;

    width: max-content;

    will-change: transform;

    transition:
        transform
        0.55s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


/* =========================================================
   CARD
   ========================================================= */

.obs-card {
    position: relative;

    flex: 0 0
        calc(
            (min(1400px, calc(100vw - 50px)) - 88px) / 5
        );

    min-width: 0;

    background: var(--obs-white);

    border:
        1px solid
        rgba(16, 44, 36, 0.09);

    overflow: hidden;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}


.obs-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 45px
        rgba(16, 44, 36, 0.10);
}


/* =========================================================
   IMAGE
   ========================================================= */

.obs-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 0.88;

    overflow: hidden;

    background: var(--obs-cream);

    text-decoration: none;
}


.obs-main-img,
.obs-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
        );
}


.obs-main-img {
    opacity: 1;

    transform: scale(1);
}


.obs-hover-img {
    opacity: 0;

    transform: scale(1.06);
}


.obs-card:hover .obs-main-img {
    opacity: 0;

    transform: scale(1.05);
}


.obs-card:hover .obs-hover-img {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   EXPLORE
   ========================================================= */

.obs-explore {
    position: absolute;

    right: 17px;
    bottom: 17px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 10px 13px;

    background: var(--obs-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;
}


.obs-card:hover .obs-explore {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   CONTENT
   ========================================================= */

.obs-content {
    padding: 21px 20px 22px;
}


/* =========================================================
   META
   ========================================================= */

.obs-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;
}


.obs-tag {
    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.obs-sku {
    flex-shrink: 0;

    color: #aaa59c;

    font-size: 9px;
}


/* =========================================================
   PRODUCT TITLE
   ========================================================= */

.obs-content h3 {
    margin: 0;

    color: var(--obs-charcoal);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 20px;

    line-height: 1.18;

    font-weight: 400;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.obs-description {
    min-height: 50px;

    margin: 10px 0 17px;

    color: var(--obs-muted);

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 13px;

    line-height: 1.55;

    display: -webkit-box;

    -webkit-box-orient: vertical;

    -webkit-line-clamp: 2;

    overflow: hidden;
}


/* =========================================================
   RATING
   ========================================================= */

.obs-rating {
    display: flex;

    align-items: center;

    gap: 6px;

    margin-bottom: 17px;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;
}


.obs-stars {
    color: var(--obs-bronze);

    letter-spacing: 0.5px;

    font-size: 12px;
}


.obs-rating-number {
    color: var(--obs-charcoal);

    font-weight: 700;
}


.obs-rating small {
    color: #aaa59c;

    font-size: 9px;
}


/* =========================================================
   BOTTOM
   ========================================================= */

.obs-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding-top: 15px;

    border-top: 1px solid #eeeae3;
}


/* =========================================================
   PRICE
   ========================================================= */

.obs-price {
    display: flex;

    align-items: baseline;

    gap: 8px;
}


.obs-price strong {
    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 15px;

    font-weight: 700;

    color: var(--obs-charcoal);
}


.obs-price del {
    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    color: #a8a39a;
}


/* =========================================================
   VIEW BUTTON
   ========================================================= */

.obs-buy {
    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 52px;

    height: 34px;

    padding: 0 13px;

    border: 1px solid var(--obs-line);

    color: var(--obs-charcoal);

    background: transparent;

    text-decoration: none;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}


.obs-buy:hover {
    background: var(--obs-charcoal);

    border-color: var(--obs-charcoal);

    color: #ffffff;
}


/* =========================================================
   FOOTER / SMALL CENTER PROGRESS
   ========================================================= */

.obs-bottom {
    display: flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    margin-top: 32px;

    width: 100%;
}


/* =========================================================
   COUNTER
   ========================================================= */

.obs-count {
    order: 1;

    display: flex;

    align-items: center;

    flex-shrink: 0;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 10px;

    font-weight: 700;

    color: #99948b;

    letter-spacing: 1.5px;

    white-space: nowrap;
}


.obs-count .obs-current {
    color: var(--obs-charcoal);
}


/* =========================================================
   SMALL LINE
   ========================================================= */

.obs-progress {
    order: 2;

    flex: 0 0 82px;

    width: 82px;

    height: 1px;

    background: #d9d5cd;

    overflow: hidden;
}


.obs-progress span {
    display: block;

    width: 20%;

    height: 100%;

    background: var(--obs-charcoal);

    transition:
        width 0.5s ease;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .outarea-balcony-section {
        padding: 85px 0 60px;
    }

    .obs-container {
        width:
            min(
                calc(100% - 40px),
                1000px
            );
    }

    .obs-heading {
        column-gap: 50px;
    }

    .obs-heading h2 {
        font-size: 56px;

        letter-spacing: -2px;
    }

    .obs-card {
        flex-basis:
            calc(
                (100% - 44px) / 3
            );
    }

    .obs-nav-btn {
        top: 430px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .outarea-balcony-section {
        padding: 75px 0 55px;

        margin-top: 0;
    }

    .obs-container {
        width:
            calc(
                100% - 32px
            );
    }

    .obs-header {
        margin-bottom: 30px;
    }

    .obs-heading {
        display: block;
    }

    .obs-eyebrow {
        margin-bottom: 16px;

        font-size: 9px;

        letter-spacing: 2.5px;
    }

    .obs-heading h2 {
        font-size:
            clamp(
                42px,
                10vw,
                58px
            );

        letter-spacing: -2px;

        line-height: 0.96;
    }

    .obs-heading p {
        max-width: 500px;

        margin: 28px 0 0;

        padding-left: 20px;

        font-size: 14px;

        line-height: 1.7;
    }

    .obs-navigation {
        top: 0;

        bottom: auto;

        height: 100%;
    }

    .obs-nav-btn {
        top: 330px;

        width: 41px;

        height: 41px;

        font-size: 18px;
    }

    .obs-navigation .obs-prev {
        left: -8px;
    }

    .obs-navigation .obs-next {
        right: -8px;
    }

    .obs-track {
        gap: 22px;
    }

    .obs-card {
        flex-basis:
            calc(
                (100% - 22px) / 2
            );
    }

    .obs-image {
        aspect-ratio: 0.92;
    }

    .obs-content {
        padding: 18px;
    }

    .obs-content h3 {
        font-size: 18px;
    }

    .obs-description {
        min-height: auto;

        font-size: 12.5px;
    }

    .obs-bottom {
        margin-top: 25px;
    }

    .obs-progress {
        flex-basis: 65px;

        width: 65px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 520px) {

    .outarea-balcony-section {
        padding: 65px 0 50px;
    }

    .obs-card {
        flex-basis: 100%;
    }

    .obs-heading h2 {
        font-size: 48px;

        letter-spacing: -1.8px;
    }

    .obs-nav-btn {
        top: 315px;

        width: 37px;

        height: 37px;

        font-size: 16px;
    }

    .obs-bottom {
        gap: 10px;
    }

    .obs-count {
        font-size: 9px;

        letter-spacing: 1.3px;
    }

    .obs-progress {
        flex-basis: 55px;

        width: 55px;
    }
}