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

html {
    scroll-behavior: smooth;
}

body {
    /* font-family: 'Montserrat', sans-serif; */
    font-family: 'Rubik', sans-serif;
    color: #7a7a7a;
    line-height: 1.65em;
    background-color: #FFFFFF;
    font-size: 16px;
}


a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul,
ol {
    list-style: none;
}

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

/* Colors */
.text-brand {
    color: #3b4753;
}

/* Background Colors */
.bg-brand {
    background-color: #3b4753;
}

.bg-light {
    background-color: #f5f5f5;
}

.bg-gray {
    background-color: #f3f4f6;
}

.title-m {
    font-family: 'Crimson Text', Sans-serif;
    color: #3b4753;
    font-size: 24px;
    margin-bottom: 15px;
    line-height: 1.3em;
}

.title-l {
    font-family: 'Crimson Text', Sans-serif;
    color: #3b4753;
    font-size: 30px;
    margin-bottom: 15px;
    line-height: 1.3em;
}

.text-content p {
    margin: 30px 0;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background-color: #3b4753;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(163, 138, 102, 0.2);
    color: #ffffff;
}

.goback .btn-primary {
    margin-top: 40px;
    width: 155px;
    text-align: center;
}

/* Pagination Styles */
.pagination .layui-hide-sm {
    display: none;
    /* align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;  */
}

.pagination>div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 60px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border: 1px solid #dcdcdc;
    color: #3b4753;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    border-color: #3b4753;
    color: #3b4753;
    transform: translateY(-2px);
}

.pagination-btn.active {
    background-color: #3b4753;
    color: #ffffff;
    border-color: #3b4753;
}

.pagination-btn.active:hover {
    background-color: #3b4753;
    border-color: #3b4753;
    color: #ffffff;
}

.pagination-ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    color: #666;
}


/* Navigation Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

/* .site-header.scrolled {
    padding: 0.5rem 0;
    background-color: rgba(255, 255, 255, 0.98);
} 
.nav-container {
    padding: 15px 0
} 
*/

/* Logo */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
}

.logo img {
    height: 65px;
}

/* Navigation Links */
.nav-links {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
    margin: 0 2rem;
}

.nav-links ul {
    display: flex;
    align-items: center;
    gap: 4.5rem;
}

.nav-links a.nav-link {
    display: flex;
    position: relative;
    color: #1a1a1a;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 96px;
    transition: color 0.3s ease;
}

.nav-links a.nav-link:hover,
.nav-links a.nav-link.active {
    color: #3b4753;
}

.nav-links a.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #3b4753;
    transition: width 0.3s ease;
}

.nav-links a.nav-link:hover::after,
.nav-links a.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
}

/* Language Selector */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    background: none;
    letter-spacing: 1px;
    color: #1a1a1a;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.language-btn:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

.language-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.language-btn.active .language-arrow {
    transform: rotate(180deg);
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1001;
    width: 100%;
    text-align: center;
}

.language-dropdown.open {
    max-height: 380px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    margin-top: 28px;
}

.language-option {
    display: block;
    padding: 12px 15px;
    color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.language-option:hover {
    background-color: #f5f5f5;
}

.language-option.active {
    background-color: #3b4753;
    color: #ffffff;
}

.language-mobile {
    display: none;
    width: 90%;
    margin: 0 auto;
    text-align: left;
}

.language-mobile a {
    display: inline-block;
    padding: 5px 15px;
    color: #1a1a1a;
    transition: background-color 0.3s ease;
}

.language-mobile a.active {
    background-color: #1a1a1a;
    color: #ffffff;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #1a1a1a;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active .menu-icon:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .menu-icon:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 栏目下拉菜单 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
}

.dropdown-toggle:hover::after {
    display: none;
}

.dropdown-arrow {
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    z-index: 1000;
    border-top: 2px solid #3b4753;
    ;
}

.dropdown-item {
    display: block;
    padding: 12px 16px;
    color: #1a1a1a;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f1f1;
}

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

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown.active .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(-1px);
}

.dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}



/* Container */
.container {
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
}







/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 100vh;
    height: calc(100vh - 96px);
    /* padding-top: 56%; */
    margin-top: 96px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #F8F8F8;
}

/* 添加半透明遮罩层 */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    /* 半透明黑色遮罩 */
    z-index: 1;
}

.hero-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.hero-content {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards 0.5s;
    text-align: center;
    z-index: 3;
    /* 确保文字内容显示在遮罩层上方 */
    position: relative;
}

.hero-title,
.page-hero-title {
    font-family: 'Crimson Text', Sans-serif;
    color: #FFFFFF;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    /* text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); */
}

.hero-subtitle,
.page-hero-subtitle {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); */
}


.hero-cta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 3;
}

.hero-swiper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(1px);
}

/* Page Hero Section */
.page-hero {
    position: relative;
    height: calc(55vh - 96px);
    margin-top: 96px;
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/banner01.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.page-hero-about {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/banner-ab.jpg');
    background-size: cover;
    background-position: center;
    background-position-y: calc(50% - 13%);
}

.page-hero-collection {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/banner-pro.jpg');
    background-size: cover;
    background-position: center;
    background-position-y: calc(50% + 13%);
}

.page-hero-journal {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/banner-news.jpg');
    background-size: cover;
    background-position: center;
    background-position-y: calc(50% + 4%);
}

.page-hero-contact {
    background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('../images/banner-contact.jpg');
    background-size: cover;
    background-position: center;
    background-position-y: calc(50% - 14%);
}

.page-hero-content {
    /* transform: translateY(20px); */
    animation: fadeInUp 1s ease-out forwards 0.3s;
}

/* Animation Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes parallax {
    0% {
        transform: scale(1.05) translateX(0);
    }

    100% {
        transform: scale(1.1) translateX(5%);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

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

/* Section Padding */
.section-padding {
    padding: 90px 0;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: 'Crimson Text', Sans-serif;
    color: #3b4753;
    font-size: 40px;
    line-height: 1.3em;
}

.section-header p {
    font-family: 'Cormorant', 'Italianno', Sans-serif;
    margin-top: 5px;
    font-size: 24px;
    color: #a0a0a0;
}

/* Brand Story Section */
.story-content {
    background: url('../images/index01.jpg');
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 550px;
}

.story-grid {
    padding: 100px 80px;
}

.story-text {
    width: 50%;
}


.story-text p {
    margin-top: 15px;
}


/* Collections Section */
.collection-detail p {
    margin-top: 15px;
}

.collection-detail p:first-child {
    margin-top: 0;
}

.collection-tabs {
    margin-top: 40px;
}

.collection-buttons {
    gap: 20px;
}

.collection-buttons button {
    padding: 8px 25px;
    border-radius: 50px;
    cursor: pointer;
    color: #3b4753;
    font-size: 18px;
    background-color: #e9e9e9;
    height: -webkit-fill-available;
}

.collection-buttons button:hover {
    background-color: #3b4753;
    color: #ffffff;
    transition: all 0.3s ease;
}

.collection-buttons button.active {
    background-color: #3b4753;
    color: #ffffff;
}

.collection-pagination .swiper-button-disabled {
    opacity: 0.2;
}

.collection-page {
    font-size: 18px;
    color: #3b4753;
    margin: 0 10px;
}

.collection-page span {
    display: inline-block;
    width: 30px;
}

.collection-prev,
.collection-next {
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: #3b4753;
    opacity: 0.5;
}

.collection-content {
    margin: 40px 0;
}

.collection-swiper .swiper-slide {
    height: -webkit-fill-available;
}

.collection-item {
    height: -webkit-fill-available;
}

.collection-item-content {
    position: relative;
    overflow: hidden;
    width: 50%;
    background-color: #fafafa;
}

.collection-bg {
    position: absolute;
    background: url('../images/shading.png');
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0.3;
}

.collection-image {
    position: relative;
    overflow: hidden;
    height: -webkit-fill-available;
    padding-top: 75%;
}

.collection-image img {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: contain;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.collection-info {
    position: relative;
    flex: 1;
    padding: 70px 4.5vw 170px 4.5vw;
}

.collection-info .button {
    position: absolute;
    left: 4.5vw;
    bottom: 70px;
}

.collection-name {
    font-family: 'Crimson Text', Sans-serif;
    margin-bottom: 25px;
}

.collection-name .title-l {
    margin-bottom: 10px;
}

.collection-desc p {
    margin-top: 15px;
}

.collection-desc p span {
    color: #3b4753;
    margin-right: 5px;
}
.collection-price {
    margin-top: 25px;
    font-size: 40px;
    color: #3b4753;
    line-height: 1.2;
}



/* .collection-prev,
.collection-next {
    position: absolute;
    top: 50%;
    z-index: 999;
    width: 55px;
    height: 55px;
    cursor: pointer;
    color: #3b4753;
    opacity: 0.5;
}

.collection-prev {
    left: -5px;
    transform: translate(-100%, -50%);
}

.collection-next {
    right: -5px;
    transform: translate(100%, -50%);
} */




/* Craftsmanship Grid */
.craftsmanship-grid {
    margin-top: 30px;
}

.craft-item {
    text-align: center;
    transition: all 0.3s ease;
}

.craft-image {
    width: 100%;
    height: 380px;
    overflow: hidden;
    margin-bottom: 25px;
}

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

.craft-image:hover .craft-img {
    transform: scale(1.10);
}

.craftsmanship button {
    z-index: 999;
    position: absolute;
    width: 55px;
    height: 55px;
    cursor: pointer;
    color: #3b4753;
    opacity: 0.5;
}

.craftsmanship button.prev {
    top: 50%;
    left: -5px;
    transform: translate(-100%, -50%);
}

.craftsmanship button.next {
    top: 50%;
    right: -5px;
    transform: translate(100%, -50%);
}

.craftsmanship button:hover {
    opacity: 1;
    transition: all 0.3s ease;
}


.craftsmanship-PC .craftsmanship-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px 30px;
}

.craftsmanship-PC .craft-image {
    position: relative;
}

.craftsmanship-PC .craft-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.85);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
}

