.container {
    max-width: 1920px !important;
   
}

/* 移动端导航栏优化 */
@media (max-width: 768px) {
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        padding: 8px 0;
    }

    .logo-container {
        margin-bottom: 0;
    }

    .logo-container img {
        height: 30px;
    }

    .logo-text {
        font-size: 16px;
    }

    .search-language-container {
        display: none;
    }

    /* 内容区域适配固定导航栏 */
    .product-section {
        margin-top: 46px;  /* 导航栏高度 */
    }

    /* 轮播图优化 */
    .gallery-container {
        height: calc(100vw * 0.8);  /* 保持4:5比例 */
        max-height: 450px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        width: 30px;
        height: 30px;
        background: rgba(255,255,255,0.8);
        border-radius: 50%;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 16px;
        color: #666;
    }

    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }

    /* 商品信息区块间距优化 */
    .product-info {
        margin-bottom: 10px;
    }

    /* 底部按钮组优化 */
    .action-buttons {
        height: 50px;
        padding: 6px 12px;
        gap: 8px;
    }

    .btn-favorite {
        position: relative;
        height: 38px;
    }

    .btn-favorite.active {
        color: #d95517;
        background: transparent;
    }

    .btn-favorite.active i {
        color: #d95517;
    }

    .btn-cart,
    .btn-buy {
        height: 38px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-cart i,
    .btn-buy i {
        margin-right: 4px;
        font-size: 16px;
    }

    /* 页脚优化 */
    .footer {
        margin-bottom: 50px;  /* 为固定底部按钮留出空间 */
        padding-bottom: 0;
    }

    .footer-top {
        padding: 20px 15px;
    }

    .footer-column {
        margin-bottom: 15px;
    }

    .footer-column h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .footer-links li a {
        font-size: 12px;
        line-height: 1.8;
    }
}

/* 小屏幕手机额外优化 */
@media (max-width: 320px) {
    .gallery-container {
        height: 280px;
    }

    .product-title {
        font-size: 15px;
    }

    .product-price {
        font-size: 20px;
    }

    .btn-cart,
    .btn-buy {
        font-size: 12px;
    }

    .btn-favorite {
        font-size: 10px;
    }

    .btn-favorite i {
        font-size: 18px;
    }
}

body {
    margin: 0;
    padding: 0;
    min-width: 320px;
}
.container {
    max-width: 1920px !important;
   
}
.navbar {
    padding: 40px 0;
    background-color: #fff;
    width: 100%;
}
.logo-container {
    display: flex;
    align-items: center;
}
.logo-container img {
    height: 100px;
}
.logo-text {
    font-size: 24px;
    margin-left: 15px;
    color: #000;
    text-decoration: none;
    font-weight: 200;
}
.search-box {
    position: relative;
    width: 20%;
    margin-left: auto;
    margin-top: 10px;
    margin-right: 30px;
}
.search-language-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
}
@media (max-width: 992px) {
    .search-box {
        width: 80%;
        margin: 30px auto;
    }
}
.search-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid #000;
    padding: 0px 40px 10px 0px;
    outline: none;
    font-size: 22px;
    font-weight: 200;
    line-height: 1;
    display: block;
}
.search-input::placeholder {
    color: #000;
    opacity: 1;
}
.search-input:-ms-input-placeholder {
    color: #000;
    opacity: 1;
}
.search-input::-ms-input-placeholder {
    color: #000;
    opacity: 1;
}
.search-icon {
    position: absolute;
    right: 5px;
    bottom: 5px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    transform: none;
}
.language-login {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: 0;
    font-size: 20px;
    text-align: right;
    line-height: 1;
    color: #000;
}
@media (max-width: 992px) {
    .language-login {
        text-align: center;
        margin-top: 20px;
        font-size: 18px;
    }
}
.divider {
    margin: 0 30px;
    color: #000;
}
.globe-icon {
    width: 45px;
    height: 45px;
    vertical-align: middle;
    position: relative;
  
}
.language-login span {
    cursor: pointer;
}
.login-register {
    background-color: #f5f5f5;
    padding: 12px 20px;
    border-radius: 4px;
    display: inline-block;
    line-height: 1;
    font-weight: 200;
    color: #000;
}
.login-register span {
    color: #000;
}
.language {
    font-weight: 200;
    font-size: 20px;
    vertical-align: middle;
    color: #000;
}
@media (max-width: 768px) {
    .navbar {
        padding: 15px 10px;
    }
    .navbar > .container {
        padding: 0;
    }
   
    .row {
        margin: 0;
        flex-wrap: nowrap;
    }
    .col-12 {
        width: auto;
        padding: 0;
        flex: none;
    }
    .logo-container {
        display: flex;
        align-items: center;
    }
    .logo-container img {
        height: 45px;
    }
    .logo-text {
        font-size: 12px;
        margin-left: 8px;
    }
    .search-box {
        width: 85px;
        margin: 0;
        margin-right: 10px;
        display: flex;
        align-items: center;
        /* margin-left: 70px; */
    }
    .search-input {
        font-size: 12px;
        padding-right: 20px;
        padding-bottom: 5px;
        margin-top: 0;
    }
    .search-icon {
        width: 16px;
        height: 16px;
        right: 0;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }
    .language-login {
        margin: 0;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }
    .login-register {
        margin: 0;
        padding: 5px 12px;
        font-size: 12px;
        display: flex;
        align-items: center;
        border-radius: 0;
    }
    .language-selector,
    .divider {
        display: none;
    }
}



