* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    font-size: 16px;
}

section,
header,
footer{
  background: #fff;
}

body{
  background-image: url("../img/photo/test.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.font-en {
    font-family: "Kanit", sans-serif !important;
}

.font-noto {
    font-family: "Noto Sans Thai", sans-serif !important;
}

h1,
h2,
h3,
h4 {
    font-weight: 600;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    min-height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 80px;
    padding: 0;
}

.logo a {
    display: block;
    width: 100%;
    height: 100%;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.logo a:hover img {
    transform: scale(1.05);
    opacity: 0.95;
}

.logo span {
    font-weight: 500;
    font-size: 16px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 36px;
    font-size: 16px;
    font-weight: 400;
}

nav a {
    padding-bottom: 4px;
}

nav a.active,
nav a:hover {
    border-bottom: 2px solid #C2B23D;
}

nav {
    margin: 0 auto;
    width: fit-content;
}

.banner {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    color: #fff;
    text-align: left;
    padding-left: 50%;
    transform: translateX(-20%);
}

.banner-text h1 {
    font-size: 64px;
    font-weight: 500;
    letter-spacing: 4px;
    margin-bottom: 0px;
    font-style: italic;
    font-family: "Kanit", sans-serif;
}

.banner-text p {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 2px;
    margin-top: -15px;
    font-style: italic;
    font-family: "Kanit", sans-serif;
}

.banner-text h1,
.banner-text p {
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.45);
}

.center-banner {
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    padding-left: 0 !important;
    transform: none !important;
}

.center-banner h1,
.center-banner p {
    font-style: normal !important;
    letter-spacing: 0 !important;
}

.center-banner h1 {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 0px;
}

.center-banner p {
    font-size: 28px;
    font-weight: 300;
    margin-top: -15px;
    letter-spacing: 0.5px;
}

.banner-text p.font-noto {
    font-family: "Noto Sans Thai", sans-serif !important;
}

.arrow-big {
    font-size: 20px;
    margin-left: 3px;
    display: inline-block;
    transform: translateY(0.55px);
    line-height: 0;
}

.lock-lines {
    white-space: pre-line !important;
}

.with-line {
    position: relative;
    padding-bottom: 5px;
}

.with-line::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 120px;
    height: 0.8px;
    background-color: #000000;
}

.with-line-center {
    position: relative;
    padding-bottom: 12px;
    margin: 0 auto;
    width: fit-content;
}

.with-line-center::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 60px;
    height: 0.8px;
    background-color: #000000;
    transform: translateX(-50%);
}

.section-title-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

.section-title-wrapper .view-btn {
    position: absolute;
    right: 0;
    top: 0;
}

section {
    padding-top: 40px !important;
    padding: 60px 0;
}

.section-large {
    padding-top: 42px !important;
    padding-bottom: 60px 0 !important;
}

.section-title {
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}

.text-image-row {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.text-image-row>div:first-child {
    margin-left: 0;
}

.text-image-row>div:first-child img {
    width: 100%;
    max-width: 520px;
    height: auto;
    object-fit: cover;
    display: block;
}

.text-image-row>div:last-child {
    flex: 1;
}

.text-image-row.reverse {
    flex-direction: row-reverse;
}

.text-image-row>div:first-child {
    flex: 1;
    max-width: 520px;
    margin-top: -20px;
}

.text-image-row>div:last-child {
    flex: 0 0 550px;
}

.text-image-row>div:last-child img {
    width: 950px;
    height: 380px;
    object-fit: cover;
    display: block;
    box-shadow: 0 0px 15px 2px rgba(0, 0, 0, 0.3);
    margin-bottom: 10px;
}

.about-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    justify-content: center;
    padding-left: 0;
    margin: 40px auto 0 auto;
    margin-top: 35px;
}

.about-row:not(.about-reverse) {
    justify-content: flex-start;
    margin-left: 240px;
    margin-right: auto;
}

