* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Kanit", serif;
}

#wrapper {
    width: 100%;
    min-height: 100vh;
}

body {
    background-color: #f4f4f4;
}

iconify-icon {
    display: inline-block;
    width: 1em;
    height: 1em;
}



/* navbar */
/* navbar */
/* navbar */
.allnavbar {
    width: 100%;
    height: 100px;
    background-color: #f4f4f4;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 30px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.nav {
    margin-right: 35px;
}

.left-navbar {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 300px;
}

.right-navbar {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-icon-1 .ant-design-home {
    margin-left: 12px;
    margin-bottom: 10px;
}

.nav-icon-1 a {
    text-decoration: none;
    color: #242424;
}

.nav-icon-1 a:hover {
    color: #04757b;
    transition: color 0.3s ease;
}

/* change when another page */
/* change when another page */
/* change when another page */
/* change when another page */
.nav-icon-5 a.active {
    font-weight: bold;
    color: #04757b;
}

/* change when another page */
/* change when another page */
/* change when another page */
/* change when another page */

.nav-icon-2 .ant-design-product {
    margin-left: 28px;
    margin-bottom: 10px;
}

.nav-icon-2 a {
    text-decoration: none;
    color: #242424;
}

.nav-icon-2 a:hover {
    color: #04757b;
    transition: color 0.3s ease;
}

.nav-icon-3 .ant-design-suggest {
    margin-left: 20px;
    margin-bottom: 10px;
}

.nav-icon-3 a {
    text-decoration: none;
    color: #242424;
}

.nav-icon-3 a:hover {
    color: #04757b;
    transition: color 0.3s ease;
}

.nav-icon-4 .ant-design-about {
    margin-left: 20px;
    margin-bottom: 10px;
}

.nav-icon-4 a {
    text-decoration: none;
    color: #242424;
}

.nav-icon-4 a:hover {
    color: #04757b;
    transition: color 0.3s ease;
}

.nav-icon-5 .ant-design-review {
    margin-left: 15px;
    margin-bottom: 10px;
}

.nav-icon-5 a {
    text-decoration: none;
    color: #242424;
}

.nav-icon-5 a:hover {
    color: #04757b;
    transition: color 0.3s ease;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-logo img {
    height: 70px;
}

.search-container {
    display: flex;
    align-items: center;
    width: 270px;
    height: 40px;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 5px;
    background: white;
    margin-right: 50px;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 5px 10px;
    background: transparent;
}

.search-btn {
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 16px;
    padding: 5px;
    color: #333;
}

.search-btn:hover {
    color: #04757b;
}

.user-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 50px;
}

.user-container iconify-icon {
    width: 32px;
    height: 32px;
    display: block;
}

.user-name {
    white-space: nowrap;
    text-align: center;
}

.nav-icon-user a {
    text-decoration: none;
    color: #242424;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: color 0.3s ease;
}

.nav-icon-user a:hover {
    color: #04757b;
}

.nav-icon-user .n-user a.active {
    font-weight: bold;
    color: #04757b;
}

.nav-icon-6 .ant-design-coin {
    margin-left: 15px;
    margin-bottom: 10px;
}

.nav-icon-6 a {
    text-decoration: none;
    color: #242424;
}

.nav-icon-6 a:hover {
    color: #04757b;
    transition: color 0.3s ease;
}


.nav-icon-7 .ant-design-cart {
    margin-left: 2px;
    margin-bottom: 10px;
}

.nav-icon-7 a {
    text-decoration: none;
    color: #242424;
}

.nav-icon-7 a:hover {
    color: #04757b;
    transition: color 0.3s ease;
}

/* navbar */
/* navbar */
/* navbar */
/* navbar */



/* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner */


.line-md--chevron-small-right {
    display: inline-block;
    width: 24px;
    height: 24px;
    --svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M15 12l-5 -5M15 12l-5 5'/%3E%3C/svg%3E");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.herobanner-page {
    width: 100%;
    height: 300px;
    background: url(pic/Banner2.JPG);
    background-size: cover;
    background-position: center -950px;
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.04) 0px 3px 5px;
    margin-top: 100px;
}
.herobanner-page h1 {
    font-size: 48px;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}