.craftsmanship-PC .craft-item:hover {
    cursor: pointer;
}

.craftsmanship-PC .craft-item:hover .craft-description {
    opacity: 1;
    transition: all 0.3s ease;

}




/* philosophy */
.philosophy {
    background-color: #F3F4F6;

}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    align-items: center;
}

.philosophy-desc {
    padding-bottom: 0px;
}

.philosophy-desc p {
    margin-top: 15px;
}

.philosophy-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: grid;
    align-items: center;
}


/* 首页 contact */
.contact {
    background: url('../images/contact.jpg');
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.contact .grid {
    grid-gap: 30px;
    margin-top: 30px;
}

.contact .item {
    padding: 35px 35px;
    background-color: rgba(255, 255, 255, 0.85);
}

.contact .item .title-m {
    color: #1a1a1a;
}

/* contact页面内容 */
.contact-info {
    padding: 55px 5vw;
}

.contact-detail {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 5vw;
}

.contact-item p {
    width: max-content;
}

.contact-address p {
    max-width: 18vw;
    width: auto;
}

.contact-icon {
    height: 65px;
    width: 65px;
    margin-bottom: 15px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-icon img {
    width: 65px;
    height: 65px;
}

.contact-icon:hover {
    transform: scale(1.10);
}

.contact-map {
    background: url(../images/map.jpg) no-repeat center;
    background-size: cover;
    height: 500px;
    margin-top: 2px;
}


/* Footer Styles */
.site-footer {
    padding: 65px 0 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-logo img {
    height: 90px;
}

.footer-title {
    text-transform: uppercase;
    margin-bottom: 15px;
    font-size: 18px;
    letter-spacing: 1px;
    color: #ffffff;
}

/* .footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px 40px;
} */
.footer-nav {
    display: flex;
    gap: 5px 40px;
}

.footer-contact {
    display: grid;
    gap: 5px;
}

/* .footer-nav a {
    transition: color 0.3s ease;
    color: #ffffff;
} */


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #4f5a66;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #ffffff;
    padding: 10px;
    transition: all 0.3s ease;
}

.footer-social a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-social a:hover {
    transform: scale(1.10);
}





/* 内页内容开始 */
.about-portfolio-type span {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 8px 15px;
    border-radius: 50px;
    text-align: center;
}

/* 产品列表页 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 100px 80px;
}

.product-image {
    width: 100%;
    padding-top: 75%;
}

.product-img {
    transition: transform 0.5s ease;
}

.product-name {
    margin: 15px 0 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.product-item a:hover .product-img {
    transform: scale(1.10);
}


.product-card {
    display: flex;
    gap: 5%;
}

/* 产品详情页-产品轮换 */
.product-gallery {
    width: 50%;
}

.product-gallery-more span {
    display: inline-block;
    width: 15px;
    height: 15px;
    padding: 2px;
    background-color: #3b4753;
    color: #ffffff;
    border-radius: 50%;
}

.main-product-image {
    margin-bottom: 20px;
    padding-top: 75%;
}

.main-product-img {
    transition: all 0.5s ease;
}

.thumbnails-container {
    flex-wrap: wrap;
    gap: 10px;
}

.thumbnail-item {
    flex: 1;
    cursor: pointer;
    /* transition: all 0.3s ease; */
    border: 1px solid transparent;
    margin-right: 10px !important;
}


/* .thumbnail-item:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}
*/
.thumbnail-item.active {
    border-color: #3b4753;
    /* transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(168, 150, 126, 0.3); */
}

.thumbnail-image {
    padding-top: 75%;
}

.thumbnail-img {
    /* transition: transform 0.3s ease, filter 0.3s ease; */
}

.thumbnail-item:not(.active) .thumbnail-img {
    filter: brightness(0.9);
}

.thumbnail-item:hover .thumbnail-img {
    transform: scale(1.1);
    filter: brightness(1);
}

.thumbnail-item.active .thumbnail-img {
    filter: brightness(1);
}

/* 产品轮换Loading效果 */
/*
.main-product-image::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #3b4753;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 100;
}

.main-product-image.loading::after {
    opacity: 1;
}
 */

/* 产品详情页-产品data */
.product-data {
    width: 50%;
}

.data-column {
    column-count: 1;
    gap: 5%;
    border-bottom: 1px solid #ebebeb;
    padding: 30px 0;
}

.data-item {
    display: flex;
    margin: 0 0 10px 0;
    gap: 5px;
}

.data-item svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    margin-top: -2px;
    color: #3b4753;
}

.data-item strong {
    flex: none;
    padding-right: 15px;
    font-weight: initial;
    color: #3b4753;
}

.data-price h2 {
    margin-top: 25px;
    font-size: 40px;
    color: #3b4753;
    line-height: 1.2;
}

.data-desc {
    margin-top: 35px;
}

.data-desc p {
    margin-top: 15px;
}

.product-detail {
    margin-top: 90px;
}

.product-detail .title-l {
    display: flex;
    gap: 10px;
    text-transform: capitalize;
}

.product-detail .title-l svg {
    width: 40px;
    height: 40px;
    margin-top: -2px;
}

.pro-feature .grid {
    grid-gap: 30px;
    margin-top: 30px;
}

.pro-feature .item {
    padding: 35px 35px;
    background-color: #f3f4f6;
}

.pro-feature .icon {
    height: 80px;
    width: 80px;
    margin-bottom: 15px;
}

.pro-folding {
    margin-top: 60px;
    gap: 25px;
}

.pro-folding .content {
    padding-left: 50px;
    margin: 40px 0 20px 0;
    gap: 30px;
}

.pro-folding .content-item {
    gap: 20px;
}

.pro-folding .content-item .icon {
    height: 55px;
    width: 55px;
    flex-shrink: 0;
}

.pro-folding .content-item .title-m {
    margin-bottom: 5px;
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    line-height: initial;
}

/* 关联产品 */
.related-product {
    margin-top: 60px;
    position: relative;
    padding-bottom: 80px;
    --swiper-navigation-size: 20px;
}

.related-product .swiper-pagination-progressbar {
    top: initial;
    bottom: 29px !important;
    width: calc(100% - 160px);
    left: 80px;

}

.related-product .swiper-button-prev,
.related-product .swiper-button-next {
    top: initial;
    bottom: 20px !important;
    width: 20px !important;
    font-weight: bold;
}

.related-product .section-title {
    margin-bottom: 30px;
}

.related-product .product-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 50px;
}

