/* Fonts */
:root {
    --default-font: "Noto Sans JP", sans-serif;
    --heading-font: "Noto Sans JP", sans-serif;
    --nav-font: "Noto Sans JP", sans-serif;
}

/* Global Colors */
:root {
    --background-color: #f8f6f3;
    --default-color: #4a4a4a;
    --heading-color: #2c3e2b;
    --accent-color: #7a9a76;
    --surface-color: #ffffff;
    --contrast-color: #ffffff;
}

/* Nav Menu Colors */
:root {
    --nav-color: #2c3e2b;
    --nav-hover-color: #7a9a76;
    --nav-mobile-background-color: #f8f6f3;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #4a4a4a;
    --nav-dropdown-hover-color: #7a9a76;
}

/* Color Presets */

.light-background {
    --background-color: #f0ede8;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #3a4438;
    --default-color: #f8f6f3;
    --heading-color: #ffffff;
    --surface-color: #4a5448;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: #ffffff;
    background: #059652;
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--surface-color);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--accent-color);
    border-top-color: var(--surface-color);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 32px;
    margin-right: 8px;
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 300;
    color: var(--heading-color);
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 18px 15px;
        font-size: 16px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu li:last-child a {
        padding-right: 0;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu .dropdown ul {
        margin: 0;
        padding: 10px 0;
        background: var(--nav-dropdown-background-color);
        display: block;
        position: absolute;
        visibility: hidden;
        left: 14px;
        top: 130%;
        opacity: 0;
        transition: 0.3s;
        border-radius: 4px;
        z-index: 99;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu .dropdown ul li {
        min-width: 200px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 20px;
        font-size: 15px;
        text-transform: none;
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a i {
        font-size: 12px;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navmenu .dropdown .dropdown ul {
        top: 0;
        left: -90%;
        visibility: hidden;
    }

    .navmenu .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: -100%;
        visibility: visible;
    }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
        box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(
            in srgb,
            var(--accent-color),
            transparent 90%
        );
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
    	z-index: 99;
        padding: 10px 0;
        margin: 10px 20px;
        background-color: var(--nav-dropdown-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        transition: all 0.5s ease-in-out;
    }

    .navmenu .dropdown ul ul {
        background-color: rgba(33, 37, 41, 0.1);
    }

    .navmenu .dropdown ul a {
        color: var(--nav-dropdown-color);
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul .active:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
        background-color: rgba(33, 37, 41, 0.03);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu > ul {
        display: block !important;
    }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
    background-color: var(--background-color);
    color: var(--default-color);
    padding: 60px 0;
    font-size: 14px;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 80%);
}

.footer a {
    color: var(--default-color) !important;
}

.footer a:hover {
    color: var(--accent-color);
}

.footer .copyright {
    margin-top: 50px;
    position: relative;
    padding-top: 20px;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 80%);
}

.footer .copyright p,
.footer .copyright .credits {
    margin: 2px 0;
}

.footer .btn-learn-more {
    background-color: var(--accent-color);
    border-radius: 30px;
    padding: 8px 30px;
    border: 2px solid transparent;
    transition: 0.3s all ease-in-out;
    font-size: 14px;
    color: var(--contrast-color) !important;
}

.footer .btn-learn-more:hover {
    border-color: var(--accent-color);
    background-color: transparent;
    color: var(--accent-color) !important;
}

.footer .widget .widget-heading {
    font-size: 15px;
    color: var(--heading-color);
    margin-bottom: 20px;
}

.footer .widget ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.footer .widget ul li a {
    color: color-mix(in srgb, var(--heading-color), transparent 50%);
}

.footer .widget ul li a:hover {
    text-decoration: none;
    color: var(--heading-color);
}

.footer .widget .footer-blog-entry .date {
    color: color-mix(in srgb, var(--default-color), transparent 50%);
    font-size: 12px;
}

.footer .social-icons li {
    display: inline-block;
}

.footer .social-icons li a {
    display: inline-block;
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 50%;
    background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .social-icons li a span {
    color: color-mix(in srgb, var(--heading-color), transparent 0%);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: 0.3s all ease-in-out;
}

.footer .social-icons li a:hover {
    background: var(--accent-color);
}

.footer .social-icons li a:hover span {
    color: var(--contrast-color);
}

.footer .social-icons li:first-child a {
    padding-left: 0;
}

.footer .footer-subscribe form {
    position: relative;
}

.footer .footer-subscribe .form-control {
    font-size: 14px;
    height: 42px;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 40%);
    background: none;
    color: var(--heading-color);
    padding-right: 40px;
}

.footer .footer-subscribe .form-control:focus {
    border-color: color-mix(in srgb, var(--default-color), transparent 10%);
    box-shadow: none;
}

.footer .footer-subscribe .form-control::placeholder {
    color: color-mix(in srgb, var(--heading-color), transparent 60%);
}

.footer .footer-subscribe .btn-link {
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    background-color: none;
    border-color: none;
    position: absolute;
    line-height: 0;
    color: color-mix(in srgb, var(--heading-color), transparent 20%);
    top: 20px;
    right: 10px;
    transform: translateY(-50%) rotate(0deg);
}

.footer .footer-subscribe .btn-link:hover,
.footer .footer-subscribe .btn-link:focus,
.footer .footer-subscribe .btn-link:active {
    text-decoration: none;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: var(--background-color);
    transition: all 0.6s ease-out;
}

#preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #ffffff;
    border-color: var(--accent-color) transparent var(--accent-color)
        transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background-color: var(--accent-color);
    width: 40px;
    height: 40px;
    border-radius: 4px;
    transition: all 0.4s;
}

