/* Jewelry Banner Wrapper */
.jewelry-banner {
    width: 100%;
    overflow: hidden;
}
.jewelry-banner .swiper-container {
    height: auto;
}
.jewelry-banner .swiper-slide {
    height: auto;
    overflow: hidden;
}

/* Hero Section Styles */
.hero-section {
    height: auto;
    position: relative;
    overflow: hidden;
    display: block;
}

.wedding-hero {
    background-color: #f5f2ed;
}

.wedding-hero-left .layui-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
}
.wedding-hero-center .layui-container {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.wedding-hero-right .layui-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
}
.wedding-hero-left .hero-buttons {
    justify-content: flex-start;
    float: left;
    width: auto;
}
.wedding-hero-center .hero-buttons {
    justify-content: center;
    text-align: center;
    width: auto;
}
.wedding-hero-right .hero-buttons {
    justify-content: flex-end;
    float: right;
    width: auto;
}

.hero-section .banner-bg-image {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
}

.hero-section .banner-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-section .banner-bg-mobile {
    display: none;
}

.hero-content {
    max-width: 600px;
    padding: 0 30px;
    z-index: 2;
}

.hero-badge {
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-direction: column;
    width: 80%;
}

.hero-button {
    display: block;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.hero-button.primary {
    background-color: #634033;
    color: #fff;
    border: none;
}

.hero-button.primary:hover {
    opacity: 0.8;
    color: #ffffff;
}

.hero-button.secondary {
    background-color: transparent;
    color: #fff;
    border: none;
}

.hero-button.secondary:hover {
    opacity: 0.8;
    color: #ffffff;
}

/* 移动端响应式 - 对齐首页 banner 处理方式 */
@media (max-width: 768px) {
    .jewelry-banner .swiper-container {
        height: auto;
    }
    .jewelry-banner .swiper-slide {
        height: auto;
    }
    .hero-section {
        height: auto;
        min-height: auto;
        display: block;
        background: none;
    }
    .hero-section .banner-bg-mobile {
        display: block;
        width: 100%;
        height: 0;
        padding-bottom: 56%;  /* 16:9 比例 */
        background-size: auto 100%;
        background-position: center center;
        background-repeat: no-repeat;
    }
    .wedding-hero-left .banner-bg-mobile {
        background-position: right center;
    }
    .wedding-hero-right .banner-bg-mobile {
        background-position: left center;
    }
    .wedding-hero-center .banner-bg-mobile {
        background-position: center center;
    }
    .hero-section .banner-bg-image {
        display: none;
    }
    .hero-section .banner-content-wrapper {
        position: relative;
        height: auto;
        display: block;
    }
    .hero-section .layui-container {
        position: relative;
        justify-content: center;
        text-align: center;
        align-items: center;
        padding: 20px 20px 0 20px;
        background-color: #fff;
    }
    .wedding-hero-left .layui-container,
    .wedding-hero-right .layui-container,
    .wedding-hero-center .layui-container {
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        text-align: center;
        padding: 0;
    }
    .hero-badge {
        font-size: 12px;
        margin-bottom: 15px;
    }
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 15px;
    }
    .hero-description {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 25px;
        display: none;
    }
    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 100%;
        max-width: 18.75rem;
        margin: 0 auto;
    }
    .hero-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0.75rem 1rem;
        background-color: #634033;
        color: #fff;
        border: none;
        font-size: 0.75rem;
        font-weight: 500;
        text-align: center;
        white-space: nowrap;
        box-sizing: border-box;
    }
    .hero-button:active {
        background-color: #4a332b;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        max-width: 16.25rem;
        float: none!important;
    }
    .hero-button {
        width: 100%;
        padding: 0.625rem 0.875rem;
        font-size: 0.6875rem;
    }
}

/* 移动端轮播指示点定位 */
@media (max-width: 768px) {
    .jewelry-banner .swiper-container .swiper-pagination {
        position: absolute !important;
        bottom: auto !important;
        top: calc(56.25vw - 30px) !important;
        left: 0;
        right: 0;
        z-index: 100 !important;
    }
    .jewelry-banner .swiper-container .swiper-pagination-bullet {
        background-color: #fff !important;
        opacity: 0.7 !important;
        width: 8px;
        height: 8px;
    }
    .jewelry-banner .swiper-container .swiper-pagination-bullet-active {
        background-color: #634033 !important;
        opacity: 1 !important;
    }
}

