@font-face {
    font-family: "SF Pro Rounded";
    src: url("/fonts/SF-Pro-Rounded-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: SF Pro Rounded !important;
}

.container-custom-new {
    max-width: 549px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .container-custom-new {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .gradient-border {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    .post-detail-image {
        width: 100%;
        height: 100%;
    }
    
    .container-custom-new .navigate {
        padding-top: 10px;
        padding-bottom: 20px;
    }
    
    .post-title {
        font-size: 18px;
    }
    
    .icon-bar-custom {
        flex-wrap: wrap;
    }
    
    .review-item {
        min-height: 180px;
    }
    
    .write-review h3 {
        font-size: 16px;
    }
    
    /* Swiper responsive settings */
    .mySwiper, .reviewSwiper {
        width: 100%;
        height: auto;
    }
    
    .mySwiper .swiper-slide img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .reviewSwiper .swiper-slide {
        width: 85%;
    }
    
    .swiper-button-prev, 
    .swiper-button-next {
        transform: scale(0.7);
    }
}

/* Additional Swiper responsive settings for smaller screens */
@media (max-width: 576px) {
    .reviewSwiper .swiper-slide {
        width: 90%;
    }
    
    .swiper-button-prev, 
    .swiper-button-next {
        transform: scale(0.6);
    }
    
    .review-item {
        min-height: 160px;
    }
}

.post-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #7c4d28;
}
.gradient-border {
    padding: 2px; /* tương đương border */
    border-radius: 16px;
    background: linear-gradient(
        136.17deg,
        rgba(255, 255, 255, 0.8) 0.94%,
        rgba(63, 63, 63, 0.391667) 50.98%,
        rgba(255, 255, 255, 0.368) 98.97%
    );
    display: inline-block;
    width: 549px;
    height: 549px;
}

.post-detail-image {
    border-radius: 14px; /* nhỏ hơn 2px để lộ viền */
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.post-detail-image img {
    width: 100%;
    height: 100%;
}

.container-custom-new .navigate {
    padding-top: 15px;
    padding-bottom: 41px;
}

.icon-bar-custom {
    border-radius: 0 0 24px 24px;
    min-height: 60px;
}
.btn-outline-brown:hover,
.btn-outline-brown:focus {
    background: #7c4d28;
    color: #fff !important;
    border-color: #7c4d28;
}
.btn-map {
    width: 98px;
    height: 48px;
    border-radius: 74px;
    border: 1px solid rgba(124, 77, 40, 1);
    gap: 8;
}
.btn-map span {
    font-weight: 600;
    font-size: 12px;
    line-height: 100%;
    letter-spacing: 0%;
    color: rgba(124, 77, 40, 1);
}
.icon-bar-custom .btn-trustlist {
    padding: 0 !important;
}
.icon-bar-custom .btn-trustlist:hover,
.icon-bar-custom .trustlist-btn:hover {
    transform: translateY(0px) !important;
}
.write-review h3 {
    font-weight: 600;
    font-size: 18px;
    line-height: 21px;
    letter-spacing: 0%;
    vertical-align: middle;
    color: rgba(92, 106, 60, 1);
}

.reviewSwiper .swiper-slide {
    opacity: 0.7;
    transition: opacity 0.3s;
    height: auto;
    min-height: 200px;
    width: auto;
}

@media (min-width: 769px) {
    .reviewSwiper .swiper-slide {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .reviewSwiper .swiper-slide {
        width: 85%;
    }
}

@media (max-width: 576px) {
    .reviewSwiper .swiper-slide {
        width: 90%;
    }
    .gradient-border {
        width: 330px;
        height: 330px;
        display: block;
        margin: 0 auto;
    }
}

/* Review Modal Styles - giống UI ảnh */
.review-modal-content {
    background-color: #f5e5cc;
    border-radius: 28px;
    border: none;
    box-shadow: 0 2px 24px 0 rgba(124,77,40,0.08);
}

#reviewsModal .modal-dialog {
    max-width: 851px;
    margin: 2rem auto;
}

#reviewsModal .modal-content {
    border-radius: 28px;
    border: none;
    background-color: #f5e5cc;
}

#reviewsModal .btn-close {
    background: none;
    font-size: 1.2rem;
    color: #7C4D28;
    opacity: 1;
}

#reviewsModal .modal-title {
    font-weight: 600;
    color: #7C4D28;
    font-size: 18px;
}

#reviewsModal .input-group {
    border-radius: 24px;
    border: 1px solid #e3d6ba;
    padding: 4px 12px;
}

#reviewsModal .input-group-text {
    background: transparent;
    border: none;
}

#reviewsModal .form-control {
    background: transparent;
    border: none;
    color: #7C4D28;
    font-size: 15px;
    box-shadow: none;
}

#reviewsModal .form-control:focus {
    box-shadow: none;
}

#reviewsModal .reviews-list {
    max-height: 55vh;
    overflow-y: auto;
    padding-bottom: 0.5rem;
}

#reviewsModal .reviews-list::-webkit-scrollbar {
    width: 4px;
}
#reviewsModal .reviews-list::-webkit-scrollbar-thumb {
    background: #e3d6ba;
    border-radius: 10px;
}

#reviewsModal .d-flex.align-items-start {
    border: none !important;
}

#reviewsModal .rounded-circle {
    border: 1px solid #e3d6ba;
}

#reviewsModal .fw-semibold {
    font-weight: 600;
    color: #7C4D28;
    font-size: 15px;
}

#reviewsModal .text-post {
    color: #7C4D28;
    font-size: 15px;
    word-break: break-word;
    white-space: pre-line;
}

#reviewsModal .modal-footer {
    border: none;
    background: transparent;
    padding-bottom: 1.5rem;
}

#reviewsModal .w-100.bg-white.rounded-4 {
    border-radius: 20px !important;
    background: #fff;
    border: 1px solid #e3d6ba;
    box-shadow: none;
}

#reviewsModal .send-button {
    background: none;
    border: none;
    color: #7C4D28;
    font-size: 1.2rem;
}

#reviewsModal .flower-gift-label {
    font-size: 12px;
    color: #ac937b;
    margin-top: 0.5rem;
    margin-bottom: 0;
    gap: 4px;
}

#reviewsModal .flower-gift-text {
    color: #ac937b;
    font-size: 12px;
}

@media (max-width: 576px) {
    #reviewsModal .modal-dialog {
        max-width: 98vw;
        margin: 1rem auto;
    }
    #reviewsModal .modal-content {
        border-radius: 18px;
    }
}
.text-small {
    font-size: 12px;
    color: rgba(172, 147, 123, 1);
}