.about-row.about-reverse {
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 240px;
    margin-top: 50px;
}

.about-row>div:first-child {
    flex-shrink: 0;
}

.about-row>div:first-child img {
    width: 550px;
    height: 350px;
    object-fit: cover;
}

.about-row:not(.about-reverse)>div:first-child img {
    width: 550px;
    height: 380px;
    object-fit: cover;
    margin-bottom: 15px;
}

.about-row.about-reverse>div:last-child img {
    width: 550px;
    height: 380px;
    object-fit: cover;
    margin-bottom: 25px;
}

.about-row.about-reverse>div:first-child {
    margin-right: 40px;
}

.about-row>div:last-child {
    flex: 1;
    margin-left: 20px;
    margin-top: -10px;
}

.about-row p:not(.lock-lines) {
    white-space: normal;
}

.about-row.reverse {
    flex-direction: row-reverse !important;
}

.about-row.reverse>div:first-child {
    margin-left: 0 !important;
}

.about-row.reverse>div:last-child {
    margin-right: 0 !important;
}

.about-row:not(.about-reverse)>div:last-child {
    flex: 1;
    margin-left: 20px;
    margin-top: -10px;
}

.about-row.about-reverse>div:first-child {
    flex: 0 0 670px;
    max-width: 670px;
    margin-right: 40px;
    margin-top: 40px;
}

.about-row img {
    max-width: none;
    box-shadow: 0 0px 15px 2px rgba(0, 0, 0, 0.3);
}

.about-row:not(.about-reverse) h2.section-title.with-line {
    margin-bottom: 4px;
}

.about-row:not(.about-reverse) p.lock-lines {
    margin-top: 0;
}

.about-row.about-reverse h2.section-title.with-line-center {
    margin-bottom: 0px;
}

.about-row.about-reverse p.lock-lines {
    margin-top: 0;
}