.scroll-top i {
    font-size: 24px;
    color: var(--contrast-color);
    line-height: 0;
}

.scroll-top:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
    color: var(--contrast-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 20px 0;
    position: relative;
}

.page-title h1 {
    font-size: 24px;
    font-weight: 300;
    margin: 0 0 5px 0;
}

.page-title .breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px;
    font-weight: 400;
}

.page-title .breadcrumbs ol li + li {
    padding-left: 10px;
}

.page-title .breadcrumbs ol li + li::before {
    content: "/";
    display: inline-block;
    padding-right: 10px;
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 60px 0;
    scroll-margin-top: 100px;
    overflow: clip;
}

@media (max-width: 1199px) {
    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 0;
}

.section-title p {
    font-size: 15px;
    margin-bottom: 10px;
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# About 2 Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Posts Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Services 2 Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Posts 2 Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Pagination Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details {
    padding-bottom: 30px;
}

.blog-details .article {
    background-color: var(--surface-color);
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-details .post-img {
    margin: -30px -30px 20px -30px;
    overflow: hidden;
}

.blog-details .title {
    color: var(--heading-color);
    font-size: 28px;
    font-weight: 700;
    padding: 0;
    margin: 30px 0;
}

.blog-details .content {
    margin-top: 20px;
}

.blog-details .content h3 {
    font-size: 22px;
    margin-top: 30px;
    font-weight: bold;
}

.blog-details .content blockquote {
    overflow: hidden;
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    padding: 60px;
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.blog-details .content blockquote p {
    color: var(--default-color);
    line-height: 1.6;
    margin-bottom: 0;
    font-style: italic;
    font-weight: 500;
    font-size: 22px;
}

.blog-details .content blockquote:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: var(--accent-color);
    margin-top: 20px;
    margin-bottom: 20px;
}

.blog-details .meta-top {
    margin-top: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.blog-details .meta-top ul li + li {
    padding-left: 20px;
}

.blog-details .meta-top i {
    font-size: 16px;
    margin-right: 8px;
    line-height: 0;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-details .meta-top a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    font-size: 14px;
    display: inline-block;
    line-height: 1;
}

.blog-details .meta-bottom {
    padding-top: 10px;
    border-top: 1px solid
        color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .meta-bottom i {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    display: inline;
}

.blog-details .meta-bottom a {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    transition: 0.3s;
}

/* Breadcrumb */
.breadcrumb {
    background-color: transparent; /* 改为透明背景 */
    border: none; /* 移除边框 */
    border-radius: 0;
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: var(--default-color);
}

.breadcrumb-item a {
    color: var(--accent-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: var(--default-color);
}

/* Product Card Improvements */
.product-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card .product-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card .product-meta {
    margin-top: auto;
}

/* Product Image Improvements */
.product-img,
.product-main-image,
.product-thumbnail-image,
.product-related-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-img {
    height: 300px;
}

.product-main-image {
    max-height: 500px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-related-image {
    height: 150px;
    object-fit: cover;
    object-position: center;
}

/* 添加图片容器样式 */
.image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 强制覆盖Bootstrap默认按钮样式 */
.filter-btn:focus,
.filter-btn:active,
.filter-btn.focus,
.filter-btn:focus-visible,
.btn-outline-primary.filter-btn:focus,
.btn-outline-primary.filter-btn:active,
.btn-outline-primary.filter-btn.focus,
.btn-outline-primary.filter-btn:focus-visible {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--contrast-color) !important;
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.3) !important;
    outline: none !important;
}

.filter-btn.active:focus,
.btn-outline-primary.filter-btn.active:focus {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--contrast-color) !important;
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.3) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .product-img {
        height: 200px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* Product Detail Page Styles */
.product-detail .product-gallery {
    margin-bottom: 30px;
}

.product-detail .product-swiper {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    background: transparent;
    border: none;
}

.product-detail .product-swiper .swiper-slide {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

.product-detail .product-swiper .swiper-pagination {
    bottom: 10px;
}

.product-detail .product-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.product-detail .product-swiper .swiper-pagination-bullet-active {
    background: var(--accent-color);
}

/* Product Thumbnails */
.product-detail .product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
}

.product-detail .thumbnail-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: transparent; /* 改为透明背景 */
}

.product-detail .thumbnail-item:hover,
.product-detail .thumbnail-item.active {
    opacity: 1;
    border-color: var(--accent-color);
}

.product-detail .product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--heading-color);
}

