body {
    font-family: "Kanit", "Inter", sans-serif;
    margin: 0;
}

main {
    overflow-x: clip;
    overflow-y: visible;
}

section {
    padding: 50px 0;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
}
@media (max-width: 1063px) {
    .container {
        padding: 0 36px 20px;
    }
}

ul ul {
    list-style-type: disc;
}

/* ================= PRIMARY BUTTON (my-btn) ================= */
.my-btn {
    display: block;
    text-align: center;
    font-size: 16px;

    max-width: 470px;
    line-height: 49px;
    width: 100%;
    opacity: 1;
    border: 0;
    border-radius: 5px;
    background: #ff3a00;
    text-decoration: none;
    color: #fff;
}

.my-btn:hover {
    cursor: pointer;
}

@media (max-width: 1063px) {
    .my-btn {
        font-size: 18px;
    }
}

/* ================= PRODUCTS CARD ================= */
.product-card {
    display: flex;
    flex-direction: column;

    width: 100%;
    background: #fff;
    border-radius: 10px;
}

.product-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    margin: 10px;
}

.product-info p {
    font-size: 14px;
    font-weight: 400;
    color: #686866;
    margin: 0 10px 20px;
}

/* ================= REVIEWS CARD ================= */
.review-card {
    width: 305px;
    height: 254px;
    text-align: left;
    opacity: 1;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.review-user {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.review-user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-user-info > img {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 50%;
    object-fit: cover;
}

.review-user-details h3 {
    margin: 0 0 3px;
    color: #000;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
}

.review-rating {
    display: flex;
    gap: 3px;
    color: #ffd600;
    font-size: 13px;
    line-height: 1;
}

.review_date {
    margin: 20px 0 0;
    color: #838285;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.review-card > h3 {
    margin: 0 0 16px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 4px;
    margin-bottom: 12px;
}

.review-images img {
    width: 100%;
    max-height: 90px;
    aspect-ratio: 1;
    border-radius: 8px;
    object-fit: cover;
}

.review-images.no-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 90px;
    background: #fff8ec;
    color: #838383;
    font-size: 14px;
}

.review-images.no-images i {
    font-size: 20px;
}

.review-card > p:last-child {
    margin: 0;
    color: #838285;
    font-size: 14px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .review-card {
        padding: 14px;
        border-radius: 16px;
    }

    .review-user-info {
        gap: 10px;
    }

    .review-user-info > img {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .review-user-details h3 {
        font-size: 16px;
    }

    .review-rating {
        gap: 3px;
        font-size: 13px;
    }

    .review_date {
        margin-top: 20px;
        font-size: 14px;
    }

    .review-card > h3 {
        margin-bottom: 16px;
        font-size: 16px;
    }

    .review-card > p:last-child {
        font-size: 13px;
    }
}

/* ================= REVIEW MODAL ================= */
.review-card {
    cursor: pointer;
}

.review-card:focus-visible {
    outline: 3px solid #ffd600;
    outline-offset: 3px;
}

.review-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.263);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 180ms ease,
        visibility 180ms ease;
}

.review-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.review-modal-content {
    position: relative;
    max-width: 840px;
    width: 100%;
    box-sizing: border-box;
    height: min(428px, 90vh);
    max-height: 428px;
    overflow: hidden;
    overflow-x: hidden;
    padding: 44px 48px 46px;
    border-radius: 10px;
    background: #fff;
    color: #111;
    transform: translateY(10px);
    transition: transform 180ms ease;
}

.review-modal.is-open .review-modal-content {
    transform: translateY(0);
}

.review-modal-close {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #444;
    font-size: 38px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

.review-modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-modal-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.review-modal-header h2 {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 400;
}

.review-modal-rating {
    color: #ffd600;
    font-size: 16px;
    line-height: 1;
}

.review-modal-date {
    display: block;
    margin: 22px 0 0;
    color: #838285;
    font-size: 16px;
}

.review-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 252px;
    gap: 52px;
    height: 100%;
    align-items: start;
}

.review-modal-details {
    min-width: 0;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 12px;
}

.review-modal-content.no-images .review-modal-body {
    grid-template-columns: 1fr;
}

.review-modal-content.no-images .review-modal-gallery {
    display: none;
}

.review-modal-verified {
    display: inline-flex;
    gap: 5px;
    align-items: center;
    margin-top: 12px;
    padding: 3px 10px;
    border-radius: 5px;
    background: #ecf8ed;
    color: #32a855;
    font-size: 14px;
}

.review-modal-summary {
    margin: 26px 0 20px;
    font-size: 18px;
    font-weight: 400;
}

.review-modal-detail {
    margin: 0 0 30px;
    font-size: 16px;
    line-height: 1.7;
}

.review-modal-product {
    margin: 0;
    color: #838285;
    font-size: 16px;
}

.review-modal-product .review-modal-product-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.review-modal-product .review-modal-product-link:hover {
    text-decoration: underline;
}

.review-modal-product .review-modal-product-link[hidden] {
    display: none;
}

.review-modal-gallery {
    position: relative;
    min-width: 0;
}

.review-modal-main-image {
    width: 100%;
    aspect-ratio: 1.08;
    border-radius: 8px;
    object-fit: cover;
}

