:root {
    --pm-text: #F7F2F0;
    --pm-brown: #584642;
}

.pm-floatbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.pm-floatbar__wrap {
    pointer-events: auto;
    position: relative;
    width: min(1240px, calc(100% - 40px));
}

.pm-floatbar__bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.22);
    background: #75615cd4;
}

.pm-floatbar__content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 35px;
    padding: 0 26px 0 22px;
    height: 85px;
    box-sizing: border-box;
}

.pm-floatbar__logo {
    width: 200px;
    flex: 0 0 200px;
    display: flex;
    align-items: center;
}

.pm-floatbar__logo img {
    width: 100%;
    height: auto;
    display: block;
}

.pm-floatbar__text {
    flex: 1 1 auto;
    text-align: center;
    font: normal normal normal 21px/36px Lora, serif;
    letter-spacing: -0.28px;
    color: var(--pm-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm-floatbar__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px 65px;
    border-radius: 10px;
    background: #fff;
    text-decoration: none;
    font: normal normal bold 16px/20px Inter, sans-serif;
    color: var(--pm-brown);
    line-height: 1;
    white-space: nowrap;
}

.pm-floatbar__cta:hover {
    background: #D1AD9F;
    color: #fff;
}

.pm-floatbar__cta:focus {
    outline: 2px solid rgba(255,255,255,.6);
    outline-offset: 3px;
}

/* Close button */
.pm-floatbar__close {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.18);
    background: rgba(255,255,255,.92);
    color: var(--pm-brown);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    font-size: 18px;
    line-height: 1;
}

/* Responsive */
@media (max-width: 900px) {
    .pm-floatbar__text { font-size: 20px; line-height: 26px; }
    .pm-floatbar__cta { padding: 18px 26px; }
    .pm-floatbar__logo { width: 160px; flex-basis: 160px; }
}

@media (max-width: 640px) {
    .pm-floatbar__wrap { width: calc(100% - 24px); }
    .pm-floatbar { bottom: 12px; }
    .pm-floatbar__content { gap: 14px; padding: 0 14px 0 12px; }
    .pm-floatbar__logo { width: 120px; flex-basis: 120px; }
    .pm-floatbar__text { font-size: 16px; line-height: 20px; }
    .pm-floatbar__cta { padding: 14px 18px; font-size: 14px; }
    .pm-floatbar__close { top: -10px; right: -10px; }
}
