.af-social-widget {
    --af-text: #181818;
    --af-muted: #7e7e86;
    --af-soft: #f7f7f9;
    --af-star: #ffc433;
    --af-blue: #3d8df5;
    color: var(--af-text);
    font-family: Poppins, Arial, sans-serif;
    font-size: 16px;
    margin: 0 auto;
    padding: 0 7.2%;
}

.af-social-widget,
.af-social-widget *,
.af-social-widget *::before,
.af-social-widget *::after {
    box-sizing: border-box;
}

.af-social-heading {
    color: #000;
    font-family: Sailors, Poppins, Arial, sans-serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 52px 0 34px;
    text-align: center;
    text-transform: uppercase;
}

.af-google-summary {
    align-items: center;
    background: var(--af-soft);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto 24px;
    min-height: 140px;
    width: 100%;
}

.af-google-summary-link {
    align-items: center;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: inherit;
    text-decoration: none;
    width: 100%;
}

.af-google-summary-link:hover,
.af-google-summary-link:focus {
    color: inherit;
    text-decoration: none;
}

.af-google-logo {
    align-items: baseline;
    display: flex;
    font-size: 26px;
    font-weight: 500;
    gap: 0;
    line-height: 1.15;
}

.af-google-logo strong {
    color: #111;
    font-size: 25px;
    margin-left: 5px;
}

.af-g-blue {
    color: #4285f4;
}

.af-g-red {
    color: #ea4335;
}

.af-g-yellow {
    color: #fbbc05;
}

.af-g-green {
    color: #34a853;
}