.review-modal-dots {
    position: relative;
    display: flex;
    justify-content: center;
    gap: 6px;
    width: max-content;
    margin: -30px auto 15px;
    padding: 5px 10px;
    border-radius: 20px;
    background: rgba(55, 55, 55, 0.75);
    z-index: 1;
}

.review-modal-content.single-image .review-modal-dots,
.review-modal-content.single-image .review-modal-thumbnails {
    display: none;
}

.review-modal-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 50%;
    background: #bdbdbd;
}

.review-modal-dot.is-active {
    background: #fff;
}

.review-modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.review-modal-thumbnail {
    padding: 0;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    cursor: pointer;
    overflow: hidden;
}

.review-modal-thumbnail.is-active {
    border-color: #fbb323;
}

.review-modal-thumbnail img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

@media (max-width: 768px) {
    .review-modal {
        padding: 14px;
    }

    .review-modal-content {
        height: min(593px, calc(100vh - 10px));
        max-height: 600px;
        padding: 42px 22px 24px;
    }

    .review-modal-body {
        display: flex;
        flex-direction: column;
        gap: 28px;
        min-height: 0;
        overflow: hidden;
        padding-right: 8px;
    }

    .review-modal-details {
        order: 2;
        flex: 1 1 auto;
        min-height: 0;
        width: 100%;
        align-self: stretch;
        overflow-y: auto;
        padding-right: 0;
    }

    .review-modal-gallery {
        order: 1;
        flex: 0 0 auto;
        width: 100%;
    }

    .review-modal-content.no-images .review-modal-body {
        grid-template-columns: 1fr;
    }

    .review-modal-verified {
        font-size: 16px;
    }

    .review-modal-date {
        display: inline-block;
    }

    .review-modal-header h2 {
        font-size: 18px;
    }

    .review-modal-summary {
        margin: 24px 0 18px;
        font-size: 18px;
    }

    .review-modal-gallery {
        max-width: 360px;
        margin: 0 auto;
    }
}

/* ================= GALLERY MODAL ================= */

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}

.gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-close {
    position: absolute;
    top: -48px;
    right: 0;
    z-index: 1;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 38px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
}

.gallery-modal-content {
    position: relative;
    width: min(100%, 728px);
    min-width: 0;
    box-sizing: border-box;
    max-height: calc(100vh - 48px);
    overflow: visible;
    background: transparent;
    color: #fff;
}

.gallery-modal-visual {
    position: relative;
    width: 100%;
    background: transparent;
}

.gallery-modal-image {
    width: 100%;
    height: 473px;
    object-fit: cover;
    background: transparent;
    display: block;
}

.gallery-modal-info {
    display: flex;
    justify-content: space-between;
    padding: 18px 4px 0;
    color: #fff;
}

.gallery-modal-info h2 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 400;
}

.gallery-modal-info p {
    margin: 0 0 16px;
    font-size: 18px;
}

.gallery-modal-actions {
    display: flex;
    gap: 14px;
}

.gallery-modal-actions a {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
    width: 200px;
    height: 77px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}

.gallery-modal-actions a i {
    font-size: 35px;
}

.gallery-modal-line {
    background: #00c300;
}

.gallery-modal-line:hover {
    background: #0b8d0b;
}

.gallery-modal-detail {
    background: #df6100;
}

.gallery-modal-detail:hover {
    background: #a85717;
}

.gallery-modal-navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.gallery-modal-navigation button {
    padding: 6px 4px;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 15px;
    cursor: pointer;
}

.gallery-modal-navigation button:hover {
    color: #ffffff;
}

.gallery-modal-navigation button:disabled {
    color: #a3a3a3;
    cursor: not-allowed;
    opacity: 0.7;
}

.gallery-modal-navigation button:disabled:hover {
    color: #a3a3a3;
}

@media (max-width: 700px) {
    .gallery-modal {
        padding: 54px 18px 24px;
        overflow-y: auto;
    }

    .gallery-modal-info {
        flex-direction: column;
    }

    .gallery-modal-actions a {
        font-size: 16px;
    }

    .gallery-modal-actions a i {
        font-size: 26px;
    }

    .gallery-modal-close {
        position: absolute;
        top: -48px;
        right: 0;
    }

    .gallery-modal-content {
        max-height: none;
    }
}

/* ================= HEADER BASE ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 99;
    width: 100%;
    background: #f3f3f3;
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ================= DESKTOP ================= */
.mobile-header,
.mobile-footer-block {
    display: none;
}
.desktop-header {
    position: relative;
    z-index: 1002;
    background: #fff;
}

.custom-navbar {
    min-height: 150px;
    padding: 0 50px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0px 4px 16px 0px #0000001a;
}

.navbar-brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-right: 8px;
}

