/* =========================================================
   PACKAGE CATEGORY SHOWCASE — ELEMENTOR
   Post Type: package
   Taxonomy: package-category
========================================================= */

.pcs-showcase,
.pcs-showcase * {
    box-sizing: border-box;
}

.pcs-showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    gap: 18px;
}

/* =========================
   MAIN CARD
========================= */

.pcs-card {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-height: 345px;
    padding: 4px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 18px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.07),
        0 1px 4px rgba(0, 0, 0, 0.03);
}

/* =========================
   LEFT IMAGE
========================= */

.pcs-card__media {
    flex: 0 0 42%;
    width: 42%;
    min-width: 0;
    overflow: hidden;
}

.pcs-card__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: center bottom;
    border-radius: 14px;
}

/* =========================
   RIGHT CONTENT
========================= */

.pcs-card__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding: 18px 16px 0 18px;
}

.pcs-card__title {
    margin: 0 0 8px;
    color: #242424;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.28;
    letter-spacing: -0.02em;
}

.pcs-card__description {
    margin: 0;
    color: #737373;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.45;
}

.pcs-card__description p {
    margin: 0;
}

.pcs-card__description p + p {
    margin-top: 8px;
}

/* =========================
   PACKAGE BOX
========================= */

.pcs-package-box {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 0;
    padding: 14px;
    background: #E5F0EF;
    border-width: 1px;
    border-style: dashed;
    border-color: #0D6F63;
    border-radius: 14px;
}

.pcs-package-box__title {
    align-self: stretch;
    margin: 0 0 14px;
    color: #0D6F63;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

/* =========================
   PACKAGE LIST
========================= */

.pcs-package-list {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pcs-package-list li {
    position: relative;
    margin: 0;
    padding: 0 0 0 16px;
    color: #0D6F63;
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.42;
}

.pcs-package-list li::before {
    content: "•";
    position: absolute;
    top: 0;
    left: 2px;
    color: #0D6F63;
    line-height: inherit;
}

.pcs-package-list a {
    color: inherit;
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

.pcs-package-list a:hover,
.pcs-package-list a:focus {
    opacity: .8;
}

.pcs-no-packages {
    align-self: stretch;
    color: #0D6F63;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    line-height: 1.45;
}

/* =========================
   BUTTON
========================= */

.pcs-button-wrap {
    display: flex;
    justify-content: flex-start;
    width: 100%;
    margin-top: auto;
    padding-top: 16px;
}

.pcs-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 30px;
    padding: 8px 14px;
    color: #ffffff;
    background: #0D6F63;
    border-radius: 3px;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none !important;
    text-align: center;
    transition:
        transform .2s ease,
        opacity .2s ease,
        box-shadow .2s ease,
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.pcs-button:hover,
.pcs-button:focus {
    color: #ffffff;
    transform: translateY(-1px);
}

.pcs-empty-note {
    padding: 16px 18px;
    border: 1px solid #ddd;
    background: #fafafa;
    color: #444;
    font-size: 14px;
}

/* =========================================================
   LARGE DESKTOP
========================================================= */

@media (min-width: 1441px) {
    .pcs-showcase {
        gap: 24px;
    }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1024px) {

    .pcs-showcase {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pcs-card {
        min-height: 460px;
    }

    .pcs-card__media {
        flex-basis: 40%;
        width: 40%;
    }

    .pcs-card__title {
        font-size: 24px;
    }

    .pcs-card__description {
        font-size: 15px;
    }

    .pcs-package-box__title {
        font-size: 18px;
    }

    .pcs-package-list li {
        font-size: 14px;
    }

    .pcs-button {
        min-height: 48px;
        font-size: 15px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .pcs-card {
        display: block;
        min-height: 0;
    }

    .pcs-card__media {
        width: 100% !important;
        flex-basis: 100% !important;
        height: 280px;
        min-height: 0;
    }

    .pcs-card__image {
        width: 100%;
        height: 100%;
        min-height: 0;
    }

    .pcs-card__content {
        padding: 22px 12px 0;
    }

    .pcs-card__title {
        font-size: 22px;
    }

    .pcs-card__description {
        font-size: 14px;
    }

    .pcs-package-box {
        margin-top: 18px;
        padding: 16px;
    }

    .pcs-package-box__title {
        font-size: 16px;
    }

    .pcs-package-list li {
        font-size: 14px;
    }

    .pcs-button {
        min-height: 44px;
        font-size: 14px;
    }
}
