/* =========================================================
   OUTAREA — OUTDOOR SOFA SETS
   GARDEN CHAIRS MATCHED STYLE
   ========================================================= */

.outarea-outdoor-sofas {
    position: relative;
    /* margin-top: 120px; */
    padding: 60px 0px 0px;
    background: linear-gradient(135deg, rgba(16, 35, 29, 0.025), rgba(212, 175, 55, 0.035));
    border-top: 1px solid rgba(20, 35, 31, 0.10);
    /* border-bottom: 1px solid rgba(20, 35, 31, 0.10); */
    overflow: hidden;
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.oos-container {
    width: min(1400px, calc(100% - 50px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
   ========================================================= */

.oos-header {
    display: grid;

    grid-template-columns: 1fr 0.65fr;

    align-items: end;

    gap: 80px;

    margin-bottom: 48px;
}

.oos-heading-wrap {
    position: relative;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.oos-eyebrow {
    display: inline-flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 17px;

    color: #9b7a1d;

    font-family: Arial, sans-serif;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 4px;

    text-transform: uppercase;
}

.oos-eyebrow::before {
    content: "";

    width: 42px;
    height: 1px;

    background: #d4af37;
}


/* =========================================================
   HEADING
   ========================================================= */

.oos-heading-wrap h2 {
    margin: 0;

    color: #10231d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: clamp(25px, 3.8vw, 93px);

    font-weight: 400;

    line-height: 0.92;

    letter-spacing: -4px;
}


/* =========================================================
   INTRO PARAGRAPH
   ========================================================= */

.oos-header > p {
    position: relative;

    max-width: 500px;

    margin: 0 0 4px auto;

    padding-left: 28px;

    color: #53615d;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    line-height: 1.8;
}

.oos-header > p::before {
    content: "";

    position: absolute;

    top: 5px;
    bottom: 5px;
    left: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            #d4af37,
            rgba(212, 175, 55, 0.05)
        );
}


/* =========================================================
   PRODUCTS AREA
   ========================================================= */

.oos-products-area {
    position: relative;

    width: 100%;
}


/* =========================================================
   SLIDER WINDOW
   ========================================================= */

.oos-slider-window {
    position: relative;

    width: 100%;

    overflow: hidden;
}


/* =========================================================
   CARD TRACK
   ========================================================= */

.oos-grid {
    display: flex;

    align-items: stretch;

    gap: 22px;

    width: 100%;

    transition:
        transform 0.75s cubic-bezier(0.22, 0.7, 0.12, 1);

    will-change: transform;
}


/* =========================================================
   CARD
   ========================================================= */

.oos-card {
    position: relative;

    flex: 0 0 calc((100% - 88px) / 5);

    min-width: 0;

    display: flex;
    flex-direction: column;

    background: #ffffff;

    border: 1px solid rgba(20, 35, 31, 0.10);

    box-shadow:
        0 15px 35px rgba(15, 30, 25, 0.07);

    overflow: hidden;

    box-sizing: border-box;

    transition:
        transform 0.45s ease,
        box-shadow 0.45s ease,
        border-color 0.45s ease;
}

.oos-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(212, 175, 55, 0.45);

    box-shadow:
        0 22px 45px rgba(15, 30, 25, 0.13);
}


/* =========================================================
   IMAGE BOX
   ========================================================= */

.oos-image-box {
    position: relative;

    width: 100%;

    aspect-ratio: 0.91 / 1;

    overflow: hidden;

    background: #eeeae1;

    flex-shrink: 0;
}


/* =========================================================
   IMAGE
   ========================================================= */

.oos-image-box img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        opacity 0.65s ease,
        transform 0.9s cubic-bezier(0.2, 0.7, 0, 1);
}

.oos-main-img {
    z-index: 1;

    opacity: 1;

    transform: scale(1);
}

.oos-hover-img {
    z-index: 2;

    opacity: 0;

    transform: scale(1.06);
}

.oos-card:hover .oos-main-img {
    opacity: 0;

    transform: scale(1.05);
}

.oos-card:hover .oos-hover-img {
    opacity: 1;

    transform: scale(1);
}


/* =========================================================
   IMAGE LABEL
   ========================================================= */

.oos-image-label {
    position: absolute;

    top: 13px;
    left: 13px;

    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 34px;
    height: 25px;

    padding: 0 8px;

    background: #10231d;

    color: #d4af37;

    font-family: Arial, sans-serif;

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 1.5px;

    line-height: 1;
}


/* =========================================================
   IMAGE ACTIONS
   ========================================================= */

.oos-image-actions {
    position: absolute;

    top: 12px;
    right: 12px;

    z-index: 6;

    display: flex;
    flex-direction: column;

    gap: 6px;

    opacity: 0;

    transform: translateX(8px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}

.oos-card:hover .oos-image-actions {
    opacity: 1;

    transform: translateX(0);
}


/* =========================================================
   ICON BUTTON
   ========================================================= */

.oos-icon-btn {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.75);

    border-radius: 50%;

    background: rgba(16, 35, 29, 0.78);

    backdrop-filter: blur(8px);

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 15px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.oos-icon-btn:hover {
    background: #d4af37;

    border-color: #d4af37;

    color: #10231d;

    transform: scale(1.06);
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.oos-content {
    display: flex;
    flex-direction: column;

    flex: 1;

    padding: 17px 15px 18px;

    box-sizing: border-box;
}


/* =========================================================
   COLLECTION
   ========================================================= */

.oos-collection {
    display: block;

    margin-bottom: 6px;

    color: #9b7a1d;

    font-family: Arial, sans-serif;

    font-size: 7px;
    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* =========================================================
   PRODUCT NAME
   ========================================================= */

.oos-product-name {
    min-height: 40px;

    margin: 0;

    color: #152a23;

    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size: 17px;

    font-weight: 400;

    line-height: 1.12;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.oos-description {
    display: -webkit-box;

    min-height: 38px;

    margin: 8px 0 12px;

    overflow: hidden;

    color: #727b77;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 10px;

    line-height: 1.5;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* =========================================================
   META
   ========================================================= */

.oos-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 8px;

    padding: 9px 0;

    border-top:
        1px solid rgba(20, 35, 31, 0.09);

    border-bottom:
        1px solid rgba(20, 35, 31, 0.09);

    color: #8a918e;

    font-family: Arial, sans-serif;

    font-size: 7px;

    letter-spacing: 0.4px;
}

.oos-meta strong {
    color: #53615d;

    font-weight: 700;
}


/* =========================================================
   RATING
   ========================================================= */

.oos-rating {
    white-space: nowrap;
}

.oos-rating b {
    color: #d4af37;

    font-size: 10px;

    letter-spacing: 1px;
}


/* =========================================================
   PRICE
   ========================================================= */

.oos-price {
    display: flex;

    align-items: baseline;

    gap: 7px;

    margin-top: 13px;
}

.oos-price strong {
    color: #10231d;

    font-family: Arial, sans-serif;

    font-size: 18px;

    font-weight: 700;
}

.oos-price del {
    color: #9a9f9c;

    font-family: Arial, sans-serif;

    font-size: 10px;
}


/* =========================================================
   ACTION
   ========================================================= */

.oos-actions {
    margin-top: auto;

    padding-top: 14px;
}


/* =========================================================
   BUY BUTTON
   ========================================================= */

.oos-buy-btn {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 38px;

    padding: 0 12px;

    box-sizing: border-box;

    border: 1px solid #10231d;

    background: #10231d;

    color: #ffffff;

    font-family: Arial, sans-serif;

    font-size: 7px;

    font-weight: 700;

    letter-spacing: 1.4px;

    text-decoration: none;

    text-align: center;

    cursor: pointer;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.oos-buy-btn:hover {
    background: #d4af37;

    border-color: #d4af37;

    color: #10231d;
}


/* =========================================================
   SLIDER ARROWS
   ========================================================= */

.oos-controls {
    position: absolute;

    inset: 0;

    z-index: 10;

    pointer-events: none;
}

.oos-nav {
    position: absolute;

    top: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    padding: 0;

    border:
        1px solid rgba(20, 35, 31, 0.20);

    border-radius: 50%;

    background: #f7f5ef;

    color: #10231d;

    font-size: 19px;

    line-height: 1;

    cursor: pointer;

    pointer-events: auto;

    transform: translateY(-50%);

    transition:
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.oos-prev {
    left: -60px;
}

.oos-next {
    right: -60px;
}

.oos-nav:hover:not(:disabled) {
    background: #10231d;

    border-color: #10231d;

    color: #d4af37;

    transform:
        translateY(-50%)
        scale(1.05);
}

.oos-nav:disabled {
    opacity: 0.30;

    cursor: not-allowed;
}


/* =========================================================
   OLD BOTTOM COUNTER HIDE
   ========================================================= */

.oos-bottom {
    display: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .oos-container {
        width: min(100% - 35px, 900px);
    }

    .oos-header {
        grid-template-columns: 1fr;

        gap: 30px;
    }

    .oos-header > p {
        margin-left: 0;
    }

    .oos-card {
        flex-basis:
            calc((100% - 44px) / 3);
    }

    .oos-prev {
        left: -45px;
    }

    .oos-next {
        right: -45px;
    }
}


/* =========================================================
   SMALL TABLET
   ========================================================= */

@media (max-width: 800px) {

    .oos-card {
        flex-basis:
            calc((100% - 22px) / 2);
    }

    .oos-heading-wrap h2 {
        font-size: 60px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .outarea-outdoor-sofas {
        margin-top: 75px;

        padding: 70px 0 70px;
    }

    .oos-container {
        width: calc(100% - 28px);
    }

    .oos-header {
        gap: 25px;

        margin-bottom: 35px;
    }

    .oos-eyebrow {
        margin-bottom: 14px;

        font-size: 8px;

        letter-spacing: 3px;
    }

    .oos-eyebrow::before {
        width: 30px;
    }

    .oos-heading-wrap h2 {
        font-size: 47px;

        letter-spacing: -2px;
    }

    .oos-header > p {
        padding-left: 20px;

        font-size: 15px;

        line-height: 1.7;
    }

    .oos-grid {
        gap: 10px;
    }

    .oos-card {
        flex-basis: 100%;
    }

    .oos-image-box {
        aspect-ratio: 0.95 / 1;
    }

    .oos-image-actions {
        opacity: 1;

        transform: translateX(0);
    }

    .oos-content {
        padding: 18px 15px;
    }

    .oos-product-name {
        min-height: auto;

        font-size: 19px;
    }

    .oos-description {
        min-height: auto;
    }

    .oos-meta {
        align-items: flex-start;

        flex-direction: column;

        gap: 7px;
    }

    .oos-prev {
        left: 8px;
    }

    .oos-next {
        right: 8px;
    }

    .oos-nav {
        width: 42px;
        height: 42px;

        font-size: 17px;
    }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .oos-heading-wrap h2 {
        font-size: 42px;
    }

    .oos-price strong {
        font-size: 17px;
    }

    .oos-buy-btn {
        font-size: 7px;

        letter-spacing: 1.1px;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .oos-grid,
    .oos-card,
    .oos-main-img,
    .oos-hover-img,
    .oos-image-actions,
    .oos-buy-btn {
        transition: none;
    }
}