:root {
    --product-navy: #073b4c;
    --product-blue: #087f8c;
    --product-cyan: #16b7a2;
    --product-orange: #f29f3d;
    --product-ink: #163642;
    --product-muted: #6c8188;
    --product-line: #dce9e8;
    --product-soft: #f1f8f7;
}

.product-page {
    background: #fbfdfd;
    color: var(--product-ink);
    font-family: inherit;
    overflow: hidden;
}

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

    .product-page a {
        text-decoration: none;
    }

.product-catalog {
    padding: clamp(52px, 7vw, 38px) 0 82px;
    position: relative;
}

    .product-catalog::before {
        content: "";
        width: 430px;
        height: 430px;
        border-radius: 50%;
        background: rgba(22,183,162,.08);
        position: absolute;
        top: -180px;
        right: -145px;
        pointer-events: none;
    }

.product-section-heading {
    align-items: flex-end;
    display: flex;
    gap: 40px;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
    background: transparent;
}

.product-heading-copy {
    max-width: 780px;
}

.product-eyebrow {
    align-items: center;
    color: var(--product-orange);
    display: flex;
    font-size: 13px;
    font-weight: 800;
    gap: 8px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

    .product-eyebrow i {
        font-size: 16px;
    }

.product-section-heading h1 {
    color: var(--product-navy);
    font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
    font-size: clamp(30px, 4vw, 35px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.08;
    margin: 13px 0 14px;
}

.product-section-heading p {
    color: var(--product-muted);
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
    max-width: 720px;
}

.product-catalog__count {
    align-items: center;
    border-left: 1px solid var(--product-line);
    display: flex;
    flex: 0 0 auto;
    gap: 13px;
    padding: 7px 0 7px 28px;
}

    .product-catalog__count strong {
        color: var(--product-blue);
        font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
        font-size: 42px;
        font-weight: 500;
        line-height: 1;
    }

    .product-catalog__count span {
        color: var(--product-muted);
        font-size: 14px;
        line-height: 1.35;
    }

.product-toolbar {
    align-items: center;
    border-bottom: 1px solid var(--product-line);
    border-top: 1px solid var(--product-line);
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 36px;
    min-width: 0;
    padding: 14px 0;
    position: relative;
    z-index: 2;
}

.product-category-scroll {
    align-items: center;
    display: flex;
    flex: 1 1 auto;
    gap: 8px;
    min-width: 0;
}

.product-category-tabs {
    display: flex;
    flex: 1 1 auto;
    gap: 9px;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 3px 2px 8px;
    scroll-behavior: smooth;
    scrollbar-color: var(--product-cyan) var(--product-soft);
    scrollbar-width: thin;
    white-space: nowrap;
}

    .product-category-tabs.is-dragging {
        cursor: grabbing;
        scroll-behavior: auto;
        user-select: none;
    }

    .product-category-tabs a {
        align-items: center;
        background: var(--product-soft);
        border: 1px solid transparent;
        border-radius: 999px;
        color: #4d6870;
        display: flex;
        flex: 0 0 auto;
        font-size: 14px;
        font-weight: 750;
        gap: 7px;
        padding: 9px 13px;
        transition: background .22s ease, color .22s ease, transform .22s ease;
    }

        .product-category-tabs a:hover {
            color: var(--product-blue);
            transform: translateY(-2px);
        }

        .product-category-tabs a.active {
            background: var(--product-navy);
            box-shadow: 0 7px 16px rgba(7,59,76,.18);
            color: #fff;
        }

        .product-category-tabs a span {
            background: #fff;
            border-radius: 99px;
            color: var(--product-blue);
            font-size: 11px;
            line-height: 1;
            padding: 4px 7px;
        }

.product-category-scroll__button {
    align-items: center;
    background: #fff;
    border: 1px solid var(--product-line);
    border-radius: 50%;
    color: var(--product-blue);
    cursor: pointer;
    display: flex;
    flex: 0 0 32px;
    height: 32px;
    justify-content: center;
    transition: background .2s ease, color .2s ease, opacity .2s ease;
}

    .product-category-scroll__button:hover:not(:disabled) {
        background: var(--product-blue);
        color: #fff;
    }

    .product-category-scroll__button:disabled {
        cursor: default;
        opacity: .3;
    }

.product-sort {
    align-items: center;
    color: var(--product-muted);
    display: flex;
    flex: 0 0 auto;
    font-size: 14px;
    gap: 9px;
}

    .product-sort select {
        appearance: none;
        background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23073b4c' stroke-width='1.8'%3E%3Cpath d='m2 4 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 11px center;
        border: 1px solid var(--product-line);
        border-radius: 8px;
        color: var(--product-ink);
        font-family: inherit;
        font-size: 14px;
        outline: none;
        padding: 10px 31px 10px 11px;
    }

.product-grid {
    display: grid;
    gap: 26px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: relative;
    z-index: 1;
}

.product-card {
    animation: product-card-in .55s both;
    background: #fff;
    border: 1px solid var(--product-line);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(7,59,76,.055);
    min-width: 0;
    overflow: hidden;
    transition: box-shadow .3s ease, transform .3s ease;
}

    .product-card:nth-child(2) {
        animation-delay: .06s;
    }

    .product-card:nth-child(3) {
        animation-delay: .12s;
    }

    .product-card:nth-child(4) {
        animation-delay: .18s;
    }

    .product-card:hover {
        box-shadow: 0 22px 48px rgba(7,59,76,.14);
        transform: translateY(-7px);
    }

@keyframes product-card-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

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

.product-card__media {
    aspect-ratio: 1.22;
    background: #e7f1ef;
    display: block;
    overflow: hidden;
    position: relative;
}

    .product-card__media::after {
        background: linear-gradient(180deg, transparent 50%, rgba(3,35,43,.66));
        bottom: 0;
        content: "";
        left: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0;
    }

    .product-card__media img {
        height: 100%;
        object-fit: cover;
        transition: transform .7s cubic-bezier(.2,.7,.2,1);
        width: 100%;
    }

.product-card:hover .product-card__media img {
    transform: scale(1.07);
}

.product-card__badge, .product-card__photo {
    align-items: center;
    display: flex;
    position: absolute;
    z-index: 1;
}

.product-card__badge {
    background: var(--product-orange);
    border-radius: 7px;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    gap: 5px;
    left: 15px;
    letter-spacing: .08em;
    padding: 6px 9px;
    text-transform: uppercase;
    top: 15px;
}

.product-card__photo {
    bottom: 14px;
    color: #fff;
    font-size: 13px;
    gap: 6px;
    right: 15px;
}

.product-card__body {
    padding: 21px 21px 20px;
}

.product-card__head {
    align-items: center;
    display: flex;
    gap: 13px;
    justify-content: space-between;
}

    .product-card__head > div:first-child {
        min-width: 0;
    }

.product-card__category {
    color: var(--product-orange);
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.product-card h2 {
    font-family: 'BeVietnamPro-Medium', Arial, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.5;
    margin: 6px 0 0;
}

    .product-card h2 a {
        color: var(--product-navy);
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        display: -webkit-box;
        overflow: hidden;
    }

        .product-card h2 a:hover {
            color: var(--product-blue);
        }

.product-card__price {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    text-align: right;
}

    .product-card__price small {
        color: #8a9ba0;
        font-size: 13px;
        white-space: nowrap;
    }

    .product-card__price strong {
        color: var(--product-blue);
        font-size: 17px;
        line-height: 1.45;
        white-space: nowrap;
    }

.product-card__specs {
    border-bottom: 1px solid var(--product-line);
    border-top: 1px solid var(--product-line);
    display: flex;
    gap: 10px;
    margin: 17px 0 14px;
    padding: 11px 0;
    flex-flow: column;
}

    .product-card__specs span {
        align-items: center;
        color: #60777d;
        display: flex;
        font-size: 14px;
        gap: 5px;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        /* white-space: nowrap; */
    }

    .product-card__specs i {
        color: var(--product-cyan);
        font-size: 12px;
    }

.product-card__summary {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--product-muted);
    display: -webkit-box;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
    min-height: 69px;
    overflow: hidden;
}

.product-card__amenities {
    display: flex;
    gap: 5px;
    margin-top: 14px;
    min-height: 25px;
    overflow: hidden;
}

    .product-card__amenities span {
        background: var(--product-soft);
        border-radius: 99px;
        color: #547078;
        flex: 0 0 auto;
        font-size: 14px;
        font-weight: 700;
        padding: 6px 8px;
        white-space: nowrap;
    }

    .product-card__amenities i {
        color: var(--product-cyan);
    }

.product-card__actions {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-top: 18px;
}

.product-card__detail {
    color: var(--product-navy);
    font-size: 15px;
    font-weight: 800;
}

    .product-card__detail i {
        font-size: 11px;
        margin-left: 4px;
        transition: transform .2s ease;
    }

    .product-card__detail:hover i {
        transform: translateX(4px);
    }

.product-card__contact {
    background: var(--product-navy);
    border-radius: 7px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 800;
    padding: 8px 13px;
    transition: background .2s ease, transform .2s ease;
}

    .product-card__contact:hover {
        background: var(--product-orange);
        transform: translateY(-2px);
    }

.product-empty {
    background: var(--product-soft);
    border: 1px dashed #b9d3d1;
    border-radius: 16px;
    padding: 62px 20px;
    position: relative;
    text-align: center;
    z-index: 1;
}

    .product-empty > i {
        color: var(--product-orange);
        font-size: 44px;
    }

    .product-empty h2 {
        color: var(--product-navy);
        font-size: 25px;
        margin: 15px 0 8px;
    }

    .product-empty p {
        color: var(--product-muted);
        margin: 0 auto 18px;
        max-width: 570px;
    }

    .product-empty a {
        background: var(--product-blue);
        border-radius: 7px;
        color: #fff;
        display: inline-block;
        font-weight: 800;
        padding: 11px 17px;
    }

.product-pagination {
    margin-top: 38px;
    text-align: center;
}

.product-service-strip {
    background: var(--product-navy);
    color: #fff;
    padding: 31px 0;
}

.product-service-strip__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

    .product-service-strip__grid > div {
        align-items: center;
        display: flex;
        gap: 13px;
    }

.product-service-strip i {
    color: #6de0c9;
    font-size: 29px;
}

.product-service-strip span {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-service-strip strong {
    font-size: 16px;
    line-height: 1.5;
}

.product-service-strip small {
    color: rgba(255,255,255,.65);
    font-size: 14px;
    line-height: 1.4;
}

@media (max-width: 1050px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .product-catalog {
        padding: 45px 0 58px;
    }

    .product-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 23px;
        margin-bottom: 28px;
    }

        .product-section-heading h1 {
            font-size: 20px;
        }

        .product-section-heading p {
            font-size: 14px;
            text-align: justify;
        }

    .product-catalog__count {
        border-left: 0;
        border-top: 1px solid var(--product-line);
        padding: 14px 0 0;
        width: 100%;
    }

        .product-catalog__count strong {
            font-size: 35px;
        }

    .product-toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 25px;
        padding: 12px 0;
    }

    .product-sort {
        justify-content: space-between;
    }

        .product-sort select {
            flex: 1;
            max-width: 215px;
        }

    .product-grid {
        gap: 17px;
        grid-template-columns: 1fr;
    }

    .product-card__media {
        aspect-ratio: 1.55;
    }

    .product-card__body {
        padding: 18px;
    }

    .product-card h2 {
        font-size: 19px;
    }

    .product-service-strip__grid {
        gap: 20px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 420px) {
    .product-catalog__count {
        align-items: flex-start;
    }

    .product-card__head {
        display: block;
    }

    .product-card__price {
        align-items: flex-start;
        flex-direction: row;
        gap: 7px;
        margin-top: 10px;
        text-align: left;
    }

        .product-card__price strong {
            font-size: 16px;
        }

    .product-card__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .product-card__detail {
        text-align: center;
    }

    .product-card__contact {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-card, .product-card__media img, .product-category-tabs a, .product-card__contact {
        animation: none;
        transition: none;
    }
}