.related-product .product-item {
    position: relative;
    background-color: #f3f4f6;
    line-height: 1.2;
    padding-bottom: 40px;
}

.related-product .product-image {
    background-color: #ffffff;
}

.related-product .product-name {
    padding: 0 15px;
}

.related-product .product-price {
    position: absolute;
    bottom: 15px;
    left: 0;
    padding: 0 15px;
    width: 100%;
}

/* news列表 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.news-item:hover {
    /* transform: translateY(-8px); */
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.news-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 50%;
}

.news-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.news-item:hover .news-image-container::before {
    opacity: 1;
}

.news-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    /* transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275); */
}

.news-item:hover .news-image {
    transform: scale(1.1);
}

.news-content {
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    height: 195px;
}

.news-title {
    font-size: 20px;
    color: #3b4753;
    font-family: 'Crimson Text', serif;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.news-excerpt {
    color: #7a7a7a;
    margin-top: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: none;
}

.news-date {
    margin-bottom: 15px;
    font-size: 15px;
    letter-spacing: 0.5px;
    color: #a0a0a0;
}

.news-read-more {
    display: inline-block;
    padding-right: 25px;
    font-size: 15px;
    color: #a0a0a0;
    transition: all 0.3s ease;
    position: relative;
}

.news-item a:hover .news-read-more {
    color: #3b4753;
    padding-right: 30px;
}

.news-read-more svg {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
}

.news-detail .section-header {
    border-bottom: 1px dashed #dcdcdc;
    padding-bottom: 20px;
}

.news-detail .release-date {
    letter-spacing: 0.5px;
    color: #aaaaaa;
}

@media (max-width: 1280px) {
    .nav-links {
        margin: 0 1.5rem;
    }

    .nav-links ul {
        gap: 3rem;
    }

    .story-text {
        width: 60%;
    }

    .craftsmanship-content {
        margin: 0 15px;
    }

    .craftsmanship-PC .craftsmanship-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .philosophy-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .about-portfolio-item .grid-cols-2 {
        grid-template-columns: repeat(1, 1fr);
    }

    .related-product .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    /* .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    } */

    .product-card {
        display: block
    }

    .product-gallery {
        width: 100%;
    }

    .product-data {
        width: 100%;
        margin-top: 50px;
    }

    .related-product .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .nav-container {
        padding: 15px 0
    }

    .dropdown-toggle {
        display: inline-block;
    }

    .nav-links {
        position: fixed;
        top: 95px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 95px);
        background-color: #f3f4f6;
        flex-direction: column;
        justify-content: flex-start;
        transition: left 0.3s ease;
        margin: 0;
    }

    .nav-links a.nav-link {
        line-height: initial;
    }

    .nav-links a.nav-link::after {
        display: none;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin: 20px auto;
        width: 90%;
    }

    .nav-links li {
        width: 100%;
        border-bottom: 1px solid #dcdcdc;
        padding: 15px 0;
    }

    .menu-toggle {
        display: block;
    }

    .language-selector {
        display: none;
    }

    .language-mobile {
        display: block;
    }

    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 0 1rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title,
    .page-hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle,
    .page-hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        justify-content: center;
    }

    .story-text {
        width: 70%;
    }

    .collection-item {
        display: block;
    }

    .collection-item-content {
        width: 100%;
    }

    .collection-image {
        width: 100%;
    }

    .collection-info {
        position: initial;
        padding: 30px 4.5vw 135px 4.5vw;
    }

    .collection-info .button {
        left: 50%;
        transform: translateX(-50%);
        bottom: 35px;
    }

    .craftsmanship-content {
        margin: 0 30px;
    }

    .footer-nav {
        grid-template-columns: repeat(1, 1fr);
    }


    /* 内页内容开始 */
    .about-portfolio {
        display: block
    }

    .about-portfolio-item .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* contact页面内容 */
    .contact-detail {
        flex-direction: column;
    }

    .contact-address p {
        max-width: initial;
    }
}














