body {
    font-family: "Lato", sans-serif;
    background-color: #fefcfb;
    color: #3c3c3c;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Trirong", serif;
    font-weight: 400;
}

.hero-title,
.section-title h3,
.sale-banner h3 {
    font-family: "Allura", "Brush Script MT", cursive;
}

.announcement-bar {
    background-color: #2c332f;
    color: #efccec;
    padding: 0.6rem 0;
    font-size: 0.9rem;
}

.announcement-bar .swiper-slide a {
    color: inherit;
    text-decoration: none;
}

.truncate {
    width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.truncate-multiline {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Number of lines to show */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


.header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-brand img {
    max-height: 50px;
    height: 40px;
    width: auto;
}

.header-icons .nav-link {
    font-size: 1.3rem;
    color: #3c3c3c;
}

.navbar .container-fluid {
    position: relative;
}

.order-success-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    color: white;
    font-size: 36px;
}

.order-success-wrapper h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.order-details {
    text-align: left;
    margin-top: 30px;
}

.order-details p {
    margin: 8px 0;
}

.btn-home {
    margin-top: 30px;
    background-color: #28a745;
    border: none;
    padding: 12px 24px;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    transition: background-color 0.3s;
}

.btn-home:hover {
    background-color: #218838;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.offcanvas-header {
    border-bottom: 1px solid #dee2e6;
}

.nav-menu .nav-link {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.hero-section {
    position: relative;
    color: #ffffff;
    width: 100%;
    height: 95vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.heroSwiper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.heroSwiper .swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.heroSwiper .swiper-slide::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background-color: rgba(0, 0, 0, 0.4); */
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-content-box {
    display: none;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.btn-custom {
    background-color: #fff;
    color: #3c3c3c;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    /* padding: 0.9rem 2.5rem; */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: transparent;
    color: #fff;
    border-color: #fff;
}

/* --- Add this new block for Tablet Styles --- */
@media (max-width: 992px) {
    .hero-section {
        height: 50vh;
        /* A good height for tablets */
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.1rem;
    }

    /* --- ADD THESE NEW RULES --- */
    .section-title h3,
    .password-change-title,
    .cart-title {
        font-size: 2.4rem;
    }

    .sale-banner h3,
    .product-title {
        font-size: 2.1rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: 35vh;
        /* Taller height for mobile phones */
        min-height: 200px;
        /* A fallback to ensure it's never too short */
    }

    .hero-content-overlay {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.1;
    }

    .hero-section p {
        font-size: .8rem;
        margin-bottom: 1.5rem;
    }

    .hero-section .btn-custom {
        font-size: 0.5rem;
        padding: 0.5rem 1rem;
    }

    .section-title h3 {
        font-size: 2.2rem;
    }

    .footer .text-md-start {
        text-align: center !important;
    }

    .footer-brand-info {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .subCatSwiper .collection-card img {
        height: auto;
        aspect-ratio: 3 / 4;
    }

    .collection-card h4 {
        font-size: 0.9rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}

.section-title h3 {
    font-size: 2.8rem;
}

.section-title img {
    max-width: 200px;
    /* margin-top: 10px; */
}

.collection-card {
    text-align: center;
    overflow: hidden;
    border-radius: 15px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); */
    transition: box-shadow 0.3s ease;
}


.collection-card img {
    border-radius: 1rem;
    width: 100%;
    height: 350px;
    object-fit: contain;
    object-position: top;
    transition: transform 0.4s ease;
}

.collection-card:hover img {
    transform: scale(1.05);
}

.collection-card h4 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-top: .75rem;
    margin-bottom: 1.5rem;
    color: #3c3c3c;
}

.sale-banner {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
    text-align: center;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.sale-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.6) 0%,
            rgba(0, 0, 0, 0.1) 50%,
            rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.sale-banner h3,
.sale-banner p,
.sale-banner .btn-custom {
    position: relative;
    z-index: 2;
}

.sale-banner h3 {
    font-size: 2.5rem;
}

.sale-banner p {
    font-size: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1.5rem;
    max-width: 80%;
}

.sale-banner .btn-custom {
    font-size: 1rem;
    padding: 0.7rem 1.5rem;
}


/* product page */

.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    text-align: left;
    /* Changed to left-align for a cleaner look */
    border-radius: 15px;
    background-color: #ffffff;
    /* Restored background for a defined card */
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    /* Important for containing child elements */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* --- Image Container & Styles --- */
.product-card-img-container {
    position: relative;
    overflow: hidden;
}

.product-card-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    /* object-fit: cover;
    object-position: top; */
}


/* --- Content Body --- */
.product-card-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card-title {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #3c3c3c;
    margin-bottom: 0.75rem;
}


/* --- Price & Action Button --- */
.product-card-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #d45c5c;
    /* Using theme's red accent color for price */
    margin-bottom: 1rem;
}

.product-card .btn-custom {
    width: 100%;
    background-color: transparent;
    color: #2c332f;
    border: 2px solid #2c332f;
    font-weight: 600;
}

.product-card .btn-custom:hover {
    background-color: #2c332f;
    color: #fff;
    border-color: #2c332f;
}

.swiper-button-next,
.swiper-button-prev {
    color: #2c332f;
    --swiper-navigation-size: 30px;
}

@media (max-width: 767px) {
    .product-card-img {
        /* Significantly reduce image height for mobile */
        height: 230px;
    }

    .product-card-body {
        padding: 1rem 0.8rem;
    }

    .product-card-title {
        font-size: 0.9rem;
        min-height: 36px;
        /* Adjust min-height for smaller font */
    }

    .product-card-price {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }

    .product-card .btn-custom {
        /* Make the 'Add to Cart' button smaller and more appropriate for mobile */
        font-size: 0.7rem;
        padding: 0.7rem 1rem;
    }
}


/* testimonials section */
.testimonials-section {
    background-color: #f3eded;
    background-image: none;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 700px;
    margin: auto;
    border: 1px solid #e5e5e5;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.testimonial-card h4 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
}

.swiper-pagination-bullet-active {
    background-color: #2c332f;
}

/* insta block */
#instafeed {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 992px) {
    #instafeed {
        grid-template-columns: repeat(4, 1fr);
    }
}

.insta-post {
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1 / 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insta-post:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    cursor: pointer;
}