.navbar-brand .logo-box {
    display: block;
    width: 79px;
    height: 70px;
    border: 0;
    background: transparent;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-brand span {
    font-size: 14px;
    font-weight: 600;
    color: #000;
}

.logo-box {
    display: block;
    width: 125px;
    height: 34px;
    border: 0;
    background: transparent;
    object-fit: contain;
}

.main-menu {
    margin-left: 10px;
    gap: 30px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.main-menu li {
    list-style: none;
}

.main-menu .nav-item {
    position: relative;
}

.main-menu .nav-item a,
.main-menu .nav-link {
    color: #111;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

.main-menu .nav-link {
    background: transparent;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-menu .nav-item a:hover,
.main-menu .nav-link:hover,
.main-menu .nav-link.active,
.main-menu .nav-link.is-open {
    color: #111;
    cursor: pointer;
}

.header-contact {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 8px;
}

.header-contact > .logo-box {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-contact-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 2px;
    min-width: 150px;
}

.header-contact-info p {
    margin: 0;
    color: #111;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}

.header-contact-info p:first-child {
    margin-bottom: 2px;
}

.header-contact-info i {
    position: absolute;
    margin-left: -25px;
}

/* ================= ANNOUNCEMENT LIST ================= */

.announcement-list {
    margin-top: 20px;
    flex-basis: 100%;
    overflow: hidden;
}

.announcement-table {
    width: 100%;
    background: transparent;
    border: 1px solid #f5f4ef;
}

.announcement-row {
    display: grid;
    grid-template-columns: 150px 150px minmax(0, 1fr) 130px;
    align-items: center;
    min-height: 82px;
    border-bottom: 1px solid #e2e2e2;
    column-gap: 20px;
    text-decoration: none;
    color: #000;
}

.announcement-row:hover {
    background: #fff;
    color: #ff3a29;
}

.announcement-row:hover .announcement-detail-link {
    color: #000;
}

.announcement-row:last-child {
    border-bottom: none;
}

.announcement-row > * {
    margin: 0;
}

.announcement-box {
    width: fit-content;
    height: 21px;
    line-height: 21px;
    padding: 0 10px;
    border-radius: 5px;
    background: #e8e7e0;
    color: #000;
    font-size: 13px;
}

.announcement-box.quick {
    color: #fff;
    background: #ff3a00;
}

.announcement-box.promotion {
    background: #ffd600;
}

.announcement-row .announcement-action {
    text-align: right;
}

.announcement-row .announcement-date {
    padding-left: 20px;
    color: #9393a1;
}

.announcement-row .announcement-detail-link {
    padding-right: 20px;
    color: #9393a1;
}

@media (max-width: 768px) {
    .announcement-list {
        margin-top: 18px;
    }

    .announcement-table {
        border: 0;
    }

    .announcement-row {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 5px;
        min-height: 0;
        padding: 11px 0 12px;
    }

    .announcement-row .announcement-date,
    .announcement-row .announcement-detail-link {
        padding: 0;
    }

    .announcement-row .announcement-title {
        line-height: 1.45;
    }
}

/* ================= DESKTOP MENU TOGGLE ================= */

/* เส้นใต้ underline — เฉพาะลิงก์หลักระดับบนสุดใน main menu (ไม่รวมลิงก์ใน mega menu) */
.main-menu > li > a,
.main-menu > li > .nav-link {
    position: relative;
}

.main-menu > li > a::after,
.main-menu > li > .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #e1945e;
    transition: width 0.5s ease;
}

.main-menu > li > a:hover::after,
.main-menu > li > .nav-link:hover::after {
    width: 100%;
}

/* หมุน chevron icon เมื่อ toggle เปิด (กลับหัว) */
.main-menu .nav-link.desktop-menu-toggle i {
    transition: transform 0.3s ease;
}

.main-menu .nav-link.desktop-menu-toggle.active i,
.main-menu .nav-link.desktop-menu-toggle.is-open i {
    transform: rotate(180deg);
}

/* ================= MEGA MENU ================= */
.nav-item-with-menu {
    position: relative;
}

.desktop-mega-menu-wrap {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 1001;
    pointer-events: none;
}

.desktop-mega-menu-wrap:has(.desktop-mega-menu.is-open) {
    pointer-events: auto;
}

.desktop-mega-menu {
    display: none;
    width: 260px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    pointer-events: auto;
}

.desktop-mega-menu.is-open {
    display: block;
    /* กล่องค่อย ๆ เลื่อนลงมา (animation เล่นใหม่ทุกครั้งที่เปิด เพราะ display เปลี่ยน none -> block) */
    animation: mega-menu-drop 0.35s ease both;
}

/* แต่ละบรรทัดใน mega-menu-list ไล่เลื่อนลงมาแบบหน่วงเวลา
   โดยอ่านลำดับจาก --mega-item ที่ header.blade.php ส่งมา (รองรับกี่บรรทัดก็ได้) */
.desktop-mega-menu.is-open .mega-menu-list li {
    animation: mega-menu-drop 0.4s ease both;
    animation-delay: calc(var(--mega-item, 0) * 0.045s);
}

@keyframes mega-menu-drop {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    transition: background 0.2s;
}

.mega-menu-list li:hover {
    background: #e7eff9;
}

.mega-menu-list li a {
    display: block;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    line-height: 1.25;
    padding: 14px 18px;
}

@media (max-width: 768px) {
    .desktop-mega-menu-wrap {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .desktop-header,
    .footer-block {
        display: none;
    }

    .mobile-header,
    .mobile-footer-block {
        display: block;
    }

    .mobile-header {
        background: #fff;
        padding: 14px 16px 12px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .mobile-top {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 12px;
    }

    .mobile-top-left {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        font-size: 12px;
    }

    .menu-icon {
        width: 25px;
        height: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .menu-icon span {
        display: block;
        height: 3px;
        background: #000;
        border-radius: 3px;
    }

    .menu-icon span:nth-child(1) {
        width: 18px;
    }

    .menu-icon span:nth-child(2) {
        width: 11px;
    }

    .menu-icon span:nth-child(3) {
        width: 25px;
    }

    .mobile-menu-btn {
        border: none;
        background: transparent;
        padding: 0;
        font-size: 30px;
        color: #111;
        line-height: 1;
        position: relative;
        z-index: 2;
    }

    .mobile-logo {
        width: 45px;
        height: 39px;
    }
}

/* ================= MOBILE OFFCANVAS ================= */
/* backdrop */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1070;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
    pointer-events: none;
}

.offcanvas-backdrop.is-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* offcanvas จริง ๆ */
.mobile-offcanvas {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1080;
    width: 100% !important;
    max-width: 304px;
    height: 100vh;
    background: #1c150f;
    border: none;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
        transform 0.35s ease,
        visibility 0s linear 0.35s;
    display: flex;
    flex-direction: column;
    overscroll-behavior: contain;
}

.mobile-offcanvas.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.35s ease;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.2);
}

/* ล็อก scroll หลัง body ตอนเปิดเมนู */
body.offcanvas-open {
    overflow: hidden;
}

.mobile-menu-header {
    padding: 24px 30px 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.custom-close {
    font-size: 25px;
    background: transparent;
    border: none;
    color: #fff;
}

.mobile-menu-body {
    position: relative;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    padding: 8px 29px 30px;
    background: #1c150f;
    color: #fff;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-list {
    list-style: none;
    padding: 0px;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 24px;
}

.main-menu-list {
    border-bottom: 1px solid #413a34;
}

.mobile-line-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    font-size: 18px;
    gap: 8px;
    margin-top: 20px;
    width: 100%;
    border-radius: 10px;
    padding: 12px 0px;
    text-decoration: none;
    background: #01b401;
    color: #fff;
}

.main-menu-list li {
    font-size: 22px;
    font-weight: 500;
}

.contact-list li {
    font-size: 16px;
    font-weight: 400;
}

/* panel สำหรับเมนูหลัก (ใช้ accordion เท่านั้น) */
.mobile-menu-panel {
    width: 100%;
    min-height: 100%;
}

.mobile-menu-panel.active {
    display: block;
}

/* ปุ่มเมนูหลัก */
.mobile-menu-link {
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    line-height: 1.5;
    color: #fff;

    font-family: inherit;
    font-size: inherit;
}

/* ลูกศรของปุ่มเปิดเมนูย่อย หมุน 90 องศาเมื่อเปิด */
.open-submenu i {
    transition: transform 0.3s ease;
}

.open-submenu.is-open i {
    transform: rotate(-90deg);
}

/* เมนูย่อยแบบ accordion เลื่อนลงค่อยๆ เปิด */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    list-style: none;
    padding: 0;
    margin: 0;
    background: #000;
}

/* เปิดได้สูงสุด 500px — เนื้อหายาวกว่านั้นเลื่อนขึ้น-ลงดูได้ */
.mobile-submenu.open {
    max-height: 300px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* สกอลบาร์บาง ๆ ให้กลมกลืนกับพื้นหลังดำ */
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}

.mobile-submenu.open::-webkit-scrollbar {
    width: 6px;
}

.mobile-submenu.open::-webkit-scrollbar-track {
    background: transparent;
}

.mobile-submenu.open::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.35);
    border-radius: 3px;
}

.mobile-submenu li {
    margin-bottom: 12px;
}

.mobile-submenu li a {
    display: block;
    padding: 6px 0 6px 16px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
}

.mobile-menu-link i {
    font-size: 16px;
}

/* ผู้ใช้ที่ปิด motion ในระบบ — ปิดอนิเมชัน/transition ของ mega menu และเมนูย่อยมือถือ */
@media (prefers-reduced-motion: reduce) {
    .desktop-mega-menu.is-open,
    .desktop-mega-menu.is-open .mega-menu-list li {
        animation: none;
    }

    .mobile-submenu {
        transition: none;
    }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .site-header {
        border-width: 0;
        border-bottom: 1px solid #e7e7e7;
    }
}

/* ================= FOOTER ================= */
.site-footer {
    width: 100%;
    background: #111;
}

/* Main footer */
.footer-main {
    background: #111111;
    color: #fff;
    padding: 46px 50px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-main img {
    width: 117px;
    height: 117px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
}

.footer-grid > :first-child {
    justify-self: start;
}

/* ฝั่งขวา: 3 คอลัมน์ รวมในครึ่งเดียว */
.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 16px;
}

.footer-heading {
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0 0 22px;
}

.footer-email {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    max-width: 540px;
    margin-top: 5px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 20px;
    font-size: 14px;
}

.footer-info p {
    margin: 0;
}

.footer-brand input {
    flex: 1;
    min-width: 309px;
    height: 36px;
    padding: 0 12px;
    border: 0;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.88);
    color: #111;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.footer-brand input::placeholder {
    color: #8b8b8b;
}