@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .btn-primary {
        padding: 12px 25px;
    }

    .goback .btn-primary {
        width: 135px;
    }

    .section-padding {
        padding: 70px 0;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 32px;
    }

    .section-header p {
        font-size: 18px;
        margin-top: 0;
    }

    .title-m {
        font-size: 20px;
    }

    .title-l {
        font-size: 21px;
    }

    .text-content p {
        margin: 20px 0;
    }

    .pagination .layui-hide-sm {
        display: flex;
    }

    .pagination .layui-hide-xs {
        display: none;
        gap: 4px;
    }

    .pagination-MO {
        display: flex;
        margin-top: 50px;
        gap: 10px;
    }

    .pagination-MO a {
        width: 30px;
        height: 30px;
        background-color: #3b4753;
        color: #ffffff;
        border: 1px solid #3b4753;
        border-radius: 4px;
    }

    .pagination-MO .num {
        width: 80px;
        height: 30px;
        color: #3b4753;
        border: 1px solid #3b4753;
        border-radius: 4px;
    }

    .nav-container {
        padding: 12px 0;
    }

    .logo img {
        height: 42px;
    }

    .nav-links {
        top: 66px;
        height: calc(100vh - 66px);
    }

    .hero-section {
        height: auto;
        min-height: calc(100vh - 66px);
        margin-top: 66px;
    }

    .page-hero {
        height: auto;
        min-height: calc(40vh - 66px);
        margin-top: 66px;
    }

    .hero-title,
    .page-hero-title {
        font-size: 2rem;
    }

    .hero-cta {
        /* display: grid;
        grid-template-columns: repeat(2, 1fr); */
        flex-direction: column;
        gap: 1rem;
    }

    .story-content {
        min-height: initial;
    }

    .story-content .button {
        justify-content: center;
        margin-top: 30px;
    }

    .story-grid {
        padding: 45px 30px;
    }

    .story-text {
        width: 100%;
    }

    .collection-tabs {
        display: block;
        margin-top: 30px;
    }

    .collection-content {
        margin: 15px 0 30px 0;
    }

    .collection-buttons {
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .collection-pagination {
        justify-content: space-between;
        margin-top: 15px;
    }

    .collection-buttons button {
        font-size: 14px;
        padding: 8px 15px;
    }

    /* 产品页面的分类按钮样式 */
    .product .collection-buttons a {
        height: 100%;
    }

    .product .collection-buttons button {
        width: 100%;
    }

    .collection-info {
        padding-bottom: 125px;
    }

    .collection-name {
        margin-bottom: 15px;
    }

    .collection-price {
    font-size: 32px;
}

    .collection-prev,
    .collection-next {
        width: 30px;
        height: 30px;
        background-color: #e9e9e9;
        opacity: 1;
        border-radius: 50%;
        padding: 5px;
    }

    .collection-pagination .swiper-button-disabled {
        opacity: 0.5;
    }

    .collection-page {
        font-size: 14px;
    }

    .craftsmanship-PC {
        display: none;
    }

    .craftsmanship-MO {
        display: block;
    }

    .craftsmanship-content {
        margin: 0 40px;
    }

    .craftsmanship button {
        width: 40px;
        height: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-logo {
        padding-bottom: 30px;
        border-bottom: 1px solid #4f5a66;
        width: 100%;
    }

    .footer-logo img {
        margin: auto;
        height: 75px;
    }

    .footer-title {
        font-size: 16px;
    }

    .footer-nav {
        display: flex;
    }





    /* 内页内容开始 */
    .about-portfolio-content {
        padding: 35px 30px;
    }

    /* 产品列表页 */
    .product-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 60px;
    }



    /* 产品详情页-产品轮换 */
    .thumbnails-container {
        gap: 5px;
    }

    .product-data {
        margin-top: 30px;
    }

    .data-column {
        padding: 15px 0;
    }

    .data-column {
        column-count: 1;
    }

    .data-item svg {
        width: 25px;
        height: 25px;
    }

    .data-price h2 {
        font-size: 32px;
    }

    .data-desc {
        margin-top: 25px;
    }

    .product-detail {
        margin-top: 50px;
    }

    .product-detail .title-l svg {
        width: 30px;
        height: 30px;
    }

    .pro-folding .content {
        padding: 0 15px;
        margin: 30px 0 10px 0;
        gap: 20px;
    }

    .pro-folding .content-item {
        gap: 15px;
    }

    .pro-folding .content-item .icon {
        height: 40px;
        width: 40px;
    }

    .related-product {
        margin-top: 30px;
    }

    .related-product .section-title {
        margin-bottom: 15px;
    }

    .related-product .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}


