@import url("https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700;800&family=Yeseva+One&display=swap");

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

html,
body {
    width: 100%;
    max-width: 100%;
}

body {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    line-height: 28px;
    color: #6a6a6a;
    font-size: 14px;
    background-color: #eff2f1;
}

a {
    text-decoration: none;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
    color: #2f2f2f;
    text-decoration: underline;
}

a:hover {
    color: #2f2f2f;
    text-decoration: none;
}

a.more {
    font-weight: 600;
}

.custom-navbar {
    background: #3b5d50 !important;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.custom-navbar .navbar-brand {
    font-size: 32px;
    font-weight: 600;
    font-family: "Yeseva One", cursive;
}

.custom-navbar .navbar-brand > span {
    opacity: 0.4;
}

.custom-navbar .navbar-toggler {
    border-color: transparent;
}

.custom-navbar .navbar-toggler:active,
.custom-navbar .navbar-toggler:focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    outline: none;
}

@media (min-width: 992px) {
    .custom-navbar .custom-navbar-nav li {
        margin-left: 5px;
        margin-right: 5px;
        border-radius: 8px;
        transition: background-color 0.3s ease;
    }

    .custom-navbar .custom-navbar-nav li:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.custom-navbar .custom-navbar-nav li a {
    font-weight: 500;
    color: #ffffff !important;
    opacity: 0.5;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
    position: relative;
}

@media (min-width: 768px) {
    .custom-navbar .custom-navbar-nav li a:before {
        content: "";
        position: absolute;
        bottom: 0;
        left: 8px;
        right: 8px;
        background: #fca311;
        height: 5px;
        opacity: 1;
        visibility: visible;
        width: 0;
        -webkit-transition: 0.15s all ease-out;
        -o-transition: 0.15s all ease-out;
        transition: 0.15s all ease-out;
    }
}

.custom-navbar .custom-navbar-nav li a:hover {
    opacity: 1;
}

.custom-navbar .custom-navbar-nav li a:hover:before {
    width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-nav li.active a {
    opacity: 1;
}

.custom-navbar .custom-navbar-nav li.active a:before {
    width: calc(100% - 16px);
}

.custom-navbar .custom-navbar-cta {
    margin-left: 0 !important;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
}

@media (min-width: 768px) {
    .custom-navbar .custom-navbar-cta {
        margin-left: 40px !important;
    }
}

.custom-navbar .custom-navbar-cta li {
    margin-left: 0px;
    margin-right: 0px;
}

.custom-navbar .custom-navbar-cta li:first-child {
    margin-right: 20px;
}

.hero {
    background: #3b5d50;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

@media (min-width: 768px) {
    .hero {
        padding: 22rem 0 8rem 0; /* Increased top padding for sticky header */
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 20rem 0;
    }
}

.hero .intro-excerpt {
    position: relative;
    z-index: 4;
    /* padding-top: 4rem; */
    /* Removed to reduce extra space */
}

@media (min-width: 992px) {
    .hero .intro-excerpt {
        max-width: 450px;
    }
}

@media (max-width: 767.98px) {
    .hero {
        padding: 18rem 0 3rem 0; /* Increased mobile padding */
    }

    .hero .intro-excerpt {
        text-align: center;
        padding-top: 0;
        /* Add padding to the top of the text */
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero .intro-excerpt .btn-secondary {
        display: none;
    }
}


.hero h1 {
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    font-family: "DM Serif Display", serif;
    transition: text-shadow 0.3s ease;
}

@media (min-width: 1400px) {
    .hero h1 {
        font-size: 54px;
    }
}

.hero p {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.hero .intro-excerpt:hover h1 {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero .intro-excerpt:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.hero .hero-img-wrap {
    position: relative;
    /* This can stay */
}

.hero .hero-img-wrap img {
    display: block;
    /* Important: Prevents extra space below inline images */
    max-width: 100%;
    /* Ensures image never exceeds container width */
    height: auto;
    position: relative;
    z-index: 3;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        filter 0.4s ease;
}

.hero .hero-img-wrap:hover img {
    transform: scale(1.03) rotate(2deg) translateY(-10px);
    filter: drop-shadow(0px 30px 20px rgba(0, 0, 0, 0.15));
}

/* Adjust the ::after element as needed, it might be pushing things out */
.hero .hero-img-wrap:after {
    content: "";
    position: absolute;
    width: 255px;
    height: 217px;
    background-size: contain;
    background-repeat: no-repeat;
    right: 0;
    /* Or adjust as needed for placement */
    top: 0;
    z-index: 2;
    /* Or adjust as needed for placement */
}

@media (min-width: 1200px) {
    .hero .hero-img-wrap:after {
        top: -40px;
        /* Or adjust as needed */
    }
}

.hero .background-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
    overflow: hidden;
}

.hero .background-slider .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: slide-animation 24s infinite;
}

.hero .background-slider .slide:nth-child(2) {
    animation-delay: 8s;
}

.hero .background-slider .slide:nth-child(3) {
    animation-delay: 16s;
}

@keyframes slide-animation {
    0%,
    100% {
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    33% {
        opacity: 1;
    }

    41% {
        opacity: 0;
    }
}

.btn {
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 30px;
    color: #ffffff;
    background: #2f2f2f;
    border-color: #2f2f2f;
    transition: all 0.3s ease;
}

.btn:hover {
    color: #ffffff;
    background: #222222;
    border-color: #222222;
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.btn:active,
.btn:focus {
    outline: none !important;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.btn.btn-primary {
    background: #3b5d50;
    border-color: #3b5d50;
}

.btn.btn-primary:hover {
    background: #314d43;
    border-color: #314d43;
}

.btn.btn-secondary {
    color: #2f2f2f;
    background: #fca311;
    border-color: #fca311;
}

.btn.btn-secondary:hover {
    background: #e76f51;
    border-color: #e76f51;
}

.btn.btn-white-outline {
    background: transparent;
    border-width: 2px;
    border-color: rgba(255, 255, 255, 0.3);
}

.btn.btn-white-outline:hover {
    border-color: white;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.section-title {
    color: #2f2f2f;
}

.product-section {
    padding: 2rem 0;
}

.product-section .product-item {
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
    padding-bottom: 50px;
    cursor: pointer;
    /* Removed hover effects from the entire item for a cleaner look */
}

.product-section .product-item .product-thumbnail {
    margin-bottom: 30px;
    position: relative;
    top: 0;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
    overflow: hidden;
    border-radius: 12px;
}

.product-section .product-item .product-thumbnail img {
    transition: transform 0.4s ease;
}

.product-section .product-item h3 {
    font-weight: 600;
    font-size: 16px;
    font-family: "DM Serif Display", serif;
}

.product-section .product-item strong {
    font-weight: 800 !important;
    font-size: 18px !important;
}

.product-section .product-item h3,
.product-section .product-item strong {
    color: #2f2f2f;
    text-decoration: none;
}

.product-section .product-item .icon-cross {
    position: absolute;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2f2f2f;
    bottom: 15px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    transform: translateX(-50%);
    margin-bottom: -17.5px;
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.product-section .product-item .icon-cross img {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.product-section .product-item:before {
    bottom: 0;
    left: 0;
    right: 0;
    position: absolute;
    content: "";
    background: #dce5e4;
    height: 0%;
    z-index: -1;
    border-radius: 10px;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.product-section .product-item:hover {
    /* The hover effect is now on the thumbnail and icon */
}

.product-section .product-item:hover .product-thumbnail {
    top: -25px;
    box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.1);
}

.product-section .product-item:hover .icon-cross {
    bottom: 0;
    opacity: 1;
    visibility: visible;
    background: #2f2f2f;
}

.product-section .product-item:hover .icon-cross img {
    display: none;
}

.product-section .product-item:hover .product-thumbnail img {
    transform: scale(1.1);
}

.product-section .product-item:hover .icon-cross::after {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ffffff;
    font-size: 14px;
}

.product-section .product-item:hover:before {
    height: 70%;
}

/*
* Carousel Control Button Styles
* This overrides the generic .btn styles to fix sizing and hover issues.
*/
.carousel-control-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 45px;
    height: 45px;
    min-width: 45px;
    /* Override .btn min-width */
    padding: 0;
    /* Override .btn padding */
    margin: 0;
    /* Reset margin from .btn */
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    /* Add transition for smooth hover effect */
}

.carousel-control-button:hover {
    background: rgba(16, 185, 129, 0.8);
    /* Add a subtle glassmorphism effect */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transform: translateY(-50%) translateY(-2px) scale(1.1);
}

.why-choose-section {
    padding: 7rem 0;
}

@media (max-width: 767.98px) {
    .why-choose-section {
        padding: 4rem 0;
    }
}

.why-choose-section .img-wrap {
    position: relative;
}

.why-choose-section .img-wrap:before {
    position: absolute;
    content: "";
    width: 255px;
    margin-top: 25px;
    height: 217px;
    background-image: url("../images/dots-yellow.svg");
    background-repeat: no-repeat;
    background-size: contain;
    -webkit-transform: translate(-40%, -40%);
    -ms-transform: translate(-40%, -40%);
    transform: translate(-40%, -40%);
    z-index: -1;
}

.why-choose-section .img-wrap img {
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-choose-section .img-wrap:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature {
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background-color: transparent;
}

.feature:hover {
    background-color: #ffffff;
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.feature .icon {
    display: inline-block;
    position: relative;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature:hover .icon {
    transform: translateY(-5px) scale(1.1);
}

.feature .icon:before {
    content: "";
    width: 33px;
    height: 33px;
    position: absolute;
    background: rgba(59, 93, 80, 0.2);
    border-radius: 50%;
    right: -8px;
    bottom: 0;
}

.feature h3 {
    font-size: 14px;
    color: #2f2f2f;
    transition: color 0.3s ease;
}

.feature:hover h3 {
    color: #3b5d50;
}

.feature p {
    font-size: 14px;
    line-height: 22px;
    color: #6a6a6a;
}

.we-help-section {
    padding: 7rem 0;
}

.we-help-section .imgs-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: repeat(27, 1fr);
    grid-template-columns: repeat(27, 1fr);
    position: relative;
}

.we-help-section .imgs-grid:before {
    position: absolute;
    content: "";
    width: 255px;
    height: 217px;
    background-image: url("../images/dots-green.svg");
    background-size: contain;
    background-repeat: no-repeat;
    -webkit-transform: translate(-40%, -40%);
    -ms-transform: translate(-40%, -40%);
    transform: translate(-40%, -40%);
    z-index: -1;
}

.we-help-section .imgs-grid .grid {
    position: relative;
}

.we-help-section .imgs-grid .grid img {
    border-radius: 20px;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.we-help-section .imgs-grid .grid:hover img {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.we-help-section .imgs-grid .grid.grid-1 {
    -ms-grid-column: 1;
    -ms-grid-column-span: 18;
    grid-column: 1 / span 18;
    -ms-grid-row: 1;
    -ms-grid-row-span: 27;
    grid-row: 1 / span 27;
}

.we-help-section .imgs-grid .grid.grid-2 {
    -ms-grid-column: 19;
    -ms-grid-column-span: 27;
    grid-column: 19 / span 27;
    -ms-grid-row: 1;
    -ms-grid-row-span: 5;
    grid-row: 1 / span 5;
    padding-left: 20px;
}

.we-help-section .imgs-grid .grid.grid-3 {
    -ms-grid-column: 14;
    -ms-grid-column-span: 16;
    grid-column: 14 / span 16;
    -ms-grid-row: 6;
    -ms-grid-row-span: 27;
    grid-row: 6 / span 27;
    padding-top: 20px;
}

.custom-list {
    width: 100%;
}

.custom-list li {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
    line-height: 1.5;
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    background: #fff;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.custom-list li:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(59, 93, 80, 0.1);
}

.custom-list li:before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(59, 93, 80, 0.1);
    color: #3b5d50;
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.popular-product {
    padding: 0 0 7rem 0;
}

.popular-product .product-item-sm h3 {
    font-size: 14px;
    font-weight: 700;
    color: #2f2f2f;
}

.popular-product .product-item-sm a {
    text-decoration: none;
    color: #2f2f2f;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.popular-product .product-item-sm a:hover {
    color: rgba(47, 47, 47, 0.5);
}

.popular-product .product-item-sm p {
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 14px;
}

.popular-product .product-item-sm .thumbnail {
    margin-right: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    position: relative;
}

.popular-product .product-item-sm .thumbnail:before {
    content: "";
    position: absolute;
    border-radius: 20px;
    background: #dce5e4;
    width: 98px;
    height: 98px;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    z-index: -1;
}

.footer-section {
    padding: 80px 0;
    background: #ffffff;
}

.footer-section .relative {
    position: relative;
}

.footer-section a {
    text-decoration: none;
    color: #2f2f2f;
    -webkit-transition: 0.3s all ease;
    -o-transition: 0.3s all ease;
    transition: 0.3s all ease;
}

.footer-section a:hover {
    color: rgba(47, 47, 47, 0.5);
}

.footer-section .subscription-form {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    margin-top: 100px;
}

@media (min-width: 992px) {
    .footer-section .subscription-form {
        margin-top: 0px;
        margin-bottom: 80px;
    }
}

.footer-section .subscription-form h3 {
    font-size: 18px;
    font-weight: 500;
    color: #3b5d50;
}

.footer-section .subscription-form .form-control {
    height: 50px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
}

.footer-section .subscription-form .form-control:active,
.footer-section .subscription-form .form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #3b5d50;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.footer-section .subscription-form .form-control::-webkit-input-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .form-control::-moz-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .form-control:-ms-input-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .form-control:-moz-placeholder {
    font-size: 14px;
}

.footer-section .subscription-form .btn {
    border-radius: 10px !important;
}

.footer-section .sofa-img {
    position: absolute;
    top: -150px;
    z-index: 1;
    right: 0;
}

.footer-section .sofa-img img {
    max-width: 380px;
}

.footer-section .links-wrap {
    margin-top: 0px;
}

@media (min-width: 992px) {
    .footer-section .links-wrap {
        margin-top: 54px;
    }
}

.footer-section .links-wrap ul li {
    margin-bottom: 10px;
}

.footer-section .footer-logo-wrap .footer-logo {
    font-size: 32px;
    font-weight: 500;
    text-decoration: none;
    color: #3b5d50;
}

.footer-section .custom-social li {
    margin: 2px;
    display: inline-block;
}

.footer-section .custom-social li a {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    display: inline-block;
    background: #dce5e4;
    color: #3b5d50;
    border-radius: 50%;
}

.footer-section .custom-social li a:hover {
    background: #3b5d50;
    color: #ffffff;
}

.footer-section .border-top {
    border-color: #dce5e4;
}

.footer-section .border-top.copyright {
    font-size: 14px !important;
}

.untree_co-section {
    padding: 7rem 0;
}

.form-control {
    height: 50px;
    border-radius: 10px;
    font-family: "Inter", sans-serif;
}

.form-control:active,
.form-control:focus {
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: #3b5d50;
    -webkit-box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.2);
}

.form-control::-webkit-input-placeholder {
    font-size: 14px;
}

.form-control::-moz-placeholder {
    font-size: 14px;
}

.form-control:-ms-input-placeholder {
    font-size: 14px;
}

.form-control:-moz-placeholder {
    font-size: 14px;
}

.service {
    line-height: 1.5;
}

.service .service-icon {
    border-radius: 10px;
    -webkit-box-flex: 0;
    -ms-flex: 0 0 50px;
    flex: 0 0 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    background: #3b5d50;
    margin-right: 20px;
    color: #ffffff;
}

textarea {
    height: auto !important;
}

.site-blocks-table {
    overflow: auto;
}

.site-blocks-table .product-thumbnail {
    width: 200px;
}

.site-blocks-table .btn {
    padding: 2px 10px;
}

.site-blocks-table thead th {
    padding: 30px;
    text-align: center;
    border-width: 0px !important;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8);
    font-size: 18px;
}

.site-blocks-table td {
    padding: 20px;
    text-align: center;
    vertical-align: middle;
    color: rgba(0, 0, 0, 0.8);
}

.site-blocks-table tbody tr:first-child td {
    border-top: 1px solid #3b5d50 !important;
}

.site-blocks-table .btn {
    background: none !important;
    color: #2f2f2f;
    border: none;
    height: auto !important;
}

.site-block-order-table th {
    border-top: none !important;
    border-bottom-width: 1px !important;
}

.site-block-order-table td,
.site-block-order-table th {
    color: #000000;
}

.couponcode-wrap input {
    border-radius: 10px !important;
}

.text-primary {
    color: #3b5d50 !important;
}

.thankyou-icon {
    position: relative;
    color: #3b5d50;
}

.thankyou-icon:before {
    position: absolute;
    content: "";
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(59, 93, 80, 0.2);
}

/* 
    scroll back to top */

/* Scroll to Top Button */
#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #75b864;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    z-index: 1000;
}

#scrollToTopBtn.show {
    display: block;
}

/* --- NEW STYLES --- */

/* 1. Available Badge: Clean, green, appears on hover */
.available-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-item:hover .available-badge {
    opacity: 1;
    transform: translateY(0);
}

/* 2. New "Sold" Badge - A centered stamp */
.sold-badge {
    position: absolute;
    top: 25px;
    right: -10px;
    /* Pushes it slightly out of the box on the right */
    transform: rotate(15deg);
    /* Tilts the badge the other way */
    background-color: rgba(200, 30, 30, 0.9);
    /* A strong, slightly transparent red */
    color: white;
    padding: 0.5rem 2rem;
    /* Adjust padding for a banner look */
    border-radius: 4px;
    font-family: "Playfair Display", serif;
    font-size: 1.2rem;
    /* A more suitable font size */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    z-index: 10;
    box-shadow: 2px 5px 10px rgba(0, 0, 0, 0.3);
    border-left: 2px solid rgba(255, 255, 255, 0.4);
    border-bottom: 2px solid rgba(255, 255, 255, 0.4);
    transition: transform 0.3s ease;
    /* Add transition for hover effect */
}

/* 3. Customization for the entire SOLD card */
.sold-product {
    cursor: not-allowed;
}

.sold-product .product-thumbnail {
    filter: grayscale(70%);
    /* Desaturate the image */
    transition: filter 0.3s ease;
}

/* 4. Disable all interactive hover effects for sold items */
.sold-product:hover {
    /* Keep the transform from the parent .product-item:hover to allow the card to lift */
    box-shadow: none;
    /* Disable the shadow effect */
}

.sold-product:hover .sold-badge {
    transform: rotate(10deg) scale(1.05);
    /* Add a subtle animation to the badge */
}

.sold-product:hover .product-thumbnail {
    top: 0;
    /* Prevent image from moving up */
    box-shadow: none;
    /* Disable thumbnail shadow on hover */
    filter: grayscale(70%);
    /* Keep it grayscale on hover */
}

.sold-product:hover::before {
    height: 0%;
    /* Disable the background fill on hover */
}

.sold-product .icon-cross {
    display: none !important;
    /* Hide the 'add to cart' icon */
}

/* --- NEW STYLES for Promo Banner on Available Products --- */

/* Add a "Promo" banner to the corner of available product images */
.product-item:not(.sold-product) .product-thumbnail::after {
    content: "Promo";
    position: absolute;
    top: 0;
    right: 0;
    background: #fca311;
    color: #2f2f2f;
    padding: 6px 12px 8px 18px;
    /* Give it some shape */
    border-bottom-left-radius: 12px;
    /* Match parent radius */
    font-family: "DM Serif Display", serif;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 1;
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Enhance the banner on hover */
.product-item:not(.sold-product):hover .product-thumbnail::after {
    background: #e76f51;
    color: #fff;
}

.product-item:not(.sold-product) {
    border-radius: 12px;
}

.empty-state {
    padding: 3rem 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.btn {
    min-width: 120px;
    margin: 0.25rem;
}

@media (max-width: 768px) {
    .btn {
        width: 100%;
        margin: 0.25rem 0;
    }
}

.gap-2 {
    gap: 0.5rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

/* Filter Controls */
.filter-controls .btn {
    border-radius: 50px;
    border-width: 2px;
    font-weight: 600;
    padding: 10px 25px;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.filter-controls .btn.btn-outline-primary {
    background-color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.6);
    color: #3b5d50;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.filter-controls .btn.btn-outline-primary:hover {
    background-color: rgba(255, 255, 255, 0.8);
    border-color: #3b5d50;
    color: #3b5d50;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.filter-controls .btn.btn-primary {
    background-color: #3b5d50;
    border-color: #3b5d50;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(59, 93, 80, 0.25);
}

.filter-controls .btn.btn-primary:hover {
    background-color: #314d43;
    border-color: #314d43;
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(59, 93, 80, 0.3);
}

/* Info Card Section on About Page */
.info-card-section {
    padding: 5rem 0;
    background-color: #eff2f1;
}

.info-card-grid {
    display: grid;
    /* Default to a single column for mobile */
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* For tablets, show 2 columns */
@media (min-width: 768px) {
    .info-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* For desktops, show 3 columns with the 4th centered below */
@media (min-width: 992px) {
    .info-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .info-card:nth-child(4) {
        grid-column: 2;
    }
}

.info-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: left;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(59, 93, 80, 0.1);
    border-color: transparent;
}

.info-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #f9bf29, #3b5d50) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.info-card:hover::before {
    opacity: 1;
}

.info-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: #3b5d50;
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2f2f2f;
    margin-bottom: 1rem;
}

.info-card-text,
.info-card-text p {
    color: #6a6a6a;
    line-height: 1.7;
    margin-bottom: 0;
}

.info-card-text ul {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
    margin-bottom: 0;
}

.info-card-text li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.info-card-text li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 5px;
    color: #3b5d50;
    font-size: 0.8rem;
}

/* Responsive Product Detail Modal Image */
.product-image-container {
    position: relative;
    overflow: hidden;
    height: 45vh;
    /* Mobile height */
    min-height: 350px;
}

@media (min-width: 992px) {
    /* Desktop height */
    .product-image-container {
        height: 65vh;
        min-height: 400px;
    }
}

/* Description See More/Less */
.description-content {
    transition: max-height 0.4s ease-out;
    overflow: hidden;
}

.description-fade {
    position: absolute;
    bottom: 30px;
    /* Position above the 'See more' button */
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), white);
    pointer-events: none;
}

/* Header Wrapper */
.header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    width: 100%;
}