.btn-subscribe {
    flex-shrink: 0;
    height: 36px;
    width: 150px;
    border: 0;
    border-radius: 5px;
    background: #fed102;
    color: #111;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn-subscribe:disabled {
    opacity: 0.7;
    cursor: wait;
}

.footer-subscribe-feedback {
    margin: 10px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.footer-subscribe-feedback.is-success {
    color: #9be7a8;
}

.footer-subscribe-feedback.is-error {
    color: #ffb3ab;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    line-height: 1;
    opacity: 0.96;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.footer-social a:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.footer-social a i {
    font-size: 18px;
}

.footer-col {
    padding-top: 8px;
}

.footer-col h4 {
    margin: 0 0 16px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    text-decoration: none;
    line-height: 1.5;
}

.footer-col a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Copyright */
.footer-bottom {
    background: #111;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    padding: 16px 0 20px;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    letter-spacing: 0.03em;
}

/* ================= FOOTER RESPONSIVE ================= */
@media (max-width: 768px) {
    .footer-main {
        padding: 32px 20px 18px;
        background: #1d1b18;
    }

    .mobile-footer-block {
        display: block;
        background: #1d1b18;
        color: #fff;
    }

    .mobile-footer-brand {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-footer-title {
        margin: 0 0 18px;
        color: #fff;
        font-size: 28px;
        line-height: 1.3;
        letter-spacing: -0.04em;
        font-weight: 600;
    }

    .mobile-footer-email {
        max-width: 309px;
        width: 100%;
        min-width: 0;
    }

    .mobile-footer-email input {
        box-sizing: border-box;
        width: 100%;
        height: 44px;
        padding: 0 14px;
        margin: 18px 0;
        border: 0;
        border-radius: 8px;
        background: #d9d9d9;
        color: #939393;
        font-family: inherit;
        font-size: 16px;
        outline: none;
    }

    .mobile-footer-submit {
        max-width: 150px;
        width: 100%;
        margin-bottom: 14px;
        height: 36px;
        border: 0;
        border-radius: 8px;
        background: #f0bf2c;
        color: #111;
        font-family: inherit;
        font-size: 18px;
        font-weight: 600;
        cursor: pointer;
    }

    .mobile-footer-address {
        margin: 18px 0 10px;
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.7;
    }

    .mobile-contact {
        display: flex;
        flex-direction: column;
        margin: auto;
        align-items: center;
        gap: 12px;
    }

    .mobile-footer-line {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        margin-top: 8px;
        color: #fff;
    }

    .mobile-footer-line i {
        font-size: 24px;
    }

    .mobile-footer-line a {
        color: #fff;
        font-size: 24px;
        font-weight: 500;
    }

    .mobile-footer-social {
        display: flex;
        align-items: center;
        gap: 30px;
        flex-wrap: wrap;
        margin-top: 18px;
    }

    .mobile-footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        opacity: 0.96;
    }

    .mobile-footer-social i {
        font-size: 20px;
    }

    .mobile-footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px 20px;
        width: 100%;
        margin-top: 26px;
    }

    .mobile-footer-col {
        min-width: 0;
    }

    .mobile-footer-col h4 {
        margin: 0 0 12px;
        color: #fff;
        font-size: 16px;
        font-weight: 600;
    }

    .mobile-footer-col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-footer-col li {
        margin-bottom: 8px;
    }

    .mobile-footer-col a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
        font-size: 14px;
        line-height: 1.5;
    }

    .mobile-footer-links {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 18px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 14px;
    }

    .mobile-footer-links a {
        color: rgba(255, 255, 255, 0.9);
        text-decoration: none;
    }

    .mobile-footer-links span {
        color: rgba(255, 255, 255, 0.6);
    }

    .footer-bottom {
        padding: 12px 0 14px;
        background: #1d1b18;
    }

    .footer-bottom p {
        font-size: 12px;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.7);
    }
}