.btn-primary {
    font-weight: 400;
    display: inline-block;
    padding: 8px 18px;
    background: #C2B23D;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.25s ease;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

.btn-primary:hover {
    background: #ad9f33;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.center-btn {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
}

.home-learnmore {
    margin-top: 50px !important;
}

.products-grid .product-card img {
    transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
    will-change: transform, filter;
}

.products-grid .product-card:hover img {
    transform: scale(1.035);
    filter: grayscale(35%) brightness(0.98);
    box-shadow: 0 0px 18px 3px rgba(0, 0, 0, 0.28);
}

.products-grid .product-card h3,
.products-grid .product-card h4{
  transition: color 0.28s ease;
}

.products-grid .product-card:hover h3,
.products-grid .product-card:hover h4{
  color: #C2B23D;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.product-card {
    text-align: center;
    cursor: pointer;
    padding-bottom: 60px;
    display: block;
}

.product-card h3 {
    margin-top: 35px;
    font-size: 18px;
    text-align: center;
}

.product-card h4 {
    margin-top: 35px;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
}

.product-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.products-grid .product-card img {
    width: 100%;
    max-width: 530px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 0px 15px 2px rgba(0, 0, 0, 0.3);
}

.product-detail-info .line {
    font-size: 18px;
    margin: 0 0 14px 0;
    line-height: 1.6;
    display: flex;
    align-items: flex-start;
}

.product-detail-info .label {
    font-weight: 700;
    width: 120px;
    flex-shrink: 0;
}

.products-page .product-card img,
.products-page .product-detail-image img {
    width: 346px !important;
    height: 346px !important;
    object-fit: cover;
    display: block;
}

.products-page .products-grid {
    gap: 60px !important;
}

.products-page .product-tabs {
    max-width: 1160px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 0 !important;
}

.product-detail {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.product-detail-image {
    flex: 0 0 346px;
    max-width: 346px;
}

.product-detail-info p {
    font-size: 14px;
    margin-bottom: 8px;
}

.product-image-square {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product-detail-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    box-shadow: 0 0px 15px 2px rgba(0, 0, 0, 0.3);
}

.product-tabs {
    width: 100%;
    max-width: 1160px;
    padding: 0 15px;
    margin: 40px auto 30px;
    display: flex;
    justify-content: space-between;
    gap: 0;
    border-collapse: collapse;
}

#product-list {
    width: 100%;
    max-width: 1160px;
    padding: 0;
    margin: 80px auto 0;
}

.product-detail {
    width: 100%;
    max-width: 1160px;
    padding: 0;
    margin: 80px auto 80px;
}

.tab-btn {
    flex: 1;
    text-align: center;
    padding: 12px 40px;
    border: none;
    outline: none;
    background: #000;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-transform: none;
    letter-spacing: 0.5px;
    border-radius: 0;
}

.tab-btn+.tab-btn {
    border-left: 1px solid #fff;
    margin-left: 1px;
}

.tab-btn.active {
    background: #C2B23D;
    color: #fff;
}

.tab-btn:not(.active):hover {
    background: #333;
}

.customers-logos {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
}

.customers-logos img {
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0 20px;
    margin-bottom: 25px;
}

.logo-scgp {
    height: 160px;
}

.logo-innovation {
    height: 90px;
}

.logo-sppetpack {
    height: 115px;
}

.logo-blowpack {
    height: 140px;
}

.logo-tsplaspack {
    height: 90px;
}

.logo-tns {
    height: 100px;
}

footer {
    background: #C2B23D;
    margin-top: auto;
    color: #fff;
    padding: 40px 0 10px;
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.footer-title {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-inner p,
.footer-inner .contact-row {
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.contact-row img {
    margin-right: 15px;
}

.footer-btn {
    margin-top: 10px;
}

.footer-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
    object-fit: contain;
    transform: translateY(-1px);
}

.footer-icon-up {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    object-fit: contain;
    transform: translateY(-1px);
}

.footer-bottom {
    text-align: center;
    margin-top: 55px;
    font-size: 12px;
    font-weight: 300;
}

footer .footer-btn {
    font-weight: 600;
    display: inline-block;
    padding: 8px 18px;
    font-size: 16px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    background: #ffffff;
    color: #C2B23D;
    border: 2px solid #C2B23D;
    transition: all 0.25s ease;
    margin-top: 25px;
    line-height: 1.8;
}

footer .footer-btn:hover {
    background: #f2f2f2;
    color: #C2B23D;
    animation: bounceTwice 0.75s cubic-bezier(.22,.61,.36,1);
    box-shadow: 0 6px 18px rgba(194,178,61,0.35);
    animation-fill-mode: both;
}

@keyframes bounceTwice {
    0% {
        transform: translateY(0);
    }
    28% {
        transform: translateY(-4px);
    }
    52% {
        transform: translateY(0);
    }
    72% {
        transform: translateY(-1.5px);
    }
    100% {
        transform: translateY(0);
    }
}

.footer-inner>div:last-child {
    margin-top: 12px;
}

.contact-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .text-image-row,
    .text-image-row.reverse {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        width: 100%;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .about-fixed-lines span {
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .text-image-row {
        flex-direction: column;
    }
}

.text-image-row>div:first-child,
.text-image-row>div:last-child {
    flex: none;
    width: 100%;
}

.map-wrapper {
    margin: 15px auto 0 auto;
    width: 900px;
    height: 500px;
    overflow: hidden;
    margin-bottom: 50px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-align {
    width: 900px;
    margin: 0 auto 80px;
}

.kanit-thin {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.kanit-extralight {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.kanit-light {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.kanit-regular {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.kanit-medium {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.kanit-semibold {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.kanit-bold {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.kanit-extrabold {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.kanit-black {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.kanit-thin-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 100;
    font-style: italic;
}

.kanit-extralight-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 200;
    font-style: italic;
}

.kanit-light-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 300;
    font-style: italic;
}

.kanit-regular-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 400;
    font-style: italic;
}

.kanit-medium-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 500;
    font-style: italic;
}

.kanit-semibold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 600;
    font-style: italic;
}

.kanit-bold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 700;
    font-style: italic;
}

.kanit-extrabold-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 800;
    font-style: italic;
}

.kanit-black-italic {
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    font-style: italic;
}

.noto-thin {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 100;
    font-style: normal;
}

.noto-extralight {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 200;
    font-style: normal;
}

.noto-light {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.noto-regular {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.noto-medium {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.noto-semibold {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 600;
    font-style: normal;
}

.noto-bold {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.noto-extrabold {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 800;
    font-style: normal;
}

.noto-black {
    font-family: "Noto Sans Thai", sans-serif;
    font-weight: 900;
    font-style: normal;
}

.slider {
    position: relative;
    height: 380px;
    overflow: hidden;
}

.slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider button.prev,
.slider button.next {
    position: absolute;
    top: 50%;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    border: none;
    font-size: 22px;
    font-weight: bold;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.slider button.prev {
    left: 20px;
    transform: translate(-20px, -50%);
}

.slider button.next {
    right: 20px;
    transform: translate(20px, -50%);
}

.banner.slider:hover button.prev,
.banner.slider:hover button.next {
    opacity: 1;
    pointer-events: auto;
    transform: translate(0, -50%);
}

.banner.slider:hover button.prev:hover,
.banner.slider:hover button.next:hover {
    background: #C2B23D;
    color: #fff;
    transform: translate(0, -50%) scale(1.07);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hidden {
    display: none;
}

.home-banner {
    height: 500px;
}

.banner.slider {
    height: 600px;
    position: relative;
    overflow: hidden;
}

.color-show {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0px;
    margin-top: 6px;
    pointer-events: none;
}

.dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid #ddd;
}

.dot.white { background: #ffffff; }
.dot.red { background: #f9154b; }
.dot.yellow { background: #ffe600; }
.dot.blue { background: #00a4ff; }
.dot.green { background: #19a84d; }

.color-text {
    font-size: 14px;
    font-weight: 400;
    margin-left: 6px;
    pointer-events: none;
}

.products-page .product-detail-info .color-show {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    pointer-events: none;
}

.products-page .label-hide {
    color: transparent;
}

.products-page .color-line {
    display: flex;
    align-items: center;
    margin: 0 0 14px 0;
}

.products-page .color-line .label {
    width: 120px;
    flex-shrink: 0;
}

.products-page .color-show {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    pointer-events: none;
}

.products-page .product-gallery .main-img {
    width: 346px !important;
    height: 346px !important;
    object-fit: cover;
    display: block;
}

.products-page .thumb-bar {
    margin-top: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.products-page .thumb-nav {
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 6px;
    background: #eee;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-page .thumb-nav:disabled {
    opacity: 0.4;
    cursor: default;
}

.products-page .thumb-viewport {
    overflow: hidden;
    width: 100%;
}

.products-page .thumb-track {
    display: flex;
    gap: 10px;
    transition: transform 0.25s ease;
    will-change: transform;
}

.products-page .thumb {
    border: 2px solid transparent;
    padding: 0;
    background: transparent;
    cursor: pointer;
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.products-page .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.products-page .thumb.active {
    border-color: #C2B23D;
    border-width: 3px;
    box-sizing: border-box;
}

.products-page .thumb-bar[data-visible="5"] .thumb-viewport {
    max-width: calc((60px * 5) + (10px * 4));
}

.product-gallery .thumb {
    border-radius: 0 !important;
    overflow: hidden;
}

.product-gallery .thumb img {
    border-radius: 0 !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.product-gallery .thumb {
    border: 1px solid #ddd;
}

.product-gallery .thumb.active {
    border-color: #C2B23D;
}

nav ul li.nav-dropdown{
  position: relative;
}

nav ul li.nav-dropdown > a{
  position: relative;
  padding-right: 18px;
}

nav ul li.nav-dropdown > a::after{
  content: "▾";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 500;
  color: #666;
  opacity: 0.85;
  transition: color 0.25s ease, opacity 0.25s ease;
}

nav ul li.nav-dropdown:hover > a::after{
  color: #aaa;
  opacity: 1;
}

nav ul li.nav-dropdown .dropdown-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-radius: 10px;
  list-style: none;
  padding: 0;
  overflow: hidden;
  display: block !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 999;
}

nav ul li.nav-dropdown:hover .dropdown-menu{
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

nav ul li.nav-dropdown::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}

nav ul li.nav-dropdown .dropdown-menu li{
  display: block;
  width: 100%;
}

nav ul li.nav-dropdown .dropdown-menu li a{
  display: block;
  width: 100%;
  padding: 10px 16px;
  font-size: 15px;
  white-space: nowrap;
  background: transparent;
}

nav ul li.nav-dropdown .dropdown-menu li:hover{
  background: rgba(194,178,61,0.12);
}

nav ul li.nav-dropdown .dropdown-menu li:first-child{
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

nav ul li.nav-dropdown .dropdown-menu li:last-child{
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

nav ul li.nav-dropdown .dropdown-menu li a:hover,
nav ul li.nav-dropdown .dropdown-menu li a.active{
  border-bottom: none !important;
}

.products-bg{
  background: rgba(255,255,255,0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-top: 1px solid rgba(255,255,255,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.35);
}

.products-page .product-detail-image.product-gallery{
  overflow: visible;
}

.products-page .product-gallery{
  --main: 346px;
  --thumb: 104px;
  --gap: 14px;
  --nav: 40px;
  --visible: 4;
  --extra: 140px;
}

.products-page .product-gallery .thumb-bar{
  width: calc(
    (var(--nav) * 2) +
    (var(--thumb) * var(--visible)) +
    (var(--gap) * (var(--visible) - 1)) +
    (var(--gap) * 2)
  );
  margin-left: calc(var(--extra) / -2);
  margin-right: calc(var(--extra) / -2);
}

.products-page .product-gallery .thumb-nav{
  width: var(--nav);
  height: var(--nav);
}

.products-page .product-gallery .thumb-viewport{
  width: calc((var(--thumb) * var(--visible)) + (var(--gap) * (var(--visible) - 1)));
}

.products-page .product-gallery .thumb-track{
  gap: var(--gap);
}

.products-page .product-gallery .thumb{
  width: var(--thumb);
  height: var(--thumb);
}

.products-page .product-detail-image.product-gallery{
  position: relative;
  overflow: visible;
}

.products-page .product-gallery .thumb-bar{
  display: flex;
  align-items: center;
  gap: var(--gap);
  justify-content: center;
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 40px;
}

.products-page .product-gallery .thumb-viewport{
  flex: 0 0 auto;
}

.products-page .product-gallery .main-img,
.products-page .product-gallery .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.products-page .product-detail-image.product-gallery .thumb-bar .thumb {
  width: var(--thumb, 104px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.products-page .product-detail-image.product-gallery .thumb-bar .thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
}

.products-page .product-gallery .thumb-nav,
.products-page .thumb-nav{
  width: var(--nav, 40px) !important;
  height: var(--nav, 40px) !important;
  border-radius: 50% !important;
  background: #e5e5e5 !important;
  border: none !important;
  color: #000 !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color .22s ease, color .22s ease, transform .18s ease;
}

.products-page .product-gallery .thumb-nav:hover,
.products-page .thumb-nav:hover{
  background: #C2B23D !important;
  color: #fff !important;
}

.products-page .product-gallery .thumb-nav:disabled,
.products-page .thumb-nav:disabled{
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.banner-text span.char {
  opacity: 0;
  filter: blur(14px);
  display: inline-block;
  transition:
    opacity 1.1s ease,
    filter 1.1s ease;
}

.banner-text span.char.show {
  opacity: 1;
  filter: blur(0);
}