/* Ring Item Demo Container */
.ring-item-demo-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
        }
        .ring-item-demo-title {
            font-size: 24px;
            font-weight: 500;
            color: #333;
            margin: 0 0 30px 0;
            text-align: center;
        }
        .ring-item-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 20px;
        }
        .ring-item-filter{
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 20px;
            margin-bottom: 20px;
        }
        /* 戒指项容器 */
        .ring-item {
            background-color: #fff;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            transition: all 0.3s ease;
            position: relative;
        }
        .ring-item:hover {
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        /* 戒指图片容器 */
        .ring-item-image-container {
            width: 100%;
            padding-top: 100%;
            position: relative;
            /* background-color: #f5f5f5; */
            overflow: hidden;
        }
        .ring-item-image {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        .ring-item:hover .ring-item-image {
            transform: scale(1.05);
        }
        /* 收藏按钮 */
        .ring-item-favorite {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background-color: rgba(255, 255, 255, 0.9);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 10;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .ring-item-favorite:hover {
            background-color: #fff;
            transform: scale(1.1);
        }
        .ring-item-favorite-icon {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: #ccc;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: all 0.3s ease;
        }
        .ring-item-favorite.active .ring-item-favorite-icon {
            fill: #ff4d4f;
            stroke: #ff4d4f;
        }
        /* 戒指内容 */
        .ring-item-content {
            padding: 16px;
            text-align: center;
        }
        .ring-item-name {
            font-size: 16px;
            font-weight: 400;
            color: #333;
            margin: 0 0 6px 0;
            height: 48px;line-height: 24px;
            overflow: hidden;
        }
        .ring-item-price {
            font-size: 17px;
            font-weight: 500;
            color: #000;
            margin: 0;
        }
        /* 通知提示样式 */
        .ring-item-notification {
            position: fixed;
            top: 20px;
            right: 20px;
            background-color: #52c41a;
            color: #fff;
            padding: 12px 20px;
            border-radius: 6px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 10000;
            display: flex;
            align-items: center;
            gap: 10px;
            max-width: 300px;
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.3s ease;
        }
        .ring-item-notification.show {
            opacity: 1;
            transform: translateY(0);
        }
        .ring-item-notification-icon {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }
        .ring-item-notification-message {
            font-size: 14px;
            font-weight: 500;
        }
        .ring-item-notification-close {
            background: none;
            border: none;
            color: #fff;
            cursor: pointer;
            font-size: 18px;
            padding: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background-color 0.3s ease;
            margin-left: auto;
        }
        .ring-item-notification-close:hover {
            background-color: rgba(255,255,255,0.2);
        }
        /* 响应式设计 */
        @media (max-width: 1200px) {
            .ring-item-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }
        @media (max-width: 768px) {
            .ring-item-demo-container {
                padding: 10px;
            }
            .ring-item-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
            .ring-item-image {
                padding: 30px;
            }
        }
        @media (max-width: 480px) {
            .ring-item-demo-container {
                padding: 0.375rem;
            }
            .ring-item-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.375rem;
            }
            .ring-item-image {
                padding: 0.25rem;
            }
            .ring-item-title {
                font-size: 0.8rem;
            }
            .ring-item-price {
                font-size: 0.9rem;
            }
        }

/* Shop Diamonds by Shape Section */
.diamonds-by-shape {
    padding: 40px 0;
    margin: 0 auto;
    background-color: #ffffff;
}

.diamonds-by-shape-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 100px;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
}

.diamonds-by-shape-container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    gap: 10px;
}

/* Swiper navigation buttons for diamonds by shape */
.diamonds-by-shape-container .swiper-button-prev,
.diamonds-by-shape-container .swiper-button-next {
    color: #333;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.diamonds-by-shape-container .swiper-button-prev::after,
.diamonds-by-shape-container .swiper-button-next::after {
    font-size: 18px;
}

.diamond-shape-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    padding: 0 10px;
}