.scroll-float {
    position: fixed;
    right: 34px;
    bottom: 34px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #d9d9d9;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    text-decoration: none;
    z-index: 5;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

@media (max-width: 768px) {
    .scroll-float {
        right: 14px;
        bottom: 14px;
        width: 52px;
        height: 52px;
    }
}
/* ================= SECTION TITLE (shared: home + product details) ================= */
.section-title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.section-title small {
    font-size: 16px;
    font-weight: 400;
    color: #ff3a54;
}

.section-title h1 {
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 50px;
    line-height: 63px;
    letter-spacing: 0%;
}

.section-title h1 span:nth-child(even) {
    color: #ff3a00;
}

@media (max-width: 1063px) {
    .section-title h1 {
        font-size: 40px;
        margin: 0;
    }
}

/* ================= EXAMPLE PRODUCTS ================= */
.gallery-list {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 250px);
    gap: 10px;
}

.gallery-card {
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    overflow: hidden;
}

.gallery-card {
    cursor: pointer;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    max-height: 152px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.04);
}

.gallery-all-btn {
    width: 180px;
    height: 45px;
    line-height: 45px;
    margin: 50px auto 0;

    background: transparent;
    border: 1px solid #000000;
    color: #000000;
    transition:
        background 0.3s,
        color 0.3s;
}

