body {
    font-family: 'Kanit', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Kanit', sans-serif;
}

:root {
    --primary: #D32F2F;
    --secondary: #D90429;
    --light: #FEF2F4;
    --dark: #2B2D42;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.display-1,
.display-2,
.display-3,
.display-4,
h1.text-white,
h2.text-white,
h3.text-white,
h4.text-white,
h5.text-white,
h6.text-white,
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4,
.text-white h5,
.text-white h6 {
    color: var(--primary);
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

.hero-header {
    background: url(../img/gallery/interior-front-main.jpg) right 40% no-repeat;
    background-size: cover;
    height: 50vh;
    min-height: 400px;
}

@media (max-width: 992px) {
    .hero-header {
        height: 30vh;
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-header {
        height: 30vh;
        min-height: 190px;
    }
}

.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

.feature-item {
    background: linear-gradient(to bottom right, var(--primary), #a50000);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: .5s;
    color: #FFFFFF !important;
}

.feature-item h6,
.feature-item .text-body,
.feature-item small {
    color: #FFFFFF !important;
}

.feature-item:hover {
    transform: translateY(-5px);
}

/* Flavor Card Design */
.flavor-card {
    border-radius: 25px;
    padding: 20px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Alternating Rotations for Fun Look */
.col:nth-of-type(odd) .flavor-card {
    transform: rotate(-3deg);
}

.col:nth-of-type(even) .flavor-card {
    transform: rotate(3deg);
}

.flavor-card:hover {
    transform: scale(1.05) rotate(0deg) !important;
    z-index: 10;
}

.flavor-card-img-wrapper {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /* overflow: hidden; Removed to show icon */
    margin: 0 auto 15px;
    position: relative;
    z-index: 1;
}

.flavor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    /* Added to keep image round */
}

.flavor-card h5 {
    font-weight: 700;
    color: #444;
    /* Darker text for readability on pastel */
    margin-bottom: 0;
    font-size: 1.1rem;
}

.flavor-card-icon {
    position: absolute;
    bottom: -5px;
    right: -5px;
    max-width: 65px;
    /* Limit max size */
    max-height: 65px;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: none;
    /* Allow natural size */
    width: auto;
    height: auto;
}

.flavor-card-icon img {
    width: 40px;
    /* Base width */
    height: auto;
    object-fit: contain;
    border-radius: 0 !important;
    /* Force no circle */
    /* Create a thick white outline/stroke effect around the PNG */
    filter: drop-shadow(2px 0 0 #fff) drop-shadow(-2px 0 0 #fff) drop-shadow(0 2px 0 #fff) drop-shadow(0 -2px 0 #fff) drop-shadow(1px 1px 0 #fff) drop-shadow(-1px -1px 0 #fff);
}

.header-icon-tilt {
    transform: rotate(15deg);
    display: inline-block;
    transition: transform 0.3s;
}

.header-icon-tilt:hover {
    transform: rotate(0deg) scale(1.1);
}

.feature-item img {
    filter: brightness(0) invert(1);
    /* Make icons white to match text */
}



/* Pastel Backgrounds */
.bg-pastel-beige {
    background-color: #F8E8D4;
}

.bg-pastel-blue {
    background-color: #D6EAF8;
}

.bg-pastel-green {
    background-color: #E6EE9C;
}

.bg-pastel-orange {
    background-color: #FAD7A0;
}

.bg-pastel-yellow {
    background-color: #FFF59D;
}

.bg-pastel-mint {
    background-color: #D5F5E3;
}

.bg-pastel-pink {
    background-color: #FADBD8;
}

.bg-pastel-lime {
    background-color: #D4EFDF;
}

.bg-pastel-white {
    background-color: #FFFFFF;
}

/* Google Reviews Section */
.google-review-card {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    border: 1px solid #f0f0f0;
}

.google-review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.google-review-avatar {
    width: 45px;
    height: 45px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 20px;
    margin-right: 15px;
}

.google-review-info h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.google-review-info small {
    color: #777;
    font-size: 13px;
}

.google-stars {
    color: #FFC107;
    margin-bottom: 15px;
    font-size: 14px;
}

.google-logo-corner {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 25px !important;
    height: 25px !important;
    opacity: 0.8;
}

.review-text {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Google Reviews Modern Design */
.bg-pastel-blue-modern {
    background-color: #D6EAF8;
}

.bg-pastel-yellow-modern {
    background-color: #FFF9C4;
}

.bg-pastel-green-modern {
    background-color: #DCEDC8;
}

.google-review-modern {
    border-radius: 25px;
    padding: 30px;
    position: relative;
    height: 100%;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.google-review-modern .review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.google-review-modern .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #fff;
}

.google-review-modern .name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 2px;
}

.google-review-modern .google-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 30px !important;
    height: 30px !important;
}

.google-review-modern .stars {
    color: #FFC107;
    font-size: 14px;
}

.google-review-modern .review-body {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    flex-grow: 1;
    margin-bottom: 15px;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.google-review-modern .review-date {
    font-size: 0.85rem;
    color: #666;
    margin-top: auto;
}

.section-title-google {
    font-family: 'Kanit', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    color: #D32F2F;
    letter-spacing: 1px;
}

.btn-google-red {
    background-color: #A51D1D;
    /* Darker red from reference */
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(165, 29, 29, 0.3);
}

/* Crate Wall Design */
.crate-wall-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    /* Cover full height */
    overflow: hidden;
    z-index: 0;
    display: flex;
    justify-content: center;
    background: #801818;
    /* Darker red behind crates */
}

.crate-grid {
    display: grid;
    grid-template-columns: repeat(40, 1fr);
    width: 100%;
    /* height: 100%; */
    gap: 0px;
    /* Seamless look */
}

.crate-cell {
    background-color: #D32F2F;
    /* Primary Red */
    border: 3px solid #B71C1C;
    /* Darker border for depth */
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    /* Keep square */
    border-radius: 2px;
    width: 100%;
    min-height: 25px;
}

.pixel-ball {
    width: 70%;
    height: 70%;
    border-radius: 50%;
    position: relative;
    box-shadow: inset -3px -3px 8px rgba(0, 0, 0, 0.4), 2px 2px 5px rgba(0, 0, 0, 0.2);
}

.pixel-ball::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 15%;
    width: 25%;
    height: 25%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(1px);
}

.ball-blue {
    background-color: #2196F3;
}

.ball-cyan {
    background-color: #00BCD4;
}

.ball-yellow {
    background-color: #FFEB3B;
}

.ball-red {
    background-color: #F44336;
}

.ball-pink {
    background-color: #E91E63;
}

.ball-orange {
    background-color: #FF9800;
}

/* Product Slider Section */
.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    text-align: center;
    padding-bottom: 20px;
    height: 100%;
    margin: 10px;
    /* Spacing for shadow */
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-bottom: 5px solid #F5F5F5;
}

.product-card h4 {
    margin: 20px 0 10px;
    font-weight: 700;
    color: #801818;
    /* Dark Red Title */
    font-family: 'Kanit', sans-serif;
    padding: 0 10px;
}

.product-card .btn-product {
    background-color: #B71C1C;
    color: #fff;
    border-radius: 50px;
    padding: 8px 25px;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: none;
    margin-top: 10px;
}

/* Product Carousel Navigation & Dots */
.product-carousel {
    position: relative;
    padding: 0 45px;
    /* Make space for arrows */
}

.product-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    left: 0;
    pointer-events: none;
    /* Allow clicking through container */
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: #fff !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem !important;
    transition: all 0.3s;
    pointer-events: auto;
    cursor: pointer;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #fff !important;
    color: #D32F2F !important;
}

.product-carousel .owl-nav .owl-prev {
    left: -20px;
}

.product-carousel .owl-nav .owl-next {
    right: -20px;
}

.product-carousel .owl-dots {
    margin-top: 30px !important;
    text-align: center;
    width: 100%;
    /* Ensure full width for centering */
}

.product-carousel .owl-dot {
    display: inline-block;
    /* Ensure horizontal layout */
}

.product-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    display: block;
    border-radius: 50%;
    margin: 5px 5px;
    transition: all 0.3s;
}

.product-carousel .owl-dot.active span {
    background: #fff !important;
    transform: scale(1.2);
}

.section-title-products {
    color: #fff;
    font-family: 'Kanit', sans-serif;
    font-weight: 900;
    font-size: 4rem;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

/* Blog Image Styling */
.blog-img {
    height: 250px;
    /* Fixed height for consistency */
    object-fit: cover;
    /* Maintain aspect ratio without distortion */
    width: 100%;
}