/* news列表 */
.news-grid {
    grid-template-columns: 1fr;
    gap: 25px;
}

.news-content {
    padding: 25px 4.5vw;
    height: 170px;
}

.news-title {
    font-size: 18px;
}

.news-date {
    font-size: 14px;
    margin-bottom: 10px;
}

.news-read-more {
    font-size: 14px;
}

/* contact页面内容 */
.contact-info {
    padding: 35px 30px;
}

.contact-detail {
    gap: 25px;
}

.contact-item .title-m {
    margin: 3px 0;
}

.contact-map {
    height: 280px;
}




@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .hero-title,
    .page-hero-title {
        font-size: 1.75rem;
    }

    .story-subtitle {
        font-size: 24px;
    }

    .story-text p {
        font-size: 14px;
    }

    .craft-image {
        height: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .about-portfolio-type span {
        padding: 8px;
    }

    .collection-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .collection-buttons button {
        padding: 0px 15px;
        height: 45px;
        line-height: 130%;
    }
}


#cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .8);
    color: #ffffff;
    padding: 20px 0;
    z-index: 1000;
    text-align: center;
}

#cookie-consent p {
    margin: 0 40px;
}

#cookie-consent a {
    color: #4CAF50;
}

#cookie-consent p:nth-child(2) {
    margin-top: 10px;
}

#cookie-consent p:nth-child(2) a {
    background-color: #4CAF50;
    color: #ffffff;
    padding: 0 10px;
    line-height: 25px;
    margin: 0 5px;
    display: inline-block;
}

#cookie-consent .layui-icon-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-weight: bold;
    background-color: #4CAF50;
    color: #ffffff;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    font-size: 14px;
}


.big-pic-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f3f4f6;
    overflow: hidden;
    margin-bottom: 20px;
}

.big-pic-container .swiper-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
}

.small-pic-container {
    display: flex;
}

.small-pic-swiper {
    width: 100%;
    margin-right: 5px;
}

.small-pic-container .swiper-slide .pic {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
    background-color: #f3f4f6;

}

.small-pic-container .swiper-slide.active .pic {
    border-color: #3b4753;
    border-width: 1px;
    border-style: solid;
}

.small-pic-container .swiper-slide.active img {

    filter: brightness(1);

}

/* border-color: #3b4753; */
.small-pic-container .swiper-slide img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: transform 0.3s ease, filter 0.3s ease;
    box-sizing: border-box;
}

.small-pic-container .swiper-slide img:hover {
    transform: scale(1.1);
    filter: brightness(1);
}