.diamond-shape-image {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
    border-radius: 0;
    padding: 0;
    background-color: transparent;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.diamond-shape-image:hover {
    transform: scale(1.1);
}

.diamond-shape-name {
    font-size: 14px;
    color: #000;
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 0;
    font-weight: 400;
    text-align: center;
}

/* Shop Diamonds by Styles Section */
.diamonds-by-styles {
    padding: 40px 0;
    margin: 0 auto;
}

.diamonds-by-styles-title {
    font-size: 28px;
    font-weight: 500;
    color: #222;
    text-align: center;
    margin-bottom: 15px;
}

.diamonds-by-styles-description {
    font-size: 12px;
    color: #000;
    text-align: center;
    margin-bottom: 30px;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.diamonds-by-styles-container {
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

/* Swiper navigation buttons */
.diamonds-by-styles-container .swiper-button-prev,
.diamonds-by-styles-container .swiper-button-next {
    color: #333;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.diamonds-by-styles-container .swiper-button-prev::after,
.diamonds-by-styles-container .swiper-button-next::after {
    font-size: 18px;
}

.diamonds-by-styles {
    padding: 50px 0;
}

.diamond-styles-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
    text-decoration: none;
    padding: 0 20px;
    color: #333;
    transition: all 0.3s ease;
}

.diamond-styles-image {
    width: 100px;
    height: 100px;
    margin-bottom: 15px;
    border-radius: 50%;
    padding: 15px;
    background-color: #f8f8f8;
    object-fit: contain;
}

.diamond-styles-name {
    font-size: 14px;
    color: #333;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.diamond-styles-item:hover .diamond-styles-name {
    color: #000;
    font-weight: 600;
}

/* Lab-Grown Diamonds Section */
.lab-grown-diamonds-section {
    background-color: #f0f7ff;
    background-image: url('/static/home/default_en/images/wedding-banner-ad.jpeg');
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.lab-grown-content {
    
}
.lab-grown-text {
    display: flex;
    flex-direction: column;
    justify-items:flex-start;
    text-align: left;
    align-items:flex-start;
}
.lab-grown-text-left{
    text-align: left;
    justify-items:flex-start;
    align-items:flex-start;
}
.lab-grown-text-right{
    text-align: right;
    justify-items:flex-end;
    align-items:flex-end;
}
.lab-grown-text-center{
    text-align: center;
    justify-items:center;
    align-items:center;
}
.lab-grown-tag {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #000;
    margin-bottom: 16px;
    display: block;
}

.lab-grown-title {
    font-size: 32px;
    font-weight: 500;
    color: #000;
    margin-bottom: 16px;
}

.lab-grown-description {
    font-size: 16px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 500px;
}

.lab-grown-button {
    display: inline-block;
    padding: 14px 32px;
    background-color: #634033;
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 0px;
    transition: background-color 0.3s ease;
}

.lab-grown-button:hover {
    color: #fff;
    opacity: 0.8;
}

.lab-grown-images {
    flex: 1;
    height: 200px;
    background-image: url('https://images.unsplash.com/photo-1515598424310-a385d0b63773?q=80&w=1000&auto=format&fit=crop');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

/* Responsive for lab-grown diamonds section */
@media (max-width: 992px) {
    .lab-grown-content {
        flex-direction: column;
        text-align: center;
    }

    .lab-grown-text {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .lab-grown-tag {
        color: #fff;
    }

    .lab-grown-title {
        color: #fff;
    }

    .lab-grown-description {
        margin-left: auto;
        margin-right: auto;
        color: #fff;
    }

    .lab-grown-images {
        width: 100%;
        height: 300px;
        background-position: center;
    }

    .lab-grown-button {
        display: flex;
        justify-content: center;
        align-items: center;
        width: auto;
        min-width: 200px;
        max-width: 280px;
        margin: 0 auto;
        padding: 12px 24px;
        background-color: #634033;
        color: #fff;
        border: none;
        font-size: 13px;
        font-weight: 500;
        text-align: center;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .lab-grown-title {
        font-size: 18px;
        white-space: nowrap;
    }

    .lab-grown-button {
        width: auto;
        min-width: 120px;
        max-width: none;
        padding: 8px 12px;
        font-size: 10px;
        white-space: nowrap;
    }
}

/* Jewelry Education Section */
.jewelry-education-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.jewelry-education-title {
    font-size: 28px;
    font-weight: 500;
    color: #000;
    margin-bottom: 40px;
    text-transform: none;
    letter-spacing: 0;
    /*margin-top: 40px;*/
}

.jewelry-education-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 0 auto;
}

.jewelry-education-item {
    text-align: center;
}

.jewelry-education-image-wrapper {
    width: 100%;
    overflow: hidden;
    margin-bottom: 20px;
}

.jewelry-education-image-wrapper img {
    width: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.3s ease;
    display: block;
}

.jewelry-education-image-wrapper:hover img {
    transform: scale(1.1);
}

.jewelry-education-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    text-transform: none;
    letter-spacing: 0;
}

.jewelry-education-item p {
    font-size: 14px;
    color: #000;
    line-height: 0.7rem;
    margin: 0;
    /*padding: 0 10px;*/
}

/* Jewelry Education Mobile Swiper */
.jewelry-education-mobile-swiper {
    display: none;
    position: relative;
}

.jewelry-education-mobile-swiper .swiper-slide {
    width: auto;
}

/* Jewelry Guide Navigation Buttons */
.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guide-prev,
.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guide-next,
.jewelry-education-mobile-swiper .swiper-button-prev.design-your-own-prev,
.jewelry-education-mobile-swiper .swiper-button-next.design-your-own-next,
.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guides-prev,
.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guides-next {
    color: #333 !important;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    top: 50%;
    transform: translateY(-50%);
}

.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guide-prev::after,
.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guide-next::after,
.jewelry-education-mobile-swiper .swiper-button-prev.design-your-own-prev::after,
.jewelry-education-mobile-swiper .swiper-button-next.design-your-own-next::after,
.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guides-prev::after,
.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guides-next::after {
    font-size: 14px;
    font-weight: bold;
    color: #333 !important;
}

.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guide-prev,
.jewelry-education-mobile-swiper .swiper-button-prev.design-your-own-prev,
.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guides-prev {
    left: 5px;
}

.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guide-next,
.jewelry-education-mobile-swiper .swiper-button-next.design-your-own-next,
.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guides-next {
    right: 5px;
}

.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guide-prev:hover,
.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guide-next:hover,
.jewelry-education-mobile-swiper .swiper-button-prev.design-your-own-prev:hover,
.jewelry-education-mobile-swiper .swiper-button-next.design-your-own-next:hover,
.jewelry-education-mobile-swiper .swiper-button-prev.jewelry-guides-prev:hover,
.jewelry-education-mobile-swiper .swiper-button-next.jewelry-guides-next:hover {
    background-color: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

/* Curated for Your Story Navigation Buttons */
.curated-swiper .swiper-button-prev.curated-prev,
.curated-swiper .swiper-button-next.curated-next {
    width: 36px !important;
    height: 36px !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08) !important;
    color: #333 !important;
    font-size: 24px !important;
    line-height: 36px !important;
    text-align: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    z-index: 10;
}

.curated-swiper .swiper-button-prev.curated-prev::after,
.curated-swiper .swiper-button-next.curated-next::after {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #333 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

.curated-swiper .swiper-button-prev.curated-prev {
    left: 5px !important;
}

.curated-swiper .swiper-button-next.curated-next {
    right: 5px !important;
}

.curated-swiper .swiper-button-prev.curated-prev:hover,
.curated-swiper .swiper-button-next.curated-next:hover {
    background-color: #fff !important;
    transform: translateY(-50%) scale(1.1) !important;
    color: #000 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive for Jewelry Education Section */
@media (max-width: 768px) {
    .jewelry-education-section {
        padding: 0;
    }

    .jewelry-education-image-wrapper {
        margin-bottom: 0.3rem;
    }

    .jewelry-education-title {
        font-size: 28px;
        margin-bottom: 0.8rem;
    }

    /* Shop Jewelry by Category - 每行2个 */
    .jewelry-education-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 15px;
    }

    .jewelry-education-item img {
        height: auto;
    }

    .jewelry-education-item h3 {
        font-size: 0.9rem;
    }

    .jewelry-education-item p {
        font-size: 0.6rem;
    }

    /* Hide PC version on mobile */
    .jewelry-education-pc {
        display: none;
    }

    /* Show mobile swiper on mobile */
    .jewelry-education-mobile-swiper {
        display: block;
    }

    .jewelry-education-mobile-swiper .jewelry-education-item {
        text-align: center;
    }

    .jewelry-education-mobile-swiper .jewelry-education-image-wrapper {
        width: 100%;
        overflow: hidden;
        margin-bottom: 15px;
    }

    .jewelry-education-mobile-swiper .jewelry-education-image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 0;
        display: block;
    }

    .jewelry-education-mobile-swiper .jewelry-education-item h3 {
        font-size: 16px;
        font-weight: 600;
        color: #000;
        margin-bottom: 8px;
    }

    .jewelry-education-mobile-swiper .jewelry-education-item p {
        display: none;
    }
}

@media (max-width: 480px) {
    .jewelry-education-title {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .jewelry-education-mobile-swiper .jewelry-education-image-wrapper img {
        height: auto;
    }
    
    .jewelry-education-mobile-swiper .jewelry-education-item h3 {
        font-size: 11px;
        margin-bottom: 6px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .jewelry-education-mobile-swiper .jewelry-education-item p {
        display: none;
    }
}

/* Responsive for diamonds by shape section */
@media (max-width: 768px) {
    .diamonds-by-shape-title {
        font-size: 20px;
        margin-bottom: 20px;
        line-height: 60px;
    }

    .diamonds-by-shape-container .swiper-slide {
        width: 20% !important;
    }

    .diamonds-by-shape-container {
        gap: 25px;
    }

    .diamond-shape-image {
        width: 50px;
        height: 50px;
    }

    .diamond-shape-name {
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .diamonds-by-shape-container {
        gap: 0;
        padding: 0 10px;
    }

    .diamonds-by-shape-container .swiper-slide {
        width: 25% !important;
    }

    .diamond-shape-item {
        padding: 0 5px;
    }

    .diamond-shape-image {
        width: 50px;
        height: 50px;
        margin-bottom: 10px;
    }

    .diamond-shape-name {
        font-size: 12px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* Adjust Swiper navigation buttons for diamonds by shape on mobile */
    .diamonds-by-shape-container .swiper-button-prev,
    .diamonds-by-shape-container .swiper-button-next {
        width: 30px;
        height: 30px;
        top: 45%;
    }

    .diamonds-by-shape-container .swiper-button-prev::after,
    .diamonds-by-shape-container .swiper-button-next::after {
        font-size: 14px;
    }
    
    .diamonds-by-styles-container {
        gap: 20px;
        padding: 0;
    }
    
    .diamond-shape-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 10px;
        padding: 0 5px;
        min-width: 60px;
    }
    
    .diamond-styles-item {
        margin-bottom: 0;
        padding: 0 10px;
    }
    
    /* Adjust Swiper navigation buttons for mobile */
    .diamonds-by-styles-container .swiper-button-prev,
    .diamonds-by-styles-container .swiper-button-next {
        width: 30px;
        height: 30px;
        top: 45%;
    }
    
    .diamonds-by-styles-container .swiper-button-prev::after,
    .diamonds-by-styles-container .swiper-button-next::after {
        font-size: 14px;
    }
    
    .diamond-shape-image {
        width: 40px;
        height: 40px;
    }
    
    .diamond-styles-image {
        width: 50px;
        height: 50px;
    }
    
    .diamond-shape-name {
        font-size: 12px;
    }
    
    .diamond-styles-name {
        font-size: 13px;
    }
}

/* Our Engagement Ring Picks Section */
.engagement-picks {
    padding: 60px 0;
    text-align: center;
}

.engagement-picks-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.engagement-picks-description {
    font-size: 16px;
    color: #000;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.engagement-picks-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    height: 600px;
}

.engagement-picks-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 35%;
    height: 100%;
}

.engagement-pick-item {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



.engagement-pick-item-small {
    height: calc(50% - 10px);
}

.engagement-pick-item-large {
    width: 65%;
    height: 100%;
}

.engagement-pick-image {
    width: 100%;
    height: calc(100% - 40px);
    object-fit: cover;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}


.engagement-pick-name {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    text-align: center;
}

/* Responsive Design for Engagement Picks */
@media (max-width: 768px) {
    .engagement-picks-container {
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    
    .engagement-picks-left {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-bottom: 20px;
        height: auto;
    }
    
    .engagement-pick-item-small {
        width: calc(50% - 10px);
        height: 300px;
    }
    
    .engagement-pick-item-large {
        width: 100%;
        height: 300px;
    }
    
    .engagement-picks-title {
        font-size: 28px;
    }
    
    .engagement-picks-description {
        font-size: 15px;
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .engagement-picks {
        padding: 40px 0;
    }
    
    .engagement-picks-title {
        font-size: 24px;
    }
    
    .engagement-picks-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .engagement-picks-left {
        flex-direction: column;
        gap: 15px;
    }
    
    .engagement-pick-item-small {
        width: 100%;
        height: 250px;
    }
    
    .engagement-pick-item-large {
        height: 250px;
    }
}

/* Popular Engagement Rings Section Styles */
.popular-rings-section {
  padding: 60px 0;
  overflow: hidden;
}

.popular-rings-title {
  font-size: 28px;
  font-weight: 500;
  color: #333;
  text-align: center;
  margin-bottom: 40px;
}

.popular-rings-swiper-container {
  margin: 0 auto;
  position: relative;
}

.popular-rings-swiper {
  width: 100%;
  padding-bottom: 30px;
}

.popular-rings-swiper .swiper-wrapper {
  align-items: stretch;
}

.popular-rings-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  height: auto;
}

.popular-ring-item {
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.popular-ring-image-container {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background-color: #fff;
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

.popular-ring-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.popular-ring-image-container:hover .popular-ring-image {
  transform: scale(1.1);
}

.popular-ring-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popular-ring-name {
  font-size: 14px;
  font-weight: 400;
  color: #333;
  margin: 0 0 6px 0;
  line-height: 1.4;
  min-height: 40px;
}

.popular-ring-price {
  font-size: 16px;
  font-weight: 500;
  color: #000;
  margin: 0;
}

/* 收藏按钮 */
.popular-ring-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.popular-ring-favorite:hover {
  background-color: #fff;
  transform: scale(1.1);
}

.popular-ring-favorite-icon {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #ccc;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.3s ease;
}

.popular-ring-favorite.active .popular-ring-favorite-icon {
  fill: #ff4d4f;
  stroke: #ff4d4f;
}

/* Swiper Navigation Arrows */
.popular-rings-swiper .popular-rings-nav-btn {
  width: 36px !important;
  height: 36px !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.08) !important;
  color: #333 !important;
  font-size: 24px !important;
  line-height: 36px !important;
  text-align: center !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-top: 0 !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

.popular-rings-swiper .popular-rings-nav-btn:hover {
  background-color: #fff !important;
  transform: translateY(-50%) scale(1.1) !important;
  color: #000 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2), 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

.popular-rings-swiper .popular-rings-nav-btn::after {
  font-size: 12px;
  font-weight: 600;
  color: #333;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}


/* Responsive styles for Popular Engagement Rings */
@media only screen and (max-width: 992px) {
  .popular-rings-swiper .swiper-slide {
    width: calc(25% - 15px);
  }
}

@media only screen and (max-width: 768px) {
  .popular-rings-swiper .swiper-slide {
    width: calc(33.333% - 10px);
  }
  
  .popular-ring-name {
    font-size: 12px;
  }
  
  .popular-ring-price {
    font-size: 14px;
  }
  
  .popular-rings-swiper .popular-rings-nav-btn {
    display: flex !important;
    width: 35px !important;
    height: 35px !important;
    top: calc(16.5vw - 10px) !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .popular-rings-swiper .popular-rings-nav-btn::after {
    font-size: 12px !important;
    color: #333 !important;
  }
}

@media only screen and (max-width: 480px) {
  .popular-rings-title {
    font-size: 20px;
    margin-bottom: 25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .popular-rings-swiper .swiper-slide {
    width: calc(50% - 10px);
  }

  .popular-ring-name {
    font-size: 11px;
    min-height: 32px;
    line-height: 1.3;
  }

  .popular-ring-price {
    font-size: 12px;
  }

  .popular-rings-swiper .popular-rings-nav-btn {
    display: flex !important;
    width: 30px !important;
    height: 30px !important;
    top: calc(25vw - 20px) !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .popular-rings-swiper .popular-rings-nav-btn::after {
    font-size: 10px !important;
    color: #333 !important;
  }
}

/* Design Your Own Diamond Ring Section */
.design-own-ring-section {
  padding: 60px 0;
}

.design-own-ring-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.design-own-ring-text {
  flex: 1;
  padding: 0 0 0 40px;
}

.design-own-ring-title {
  font-size: 36px;
  font-weight: 700;
  color: #000000;
  /*margin-bottom: 20px;*/
  line-height: 1.2rem;
    padding: 0.9rem;
}

.design-own-ring-description {
  font-size: 16px;
  color: #000000;
  margin-bottom: 30px;
  line-height: 1.6;
}

.design-own-ring-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.design-own-ring-ul{
    line-height: 36px;
}
.design-own-ring-ul li{
    list-style: solid;
}
.service-item {
            background-color: white;
            padding: 15px;
            margin-top:15px ;
            display: block;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
            transition: transform 0.3s ease;
            text-align: center;
        }
        /* 鼠标悬浮效果 */
        .service-item:hover {
            transform: translateY(-5px);
        }
        .service-title {
            font-size: 18px;
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 10px;
            text-align: left;
        }
        .service-desc {
            font-size: 14px;
            color: #4a5568;
            line-height: 1.6;
            text-align: left;
        }
.design-own-ring-button {
  display: inline-block;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
    text-transform: uppercase;
    border: none;
  color: #fff;
    background-color: #634033;
}

.design-own-ring-button:hover {
  color: #fff;
    opacity: 0.8;
}

.design-own-ring-image {
  flex: 1;
}

.design-own-ring-image img {
  width: 100%;
  height: auto;
}

/* Responsive styles for Design Your Own Diamond Ring */
@media only screen and (max-width: 992px) {
  .design-own-ring-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  
  .design-own-ring-title {
    font-size: 28px;
  }
  
  .design-own-ring-buttons {
    justify-content: center;
  }
  
  .design-own-ring-image {
    max-width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .design-own-ring-section {
    padding: 0.8rem;
  }
  
  .design-own-ring-title {
    font-size: 24px;
  }
  
  .design-own-ring-description {
    font-size: 0.7rem;
  }
  
  .design-own-ring-button {
    padding: 10px 24px;
    font-size: 14px;
  }
}

@media only screen and (max-width: 480px) {
  .design-own-ring-buttons {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-right: 0;
  }

  .design-own-ring-button {
    width: auto;
    min-width: 140px;
    max-width: 200px;
    font-size: 11px;
    padding: 10px 20px;
    white-space: nowrap;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Gifts page service section button */
  .design-own-ring-image .gifts-service-btn {
    position: absolute;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    width: auto !important;
    min-width: 120px;
    max-width: 160px;
    padding: 8px 16px !important;
    font-size: 10px;
    white-space: nowrap;
  }

  /* Gifts page service section mobile styles */
  .design-own-ring-text {
    padding: 0 !important;
    text-align: center;
  }

  .service-item {
    padding: 12px 0;
    margin-top: 10px;
  }

  .service-title {
    text-align: center;
    font-size: 16px;
  }

  .service-desc {
    text-align: center;
    font-size: 13px;
    padding: 0;
  }
}