.product-detail .product-description {
    font-size: 16px;
    color: var(--default-color);
    margin-bottom: 20px;
    line-height: 1.6;
}

.product-detail .product-price {
    margin-bottom: 20px;
}

.product-detail .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--accent-color);
}

/* 添加税信息样式 */
.product-detail .tax-info {
    font-size: 14px;
    color: var(--default-color);
    margin-top: 5px;
}

.product-detail .product-code {
    font-size: 0.85rem;
    color: var(--default-color);
    opacity: 0.7;
    margin-bottom: 10px;
}

/* 添加产品元信息容器样式 */
.product-detail .product-meta-info {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.product-detail .product-category {
    margin: 0;
}

.product-detail .product-category .category {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(122, 154, 118, 0.1);
    color: var(--accent-color);
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.product-detail .product-category .category:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.product-detail .product-tags,
.product-detail .product-style {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-detail .product-tags .badge,
.product-detail .product-style .badge {
    font-size: 0.8rem;
    padding: 4px 8px;
}

.product-detail .stock-status-display {
    margin-top: 20px;
}

.product-detail .stock-status-large {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 5px;
    display: inline-block;
}

.product-detail .stock-status-large.text-success {
    background-color: rgba(107, 142, 95, 0.1);
    color: #6b8e5f;
}

.product-detail .stock-status-large.text-warning {
    background-color: rgba(212, 165, 116, 0.1);
    color: #d4a574;
}

.product-detail .stock-status-large.text-danger {
    background-color: rgba(223, 21, 41, 0.1);
    color: #df1529;
}

.product-detail .product-meta {
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-detail .product-meta .sku,
.product-detail .product-meta .stock-status {
    font-size: 14px;
    font-weight: 500;
}

.product-detail .product-attributes {
    background: transparent; /* 改为透明背景 */
    padding: 30px 0; /* 移除内边距 */
    border: none; /* 移除边框 */
    border-radius: 0;
}

.product-detail .product-attributes h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
}

    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Attributes Table */
.product-detail .attributes-table {
    display: table;
    width: 100%;
    border-collapse: collapse;
}

.product-detail .attribute-row {
    display: table-row;
}

.product-detail .attribute-key,
.product-detail .attribute-value {
    display: table-cell;
    padding: 5px 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    vertical-align: top;
}

.product-detail .attribute-key {
    width: 30%;
    font-weight: 600;
    color: var(--heading-color);
    text-align: left;
}

.product-detail .attribute-value {
    width: 70%;
    color: var(--default-color);
    text-align: left;
}

.product-detail .attribute-row:last-child .attribute-key,
.product-detail .attribute-row:last-child .attribute-value {
    border-bottom: none;
}

.product-detail .attribute-link {
    color: var(--accent-color);
    text-decoration: underline;
}

.product-detail .attribute-link:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.product-detail .badge {
    font-size: 12px;
    padding: 5px 10px;
}

.product-detail .related-products {
    background: transparent; /* 改为透明背景 */
    padding: 30px 0; /* 移除内边距 */
    border: none; /* 移除边框 */
    border-radius: 0;
}

.product-detail .related-products h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.product-detail .related-product-card {
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: transparent; /* 改为透明背景 */
    height: 100%;
}

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

.product-detail .related-product-card .product-img {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent; /* 改为透明背景 */
}

.product-detail .related-product-card .product-info {
    padding: 15px;
    text-align: center;
}

.product-detail .related-product-card .product-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--heading-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-detail .related-product-card .product-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-color);
}

.product-detail .stretched-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.blog-details .meta-bottom a:hover {
    color: var(--accent-color);
}

.blog-details .meta-bottom .cats {
    list-style: none;
    display: inline;
    padding: 0 20px 0 0;
    font-size: 14px;
}

.blog-details .meta-bottom .cats li {
    display: inline-block;
}

.blog-details .meta-bottom .tags {
    list-style: none;
    display: inline;
    padding: 0;
    font-size: 14px;
}

.blog-details .meta-bottom .tags li {
    display: inline-block;
}

.blog-details .meta-bottom .tags li + li::before {
    padding-right: 6px;
    color: var(--default-color);
    content: ",";
}

.blog-details .meta-bottom .share {
    font-size: 16px;
}

.blog-details .meta-bottom .share i {
    padding-left: 5px;
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
    margin: 60px 0 30px 0;
}

.widget-title {
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 600;
    padding: 0 0 0 10px;
    margin: 0 0 20px 0;
    border-left: 4px solid var(--accent-color);
}

.widget-item {
    margin-bottom: 30px;
    background-color: color-mix(in srgb, var(--default-color), transparent 98%);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 30px;
    border-radius: 5px;
}

.widget-item:last-child {
    margin-bottom: 0;
}

.blog-author-widget img {
    max-width: 160px;
}

.blog-author-widget h4 {
    font-weight: 600;
    font-size: 24px;
    margin: 15px 0 0 0;
    padding: 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-author-widget .social-links {
    margin: 5px 0;
}

.blog-author-widget .social-links a {
    color: color-mix(in srgb, var(--default-color), transparent 60%);
    margin: 0 3px;
    font-size: 18px;
}

.blog-author-widget .social-links a:hover {
    color: var(--accent-color);
}

.blog-author-widget p {
    font-style: italic;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin: 10px 0 0 0;
}

/*--------------------------------------------------------------
# Custom Styles for Found4@4
--------------------------------------------------------------*/

/* Product Cards */
.product-card {
    background: var(--surface-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(122, 154, 118, 0.15); /* 使用主题绿色的阴影 */
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(122, 154, 118, 0.1); /* 添加细微的边框 */
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(122, 154, 118, 0.25);
    border-color: rgba(122, 154, 118, 0.3);
}

.product-img {
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.price {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.stock.text-success {
    color: #6b8e5f !important; /* 更自然的绿色 */
}

.stock.text-warning {
    color: #d4a574 !important; /* 温暖的棕色作为警告色 */
}

.stock.text-danger {
    color: #df1529 !important;
}

/* Filter Buttons */
.filter-buttons {
    margin-bottom: 30px;
}

.filter-btn {
    margin: 5px;
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: rgba(248, 246, 243, 0.8);
    border: 1px solid rgba(122, 154, 118, 0.3);
    color: var(--heading-color);
    outline: none !important;
}

.filter-btn:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.3);
}

.filter-btn.active {
    background: var(--accent-color);
    color: var(--contrast-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.3);
}

.filter-btn:focus {
    background: var(--accent-color);
    color: var(--contrast-color) !important;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.3) !important;
    outline: none !important;
    transform: translateY(-2px);
}

/* Team Intro */
.team-member {
    padding: 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9); /* 更温暖的背景 */
    border: 1px solid rgba(122, 154, 118, 0.1);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(122, 154, 118, 0.1);
}

.team-member:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(122, 154, 118, 0.2);
    border-color: rgba(122, 154, 118, 0.3);
}