.gallery-all-btn:hover {
    background: #000;
    color: #fff;
}

@media (max-width: 1063px) {
    .gallery-list {
        grid-template-columns: repeat(auto-fit, 152px);
    }
}

/* ================= CONTACT FORM MODULE (shared: home / faqs / how-to-order) ================= */
.contact-info {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 20px;
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    max-width: 520px;
    width: 100%;
    min-height: 100px;
    padding: 10px 16px;
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 12px;

    border: 1px solid #e2e2e2;
    border-radius: 5px;
}

.contact-item i {
    display: flex;
    justify-content: center;
    font-size: 40px;
    color: #e01f4b;
}

.contact-item:has(> :nth-child(3)) {
    grid-template-columns: 80px 1fr 100px;
}

.contact-item-text {
    display: flex;
    flex-direction: column;
    text-align: start;
    gap: 6px;
}

.contact-item-text small {
    font-size: 14px;
    font-weight: 400;
    color: #0a0a0a99;
    line-height: 1.3;
}

.contact-item-text span {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.3;
}

.contact-item img {
    width: 100px;
    height: 90px;
    object-fit: contain;
}

.contact-form {
    max-width: 520px;
    width: 100%;
    border: 1px solid #e2e2e2;
    border-radius: 5px;
    padding: 20px;
    box-sizing: border-box;
}

.contact-success-modal {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5);
}

.contact-success-modal.is-open {
    display: flex;
}

.contact-success-content {
    position: relative;
    width: min(100%, 600px);
    padding: 42px 44px 38px;
    box-sizing: border-box;
    border-radius: 9px;
    background: #fff;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.contact-success-close {
    position: absolute;
    top: 14px;
    right: 20px;
    border: 0;
    background: transparent;
    color: #111;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.contact-success-icon {
    display: grid;
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    place-items: center;
    border-radius: 50%;
    background: #20b65b;
    color: #fff;
    font-size: 38px;
}

.contact-success-content h2 {
    margin: 0 0 14px;
    font-size: 32px;
    font-weight: 500;
}

.contact-success-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.contact-reference {
    display: flex;
    text-align: left;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 22px 0;
    padding: 16px;
    background: #f3f4f3;
    color: #00000080;
    font-size: 14px;
}

.contact-reference-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-reference i {
    color: #d8521e;
    font-size: 48px;
}

.contact-reference strong {
    color: #d8521e;
}

.contact-success-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.contact-success-actions button {
    height: 42px;
    border: 1px solid #d8521e;
    border-radius: 22px;
    background: #d8521e;
    color: #fff;
    cursor: pointer;
}

.contact-success-actions .contact-view-samples {
    background: #fff;
    color: #d8521e;
}

.contact-footer-modal {
    margin-top: 20px;
}