.mini-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.mini-nav a{
    text-decoration: none;
    color: #242424;
    font-weight: 500;
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.7);
}
.mini-nav a:hover {
    text-decoration: underline;
    color: #04757b;
}



/* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner *//* ใช้สำหรับทุกหน้าที่มี hero banner */











/*--------------------start----------------*/

.review-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 650px;
    padding: 15px 30px;
    background-color: #f4f4f4;
    margin: 50px auto 10px auto;
    width: fit-content;
    border-radius: 8px;
}


/* h1 {
    text-align: center;
    font-size: large;
    background-color: aquamarine;
    width: 400%;
    height: 50px;
} */

.filter-select,
.add-review-btn {
    padding: 8px;
    margin: 5px;
    border-radius: 5px;

}

.filter-select {
    width: 200px;
    padding: 12px 10px;
    font-size: 16px;
    background-color: #04757b;
    color: #f4f4f4;
}

.add-review-btn {
    width: 140px;
    padding: 12px 20px;
    font-size: 16px;
    background-color: #04757b;
    color: #fff;
    border: none;
    cursor: pointer;
}


.add-review-btn {
    background-color: #04757b;
    color: #fff;
    border: none;
    cursor: pointer;

}




/* -----------คะแนนรวม--------------- */
/* .review-summary {
    padding: 20px;
    background-color: #fff;
    margin: 20px auto;
    width: 80%;
    border-radius: 8px;
    text-align: center;
} */




.review-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #AAB7A6;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
    background: #AAB7A6;
    box-shadow: 20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;

}


.review-left {
    flex: 1;
    text-align: center;
}

.average-score {
    font-size: 70px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #242424;
}

.stars {
    font-size: 24px;
    color: #f5c518;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.stars .half {
    position: relative;
    display: inline-block;
    color: #e0e0e0;
}

.stars .half::before {
    content: "★";
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #f5c518;
}

.stars .empty {
    color: #e0e0e0;
}

.total-reviews {
    color: gray;
    font-size: 14px;
}

.review-right {
    flex: 2;
    padding-left: 40px;
}

.bar-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    gap: 10px;
}

.bar-row span:first-child {
    width: 60px;
    font-size: 14px;
}

.bar {
    background-color: #e9ecf1;
    height: 10px;
    width: 100%;
    border-radius: 5px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background-color: #04757b;
}





/* ----------review-list---------- */
/* .review-list {
    margin: 20px auto;
    width: 80%;
}

.review-item {
    padding: 10px;
    margin: 5px 0;
    background-color: #fff;
    border-radius: 5px;
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;

}

hr {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto;
} */


/* --------------ปุ่ม เลื่อนหน้า------------ */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
    gap: 10px;
}

.page-btn {
    background-color: #AAB7A6;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.page-btn.active {
    background-color: #04757b;
    color: #fff;
}









/* ----------review-list---------- */


.review-list {
    width: 90%;
    max-width: 1000px;
    margin: 40px auto;
}

.review-card {
    background-color: #F4F1EB;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 20px 20px 40px #F4F1EB,
        -20px -20px 40px #ffffff;
    border: 2px solid #BB7E5D;
    /* กรอบสีเทา */
}

.review-date {
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
}

.review-stars {
    font-size: 20px;
    color: #f5c518;
    margin-bottom: 10px;
}

.review-stars .half-star {
    position: relative;
    color: #ccc;
}

.review-stars .half-star::before {
    content: "★";
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: #f5c518;
}

.review-stars .empty-star {
    color: #ccc;
}

