.pm-promotions-widget {
    --pm-accent: #f36b21;
    --pm-dark: #521408;
    --pm-cta: #25d366;
    --pm-cream: #fffbf7;
    color: #292524;
    font-family: "Montserrat", sans-serif;
}

.pm-promotions-tabs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.pm-promotions-tab {
    border: 1px solid #d6d3d1;
    background: #fff;
    color: #44403c;
    border-radius: 12px;
    padding: 10px 8px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pm-promotions-tab.is-active {
    background: var(--pm-accent);
    border-color: var(--pm-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(243, 107, 33, 0.3);
}

.pm-promotions-view[hidden] {
    display: none !important;
}

.pm-card {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.pm-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    border-radius: 12px;
    padding: 12px 20px;
}

.pm-card-a {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 2px solid #f0ece9;
}

.pm-card-a__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
}

.pm-card-a__content {
    background: var(--pm-dark);
    color: #fff;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.pm-pill {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    width: fit-content;
    background: var(--pm-accent);
    border-radius: 999px;
    padding: 10px 20px;
    font-weight: 900;
}

.pm-pill span {
    color: #fde68a;
}

.pm-card-a .pm-cta {
    margin-top: 6px;
    background: var(--pm-cta);
    color: #fff;
}

.pm-card-b {
    position: relative;
    min-height: 340px;
}

.pm-card-b>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-card-b__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--pm-dark) 0%, rgba(82, 20, 8, 0.88) 55%, transparent 100%);
    color: #fff;
    padding: 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.pm-card-b__overlay h3 {
    margin: 0 0 4px;
    font-size: 31px;
}

.pm-card-b__overlay h3 span {
    color: #fde68a;
}

.pm-card-b .pm-cta {
    margin-top: 8px;
    width: fit-content;
    background: var(--pm-accent);
    color: #fff;
}

.pm-card-c {
    background: var(--pm-dark);
    border: 2px solid rgba(243, 107, 33, 0.4);
    color: #fff;
    padding: 22px;
}

.pm-card-c__head {
    text-align: center;
    margin-bottom: 12px;
}

.pm-card-c__head h3 {
    margin: 0;
    font-size: 30px;
}

.pm-card-c__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.pm-trip-card {
    background: rgba(82, 20, 8, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 16px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.22s ease, background-color 0.22s ease;
    will-change: transform;
}

.pm-trip-card:hover,
.pm-trip-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24);
}

.pm-trip-card.is-active {
    background: #7a2211;
    border-color: var(--pm-accent);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

.pm-trip-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}

.pm-trip-card h4 {
    margin: 0 0 4px;
    font-size: 13px;
}

.pm-trip-card p {
    margin: 0;
    font-size: 11px;
    color: #d6d3d1;
    min-height: 34px;
    white-space: pre-line;
}

.pm-trip-card strong {
    margin-top: 8px;
    display: inline-block;
    color: #fde68a;
    font-size: 18px;
}

.pm-card-c__active {
    background: #7a2211;
    border: 1px solid rgba(243, 107, 33, 0.5);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.pm-card-c__active [data-active-title],
.pm-card-c__active [data-active-detail],
.pm-card-c__active [data-active-price],
.pm-card-c__active [data-active-link] {
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.pm-card-c__active.is-switching [data-active-title],
.pm-card-c__active.is-switching [data-active-detail],
.pm-card-c__active.is-switching [data-active-price],
.pm-card-c__active.is-switching [data-active-link] {
    opacity: 0;
    transform: translateY(4px);
}

.pm-card-c__active small {
    color: #fde68a;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 900;
}

.pm-card-c__active h4 {
    margin: 2px 0;
    font-size: 19px;
}

.pm-card-c__active p {
    margin: 0;
    color: #e7e5e4;
    font-size: 12px;
    white-space: pre-line;
}

.pm-card-c__action {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pm-card-c__action strong {
    font-size: 26px;
}

.pm-card-c__action .pm-cta {
    background: var(--pm-accent);
    color: #fff;
}

.pm-card-d {
    background: #fff;
    border: 2px dashed var(--pm-accent);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.pm-card-d>img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 18px;
}

.pm-card-d__text {
    flex: 1;
}

.pm-card-d__text h3 {
    margin: 2px 0;
    color: var(--pm-dark);
}

.pm-card-d__text p {
    margin: 0;
    color: #6b7280;
}

.pm-card-d__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-card-d__right strong {
    font-size: 32px;
    color: var(--pm-accent);
}

.pm-card-d__right .pm-cta {
    background: var(--pm-dark);
    color: #fff;
}

.pm-card-e {
    background: linear-gradient(135deg, #7a2211 0%, var(--pm-dark) 100%);
    color: #fff;
    border: 1px solid var(--pm-accent);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pm-card-e__left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-tag {
    background: var(--pm-accent);
    color: #fff;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 900;
}

.pm-card-e__left p {
    margin: 0;
    font-size: 12px;
}

.pm-card-e__right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pm-card-e__right strong {
    color: #fde68a;
    font-size: 24px;
}

.pm-card-e__right .pm-cta {
    background: #fff;
    color: var(--pm-dark);
}

.pm-card-f {
    background: #1c1917;
    border: 1px solid #292524;
    color: #fff;
    padding: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pm-card-f__left {
    flex: 1;
}

.pm-card-f__eyebrow {
    color: var(--pm-accent);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 800;
}

.pm-card-f__left h3 {
    margin: 8px 0;
}

.pm-card-f__left p {
    margin: 0 0 4px;
    color: #a8a29e;
    font-size: 13px;
}

.pm-card-f__left .pm-cta {
    margin-top: 12px;
    background: var(--pm-accent);
    color: #fff;
}

.pm-card-f__img {
    position: relative;
    width: 220px;
    height: 170px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #292524;
}

.pm-card-f__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pm-card-f__img span {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.85);
    border: 1px solid #333;
    color: #fde68a;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 18px;
    font-weight: 900;
}

@media (max-width: 1024px) {
    .pm-promotions-tabs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pm-card-a {
        grid-template-columns: 1fr;
    }

    .pm-card-c__grid {
        grid-template-columns: 1fr;
    }

    .pm-card-c__active {
        flex-direction: column;
        align-items: flex-start;
    }

    .pm-card-c__action {
        width: 100%;
        justify-content: space-between;
    }
}

@media (prefers-reduced-motion: reduce) {

    .pm-trip-card,
    .pm-card-c__active,
    .pm-card-c__active [data-active-title],
    .pm-card-c__active [data-active-detail],
    .pm-card-c__active [data-active-price],
    .pm-card-c__active [data-active-link] {
        transition: none !important;
    }
}

@media (max-width: 767px) {
    .pm-promotions-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pm-card-b__overlay {
        padding: 18px;
    }

    .pm-card-b__overlay h3 {
        font-size: 22px;
    }

    .pm-card-d,
    .pm-card-e,
    .pm-card-f {
        flex-direction: column;
        align-items: flex-start;
    }

    .pm-card-f__img {
        width: 100%;
        max-width: 320px;
    }
}