.footer {
    background-color: #f5f5f5;
    padding: 60px 30px 30px;
    color: #666;
    margin-top: 30px;   
    }
    
    .footer-top {
    width: 100%;
    padding: 0 0 50px;
    }
    
    .footer-top [class*="col-"] {
    padding: 0 30px;
    }
    .footer h3 {
    font-size: 25px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
    }
    .footer-links {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    }
    .footer-links:last-child {
    margin-bottom: 0;
    }
    .footer-links li {
    margin-bottom: 15px;
    }
    .footer-links li:last-child {
    margin-bottom: 0;
    }
    .footer-links a {
    color: #666;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
    }
    .footer-links a:hover {
    color: #333;
    }
    .footer-logo {
    width: 160px;
    height: auto;
    margin: 0;
    }
    @media (max-width: 768px) {
    .footer-logo {
        width: 130px;
    }
    .footer-links {
        margin-bottom: 15px;
    }
    }
    .footer-column.work-time {
    margin-bottom: 0;
    flex: 1;
    }
    .footer-column {
    margin-bottom: 40px;
    }
    .footer-column:last-child {
    margin-bottom: 0;
    }
    .footer-bottom-wrapper {
    padding-top: 30px;
    }
    .footer-ads-section {
    margin-bottom: 30px;
    text-align: center;
    }
    .footer-ads {
    display: flex;
    justify-content: right;
    gap: 30px;
    position: static;
    }
    .footer-text-section {
    padding: 20px 0;
    text-align: center;
    border: none;
    }
    .footer-text-section p {
    margin: 0;
    line-height: 2;
    text-align: center;
    }
    @media (max-width: 768px) {
    .footer {
        display: none;
        padding: 20px 15px;
       background-color: #fff;
    }
 
    .footer-bottom-wrapper {
        padding-top: 0;
    }
    .footer-ads-section {
        display: none;
    }
    .footer-text-section {
        padding: 0;
    }
    .footer-text-section p {
        font-size: 12px;
        color: #333;
        margin: 5px 0;
    }
    /* 调整底部padding，为固定导航留出空间 */
    body {
        padding-bottom: 45px;
    }
    }
    .footer-bottom {
    width: 100%;
    margin: 30px auto 0;
    text-align: center;
    padding: 0;
    position: relative;
    }
    .footer-bottom {
    padding: 15px 0;
    text-align: center;
    color: #333;
    }
    .footer-bottom p {
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    }
    .footer-bottom a {
    color: #333;
    text-decoration: none;
    }
    .footer-bottom a:hover {
    opacity: 0.8;
    }
    .footer-ads img {
    width: 130px;
    height: auto;
    transition: opacity 0.3s;
    }
    .footer-ads img:hover {
    opacity: 0.8;
    }
    
    @media (max-width: 768px) {
    
    .footer .container {
        padding: 0 20px;
    }
    .footer-top {
        padding: 0 0 30px;
    }
    .footer-top .row {
        flex-wrap: wrap;
    }
    .footer-top [class*="col-"] {
        padding: 0 15px;
    }
    .footer h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    .footer-links a {
        font-size: 16px;
    }
    .footer-links li {
        margin-bottom: 12px;
    }
    .footer-column {
        margin-bottom: 30px;
    }
    .footer-logo {
        width: 130px;
        margin: 20px 0;
    }
    .footer-bottom {
        padding: 20px 0 0;
        margin-top: 20px;
    }
    .footer-ads {
        position: static;
        justify-content: center;
        margin: 0 0 20px;
    }
    .footer-ads img {
        width: 100px;
    }
    .footer-column.work-time {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .footer-column.work-time .work-time-row {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .footer-column.work-time h3 {
        margin: 0;
        white-space: nowrap;
    }
    .footer-column.work-time .footer-links:first-child {
        margin: 0;
    }
    .d-flex.align-items-start {
        flex-direction: column;
    }
    .ms-4 {
        margin-left: 0 !important;
        margin-top: 20px;
    }
    .footer-top .col-md-5 {
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-top .col-md-7 {
        width: 100%;
    }
    .footer-top .col-md-7 .row {
        margin: 0 -10px;
    }
    .footer-top .col-md-7 [class*="col-"] {
        padding: 15px 10px;
    }
}



    
/* 商品详情区域 */
.product-section {
    padding-top: 40px;
    background: #fff;
  
}

.product-container {
    width: 65%;
    background: #fff;
    margin: auto;
  
}

/* 轮播图样式 */
.gallery-container {
    width: 100%;
   
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.gallery-container .swiper-slide {
    width: 100%;
    height: 100%;
}

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

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    color: #333;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
}

.swiper-pagination-bullet-active {
    background: #d95517;
}

/* 商品信息 */
.product-info {
    padding-left: 30px;
}

.product-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    font-weight: 500;
    line-height: 1.4;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-size: 24px;
    color: #d95517;
    font-weight: bold;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

/* 移动端价格样式 */
@media (max-width: 767.98px) {
    .mobile-layout .current-price {
        font-size: 20px;
    }

    .mobile-layout .original-price {
        font-size: 13px;
    }
}

/* 数量选择器 */
.quantity-wrapper {
    margin: 20px 0;
}

.quantity-label {
    display: block;
    margin-bottom: 10px;
    color: #666;
}

.quantity-controls {
    display: inline-flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.quantity-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    color: #666;
    cursor: pointer;
    transition: all 0.3s;
}

.quantity-btn:hover {
    background: #e5e5e5;
}

.quantity-input {
    width: 60px;
    height: 36px;
    border: none;
    text-align: center;
    font-size: 16px;
}

/* 操作按钮 */
.action-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
    flex-wrap: wrap;
}

a {
    text-decoration: none;
    color: inherit;
}

.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.btn-favorite,
.btn-cart,
.btn-buy,
.btn-share {
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    gap:5px;
}

.btn-favorite {
    background-color: #fff;
    border: 1px solid #ccc;
    color: #666;
}

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

.btn-buy {
    background-color: #d95517;
    border: none;
    color: #fff;
}

.btn-cart:hover {
    background-color: #d95517;
    color: #fff;
}

.btn-buy:hover {
    background-color: #c24813;
}

.btn-favorite:hover {
    background-color: #f5f5f5;
}



/* 商品描述 */
.product-description {
   margin-top: 30px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.description-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 500;
}

.product-info-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.product-info-list li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
}

.product-info-list li i {
    margin-right: 10px;
    color: #d95517;
    font-size: 16px;
}

/* Swiper样式覆盖 */
.swiper-button-next,
.swiper-button-prev {
    color: #d95517;
}

.swiper-pagination-bullet-active {
    background: #d95517;
}

/* 移动端样式 */
@media (max-width: 767.98px) {
    .product-container {
        width: 100%;
        background: #fff;
        margin: auto;
      
    }
   

    .mobile-layout .gallery-container {
        width: 100%;
        height: auto; 
        max-height: 500px;
        margin: 0;
    }

    .mobile-layout .swiper-button-next,
    .mobile-layout .swiper-button-prev {
        display: none;
    }

    .mobile-layout .product-info {
        padding: 15px;
        background: #fff;
    }

    .mobile-layout .price-favorite-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 12px;
    }

    .mobile-layout .product-price {
        font-size: 24px;
        color: #d95517;
        font-weight: bold;
        margin: 0;
    }

    .mobile-layout .btn-favorite {
        background: transparent;
        border: none;
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #666;
    }
    .mobile-layout .btn-share {
        background: transparent;
        border: none;
        padding: 8px;
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #666;
    }

    .mobile-layout .btn-favorite i {
        font-size: 20px;
        margin-bottom: 4px;
    }

    .mobile-layout .btn-favorite span {
        font-size: 12px;
    }
    .mobile-layout .btn-share span {
        font-size: 12px;
    }

    .mobile-layout .btn-favorite.active {
        color: #d95517;
    }

    .mobile-layout .product-title {
        font-size: 16px;
        line-height: 1.4;
        margin: 0 0 15px;
        color: #333;
    }

    .mobile-layout .product-description {
        background: #f9f9f9;
        padding: 15px;
        border-radius: 8px;
        margin-top: 15px;
    }

    .mobile-layout .product-info-list {
        margin: 0;
        padding: 0;
    }

    .mobile-layout .product-info-list li {
        font-size: 13px;
        color: #666;
        margin-bottom: 8px;
    }

    /* 底部导航栏 */
    .mobile-bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 50px;
        background: #fff;
        display: flex;
        align-items: center;
        padding: 0 10px;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
        z-index: 1000;
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: #666;
        text-decoration: none;
        padding: 0 12px;
        font-size: 12px;
    }

    .mobile-bottom-nav .nav-item i {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .mobile-bottom-nav .btn-cart,
    .mobile-bottom-nav .btn-buy {
        flex: 1;
        height: 36px;
        margin-left: 10px;
        border: none;
        border-radius: 18px;
        font-size: 14px;
        color: #fff;
    }

    .mobile-bottom-nav .btn-cart {
        background: #ff9800;
    }

    .mobile-bottom-nav .btn-buy {
        background: #d95517;
    }
}

/* 更小屏幕的优化 */
@media (max-width: 320px) {
    .mobile-layout .product-title {
        font-size: 15px;
    }

    .mobile-layout .product-price {
        font-size: 20px;
    }

    .mobile-bottom-nav .nav-item {
        padding: 0 8px;
        font-size: 11px;
    }

    .mobile-bottom-nav .btn-cart,
    .mobile-bottom-nav .btn-buy {
        font-size: 13px;
    }
}

.btn-link {
    color: #666;
    text-decoration: none;
    padding: 8px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: #333;
    background-color: #f5f5f5;
    border-color: #ccc;
}

.btn-link i {
    font-size: 14px;
}