.instagram-media {
    min-width: unset !important;
    width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.newsletter-section {
    background-color: #ece2d6;
}

.form-control-custom {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid #7d634a;
    border-radius: 0;
    color: #7d634a;
    padding: 0.75rem 0.25rem;
}

.form-control-custom::placeholder {
    color: #7d634a;
    opacity: 0.7;
}

.form-control-custom:focus {
    background-color: transparent;
    color: #7d634a;
    box-shadow: none;
    border-bottom: 2px solid #7d634a;
}

.newsletter-section .btn-custom {
    width: auto;
    background-color: #7d634a;
    color: #fff;
    border-color: #7d634a;
}

.newsletter-section .btn-custom:hover {
    background-color: #2c332f;
    border-color: #2c332f;
    color: #fff;
}

@media (max-width: 992px) {
    .newsletter-section .section-title p {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .newsletter-section {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .newsletter-section .section-title p {
        font-size: 0.95rem;
    }

    .newsletter-section .input-group {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .newsletter-section .form-control-custom {
        flex-grow: 1;
        width: 100%;
        font-size: 0.9rem;
        padding: 0.7rem 0.25rem;
        text-align: center;
    }

    .newsletter-section .btn-custom {
        width: 100%;
        margin-left: 0 !important;
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}




/* footer */

.footer {
    background-color: #ffffff;
    color: #3c3c3c;
    padding-top: 3rem;
    font-size: 0.9rem;
}

.footer h5 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: #333;
}

.footer a.active {
    color: #2c332f; /* Dark accent color from your theme */
    font-weight: 700; /* Make it bold to stand out */
}

.footer-brand-info .footer-logo img {
    max-width: 120px;
    height: auto;
}

.footer-brand-info .footer-details p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

.footer-social-icons a {
    font-size: 1.2rem;
    margin-right: 1rem;
}

.footer-bottom {
    border-top: 1px solid #e5e5e5;
    padding: .5rem 0;
    margin-top: 2rem;
}

@media (max-width: 767px) {

    .footer-brand-info,
    .footer .col-lg-2,
    .footer .col-lg-3 {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

@media (max-width: 767px) {

    .section-title h3 {
        font-size: 2.2rem;
    }

    .footer .text-md-start {
        text-align: center !important;
    }

    .footer-brand-info {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-social-icons {
        justify-content: center;
    }
}

.footer-accordion .accordion-item {
    border: none;
    background-color: transparent;
}

.footer-accordion .accordion-header {
    margin-bottom: 0;
}

.footer-accordion .accordion-button {
    padding: 0 0 1rem 0;
    font-size: 1rem;
    background-color: transparent;
    color: #3c3c3c;
    box-shadow: none;
    border: none;
}

.footer-accordion .accordion-button h5 {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1rem;
}

.footer-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%233c3c3c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.footer-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(-180deg);
}

.footer-accordion .accordion-body {
    padding: 0;
}

@media (min-width: 992px) {
    .footer-accordion .accordion-collapse {
        display: block !important;
        visibility: visible !important;
    }

    .footer-accordion .accordion-button {
        pointer-events: none;
        padding-bottom: 1rem;
    }

    .footer-accordion .accordion-button::after {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .footer-accordion .accordion-button {
        justify-content: center;
        position: relative;
    }

    .footer-accordion .accordion-button::after {
        position: absolute;
        right: 0;
    }
}


@media (min-width: 767.98px) {
    .footer-accordion .accordion-button {
        justify-content: flex-start;
    }

    .footer-accordion .accordion-button::after {
        position: static;
        margin-left: auto;
    }
}


/* profile dropdown */

.header-icons {
    padding-right: 1rem;
}

.header-icons .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    margin-top: 0.8rem !important;
    background-color: #fff;
}

.header-icons .dropdown-item {
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    padding: 0.6rem 1.2rem;
    color: #3c3c3c;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.header-icons .dropdown-item i {
    margin-right: 0.75rem;
    width: 16px;
    text-align: center;
    color: #7d634a;
}

.header-icons .dropdown-item:hover {
    background-color: #f3eded;
    color: #2c3c3c;
}

.header-icons .dropdown-item:hover i {
    color: #2c3c3c;
}

.header-icons .dropdown-divider {
    border-top: 1px solid #f0f0f0;
}

.header-icons .dropdown-toggle::after {
    display: none;
}

.header-icons .nav-link {
    color: #333;
    font-size: 18px;
}

.header-icons .nav-link:hover {
    color: #007bff;
}

@media (max-width: 991.98px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-hamburger {
        display: block !important;
    }

    .navbar-brand {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 991.98px) {

    .header-icons {
        padding-right: .3rem;
    }

    .desktop-nav {
        display: none !important;
    }
}

@media (min-width: 992px) {
    .mobile-hamburger {
        display: none !important;
    }

    .desktop-nav {
        display: block !important;
    }

    .navbar-brand {
        position: relative !important;
        left: auto !important;
        transform: none !important;
    }
}

.offcanvas-header {
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-header {
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-title {
    font-weight: 600;
    color: #333;
}

.desktop-nav .nav-menu {
    gap: 1rem;
}

.desktop-nav .nav-menu .nav-link {
    font-family: "Trirong", serif;
    font-weight: 400;
    font-size: 1rem;
    color: #3c3c3c;
    text-transform: none;
    letter-spacing: 0.5px;
    padding: 0.8rem 0.8rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 25px;
    background: transparent;
    margin: 0 0.2rem;
}

.desktop-nav .nav-menu .nav-link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 8px;
    left: 50%;
    background: linear-gradient(90deg, #d45c5c, #7d634a);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.desktop-nav .nav-menu .nav-link:hover {
    color: #2c332f;
    background: rgba(236, 226, 214, 0.3);
    transform: translateY(-2px);
}

.desktop-nav .nav-menu .nav-link:hover::before {
    width: 60%;
}

.desktop-nav .nav-menu .nav-link.active {
    color: #2c332f;
    background: rgba(236, 226, 214, 0.5);
    font-weight: 500;
}

.desktop-nav .nav-menu .nav-link.active::before {
    width: 70%;
    background: linear-gradient(90deg, #2c332f, #7d634a);
}

.offcanvas-header {
    background: linear-gradient(135deg, #2c332f 0%, #3c3c3c 100%);
    border-bottom: none;
    padding: 1.5rem 2rem;
}

.offcanvas-title {
    font-weight: 400;
    color: #f3eded;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

.offcanvas-body {
    background: linear-gradient(180deg, #fefcfb 0%, #f3eded 100%);
    padding: 2rem;
}

.offcanvas-body .nav-menu .nav-link {
    font-family: "Trirong", serif;
    font-weight: 400;
    color: #3c3c3c;
    text-transform: none;
    font-size: 1.1rem;
    padding: 1.2rem 1.5rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    background: transparent;
    border-left: 4px solid transparent;
}

.offcanvas-body .nav-menu .nav-link:hover {
    background: rgba(44, 51, 47, 0.1);
    color: #2c332f;
    border-left: 4px solid #d45c5c;
    transform: translateX(8px);
    padding-left: 2rem;
}

.offcanvas-body .nav-menu .nav-link.active {
    background: rgba(44, 51, 47, 0.15);
    color: #2c332f;
    font-weight: 500;
    border-left: 4px solid #2c332f;
    padding-left: 2rem;
}

.offcanvas-body .nav-menu .nav-item:not(:last-child)::after {
    content: "";
    display: block;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(124, 99, 74, 0.2) 50%,
            transparent 100%);
    margin: 0.5rem auto;
}

.header-icons .nav-link {
    color: #3c3c3c;
    font-size: 1.2rem;
    padding: 0.6rem !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    margin-right: 1rem;
}

.header-icons .nav-link:hover {
    color: #2c332f;
    background: rgba(236, 226, 214, 0.4);
    transform: translateY(-2px);
}


.navbar-brand:hover {
    transform: scale(1.05);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

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

.offcanvas-body .nav-menu .nav-item {
    animation: slideInRight 0.4s ease forwards;
}

.offcanvas-body .nav-menu .nav-item:nth-child(2) {
    animation-delay: 0.1s;
}

.offcanvas-body .nav-menu .nav-item:nth-child(3) {
    animation-delay: 0.2s;
}

.offcanvas-body .nav-menu .nav-item:nth-child(4) {
    animation-delay: 0.3s;
}

.offcanvas-body .nav-menu .nav-item:nth-child(5) {
    animation-delay: 0.4s;
}

.offcanvas-body .nav-menu .nav-item:nth-child(6) {
    animation-delay: 0.5s;
}

@media (max-width: 991.98px) {
    .header-icons .nav-link {
        font-size: 1.3rem;
        padding: 0.5rem !important;
    }

    .navbar-brand:hover {
        transform: scale(1.02);
    }
}

.header-icons .nav-link,
.header-icons .dropdown .nav-link {
    color: #3c3c3c;
    font-size: 1.2rem;
    padding: 0.6rem !important;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    /* Reduced margin for a tighter look on desktop */
    margin-right: 0.2rem;
}

.header-icons .nav-link:hover {
    color: #2c332f;
    background: rgba(236, 226, 214, 0.4);
    transform: translateY(-2px);
}

@media (max-width: 991.98px) {
    .navbar .container-fluid {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        width: 100%;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        gap: 0.5rem;
    }

    .navbar-toggler {
        grid-column: 1 / 2;
        justify-self: start;
    }

    .navbar-brand {
        grid-column: 2 / 3;
        justify-self: center;

        position: static;
        transform: none;
        left: auto;
    }

    .header-icons {
        grid-column: 3 / 4;
        justify-self: end;
    }

    /* --- Icon Styling Specific to Mobile/Tablet --- */
    .header-icons .nav-link,
    .header-icons .dropdown .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem !important;
        margin-right: 0;
    }

    .header-icons {
        gap: 0.1rem;
        /* Use gap to control spacing between icons */
    }

    .header-icons .d-none.d-md-block {
        display: none !important;
        /* Ensure "Welcome" text is hidden */
    }
}

.cart-icon-link {
    position: relative; /* Ensure the link is relative for absolute positioning of badge */
    display: inline-block; /* Helps with positioning */
}

.cart-count-badge {
    position: absolute;
    /* top: -8px;       Adjust vertical position */
    right: -10px;      /* Adjust horizontal position */
    background-color: var(--danger-color, #e6533c); /* Use danger color from variables or a fallback */
    color: white;
    border-radius: 50%; /* Make it circular */
    padding: 2px 6px;   /* Adjust padding for size */
    font-size: 10px;    /* Smaller font size */
    font-weight: bold;
    line-height: 1;     /* Ensure text is centered vertically */
    min-width: 18px;    /* Minimum width */
    height: 18px;       /* Fixed height */
    display: inline-flex; /* Use flexbox for centering */
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Kurta set  */

.main-header {
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1050;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.accordion-button {
    font-weight: bold;
    font-size: 0.9rem;
}

.accordion-button:not(.collapsed) {
    color: #000;
    background-color: #f8f9fa;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(44, 51, 47, 0.25);
}

.accordion-body .form-check-label {
    font-size: 0.9rem;
}

.card-img-container {
    position: relative;
    overflow: hidden;
}

.card-img-top,
.hover-image {
    /* height: 400px; */
    object-fit: cover;
    transition: opacity 0.3s ease-in-out;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.product-card:hover .hover-image {
    opacity: 1;
}

.product-card .card-text .sale-price {
    font-weight: 700;
}

.product-card .card-text .original-price {
    text-decoration: line-through;
    color: #6c757d;
    font-size: 0.9em;
    margin-left: 0.5rem;
}

.stretched-link {
    color: #6c757d;
    text-decoration: none;
}

.stretched-link:hover {
    color: #d45c5c;
    text-decoration: underline;
}

.collection-hero__title {
    font-weight: 200;
}



/* login page */

.login-page-container {
    padding: 1rem 0;
    background-color: #fefcfb;
    /* Matching the main site's background */
}

/* The main card holding the image and form */
.login-card {
    border-radius: 15px;
    /* Matching collection-card radius */
    overflow: hidden;
    width: 100%;
    border: 1px solid #f0f0f0;
    /* Matching product-card border */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    /* A soft, consistent shadow */
    min-height: 600px;
}

/* Vertically align the image and form columns */
.login-card .row {
    align-items: center;
    display: flex;
    flex-wrap: nowrap;
    height: 100%;
}

/* The image next to the form */
.login-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Wrapper for the form elements */
.login-form-wrapper {
    width: 100%;
    margin: auto;
    background-color: #ffffff;
    /* Flexbox properties to vertically center the content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    /* Ensure the wrapper takes up the full height of its column */
}

.login-logo {
    max-height: 60px;
}

/* "Welcome Back!" title */
.login-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 2.5rem;
    color: #3c3c3c;
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Subtitle text */
.login-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2rem;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
}

/* Form labels */
.login-page-container .form-label {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: #3c3c3c;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* Form input fields */
.login-form-control {
    background-color: #f3eded;
    /* Soft background from testimonial section */
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #3c3c3c;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-form-control:focus {
    background-color: #fff;
    border-color: #7d634a;
    /* Accent color from newsletter */
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

/* "Forgot?" link */
.login-forgot-link {
    font-size: 0.85rem;
    color: #7d634a;
    text-decoration: none;
    font-weight: 500;
}

.login-forgot-link:hover {
    text-decoration: underline;
}

/* Main "Login" button, styled like .btn-custom */
.login-btn-submit {
    background-color: #2c332f;
    /* Primary button color */
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    /* Matching .btn-custom */
    border: 2px solid #2c332f;
    transition: all 0.3s ease;
}

.login-btn-submit:hover {
    background-color: #d45c5c;
    /* Product card button hover color */
    border-color: #d45c5c;
    color: #fff;
}

/* "Don't have an account?" link section */
.login-switch-link p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.login-switch-link a {
    color: #7d634a;
    /* Accent color */
    font-weight: 600;
    text-decoration: none;
}

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

.login-card {
    display: flex;
    /* Use flexbox on the card itself */
    min-height: 600px;
}

.login-card .row {
    flex-grow: 1;
    /* Allow the row to grow and fill the card height */
    flex-wrap: wrap;
    /* Allow columns to wrap if needed */
}

/* This replaces your inline styles and makes the image fill its container */
.login-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure form aligns properly */
.login-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}


/* 2. Add responsive styles for tablets and mobile */
@media (max-width: 991.98px) {
    .login-card {
        min-height: auto;
        /* Allow height to be determined by content on mobile */
    }

    .login-form-wrapper {
        padding: 2.5rem 1.5rem !important;
        /* Adjust padding for smaller screens */
    }

    .login-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .login-image {
        width: 200px;
        height: 600px;
        border-radius: 1rem;
    }
}

/* register page */

.auth-container {
    padding: 1rem 0;
    background-color: #fefcfb;
    /* Matching the main site's background */
}

/* The main card holding the image and form */
.auth-container .card {
    border-radius: 15px;
    /* Matching collection-card radius */
    overflow: hidden;
    width: 100%;
    border: 1px solid #f0f0f0;
    /* Matching product-card border */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    /* A soft, consistent shadow */
}

/* The image next to the form */
.auth-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Wrapper for the form elements */
.auth-form-wrapper {
    width: 100%;
    margin: auto;
    background-color: #ffffff;
    /* Explicitly set a white background for the form side */
}

/* "Create Your Account" title */
.auth-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 2.5rem;
    color: #3c3c3c;
    /* Matching main text color */
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Subtitle text below the main title */
.auth-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2rem;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
}

/* Labels for form fields */
.form-label,
.register-form-label {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: #3c3c3c;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

/* General styling for form input fields */
.auth-form-control {
    background-color: #f3eded;
    /* Matching testimonial section background for a soft look */
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #3c3c3c;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Style for when a user clicks into a form field */
.auth-form-control:focus {
    background-color: #fff;
    border-color: #7d634a;
    /* Accent color from newsletter */
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

/* Main "Create Account" button, styled like .btn-custom */
.btn-auth {
    background-color: #2c332f;
    /* Matching primary button color */
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    /* Matching .btn-custom */
    border: 2px solid #2c332f;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-auth:hover {
    background-color: #d45c5c;
    /* Matching product card button hover */
    border-color: #d45c5c;
    color: #fff;
}

/* Styling for the OTP buttons */
.auth-container .btn-outline-primary {
    border-color: #7d634a;
    color: #7d634a;
}

.auth-container .btn-outline-primary:hover {
    background-color: #7d634a;
    color: #fff;
}

.auth-container .btn-outline-success {
    border-color: #5a8d65;
    /* A suitable green */
    color: #5a8d65;
}

.auth-container .btn-outline-success:hover {
    background-color: #5a8d65;
    color: #fff;
}

/* Link for switching to the Login page */
.auth-switch-link {
    margin-top: 1.5rem;
}

.auth-switch-link p {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.auth-switch-link a {
    color: #7d634a;
    font-weight: 600;
    text-decoration: none;
}

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

.auth-container .card {
    display: flex;
    min-height: 600px;
}

.auth-container .card>.row {
    width: 100%;
}

.auth-form-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

@media (max-width: 991.98px) {
    .auth-container .card {
        min-height: auto;
    }

    .auth-form-wrapper {
        padding: 2.5rem 1.5rem !important;
    }

    .auth-title {
        font-size: 2.2rem;
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .register-image {
        width: 200px;
        height: 600px;
        border-radius: 1rem;
    }

    .auth-form-wrapper {
        border-radius: 1rem;
    }
}

/* Product View page */
.product-gallery .main-image-container img {
    object-fit: contain;
    /* This is the key change */
    background-color: #f9f9f9;
    /* Adds a light background for non-square images */
}

.thumbnail-container .img-thumbnail {
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    width: 80px;
    height: 80px;
    object-fit: contain;
    padding: 3px;
    background-color: #f9f9f9;
}

.thumbnail-container .img-thumbnail:hover {
    border-color: #d45c5c;
}

.thumbnail-container .img-thumbnail.active {
    border-color: #2c332f;
}

.product-title {
    font-family: "Trirong", serif;
    font-size: 2.5rem;
    font-weight: 500;
    color: #2c332f;
    line-height: 1.2;
}

.product-vendor {
    font-family: "Lato", sans-serif;
    color: #7d634a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-price-container .product-sale-price {
    font-family: "Trirong", serif;
    font-size: 2rem;
    font-weight: 600;
    color: #d45c5c;
}

.product-price-container .product-original-price {
    font-size: 1.2rem;
    color: #6c757d;
    text-decoration: line-through;
}

.quantity-selector .form-label {
    font-weight: 600;
    color: #3c3c3c;
}

.quantity-selector .input-group {
    max-width: 150px;
}

.btn-add-to-cart,
.btn-buy-now {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.9rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
}

.btn-add-to-cart {
    background-color: #2c332f;
    border: 2px solid #2c332f;
    color: #fff;
}

.btn-add-to-cart:hover {
    background-color: #3c3c3c;
    border-color: #3c3c3c;
    color: #fff;
}

.btn-remove-from-cart {
    /* Base styles copied from .btn-add-to-cart */
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    /* padding: 0.9rem 2rem; */
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 1.5rem;
    transition: all 0.3s ease;
    background-color: #2c332f;
    border: 2px solid #2c332f;
    color: #fff;
}

.btn-remove-from-cart:hover {
    background-color: #3c3c3c;
    border-color: #3c3c3c;
    color: #fff;
}

.btn-buy-now {
    background-color: #d45c5c;
    border: 2px solid #d45c5c;
    color: #fff;
}

.btn-buy-now:hover {
    background-color: #c04b4b;
    border-color: #c04b4b;
    color: #fff;
}

.color-option {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    /* Adds an inner shadow for depth, especially for white color */
    box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
}

.color-option.active {
    /* Style for the selected color: an outer ring using box-shadow */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2c332f;
}

.btn-size-option {
    border: 1px solid #dcdcdc;
    background-color: #fff;
    color: #3c3c3c;
    border-radius: 20px;
    font-family: "Lato", sans-serif;
    font-weight: 500;
    padding: 0.5rem 1.2rem;
    transition: all 0.2s ease;
}

.btn-size-option:hover {
    background-color: #f3eded;
    border-color: #c0c0c0;
}

.btn-size-option.active {
    background-color: #2c332f;
    border-color: #2c332f;
    color: #fff;
}

.quantity-selector .form-control {
    color: #3c3c3c !important;
}

@media (max-width: 991.98px) {
    .product-details .product-title {
        font-size: 2rem;
        /* Reduce title size */
    }

    .product-details .product-price-container .product-sale-price {
        font-size: 1.75rem;
        /* Reduce price size */
    }

    /* Add some space on top of the details when columns stack */
    .product-details {
        margin-top: 2rem;
    }
}

@media (max-width: 991.98px) {
    .product-details .product-title {
        font-size: 1.75rem;
        /* Reduce title size */
    }

    .product-details .product-price-container .product-sale-price {
        font-size: 1.5rem;
        /* Reduce price size */
    }

    /* Add some space on top of the details when columns stack */
    .product-details {
        margin-top: 1rem;
    }
}

.main-image-container {
    position: relative; /* Establishes a positioning context for the image */
    overflow: hidden; /* Hides the parts of the scaled image that go outside the container */
    cursor: zoom-in;  /* Changes the cursor to indicate zoom is available */
}

.main-image-container #mainProductImage {
    transition: transform 0.2s ease-out; /* Adds a smooth transition for the zoom effect */
}

/* When hovering over the container, scale the image up */
.main-image-container:hover #mainProductImage {
    transform: scale(2); /* Adjust the zoom factor (e.g., 2 = 200% zoom) */
}


/* cart page */
.cart-page {
    background-color: #fefcfb;
}

.cart-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 3rem;
    color: #2c332f;
}

.cart-item-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.cart-item-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.cart-item-card .card-body {
    padding: 1rem 1.5rem;
}

.item-details .item-title {
    font-family: "Trirong", serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #3c3c3c;
    margin-bottom: 0.25rem;
}

.item-details .item-price {
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
}

.item-quantity .input-group {
    max-width: 120px;
}

.item-total .total-price {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c332f;
    min-width: 90px;
    text-align: right;
}

.btn-remove {
    background: none;
    border: none;
    color: #d45c5c;
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1;
    padding: 0 0.5rem;
}

/* --- Order Summary Card --- */
.order-summary-card {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1rem;
}

.order-summary-card .card-title {
    font-family: "Trirong", serif;
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1rem;
}

.summary-item,
.summary-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-family: "Lato", sans-serif;
}

.summary-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c332f;
}

.btn-checkout {
    background-color: #2c332f;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #2c332f;
    transition: all 0.3s ease;
}

@media (max-width:992px){
    .btn-checkout{
        padding: .5rem 0rem;
    }
}

.btn-checkout:hover {
    background-color: #3c3c3c;
    border-color: #3c3c3c;
    color:#fff;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.skeleton-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin-right: 8px;
}

.skeleton-title {
    width: 80%;
    height: 32px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.skeleton-vendor {
    width: 40%;
    height: 16px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.skeleton-price {
    width: 30%;
    height: 24px;
    border-radius: 4px;
    margin-bottom: 16px;
}

.skeleton-button {
    width: 80px;
    height: 38px;
    border-radius: 4px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.skeleton-action-btn {
    width: 120px;
    height: 42px;
    border-radius: 6px;
    margin-right: 8px;
}

.skeleton-quantity {
    width: 100%;
    height: 38px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* Hide content initially */
.product-content {
    display: none;
}

.skeleton-content {
    display: block;
}

/* Show content and hide skeleton when loaded */
.loaded .product-content {
    display: block;
}

.loaded .skeleton-content {
    display: none;
}

/* change password page */
.password-change-container {
    padding: 2rem 0;
    background-color: #fefcfb;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.password-change-card {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    max-width: 550px;
    /* Optimal width for a single form */
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    background-color: #fff;
}

.password-change-wrapper {
    padding: 3rem 2.5rem;
}

.password-change-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 2.8rem;
    color: #3c3c3c;
    text-align: center;
    margin-bottom: 0.5rem;
}

.password-change-subtitle {
    text-align: center;
    color: #6c757d;
    margin-bottom: 2.5rem;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
}

/* Reusing auth form styles for consistency */
.form-label {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: #3c3c3c;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.auth-form-control {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #3c3c3c;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form-control:focus {
    background-color: #fff;
    border-color: #7d634a;
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

.btn-auth {
    background-color: #2c332f;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #2c332f;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.btn-auth:hover {
    background-color: #d45c5c;
    border-color: #d45c5c;
    color: #fff;
}

/* Initially hide the new password section */
#newPasswordSection {
    display: none;
}

/* Password requirements styling */
.password-requirements {
    font-family: "Lato", sans-serif;
    font-size: 0.85rem;
    color: #6c757d;
    list-style-type: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.password-requirements li {
    margin-bottom: 0.25rem;
}

.password-requirements i {
    margin-right: 0.5rem;
    color: #d45c5c;
    /* Default to 'error' color */
}

.password-requirements li.valid i {
    color: #28a745;
    /* Green for valid requirements */
}


/* checkout page */

.cart-page {
    background-color: #fefcfb;
}

.cart-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 3.5rem;
    color: #2c332f;
}

.card {
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

/* --- Cart Items Styling --- */
.cart-item-card .item-title {
    font-family: "Trirong", serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #3c3c3c;
}

.cart-item-card .item-price {
    font-family: "Lato", sans-serif;
    color: #6c757d;
}

.cart-item-card .total-price {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #2c332f;
}

.cart-item-card .form-control[readonly] {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
}

.cart-item-card img.img-fluid {
    border-radius: 10px;
}

/* --- Address Section Enhancement --- */
#add-address {
    cursor: pointer;
    color: #7d634a;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.75rem;
    text-align: center;
    border: 2px dashed #ece2d6;
    border-radius: 10px;
    transition: all 0.3s ease;
}

#add-address:hover {
    background-color: #f3eded;
    border-color: #7d634a;
}

.address-option {
    /* These styles replace the old #address-options label rules */
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    position: relative;
    margin-bottom: 0.75rem;
}

.address-option:hover {
    background-color: #f3eded;
    border-color: #000;
}

/* Custom styling for the native radio button */
.address-option input[type="radio"] {
    /* Reset and hide native appearance */
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    margin: 0;
    /* Reset browser default margins */
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;

    /* Border and Colors */
    border: 2px solid #dcdcdc;
    transition: border-color 0.3s ease;

    /* Positioning for the inner dot */
    display: grid;
    place-content: center;
}

/* Inner dot for the custom radio button */
.address-option input[type="radio"]::before {
    content: '';
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #2c332f;
    transform: scale(0);
    transition: transform 0.2s ease;
}

/* Show inner dot when checked */
.address-option input[type="radio"]:checked::before {
    transform: scale(1);
}

/* Change border color when checked */
.address-option input[type="radio"]:checked {
    border-color: #2c332f;
}

/* Style the entire label when its radio is checked (for modern browsers) */
.address-option:has(input:checked) {
    border-color: #28a745;
    background-color: rgba(236, 226, 214, 0.3);
    box-shadow: 0 0 0 2px rgba(44, 51, 47, 0.1);
}

/* --- Order Summary Card --- */
.order-summary-card {
    background-color: #f3eded;
    position: sticky;
    top: 100px;
    /* Adjust as needed based on your header height */
}

.order-summary-card .card-title {
    font-family: "Trirong", serif;
    font-weight: 600;
}

.summary-total {
    font-weight: 700;
    font-size: 1.2rem;
    color: #2c332f;
}

/* --- Address Modal Styling --- */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background-color: #2c332f;
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body .form-control {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
}

.modal-body .form-control:focus {
    background-color: #fff;
    border-color: #7d634a;
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

#addressModal .modal-footer .btn-primary {
    background-color: #2c332f;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #2c332f;
    padding: 0.5rem 1.2rem;
    transition: all 0.3s ease;
}

#addressModal .modal-footer .btn-primary:hover {
    background-color: #d45c5c;
    border-color: #d45c5c;
}

#addressModal .modal-footer .btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

#addressModal .modal-footer .btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
}

#addressModal .modal-footer .btn-primary,
#addressModal .modal-footer .btn-secondary {
    font-size: 0.9rem;
}

.payment-options-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    /* Space between options */
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 1px solid #f0f0f0;
    /* Match card border */
    border-radius: 12px;
    /* Match card radius */
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    position: relative;
}

.payment-option:hover {
    background-color: #f3eded;
    /* Theme hover color */
    border-color: #000;
    /* Theme accent color */
}

/* Hide the default radio button */
.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Custom radio button circle */
.radio-custom {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #dcdcdc;
    border-radius: 50%;
    margin-right: 1rem;
    display: inline-block;
    position: relative;
    transition: border-color 0.3s ease;
}

/* Inner dot for the selected state */
.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    background-color: #2c332f;
    /* Theme primary color */
    border-radius: 50%;
    transition: transform 0.2s ease;
}

/* Styles for the selected option's custom radio button */
.payment-option input[type="radio"]:checked~.radio-custom {
    border-color: #2c332f;
}

.payment-option input[type="radio"]:checked~.radio-custom::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Style the entire label when its radio is checked */
.payment-option:has(input:checked) {
    border-color: #28a745;
    background-color: rgba(236, 226, 214, 0.3);
    box-shadow: 0 0 0 2px rgba(44, 51, 47, 0.1);
}

/* Text styling */
.payment-label-content {
    display: flex;
    flex-direction: column;
}

.payment-label-title {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #3c3c3c;
    transition: color 0.3s ease;
}

.payment-label-desc {
    font-size: 0.85rem;
    color: #6c757d;
}

.payment-option input[type="radio"]:checked~.payment-label-content .payment-label-title {
    color: #2c332f;
}





/* myOrder page */

.order-page {
    background-color: #fefcfb;
    /* Match site background */
    font-family: "Lato", sans-serif;
    color: #3c3c3c;
    min-height: 100vh;
    padding: 2rem 0;
}

/* --- Page Header --- */
.page-header {
    background: none;
    border: none;
    padding: 1rem 0 2rem 0;
    margin-bottom: 2rem;
    text-align: center;
}

.page-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 3.5rem;
    color: #2c332f;
    /* Use dark accent color */
    font-weight: 400;
    margin: 0;
}

/* --- Tabs Container --- */
.order-tabs-container {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    /* Match card border */
    border-radius: 15px;
    /* Match card radius */
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    /* Match card shadow */
}

/* --- Tabs Styling --- */
.order-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.8rem 0.5rem;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    cursor: pointer;
    color: #6c757d;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.tab-btn:hover {
    color: #2c332f;
    background-color: rgba(236, 226, 214, 0.3);
    /* Subtle hover from theme */
}

.tab-btn.active {
    color: #2c332f;
    border-bottom-color: #2c332f;
    /* Use dark accent for active state */
    background-color: transparent;
}

.tab-count {
    background-color: #6c757d;
    color: white;
    padding: 3px 8px;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.tab-btn.active .tab-count {
    background-color: #2c332f;
}

/* --- Order Summary & Filter --- */
.order-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6c757d;
    font-size: 0.9rem;
    padding: 0 0.5rem;
}

.time-filter {
    background-color: #f3eded;
    /* Match form control background */
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    /* Match form control radius */
    padding: 0.6rem 1rem;
    font-family: "Lato", sans-serif;
    font-size: 0.9rem;
    color: #3c3c3c;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.time-filter:focus {
    outline: none;
    border-color: #7d634a;
    /* Accent color from newsletter */
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

/* --- Order Card Styling --- */
.order-card {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.order-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    /* Match hover shadow */
}

.order-content {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.order-image {
    flex: 0 0 150px;
    /* Fixed width for the image */
    max-width: 150px;
}

.order-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
    /* Softer radius */
}

.order-details1 {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.order-number {
    font-family: "Trirong", serif;
    /* Use heading font */
    font-size: 1.25rem;
    font-weight: 600;
    color: #3c3c3c;
    margin-bottom: 0.25rem;
}

.order-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.meta-label {
    font-size: 0.8rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    font-weight: 600;
}

.meta-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: #3c3c3c;
}

.order-amount {
    font-weight: 700 !important;
    color: #d45c5c !important;
    /* Use red accent for price */
    font-size: 1.1rem !important;
}

/* --- Status Badges (Themed) --- */
.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    /* Pill shape */
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.status-processing,
.status-confirmed {
    background-color: #ece2d6;
    color: #7d634a;
    border-color: #e0d5c8;
}

.status-delivered {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.status-cancelled {
    background-color: #fde1e3;
    color: #d45c5c;
    border-color: #f7c5c8;
}

/* --- Action Button --- */
.btn-view-details {
    background-color: #2c332f;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.7rem 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #2c332f;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-view-details:hover {
    background-color: #3c3c3c;
    border-color: #3c3c3c;
    color: #fff;
    transform: translateY(-2px);
}

/* --- Skeleton Loader (Themed) --- */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.skeleton-card {
    background: white;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.skeleton-line {
    height: 16px;
    border-radius: 4px;
}

.skeleton-badge {
    height: 28px;
    width: 100px;
    border-radius: 50px;
}

.skeleton-button {
    height: 40px;
    width: 140px;
    border-radius: 50px;
}

/* --- Empty State (Themed) --- */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 15px;
}

.empty-icon {
    font-size: 3.5rem;
    color: #ece2d6;
    /* Use a soft theme color */
    margin-bottom: 1.5rem;
}

.empty-title {
    font-family: "Trirong", serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: #3c3c3c;
    margin-bottom: 0.75rem;
}

.empty-message {
    color: #6c757d;
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .order-page {
        padding: 1.5rem 0;
    }

    .page-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .page-title {
        font-size: 2.4rem;
    }

    .order-tabs-container {
        padding: 1rem;
        border-radius: 12px;
    }

    .order-tabs {
        gap: 0;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .order-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .order-summary {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        margin-top: 1rem;
    }

    .status-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .btn-view-details {
        font-size: 0.75rem;
        padding: 0.6rem 1.2rem;
    }

    /* === Card optimization for better image prominence on mobile === */
    .order-card {
        padding: 0.8rem;
        /* Further reduced card padding */
    }

    .order-content {
        /* This changes the layout to stack vertically */
        flex-direction: column;
        align-items: stretch;
        /* Makes content fill the card's width */
        gap: 1rem;
        /* Adjusts the space for the new vertical layout */
    }

    .order-image {
        /* This allows the image to be centered and have a responsive size */
        flex-basis: auto;
        max-width: 250px;
        /* You can adjust this value if you want the image larger or smaller */
        width: 100%;
        margin: 0 auto;
        /* This will center the image */
    }

    .order-header {
        margin-bottom: 0.6rem;
        /* Reduced margin */
    }

    .order-number {
        font-size: 1rem;
        /* Reduced font size */
    }

    .order-meta {
        gap: 0.6rem;
        /* Reduced gap between meta items */
        margin-bottom: 0.8rem;
        /* Significantly reduced margin */
    }

    .meta-value {
        font-size: 0.85rem;
        /* Reduced font size */
    }

    .order-amount {
        font-size: 0.95rem !important;
        /* Reduced font size */
    }
}

@media (max-width: 991.98px) {
    .page-title {
        font-size: 3rem;
    }

    .order-tabs-container {
        padding: 1.5rem;
    }

    /* Card adjustments for a tighter layout on tablets */
    .order-card {
        padding: 1.2rem;
        /* Reduced card padding */
    }

    .order-content {
        gap: 1.2rem;
        /* Reduced gap between image and details */
    }

    .order-meta {
        margin-bottom: 1.2rem;
        /* Reduced space below the meta details */
    }
}

/* --- Hidden State for Filtered Orders --- */
.order-card.hidden {
    display: none;
}


/* order-details page */

#actual-content .details-card {
    background: #ffffff;
    border: 1px solid #f0f0f0 !important;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
    margin-bottom: 1.5rem;
}

#actual-content .details-card .card-body {
    padding: 1.5rem;
}

/* --- Skeleton Loader Theming --- */
#skeleton-loader .placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    opacity: 1;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* --- Header Card --- */
.order-main-title {
    font-family: "Trirong", serif;
    color: #2c332f !important;
    font-weight: 600;
}

.btn-invoice-download {
    background-color: transparent;
    color: #7d634a;
    border: 2px solid #ece2d6;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.btn-invoice-download:hover {
    background-color: #ece2d6;
    color: #2c332f;
    border-color: #7d634a;
}

/* --- Themed Status Badges --- */
.status-badge-themed {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    border: 1px solid transparent;
    vertical-align: middle;
}

.status-badge-processing {
    background-color: #ece2d6;
    color: #7d634a;
    border-color: #e0d5c8;
}

.status-badge-confirmed {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #b8daff;
}

.status-badge-delivered {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.status-badge-cancelled {
    background-color: #fde1e3;
    color: #d45c5c;
    border-color: #f7c5c8;
}

.status-badge-pending {
    background-color: #e2e3e5;
    color: #3c3c3c;
    border-color: #d6d8db;
}

/* --- Order Information Card --- */
.info-card h5 {
    font-weight: 600;
    color: #2c332f;
}

.info-card .fas {
    font-size: 1.1rem;
    color: #7d634a;
    width: 20px;
    text-align: center;
}

.info-card .text-muted {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.info-card .fw-semibold {
    font-size: 0.9rem;
    color: #3c3c3c;
}

.info-card .badge {
    font-size: 0.8rem;
}

/* --- Order Items Card --- */
.item-card {
    background-color: #fff;
    border: 1px solid #f0f0f0 !important;
    border-radius: 12px;
    transition: box-shadow 0.3s ease;
    box-shadow: none !important;
}

.item-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07) !important;
}

.item-image-container {
    width: 100%;
    height: 140px;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* Ensures full image is visible */
}

.item-card .item-name {
    font-family: "Trirong", serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2c332f !important;
}

.item-card .item-code {
    font-size: 0.8rem;
}

.item-card .text-muted {
    font-size: 0.8rem;
    text-transform: uppercase;
}

.item-card .fw-semibold,
.item-card .fw-bold {
    font-size: 0.9rem;
}

.item-card .text-danger {
    font-weight: 700;
    color: #28a745 !important;
}

.item-card .fs-5 {
    font-size: 1.25rem !important;
}

/* --- Order Summary Card --- */
.summary-box {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
}

.summary-box .fw-bold {
    font-size: 1.1rem;
}

.summary-box .text-danger .fw-bold {
    font-size: 1.4rem;
    color: #28a745;
}

/* --- Not Found / Error States --- */
.empty-state-card .btn-primary {
    background-color: #2c332f;
    border-color: #2c332f;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.empty-state-card .btn-primary:hover {
    background-color: #3c3c3c;
    border-color: #3c3c3c;
}

/* --- Responsive Styles --- */
@media (max-width: 991.98px) {
    #actual-content .details-card .card-body {
        padding: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    #actual-content .details-card .card-body {
        padding: 1rem;
    }

    .order-main-title {
        font-size: 1.5rem;
    }

    .order-header-card .row>div {
        text-align: center;
    }

    .order-header-card .col-md-4 {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-invoice-download {
        margin-right: 0;
    }

    .item-card .row {
        text-align: center;
    }

    .item-image-container {
        margin: 0 auto 1rem auto;
    }

    .summary-box {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.info-card .badge.rounded-pill {
    padding: 0.5rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid transparent;
}

.payment-badge-paid {
    background-color: #d4edda !important;
    color: #155724 !important;
    border-color: #c3e6cb;
}

.payment-badge-pending {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border-color: #ffeeba;
}

.payment-badge-failed {
    background-color: #f8d7da !important;
    color: #721c24 !important;
    border-color: #f5c6cb;
}

.payment-badge-refunded {
    background-color: #d1ecf1 !important;
    color: #0c5460 !important;
    border-color: #b8daff;
}


/* About Us page */

.about-hero {
    position: relative;
    color: #ffffff;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3c3c3c;
    /* Fallback color */
    /* background-image: url('https://images.unsplash.com/photo-1555529771-83d3dba8031c?q=80&w=2070&auto=format&fit=crop'); */
    background-size: cover;
    background-position: center;
}

.about-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45);
}

.about-hero-content {
    position: relative;
    z-index: 2;
}

.about-hero-content h1 {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.about-hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* --- Story Section --- */
.story-section img {
    border-radius: 15px;
    object-fit: cover;
    height: 100%;
    max-height: 500px;
    object-fit: contain;
}

.story-section h3 {
    font-family: "Trirong", serif;
    font-size: 2.2rem;
    color: #2c332f;
    margin-bottom: 1rem;
}

.story-section p {
    line-height: 1.7;
    color: #666;
}

.values-section {
    background-color: #f3eded;
}

.value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.value-card .icon {
    font-size: 2.5rem;
    color: #7d634a;
    margin-bottom: 1.5rem;
}

.value-card h4 {
    font-family: "Trirong", serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

/* --- CTA Section --- */
.cta-section {
    background-color: #ece2d6;
    text-align: center;
}

.cta-section h3 {
    font-family: "Trirong", serif;
    font-size: 2rem;
    font-weight: 500;
}

.story-image-container {
    position: relative;
    width: 80%;
    max-width: 500px;
    height: 420px;
    margin: 100px auto 120px;
}

.story-image-container .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    display: block;
}

.story-image-container .overlay-image {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 50%;
    object-fit: cover;
    border-radius: 12px;
    /* border: 3px solid #fff; */
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2);
    transform: translate(20%, 40%);
    z-index: 2;
}


/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .about-hero {
        height: 35vh;
    }

    .about-hero-content h1 {
        font-size: 4rem;
    }


}

@media (max-width: 767px) {
    .about-hero {
        height: 30vh;
        min-height: 280px;
    }

    .about-hero-content h1 {
        font-size: 3.2rem;
    }

    .about-hero-content p {
        font-size: 1rem;
    }

    .story-section img {
        margin-bottom: 2rem;
    }

    .story-image-container .overlay-image {
        display: none;
    }
}

/* Contact Us page */

.contact-hero {
    position: relative;
    color: #ffffff;
    height: 40vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3c3c3c;
    /* Fallback color */
    background-image: url('https://images.unsplash.com/photo-1587560699334-cc42634909ec?q=80&w=2070&auto=format&fit=crop');
    /* Replace with a relevant high-quality image */
    background-size: cover;
    background-position: center;
}

.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.contact-hero-content {
    position: relative;
    z-index: 2;
}

.contact-hero-content h1 {
    font-family: "Brush Script MT", cursive;
    font-size: 5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.contact-hero-content p {
    font-size: 1.2rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* --- Contact Section --- */
.contact-section {
    background-color: #fefcfb;
}

.contact-info-card,
.contact-form-card {
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-card h3 {
    font-family: "Trirong", serif;
    font-size: 2rem;
    color: #2c332f;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-item .icon {
    font-size: 1.5rem;
    color: #7d634a;
    margin-right: 1.5rem;
    width: 40px;
}

.info-item h4 {
    font-family: "Trirong", serif;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.info-item p,
.info-item a {
    color: #666;
    text-decoration: none;
    line-height: 1.6;
}

.info-item a:hover {
    color: #d45c5c;
}

.contact-form-card .form-label {
    font-family: "Lato", sans-serif;
    font-weight: 600;
    color: #3c3c3c;
    font-size: 0.9rem;
}

.contact-form-control {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-control:focus {
    background-color: #fff;
    border-color: #7d634a;
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

.btn-submit-custom {
    background-color: #2c332f;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #2c332f;
    transition: all 0.3s ease;
}

.btn-submit-custom:hover {
    background-color: #d45c5c;
    border-color: #d45c5c;
}

/* --- Map Section --- */
.map-section iframe {
    border-radius: 15px;
    width: 100%;
    height: 450px;
    border: 1px solid #f0f0f0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .contact-hero {
        height: 35vh;
    }

    .contact-hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        height: 30vh;
        min-height: 280px;
    }

    .contact-hero-content h1 {
        font-size: 3.2rem;
    }

    .contact-hero-content p {
        font-size: 1rem;
    }
}



/* track order page */

.track-order-page {
    background-color: #fefcfb;
    padding: 5rem 0;
}

.track-order-card {
    border-radius: 15px;
    overflow: hidden;
    width: 100%;
    border: 1px solid #f0f0f0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    background-color: #ffffff;
}

.track-order-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 2.5rem;
    color: #3c3c3c;
}

.track-order-subtitle {
    text-align: center;
    color: #6c757d;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
}

.track-order-form-control {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-family: "Lato", sans-serif;
    font-size: 1rem;
    color: #3c3c3c;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.track-order-form-control:focus {
    background-color: #fff;
    border-color: #7d634a;
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

#track-btn {
    background-color: #2c332f;
    color: #fff;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.9rem 2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    border: 2px solid #2c332f;
    transition: all 0.3s ease;
}

@media (max-width:992px){
    #track-btn{
        padding:0.5rem;
        margin-top: .5rem;
    }
}

#track-btn:hover {
    background-color: #d45c5c;
    border-color: #d45c5c;
    color: #fff;
}

/* --- Track Order Popup Styles (New) --- */
.modal-status-popup .modal-content {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-status-popup .modal-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 1.5rem 2rem;
}

.modal-status-popup .modal-title {
    font-family: "Trirong", serif;
    font-weight: 500;
    color: #2c332f;
    font-size: 1.5rem;
}

.modal-status-popup .btn-close {
    background-color: transparent;
    opacity: 0.6;
}

.status-timeline {
    position: relative;
    padding-left: 20px;
}

.timeline-step {
    position: relative;
    padding-bottom: 2rem;
}

.timeline-step:last-child {
    padding-bottom: 0;
}

.timeline-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 4.5px;
    height: 100%;
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
}

.timeline-step:last-child::before {
    content: none;
}

.timeline-step.completed .timeline-icon i {
    color: #28a745;
}

.timeline-step.cancelled .timeline-icon i {
    color: #d45c5c;
}

.timeline-icon {
    position: absolute;
    left: -10px;
    top: -5px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-icon i {
    font-size: 1rem;
    color: #bdbdbd;
    /* Default color for pending icons */
}

.timeline-content {
    padding-left: 20px;
    font-family: "Lato", sans-serif;
}

.timeline-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
}

.timeline-step.completed .timeline-text {
    color: #3c3c3c;
}

.status-message-box {
    background-color: #f3eded;
    color: #2c332f;
}

.status-message-box.bg-success-light {
    background-color: #d4edda !important;
    color: #155724 !important;
}

.status-message-box.bg-info-light {
    background-color: #d1ecf1 !important;
    color: #0c5460 !important;
}

.status-message-box.bg-danger-light {
    background-color: #f8d7da !important;
    color: #721c24 !important;
}


/* user profile Page */

.profile-page {
    background-color: #fefcfb;
    font-family: "Lato", sans-serif;
    color: #3c3c3c;
}

.profile-title {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 3.5rem;
    color: #2c332f;
}

.card {
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
}

.profile-details-card .card-title,
.address-management-card .card-title {
    font-family: "Trirong", serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #2c332f;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.profile-details-card .info-item {
    display: flex;
    justify-content: space-between;
    /* justify-content: flex-start; */
    padding: 0.75rem 0;
    border-bottom: 1px solid #f9f9f9;

}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #3c3c3c;
    /* margin-right: .5rem; */
}

.info-value {
    color: #6c757d;
}

.address-management-card .btn-custom-outline {
    background-color: transparent;
    color: #7d634a;
    border: 2px solid #ece2d6;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.address-management-card .btn-custom-outline:hover {
    background-color: #ece2d6;
    color: #2c332f;
    border-color: #7d634a;
}

#address-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-card {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.address-lines {
    margin: 0;
    line-height: 1.6;
    color: #3c3c3c;
    font-size: 0.95rem;
}

.address-actions .btn-link {
    color: #7d634a;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 0;
}

.address-actions .btn-link:hover {
    color: #d45c5c;
}

/* Modal Styling from checkout page, slightly adapted */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-header {
    background-color: #2c332f;
    color: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-body .form-control {
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
}

.modal-body .form-control:focus {
    background-color: #fff;
    border-color: #7d634a;
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
}

#addressModal .modal-footer .btn-primary {
    background-color: #2c332f;
    border-color: #2c332f;
}

#addressModal .modal-footer .btn-primary:hover {
    background-color: #d45c5c;
    border-color: #d45c5c;
}

.add-address-container {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    width: 100%;
}

#add-address-btn {
    cursor: pointer;
    color: #7d634a;
    font-weight: 600;
    padding: 0.75rem;
    text-align: center;
    border: 2px dashed #ece2d6;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    /* max-width: 400px; Prevents the button from being too wide on large screens */
}

#add-address-btn:hover {
    background-color: #f3eded;
    border-color: #7d634a;
}

.info-item {
    align-items: center; /* Vertically align items */
}

.info-value-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-edit-info {
    background: none;
    border: none;
    color: #7d634a; /* Theme accent color */
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5; /* Hidden until hover */
}

.info-item:hover .btn-edit-info {
    opacity: 1; /* Show on hover */
}

.btn-edit-info:hover {
    background-color: #f3eded; /* Theme hover color */
    color: #2c332f;
}

.edit-mode-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.edit-input {
    flex-grow: 1;
    background-color: #f3eded;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
    color: #3c3c3c;
    transition: all 0.3s ease;
}

.edit-input:focus {
    background-color: #fff;
    border-color: #7d634a;
    box-shadow: 0 0 0 3px rgba(125, 99, 74, 0.15);
    outline: none;
}

.edit-actions .btn {
    background: none;
    border: none;
    font-size: 1.1rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    line-height: 1;
    transition: all 0.3s ease;
}

.edit-actions .btn-save {
    color: #28a745; /* Success Green */
}

.edit-actions .btn-save:hover {
    background-color: rgba(40, 167, 69, 0.1);
}

.edit-actions .btn-cancel {
    color: #d45c5c; /* Danger Red */
}

.edit-actions .btn-cancel:hover {
    background-color: rgba(212, 92, 92, 0.1);
}

.hidden {
    display: none !important;
}


/* privacy policy page*/

.privacy-hero {
    position: relative;
    color: #ffffff;
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3c3c3c;
    background-image: url('https://images.unsplash.com/photo-1558021211-6514f395939a?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.privacy-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.privacy-hero-content {
    position: relative;
    z-index: 2;
}

.privacy-hero-content h1 {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* --- Main Content Area --- */
.privacy-policy-section {
    padding: 4rem 0;
    background-color: #f3eded;
    /* Use a soft theme background */
}

.policy-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.policy-intro h2 {
    font-family: "Trirong", serif;
    font-size: 2.5rem;
    color: #2c332f;
}

.policy-intro p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* --- Policy Card Styling --- */
.policy-card {
    background-color: #ffffff;
    border-radius: 15px;
    /* Match theme's card radius */
    border: 1px solid #f0f0f0;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.policy-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.policy-card-icon {
    font-size: 1.8rem;
    color: #7d634a;
    /* Brown accent color */
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.policy-card-title {
    font-family: "Trirong", serif;
    font-size: 1.5rem;
    color: #2c332f;
    margin-bottom: 0;
}

.policy-card p,
.policy-card li {
    font-family: "Lato", sans-serif;
    color: #3c3c3c;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-card ul {
    padding-left: 20px;
}

.policy-card li {
    margin-bottom: 0.5rem;
}

.policy-card a {
    color: #7d634a;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-card a:hover {
    color: #d45c5c;
    text-decoration: underline;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .privacy-hero {
        height: 35vh;
    }

    .privacy-hero-content h1 {
        font-size: 4rem;
    }

    .policy-card {
        padding: 2rem;
        /* Reduced padding for tablets */
    }

    .policy-card-title {
        font-size: 1.4rem;
        /* Slightly smaller title */
    }

    .policy-card p,
    .policy-card li {
        line-height: 1.7;
        /* Tighter line height */
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .privacy-hero {
        height: 30vh;
        min-height: 220px;
    }

    .privacy-hero-content h1 {
        font-size: 3.2rem;
    }

    .privacy-policy-section {
        padding: 2.5rem 0;
    }

    .policy-card {
        padding: 1.5rem;
    }

    .policy-card-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }

    .policy-card-icon {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }

    .policy-card-title {
        font-size: 1.2rem;
    }

    .policy-card p,
    .policy-card li {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .policy-intro h2 {
        font-size: 2rem;
    }

    .policy-intro p {
        font-size: 1rem;
    }
}


/* terms and condition page */

.terms-hero {
    position: relative;
    color: #ffffff;
    height: 40vh;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: #3c3c3c;
    /* A professional, relevant image for legal terms */
    background-image: url('https://images.unsplash.com/photo-1589216532372-1c2a36790039?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
}

.terms-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.55);
    /* Slightly darker overlay for contrast */
}

.terms-hero-content {
    position: relative;
    z-index: 2;
}

.terms-hero-content h1 {
    font-family: "Allura", "Brush Script MT", cursive;
    font-size: 5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* --- Main Content Area --- */
.terms-section {
    padding: 4rem 0;
    background-color: #f3eded;
    /* Use a soft theme background */
}

.terms-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.terms-intro h2 {
    font-family: "Trirong", serif;
    font-size: 2.5rem;
    color: #2c332f;
}

.terms-intro p {
    font-size: 1.1rem;
    color: #6c757d;
}

/* --- Terms Card Styling (reusing policy card styles) --- */
.terms-card {
    background-color: #ffffff;
    border-radius: 15px;
    border: 1px solid #f0f0f0;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.terms-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.terms-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.terms-card-icon {
    font-size: 1.8rem;
    color: #7d634a;
    /* Brown accent color */
    margin-right: 1rem;
    width: 40px;
    text-align: center;
}

.terms-card-title {
    font-family: "Trirong", serif;
    font-size: 1.5rem;
    color: #2c332f;
    margin-bottom: 0;
}

.terms-card p,
.terms-card li {
    font-family: "Lato", sans-serif;
    color: #3c3c3c;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.terms-card ul {
    padding-left: 20px;
}

.terms-card li {
    margin-bottom: 0.5rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    .terms-hero-content h1 {
        font-size: 4rem;
    }

    .terms-card {
        padding: 2rem;
        /* Reduced padding for tablets */
    }

    .terms-card-title {
        font-size: 1.4rem;
    }

    .terms-card p,
    .terms-card li {
        line-height: 1.7;
        font-size: 0.95rem;
    }
}

@media (max-width: 767px) {
    .terms-hero {
        height: 30vh;
        min-height: 220px;
    }

    .terms-hero-content h1 {
        font-size: 3.2rem;
    }

    .terms-section {
        padding: 2.5rem 0;
    }

    .terms-card {
        padding: 1.5rem;
    }

    .terms-card-header {
        padding-bottom: 0.75rem;
        margin-bottom: 1rem;
    }

    .terms-card-icon {
        font-size: 1.5rem;
        margin-right: 0.75rem;
    }

    .terms-card-title {
        font-size: 1.2rem;
    }

    .terms-card p,
    .terms-card li {
        font-size: 0.9rem;
        line-height: 1.6;
        margin-bottom: 0.75rem;
    }

    .terms-intro h2 {
        font-size: 2rem;
    }

    .terms-intro p {
        font-size: 1rem;
    }
}