@media (max-width: 560px) {
    .contact-success-content {
        padding: 38px 20px 28px;
    }

    .contact-success-actions {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

.contact-form form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 10px;
}

.send-contact-btn {
    height: 37px;
    line-height: 37px;
    font-family: inherit;
    transition: transform 0.3s ease;
}

.send-contact-btn:hover {
    transform: scale(1.02);
}

.contact-title h3 {
    font-weight: 500;
    font-size: 22px;
    margin: 0;
}

.contact-title small {
    font-weight: 400;
    font-size: 14px;
    color: #0a0a0a99;
}

.required {
    color: #ff0000;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 100%;
}

.form-group[hidden] {
    display: none;
}

.form-group.half-width {
    flex: 1 1 calc(50% - 14px);
}

.form-group label {
    font-weight: 400;
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    font-weight: 400;
    font-size: 14px;
    font-family: inherit;

    box-sizing: border-box;
    width: 100%;

    min-height: 20px;
    padding: 5px 10px;

    border: 1px solid #d9d8d4;
    border-radius: 3px;
}

.form-group select {
    color: #82827f;
}

.form-group select.has-value {
    color: #000;
}

/* Custom select (JS-enhanced) — พอร์ตมาจาก contact-us.css : hover มีพื้นหลัง, เลือกแล้วมีติ๊กถูก, มีค่าแล้วตัวหนังสือดำ */
.custom-select {
    position: relative;
    width: 100%;
}
.custom-select select {
    display: none;
}
.custom-select-trigger {
    width: 100%;
    box-sizing: border-box;
    min-height: 20px;
    padding: 5px 10px;
    border: 1px solid #d9d8d4;
    border-radius: 3px;
    background: #fff;
    color: #82827f;
    font-weight: 400;
    font-size: 14px;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
    text-align: left;
}
.custom-select-trigger.has-value {
    color: #000;
}
.custom-select-trigger .trigger-label {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.custom-select-trigger .trigger-chevron {
    flex: 0 0 auto;
    color: #82827f;
    font-size: 12px;
    transition: transform 0.15s ease;
}
.custom-select.open .custom-select-trigger {
    border-color: #cc611c;
}
.custom-select.open .custom-select-trigger .trigger-chevron {
    transform: rotate(180deg);
    color: #000;
}
.custom-select-options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: 20;
    display: none;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #fff;
    border: 1px solid #d9d8d4;
    border-radius: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.custom-select.open .custom-select-options {
    display: block;
}
.custom-select-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 3px;
    color: #000;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    user-select: none;
}
.custom-select-option[data-value=""] {
    color: #82827f;
}
.custom-select-option:hover {
    background: #fff8f6;
    color: #000;
}
.custom-select-option.selected {
    color: #000;
}
.custom-select-option .option-label {
    flex: 1 1 auto;
    min-width: 0;
}
.custom-select-option .option-check {
    flex: 0 0 auto;
    display: inline-flex;
    opacity: 0;
    color: #000;
    font-size: 14px;
}
.custom-select-option.selected .option-check {
    opacity: 1;
}
.custom-select-option:focus-visible {
    outline: 2px solid #cc611c;
    outline-offset: -2px;
    background: #fff8f6;
    color: #000;
}

.contact-remark {
    display: flex;
    justify-content: center;
    font-weight: 400;
    font-size: 14px;

    color: #0a0a0a99;

    margin-top: 20px;
}

@media (max-width: 1063px) {
    .contact-info {
        flex-direction: column;
    }

    .contact-item {
        grid-template-columns: 40px 1fr;
    }

    .contact-item:has(> :nth-child(3)) {
        grid-template-columns: 40px 1fr 100px;
    }

    .contact-item-text span {
        font-size: 16px;
    }

    .contact-title {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .contact-title h3 {
        font-size: 20px;
    }

    .contact-title small {
        font-size: 18px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 15px;
    }

    .form-group.half-width {
        flex: 1 1 100%;
    }
}

/* คำโปรยใต้ h1 ของ Contact Form module (แทน inline style เดิม) */
.contact-subtitle {
    color: #0a0a0a99 !important;
}

/* ================= RECAPTCHA (Google reCAPTCHA v2 — shared ทุกฟอร์ม) ================= */
.contact-form-feedback {
    flex: 1 1 100%;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e8b4b0;
    border-radius: 4px;
    background: #fff2f0;
    color: #9b2c24;
    font-size: 14px;
}

.site-recaptcha {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1 1 100%;
    width: 100%;
    max-width: 342px;
}

.recaptcha-hint {
    font-size: 13px;
    color: #0a0a0a99;
}

/* ปุ่ม submit ของฟอร์มที่ยังไม่ยืนยัน — กดไม่ได้ */
.is-recaptcha-locked button[type="submit"],
.is-recaptcha-locked input[type="submit"] {
    opacity: 0.45;
    cursor: not-allowed;
    filter: grayscale(0.4);
}

.is-recaptcha-locked button[type="submit"]:hover,
.is-recaptcha-locked input[type="submit"]:hover {
    transform: none;
}

/* พยายามส่งทั้งที่ยังไม่ยืนยัน */
.site-recaptcha.is-error .g-recaptcha {
    outline: 2px solid #e33b2b;
    outline-offset: 2px;
}

.site-recaptcha.is-error .recaptcha-hint {
    color: #e33b2b;
}

/* ================= ANNOUNCEMENT LINK (shared: sections/announcements + how-to-order) ================= */
.announcement-link {
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    border-bottom: 1px solid #ff3a54;

    color: #ff3a54;
}

.announcement-link:hover i {
    margin-right: -5px;
    margin-left: 5px;
}

/* ================= CONSULT SECTION (shared: home + design) ================= */
.home-consult {
    position: relative;
    overflow: hidden;
    display: flex;
    text-align: center;
    background: #ff3a00;
}

.home-consult::before {
    content: "";
    position: absolute;
    bottom: -116px;
    left: 5px;
    width: 233px;
    height: 233px;
    border-radius: 50%;
    background: #f03700;
}

.home-consult::after {
    content: "";
    position: absolute;
    top: -80px;
    right: 180px;
    width: 233px;
    height: 233px;
    border-radius: 50%;
    background: #f03700;
}

.consult-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: #fff;
}

.consult-content h1 {
    font-size: 64px;
    font-weight: 600;
    margin: 0;
}

.consult-content small {
    font-size: 16px;
    font-weight: 400;
}

.consult-btn {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.contact-sell-btn {
    max-width: 268px;
    line-height: 57px;
    border-radius: 10px;

    background: #ffd600;
    color: #000000;
    transition: transform 0.3s ease;
}

.contact-sell-btn:hover {
    transform: scale(1.03);
}

.call-us-btn {
    max-width: 187px;
    line-height: 57px;
    border-radius: 10px;
    font-family: inherit;

    background: transparent;
    border: 1px solid #ffffff;
}

.call-us-btn:hover {
    color: #dddddddd;
    border: 1px solid #dddddddd;
}

@media (max-width: 768px) {
    .home-consult::before,
    .home-consult::after {
        width: 306px;
        height: 306px;
    }

    .home-consult::before {
        bottom: -50px;
        left: -180px;
    }

    .home-consult::after {
        top: -100px;
        right: -100px;
    }

    .consult-content h1 {
        font-size: 48px;
        font-weight: 700;
    }

    .consult-btn {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .call-us-btn {
        max-width: 127px;
    }
}

/* ================= PAGE BANNER (shared: gallery / how-to-order / how-to-pay) =================
   ใช้ base class .page-banner ร่วมกัน ส่วน .gallery-banner / .how-to-order-banner / .how-to-banner
   คงไว้เป็น modifier กันชนกับ .banner-* ของหน้าอื่น
   (home มี banner แบบของตัวเองใน home.css, design/faq อยู่ใต้ .design-banner ด้านล่าง) */
.page-banner {
    background: #111111;
    color: #fff;
    font-weight: 400;
}

.page-banner .banner-content {
    display: flex;
    justify-content: space-between;
}

.page-banner .banner-small-title {
    font-size: 16px;
    font-weight: 500;
    color: #ff3a00;
}

.page-banner .banner-small-title .dot {
    font-size: 20px;
}

.page-banner .banner-title {
    font-size: 80px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
}

.page-banner .banner-title label:nth-child(even) {
    color: #ffd600;
}

.gallery-banner .banner-image,
.how-to-order-banner .banner-image {
    max-width: 500px;
}

.gallery-banner .banner-image img,
.how-to-order-banner .banner-image img {
    width: 100%;
}

@media (max-width: 768px) {
    .page-banner .banner-content {
        flex-direction: column-reverse;
        text-align: center;
        align-items: center;
    }

    .how-to-banner .banner-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .page-banner .banner-title {
        font-size: 48px;
    }

    .gallery-banner .banner-image,
    .how-to-order-banner .banner-image {
        max-width: 285px;
    }
}

/* ================= 404 NOT FOUND ================= */
.not-found {
    padding: 100px 0 140px;
    text-align: center;
}

.not-found-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.not-found-code {
    margin: 0;
    font-size: 120px;
    font-weight: 800;
    line-height: 1;
    color: #ff3a00;
}

.not-found-title {
    margin: 0;
    font-size: 32px;
    font-weight: 600;
}

.not-found-desc {
    margin: 0 0 20px;
    color: #6b6b6b;
}

/* ================= DESIGN BANNER (shared: design + faqs — scope ด้วย .design-banner กันชนกับ banner ของหน้าอื่น) ================= */
.design-banner {
    position: relative;
    overflow: hidden;
    background: #000000;
    color: #fff;
    padding-bottom: 98px;
}

.design-banner::before,
.design-banner::after {
    content: "";
    position: absolute;
    z-index: 0;
}

.design-banner::before {
    top: -42px;
    right: 32px;
    width: 204px;
    height: 155px;

    background: #e8c302;

    clip-path: polygon(12% 0, 100% 0, 88% 88%, 0 100%);

    mask-image: linear-gradient(
        174deg,
        #000 0%,
        #000 45%,
        transparent 42%,
        transparent 51%,
        #000 51%,
        #000 100%
    );
}

.design-banner::after {
    left: -52px;
    bottom: -200px;
    width: 387px;
    height: 387px;
    background: #db3403;
    border-radius: 50%;
}

.design-banner .container {
    position: relative;
    z-index: 1;
}

.design-banner .banner-small-title {
    width: 166px;
    height: 29px;
    opacity: 1;
    border-radius: 3px;
    background: #ff3a00;
    text-align: center;
}

.design-banner .banner-title {
    font-weight: 600;
    font-size: 80px;
    line-height: 124%;

    display: flex;
    flex-direction: column;
}

.design-banner .banner-title label:nth-child(even) {
    color: #ffd600;
}

.design-banner .banner-content {
    display: flex;
    justify-content: space-between;
}

.design-banner .dash-dot {
    position: absolute;
    z-index: 0;
    left: 307px;
    bottom: 20px;

    color: #a08707;
    font-family: Inter;
    font-weight: 600;
    font-size: 96px;
    line-height: 137%;
    rotate: 21.99deg;
}

@media (max-width: 768px) {
    .design-banner {
        height: 723px;
        padding-bottom: 0;
    }

    .design-banner .container {
        padding: 0 20px;
    }

    .design-banner .banner-small-title {
        width: 156px;
        height: 27px;
        line-height: 27px;
    }

    .design-banner .banner-content {
        min-height: 230px;
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .design-banner .banner-title {
        font-size: 48px;
        line-height: 1.15;
    }

    .design-banner::before {
        top: -20px;
        right: 5px;
        width: 116px;
        height: 89px;
    }

    .design-banner::after {
        left: -74px;
        bottom: -145px;
        width: 330px;
        height: 330px;
    }

    .design-banner .dash-dot {
        left: -25px;
        bottom: 0;
        top: 247px;
        font-size: 64px;
    }
}
/* Shared breadcrumb navigation */
.site-breadcrumb {
    max-width: 1200px;
    margin: 24px auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 16px;
}

.site-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.site-breadcrumb a:hover,
.site-breadcrumb a:focus-visible {
    color: #ff3a00;
    text-decoration: underline;
}

.site-breadcrumb-separator {
    color: #888;
}