.member-photo img {
    border: 3px solid var(--accent-color);
}

/* Writer Intro */
.writer-intro,
.column {
    background: var(--surface-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px 0;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.hero .lead {
    font-size: 1.1rem;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

/* Dark Background Text */
.dark-background h1,
.dark-background h2,
.dark-background h3,
.dark-background h4,
.dark-background h5,
.dark-background h6,
.dark-background p {
    color: white;
}

.dark-background .lead {
    color: rgba(255, 255, 255, 0.85);
}

/* Section Spacing */
/* .section {
    padding: 80px 0;
} */

.light-background {
    /* background-color: color-mix(
        in srgb,
        var(--background-color),
        transparent 50%
    ); */
    background-color: rgb(240, 237, 231) !important;
}

/* Header and Footer Background Color */
/* Japanese aesthetic enhancements */
.header {
    background-color: rgba(248, 246, 243, 0.95) !important;
    border-bottom: 1px solid rgba(122, 154, 118, 0.1);
}

.footer {
    background-color: #f0ede8 !important;
    border-top: 1px solid rgba(122, 154, 118, 0.15) !important;
}

/* Enhanced visual hierarchy */
.section-subtitle {
    color: var(--accent-color) !important;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Natural texture backgrounds */
.map-thumbnail img {
    border: 3px solid #ffffff;
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.2);
}

/* Softer shadows for Japanese minimalism */
.product-card,
.team-member {
    box-shadow: 0 2px 12px rgba(122, 154, 118, 0.08);
}

/* 强制覆盖Bootstrap默认按钮样式 */
.filter-btn:focus,
.filter-btn:active,
.filter-btn.focus,
.filter-btn:focus-visible,
.btn-outline-primary.filter-btn:focus,
.btn-outline-primary.filter-btn:active,
.btn-outline-primary.filter-btn.focus,
.btn-outline-primary.filter-btn:focus-visible {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--contrast-color) !important;
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.3) !important;
    outline: none !important;
}

.filter-btn.active:focus,
.btn-outline-primary.filter-btn.active:focus {
    background-color: var(--accent-color) !important;
    border-color: var(--accent-color) !important;
    color: var(--contrast-color) !important;
    box-shadow: 0 4px 15px rgba(122, 154, 118, 0.3) !important;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .product-img {
        height: 200px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}