.review-user {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.avatar {
    background-color: #bbb;
    color: white;
    font-weight: bold;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.username {
    font-weight: bold;
    font-size: 14px;
}

.review-comment {
    font-size: 15px;
    margin-bottom: 10px;
    color: #111;
}

.review-image {
    max-width: 120px;
    border-radius: 5px;
    margin-top: 10px;
}







/* ------------review-popup------------ */
.review-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-content {
    background-color: #fff;
    width: 90%;
    max-width: 480px;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    cursor: pointer;
}

.popup-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

form label {
    display: block;
    margin-top: 12px;
    font-weight: bold;
    font-size: 14px;
}

form select,
form input[type="number"],
form textarea,
form input[type="file"] {
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

form textarea {
    resize: none;
}

.submit-btn {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background-color: #444;
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.submit-btn:hover {
    background-color: #000;
}

.star-rating {
    text-align: center;
    margin-bottom: 20px;
}

.rating-stars {
    font-size: 28px;
    color: #ccc;
    cursor: pointer;
    display: inline-flex;
    gap: 8px;
}

.rating-stars span.selected {
    color: #f5c518;
}

.rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 0.3rem;
    justify-content: center;
    --stroke: #666;
    --fill: #ffc73a;
    margin-bottom: 20px;
}

.rating input {
    appearance: unset;
}

.rating label {
    cursor: pointer;
}

.rating svg {
    width: 2rem;
    height: 2rem;
    overflow: visible;
    fill: transparent;
    stroke: var(--stroke);
    stroke-linejoin: bevel;
    stroke-dasharray: 12;
    animation: idle 4s linear infinite;
    transition: stroke 0.2s, fill 0.5s;
}

@keyframes idle {
    from {
        stroke-dashoffset: 24;
    }
}

.rating label:hover svg {
    stroke: var(--fill);
}

.rating input:checked~label svg {
    transition: 0s;
    animation: idle 4s linear infinite, yippee 0.75s backwards;
    fill: var(--fill);
    stroke: var(--fill);
    stroke-opacity: 0;
    stroke-dasharray: 0;
    stroke-linejoin: miter;
    stroke-width: 8px;
}

@keyframes yippee {
    0% {
        transform: scale(1);
        fill: var(--fill);
        fill-opacity: 0;
        stroke-opacity: 1;
        stroke: var(--stroke);
        stroke-dasharray: 10;
        stroke-width: 1px;
        stroke-linejoin: bevel;
    }

    30% {
        transform: scale(0);
        fill: var(--fill);
        fill-opacity: 0;
        stroke-opacity: 1;
        stroke: var(--stroke);
        stroke-dasharray: 10;
        stroke-width: 1px;
        stroke-linejoin: bevel;
    }

    30.1% {
        stroke: var(--fill);
        stroke-dasharray: 0;
        stroke-linejoin: miter;
        stroke-width: 8px;
    }

    60% {
        transform: scale(1.2);
        fill: var(--fill);
    }
}




.popup-review-success {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.popup-review-success .popup-box {
    background: #fff;
    padding: 24px 32px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
    text-align: center;
    font-family: 'Kanit', sans-serif;
}

.popup-review-success .popup-box p {
    font-size: 20px;
    color: #04757B;
    margin-bottom: 20px;
}

.popup-review-success .popup-box button {
    background-color: #04757B;
    color: white;
    padding: 8px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
}



/* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer */
footer {
    background-color: #04757b;
    color: white;
    width: 100%;

    padding: 40px 5% 20px 5%;
    font-family: sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.logo-column img.footer-logo {
    height: 70px;
    margin-bottom: 10px;
}

.logo-column p {
    font-size: 14px;
    line-height: 1.6;
}

.link-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 15px 0;
    font-size: 14px;
}

.link-column a:hover {
    text-decoration: underline;
}

.subscribe-column p {
    margin-top: 10px;
    margin-bottom: 30px;
    font-weight: 500;
}


.footer-bottom {
    border-top: 1px solid white;
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    font-size: 13px;
}

.social-icons {
    display: flex;
    justify-content: space-between;
}

.social-icons a {
    display: inline-block;
    height: 60px;
    width: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
}

.facebook_footer {
    background-image: url(pic/Facebook_Logo_\(2019\).png.png);
}

.shopee_footer {
    background-image: url(pic/Logo-Shopee.png);
}

.line_footer {
    background-image: url(pic/OG-Image-LS-1200x630.png);
}

.laz_footer {
    background-image: url(pic/TB1PApewFT7gK0jSZFpXXaTkpXa-200-200.png);
}
/* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer *//* footer */