.site-footer-main {
    background: #3D0B20;
}

.site-footer-main .bottom-info {
    padding: 36px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(235px, 1.3fr) minmax(185px, 1fr) minmax(170px, .95fr) minmax(245px, 1.35fr);
    gap: 30px;
    align-items: start;
}

.footer-panel {
    min-width: 0;
}

.footer-panel--brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-heading {
    margin: 5px 0 17px;
    color: #e985ae;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 23px;
    font-style: italic;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
}

.footer-contact__logo {
    display: block;
    width: 190px;
    max-width: 100%;
    margin-bottom: 8px;
}

.footer-contact__logo img,
.footer-contact__logo svg {
    display: block;
    width: 100%;
    height: auto;
}

.footer-contact__detail {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 12px;
    width: 100%;
    max-width: 290px;
    margin: 0;
    color: #f7edf1;
    font-family: 'ChronicleDisp-R', 'Times New Roman', serif;
    font-size: 18px;
    font-style: normal;
    line-height: 1.5;
}

.site-footer-main .footer-contact__detail,
.site-footer-main .footer-contact__detail > span {
    color: #f7edf1;
}

.site-footer-main .footer-contact__detail > span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 18px;
    line-height: 1.5;
}

.footer-contact__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 27px;
    margin: 0;
}

.footer-contact__icon svg {
    display: block;
    width: 15px;
    height: 15px;
    fill: #e985ae;
}

.site-footer-main .footer-contact__link:hover,
.site-footer-main .footer-links a:hover {
    color: #f8a4c6;
}

.header-socials {
    flex-wrap: wrap;
    padding: 0;
    list-style: none;
    margin: 0;
} 

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    max-width: 290px;
    margin: 2px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid rgba(233, 133, 174, .22);
    list-style: none;
}

.site-footer-main .footer-socials li {
    margin: 0;
}

.site-footer-main .footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    transition: border-color .2s, background-color .2s;
}

.site-footer-main .footer-socials a:hover {
    border-color: #e24285;
    background-color: rgba(226, 66, 133, .18);
}
.header-socials svg,
.footer-socials svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

.site-footer-main .footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-main .footer-links li + li {
    margin-top: 8px;
}

.site-footer-main .footer-links a {
    color: #f7edf1;
    font-family: 'ChronicleDisp-R', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.3;
    text-decoration: none;
    transition: color .2s;
}

.footer-panel--newsletter {
    container-type: inline-size;
}

.footer-panel--newsletter .footer-newsletter-description {
    max-width: 360px;
    margin: 0 0 16px;
    color: #ead7df;
    font-size: 17px;
    line-height: 1.5;
}

.footer-panel--newsletter form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    width: 100%;
    margin: 0;
}

.footer-panel--newsletter input {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: 44px;
    padding: 0 12px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.footer-panel--newsletter input::placeholder {
    color: rgba(255, 255, 255, .68);
}

.footer-panel--newsletter .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    height: 44px;
    padding: 0 12px;
    border-radius: 0;
    background: #e24285;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: 12px;
    letter-spacing: .08em;
    white-space: nowrap;
}

.footer-panel--newsletter .button:hover {
    background: #ef70a6;
}

@container (max-width: 300px) {
    .footer-panel--newsletter form {
        grid-template-columns: minmax(0, 1fr);
    }
}

.footer-panel--newsletter .newsletter-feedback {
    margin: 10px 0 0;
    color: #f8a4c6;
    font-family: 'ChronicleDisp-R', 'Times New Roman', serif;
    font-size: 16px;
    line-height: 1.35;
}

.footer-panel--newsletter .newsletter-feedback[hidden] {
    display: none;
}

.footer-panel--newsletter .newsletter-feedback.is-error {
    color: #ffc2c2;
}

.newsletter-modal .modal-content {
    overflow: hidden;
    border: 1px solid #f0d9e2;
    border-radius: 2px;
    color: #3d0b20;
}

.newsletter-modal__status {
    height: 4px;
    background: #e24285;
}

.newsletter-modal .modal-header {
    border-bottom-color: #f0d9e2;
}

.newsletter-modal .modal-title {
    color: #3d0b20;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 25px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: 0;
    text-transform: none;
}

.newsletter-modal .modal-body p {
    margin: 0;
    line-height: 1.5;
}

.newsletter-modal .modal-body {
    height: auto !important;
    min-height: 0 !important;
    overflow-y: visible;
}

.newsletter-modal .newsletter-modal__email {
    margin-top: 8px;
    color: #c52f70;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.newsletter-modal .modal-footer {
    border-top-color: #f0d9e2;
}

.newsletter-modal__cancel {
    border-color: #d7bcc7;
    color: #3d0b20;
}

.newsletter-modal__cancel:hover {
    border-color: #e24285;
    color: #c52f70;
}

.newsletter-modal .newsletter-modal__confirm {
    --bs-btn-bg: #e24285;
    --bs-btn-border-color: #e24285;
    --bs-btn-hover-bg: #c52f70;
    --bs-btn-hover-border-color: #c52f70;
    --bs-btn-active-bg: #a92760;
    --bs-btn-active-border-color: #a92760;
    --bs-btn-disabled-bg: #e24285;
    --bs-btn-disabled-border-color: #e24285;
}

.site-footer-main a:focus-visible,
.site-footer-legal a:focus-visible,
.site-footer-main input:focus-visible,
.site-footer-main button:focus-visible {
    outline: 2px solid #f8a4c6;
    outline-offset: 3px;
}

.site-footer-legal {
    padding: 0;
    background: #3D0B20;
}

.footer-legal-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
    min-height: 58px;
    padding: 14px 0;
    border-top: 1px solid rgba(233, 133, 174, .35);
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 18px;
}

.site-footer-legal p,
.site-footer-legal a {
    margin: 0;
    color: #ead7df;
    font-family: 'ChronicleDisp-R', 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.4;
}

.site-footer-legal .footer-legal-credit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-legal-credit img {
    display: block;
    flex: none;
    width: 57px;
    height: 17px;
}

.site-footer-legal a:hover {
    color: #f8a4c6;
}

@media screen and (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-areas: 'brand newsletter' 'explore shop';
        gap: 30px 42px;
    }

    .footer-panel--brand { grid-area: brand; }
    .footer-panel--explore { grid-area: explore; }
    .footer-panel--shop { grid-area: shop; }
    .footer-panel--newsletter { grid-area: newsletter; }

    .footer-legal-links {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .site-footer-main .bottom-info {
        padding: 27px 0 25px;
    }

    .footer-grid {
        grid-template-areas: 'brand brand' 'explore shop' 'newsletter newsletter';
        gap: 27px 20px;
    }

    .footer-contact__logo {
        width: 180px;
    }

    .footer-heading {
        margin: 0 0 12px;
        font-size: 21px;
    }

    .site-footer-main .footer-links li + li {
        margin-top: 4px;
    }

    .site-footer-main .footer-links a {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 6px 0;
    }

    .footer-legal-links a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    .footer-legal-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 16px 0 20px;
    }
}