.af-google-rating-row {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.af-google-rating-row strong {
    color: #111;
    font-size: 27px;
    line-height: 1;
}

.af-stars,
.af-card-stars {
    display: inline-flex;
    letter-spacing: 0;
    line-height: 1;
}

.af-stars .is-filled,
.af-card-stars .is-filled {
    color: var(--af-star);
}

.af-stars .is-empty,
.af-card-stars .is-empty {
    color: #d9d9d9;
}

.af-stars {
    font-size: 28px;
}

.af-card-stars {
    font-size: 17px;
    margin: 17px 0 8px;
}

.af-review-count {
    color: var(--af-muted);
    font-size: 14px;
}

.af-carousel-shell {
    position: relative;
}

.af-review-track,
.af-instagram-track {
    display: grid;
    grid-auto-flow: column;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.af-review-track::-webkit-scrollbar,
.af-instagram-track::-webkit-scrollbar {
    display: none;
}

.af-review-track {
    gap: 28px;
    grid-auto-columns: calc((100% - 112px) / 5);
    padding-bottom: 6px;
}

.af-review-card {
    background: var(--af-soft);
    border-radius: 8px;
    height: 240px;
    min-height: 240px;
    overflow: hidden;
    padding: 32px 32px 16px;
}

.af-review-card.is-expanded {
    height: auto;
}

.af-review-header {
    align-items: center;
    display: flex;
    gap: 14px;
    min-width: 0;
}

.af-review-avatar {
    align-items: center;
    background: var(--af-avatar-color, #7057c7);
    border-radius: 50%;
    color: #fff;
    display: flex;
    flex: 0 0 54px;
    font-size: 24px;
    font-weight: 500;
    height: 54px;
    justify-content: center;
    position: relative;
    width: 54px;
}

.af-review-avatar img {
    border-radius: inherit;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.af-google-badge {
    align-items: center;
    background: #fff;
    border-radius: 50%;
    bottom: -7px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
    color: #4285f4;
    display: flex;
    font-size: 24px;
    font-weight: 700;
    height: 27px;
    justify-content: center;
    position: absolute;
    right: -7px;
    width: 27px;
}

.af-review-meta {
    min-width: 0;
}

.af-review-name-row,
.af-instagram-name-row {
    align-items: center;
    display: flex;
    gap: 7px;
    min-width: 0;
}

.af-review-name-row strong,
.af-review-author-link,
.af-instagram-name-row a {
    color: #181818;
    display: block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.16;
    overflow: hidden;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.af-review-author-link:hover,
.af-review-author-link:focus {
    color: #181818;
    text-decoration: none;
}

.af-review-meta > span,
.af-instagram-identity > span {
    color: var(--af-muted);
    display: block;
    font-size: 13px;
    line-height: 1.3;
    margin-top: 4px;
}

.af-verified {
    align-items: center;
    background: var(--af-blue);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    flex: 0 0 17px;
    height: 17px;
    justify-content: center;
    width: 17px;
}

.af-verified::before {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    height: 8px;
    margin-top: -2px;
    transform: rotate(45deg);
    width: 4px;
}

.af-review-text {
    color: #181818;
    font-size: 15px;
    line-height: 1.33;
    margin: 0;
}

.af-review-text.is-collapsed {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    overflow: hidden;
}

.af-read-more {
    background: transparent;
    border: 0;
    color: #448dff;
    cursor: pointer;
    display: inline-block;
    font: inherit;
    font-size: 15px;
    line-height: 1.2;
    margin: 3px 0 0;
    padding: 0;
}

body.af-social-modal-open {
    overflow: hidden;
}

.af-review-modal {
    --af-blue: #3d8df5;
    --af-muted: #7e7e86;
    --af-star: #ffc433;
    --af-text: #181818;
    display: none;
    font-family: Poppins, Arial, sans-serif;
    inset: 0;
    position: fixed;
    z-index: 99999;
}

.af-review-modal.is-open {
    display: block;
}

.af-review-modal-backdrop {
    background: rgba(0, 0, 0, 0.62);
    inset: 0;
    position: absolute;
}

.af-review-modal-panel {
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.22);
    left: 50%;
    max-height: min(760px, calc(100vh - 68px));
    max-width: min(880px, calc(100vw - 32px));
    overflow-y: auto;
    padding: 48px 52px 46px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.af-review-modal-close {
    align-items: center;
    background: transparent;
    border: 0;
    color: #6f6f76;
    cursor: pointer;
    display: flex;
    font-size: 34px;
    height: 42px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 22px;
    top: 18px;
    width: 42px;
}

.af-review-modal-close:hover,
.af-review-modal-close:focus {
    color: #222;
    outline: none;
}

.af-review-modal-summary {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.af-review-modal-summary-link {
    align-items: center;
    color: inherit;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.af-review-modal-summary-link:hover,
.af-review-modal-summary-link:focus {
    color: inherit;
    text-decoration: none;
}

.af-review-modal-logo {
    font-size: 26px;
    justify-content: center;
}

.af-review-modal-logo strong {
    font-size: 25px;
}

.af-review-modal-rating {
    justify-content: center;
}

.af-review-modal-divider {
    border-top: 1px solid #e8e8e8;
    margin: 34px 0 30px;
}

.af-review-modal-card {
    color: #181818;
}

.af-review-modal-card .af-review-header {
    gap: 16px;
}

.af-review-modal-card .af-review-name-row strong,
.af-review-modal-card .af-review-author-link {
    font-size: 18px;
}

.af-review-modal-card .af-review-meta > span {
    font-size: 14px;
}

.af-review-modal-card .af-card-stars {
    color: var(--af-star);
    font-size: 18px;
    margin: 22px 0 12px;
}

.af-review-modal .af-stars,
.af-review-modal .af-card-stars {
    color: var(--af-star);
}

.af-review-modal-text {
    color: #181818;
    font-size: 17px;
    line-height: 1.45;
    margin: 0;
    white-space: pre-line;
}

.af-google-view-button {
    align-items: center;
    background: #4285f4;
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    margin-top: 22px;
    min-height: 36px;
    padding: 0 16px;
    text-decoration: none;
}

.af-google-view-button:hover,
.af-google-view-button:focus {
    background: #2f73e0;
    color: #fff;
    text-decoration: none;
}

.af-carousel-arrow {
    align-items: center;
    background: rgba(0, 0, 0, 0.46);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: background 0.2s ease, opacity 0.2s ease;
    width: 44px;
    z-index: 2;
}

.af-carousel-arrow:hover,
.af-carousel-arrow:focus {
    background: rgba(0, 0, 0, 0.64);
    outline: none;
}

.af-carousel-arrow::before {
    border-right: 3px solid #fff;
    border-top: 3px solid #fff;
    content: "";
    height: 13px;
    width: 13px;
}

.af-carousel-prev {
    left: -23px;
}

.af-carousel-prev::before {
    margin-left: 5px;
    transform: rotate(-135deg);
}

.af-carousel-next {
    right: -23px;
}

.af-carousel-next::before {
    margin-right: 5px;
    transform: rotate(45deg);
}

.af-carousel-arrow.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.af-carousel-dots {
    align-items: center;
    display: flex;
    gap: 8px;
    height: 24px;
    justify-content: center;
}

.af-carousel-dots span {
    background: #c9c9c9;
    border-radius: 50%;
    display: block;
    height: 5px;
    width: 5px;
}

.af-carousel-dots span.is-active {
    background: #000;
    height: 7px;
    width: 7px;
}

.af-instagram-widget {
    padding-bottom: 20px;
}

.af-instagram-profile {
    align-items: center;
    display: grid;
    gap: 26px;
    grid-template-columns: auto minmax(270px, 1fr) auto auto;
    margin: 0 auto 48px;
    max-width: 860px;
}

.af-instagram-avatar {
    align-items: center;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(145deg, #f7b733, #dd2a7b, #8134af, #515bd4) border-box;
    border: 3px solid transparent;
    border-radius: 50%;
    display: flex;
    height: 64px;
    justify-content: center;
    overflow: hidden;
    width: 64px;
}

.af-instagram-avatar img {
    border-radius: 50%;
    height: 54px;
    object-fit: cover;
    width: 54px;
}

.af-instagram-avatar:empty::before {
    background: url("/assets/web/img/logo/aroma_logo.png") center / cover no-repeat;
    border-radius: 50%;
    content: "";
    height: 54px;
    width: 54px;
}

.af-instagram-name-row a {
    font-size: 20px;
}

.af-instagram-stats {
    align-items: center;
    display: flex;
    gap: 32px;
}

.af-instagram-stats div {
    text-align: center;
}

.af-instagram-stats strong {
    color: #111;
    display: block;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.15;
}

.af-instagram-stats span {
    color: var(--af-muted);
    display: block;
    font-size: 14px;
    line-height: 1.35;
    margin-top: 4px;
}

.af-instagram-follow {
    align-items: center;
    background: #4093ed;
    border-radius: 5px;
    color: #fff;
    display: inline-flex;
    font-size: 16px;
    font-weight: 500;
    gap: 10px;
    min-height: 40px;
    padding: 0 17px;
    text-decoration: none;
}

.af-instagram-follow:hover,
.af-instagram-follow:focus {
    background: #2878d5;
    color: #fff;
    text-decoration: none;
}

.af-instagram-icon {
    border: 2px solid currentColor;
    border-radius: 6px;
    display: inline-block;
    height: 18px;
    position: relative;
    width: 18px;
}

.af-instagram-icon::before {
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
    height: 6px;
    left: 4px;
    position: absolute;
    top: 4px;
    width: 6px;
}

.af-instagram-icon::after {
    background: currentColor;
    border-radius: 50%;
    content: "";
    height: 3px;
    position: absolute;
    right: 3px;
    top: 3px;
    width: 3px;
}

.af-instagram-track {
    gap: 20px;
    grid-auto-columns: calc((100% - 60px) / 4);
}

.af-instagram-post {
    aspect-ratio: 4 / 3;
    background: #f3f3f3;
    display: block;
    overflow: hidden;
    position: relative;
}

.af-instagram-post img {
    display: block;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease;
    width: 100%;
}

.af-instagram-post:hover img,
.af-instagram-post:focus img {
    transform: scale(1.035);
}

.af-instagram-hover {
    align-items: center;
    background: rgba(0, 0, 0, 0.66);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 14px;
    inset: 0;
    justify-content: center;
    opacity: 0;
    padding: 22px;
    position: absolute;
    text-align: center;
    transition: opacity 0.2s ease;
    z-index: 2;
}

.af-instagram-post:hover .af-instagram-hover,
.af-instagram-post:focus .af-instagram-hover {
    opacity: 1;
}

.af-instagram-metrics {
    align-items: center;
    display: flex;
    font-size: 18px;
    font-weight: 600;
    gap: 20px;
    justify-content: center;
    line-height: 1;
}

.af-instagram-metric {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    position: relative;
}

.af-instagram-like::before {
    content: "\2665";
    font-size: 22px;
    line-height: 1;
}

.af-instagram-comment::before {
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 18px;
    width: 20px;
}

.af-instagram-comment::after {
    border-bottom: 2px solid currentColor;
    border-left: 2px solid currentColor;
    bottom: 2px;
    content: "";
    height: 7px;
    left: 11px;
    position: absolute;
    transform: rotate(-25deg);
    width: 7px;
}

.af-instagram-hover-caption {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.36;
    max-width: 100%;
    overflow: hidden;
}

.af-instagram-post.is-media-missing img {
    opacity: 0;
}

.af-instagram-post.is-media-missing::before {
    color: #9b9b9b;
    content: "Instagram";
    font-size: 14px;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
}

.af-instagram-video-icon,
.af-instagram-carousel-icon {
    position: absolute;
    right: 15px;
    top: 14px;
}

.af-instagram-video-icon {
    align-items: center;
    background: rgba(0, 0, 0, 0.32);
    border: 2px solid rgba(255, 255, 255, 0.96);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
    display: flex;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.af-instagram-video-icon::after {
    border-bottom: 6px solid transparent;
    border-left: 9px solid #fff;
    border-top: 6px solid transparent;
    content: "";
    margin-left: 3px;
}

.af-instagram-carousel-icon,
.af-instagram-carousel-icon::before {
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    height: 22px;
    width: 22px;
}

.af-instagram-carousel-icon::before {
    content: "";
    left: -8px;
    position: absolute;
    top: -8px;
}

@media only screen and (max-width: 1399px) {
    .af-social-widget {
        padding-left: 6%;
        padding-right: 6%;
    }

    .af-review-track {
        grid-auto-columns: calc((100% - 84px) / 4);
    }
}

@media only screen and (max-width: 1199px) {
    .af-social-widget {
        padding-left: 5%;
        padding-right: 5%;
    }

    .af-review-track {
        grid-auto-columns: calc((100% - 56px) / 3);
    }

    .af-instagram-track {
        grid-auto-columns: calc((100% - 40px) / 3);
    }
}

@media only screen and (max-width: 991px) {
    .af-instagram-profile {
        gap: 18px;
        grid-template-columns: auto minmax(0, 1fr);
        max-width: 620px;
    }

    .af-instagram-stats {
        grid-column: 1 / -1;
        justify-content: center;
        order: 3;
    }

    .af-instagram-follow {
        justify-self: start;
    }
}

@media only screen and (max-width: 767px) {
    .af-social-widget {
        padding-left: 16px;
        padding-right: 16px;
    }

    .af-social-heading {
        font-size: 23px;
        margin: 38px 0 24px;
    }

    .af-google-summary {
        min-height: 118px;
    }

    .af-google-logo {
        font-size: 24px;
    }

    .af-google-logo strong {
        font-size: 23px;
    }

    .af-google-rating-row strong,
    .af-stars {
        font-size: 25px;
    }

    .af-review-track {
        gap: 16px;
        grid-auto-columns: minmax(260px, 82%);
        scroll-snap-type: x proximity;
    }

    .af-review-card {
        height: 220px;
        min-height: 220px;
        padding: 26px 24px 14px;
        scroll-snap-align: start;
    }

    .af-review-name-row strong,
    .af-review-author-link,
    .af-review-text,
    .af-read-more {
        font-size: 14px;
    }

    .af-review-meta > span {
        font-size: 13px;
    }

    .af-card-stars {
        font-size: 17px;
        margin-top: 17px;
    }

    .af-review-modal-panel {
        border-radius: 16px;
        max-height: calc(100vh - 36px);
        padding: 42px 24px 30px;
    }

    .af-review-modal-logo,
    .af-review-modal-logo strong {
        font-size: 22px;
    }

    .af-review-modal-text {
        font-size: 15px;
    }

    .af-instagram-hover {
        padding: 18px;
    }

    .af-instagram-hover-caption {
        font-size: 14px;
    }

    .af-carousel-arrow {
        height: 42px;
        width: 42px;
    }

    .af-carousel-prev {
        left: -8px;
    }

    .af-carousel-next {
        right: -8px;
    }

    .af-instagram-profile {
        margin-bottom: 28px;
    }

    .af-instagram-name-row a {
        font-size: 19px;
    }

    .af-instagram-identity > span,
    .af-instagram-stats span {
        font-size: 14px;
    }

    .af-instagram-stats {
        gap: 22px;
    }

    .af-instagram-stats strong {
        font-size: 17px;
    }

    .af-instagram-track {
        gap: 14px;
        grid-auto-columns: minmax(250px, 78%);
        scroll-snap-type: x proximity;
    }

    .af-instagram-post {
        scroll-snap-align: start;
    }
}

@media only screen and (max-width: 479px) {
    .af-instagram-profile {
        grid-template-columns: auto 1fr;
    }

    .af-instagram-follow {
        grid-column: 2;
        width: max-content;
    }

    .af-instagram-stats {
        gap: 15px;
    }
}
