/* Custom styles */
.usdt-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}
.d-flex {
    align-items: center; /* 上下居中 */
}
.list-unstyled li{
    margin-bottom: 5px;
}
.zyzts{
    margin-top: 10px;
    color: #d64229;
    font-size: 13px;
}
.main-menu {
    flex-grow: 1;
    text-align: center;
}
.zyycs{
    background: #ff9600;
    color: #fff;
    padding: 0px 4px;
    display: inline-block;
    border-radius: 5px 0 5px 0;
    font-size: 12px;
    margin-right: 5px;
    line-height: 18px;
    position: relative;
    top: -1px;
    font-weight: normal;
}
.service-info-form-box {
    background-color: #37b59e0f;
    padding: 10px;
}
.fwtsa{
    font-size: 14px;
    padding: 5px;
}
.usdt-amount b{
    font-size: 12px;
    font-weight: 500;
}
.mbrtis i{
    margin-right: 5px;
}
.mbrtisa{
    margin-right: 5px;
}
/* 顶部悬浮菜单 */
.site-header.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-gap {
    display: none;
}

.site-header.is-sticky + .header-gap {
    display: block;
}
.language-dropdown div:hover{
    color: #45cba5;
}
.action-hover-menu span{
    font-size: 14px;
}
.cusera span{
    font-size: 14px;
}
.navbar .actions .action-btn {
    margin-right: 10px;
}
.uskbg{
    background: #ffffff;
    padding: 25px;
    border-radius: 4px;
}
/* 商品图片区域 */
.slider-content {
    display: flex;
    gap: 15px;
}

.slider-pager {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80px;
    flex-shrink: 0;
}

.scroll-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin: 5px 0;
    transition: all 0.3s ease;
}
.purchased-notice {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.scroll-btn:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.scroll-btn i {
    font-size: 14px;
    color: #666;
}

.mobile-icon {
    display: none;
}

.thumb-box {
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-y: auto;
    max-height: 350px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumb-box::-webkit-scrollbar {
    display: none;
}

.thumb-box li {
    margin-bottom: 8px;
}

.thumb-box a {
    display: block;
    border: 2px solid transparent;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.thumb-box a:hover,
.thumb-box a.active {
   border-color: #0cbc87;
}

.thumb-box img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}

.image-box {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.image-box img {
    width: 100%;
    height: 100%;
    cursor: zoom-in;
}

/* 价格样式 */
.original-price {
    text-decoration: line-through;
}

.line-through {
    text-decoration: line-through;
}

/* 属性选择 */
.attribute-box {
    margin-bottom: 20px;
}

.attribute-box h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.attribute-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.attribute-option-wrapper {
    display: inline-flex;
    align-items: center;
}

.attribute-option {
    display: none;
}

.attribute-option + label {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.attribute-option:checked + label {
  background: #37b59e;
    color: #fff;
    border-color: #0cbc87;
}

.attribute-option:hover + label {
    border-color: #37b59e;
}

.attribute-price {
    margin-left: 4px;
    font-size: 12px;
    opacity: 0.8;
}
.action-buttons a i{
    margin-right: 5px;
}
.product-price {
    color: #6c6c6c;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(253, 203, 110, 0.05) 50%, rgba(225, 112, 85, 0.05) 100%);
    margin: 5px 0;
    padding: 18px 0 18px 2%;
    position: relative; 
}
 .upper-textsa {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  background: #37b59e24;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 10;
}
.upper-textsa a{
    color: #37b59e;
}
/* 购买按钮 */
.addto-cart-box {
    margin-top: 20px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.quantity-row {
    display: flex;
    align-items: center;
}

.bootstrap-touchspin {
    display: inline-block;
}

.bootstrap-touchspin input {
    width: 60px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px;
}

.bootstrap-touchspin-up,
.bootstrap-touchspin-down {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
}

.theme-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-one {
    background: #ffffff;
    color: #37b59e;
    border: solid 1px #37b59e;
}

.btn-one:hover {
    background: #37b59e;
    color: #fff;
    
}

.btn-two {
    background: #37b59e;
    color: #fff;
}

.btn-two:hover {
    background: #0a966c;
}

.btn-demo {
    background: #f7c32e;
    color: #333;
}

.btn-demo:hover {
    background: #d4a520;
    color: #333;
}

/* 规格参数 */
.specification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specification-list li {
    padding: 10px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
}

.specification-list li strong {
    width: 120px;
    flex-shrink: 0;
    color: #666;
}

.specification-list li span {
    flex: 1;
}

/* 懒加载 */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lazyload.loaded {
    opacity: 1;
}


/* 标签页整体美化 */
.spmusa .nav-tabs {
    border-bottom: none;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px;
    display: flex;
    gap: 6px;
}

/* 每个标签按钮样式 */
.spmusa .nav-tabs .nav-link {
    border: none;
    border-radius: 8px;
    padding: 10px 18px;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    background: transparent;
}

/* 标签悬浮效果 */
.spmusa .nav-tabs .nav-link:hover {
    color: #37b59e;
}

/* 选中标签高亮样式 */
.spmusa .nav-tabs .nav-link.active {
    color: #37b59e;
    font-weight: 600;
}

/* 内容区域美化 */
.tab-content {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}
.mobers{
    margin-bottom: 10px;
}
.product-title {
    font-size: 1.52rem;
    line-height: 1.3em;
}
.action-buttons i{
    margin-right: 5px;
}



/* 轮播图样式 */
.carousel-wrapper {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-container {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.carousel-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
}

.carousel-content {
    position: relative;
    height: 260px;
}

.carousel-imagesa img {
    width: 100%;
    height: 100%;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
}

.carousel-content-left {
    flex: 1;
    color: white;
    z-index: 2;
    margin-left: 25px;
}

.carousel-content-right {
    flex: 0 0 250px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-right: 25px;
}
.carousel-title-wrap {
    display: flex;
    align-items: baseline;    /* 基线对齐，文字底部对齐 */
    gap: 10px;                /* 两者间距 */
    flex-wrap: wrap;          /* 响应式：空间不足时换行 */
}
.carousel-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.carousel-tag {
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: bold;
}


/* 4张图片：2x2网格 */
.small-images-count-4 {
    grid-template-columns: repeat(2, 1fr);
}

/* 5张图片：第一张占2列，其余按2列排列 */
.small-images-count-5 {
    grid-template-columns: repeat(3, 1fr);
}
.small-images-count-5 .small-image-1 {
    grid-column: span 2;
}
.small-images-count-5 .small-image-2,
.small-images-count-5 .small-image-3,
.small-images-count-5 .small-image-4,
.small-images-count-5 .small-image-5 {
    grid-column: span 1;
}

/* 6张图片：2行3列 */
.small-images-count-6 {
    grid-template-columns: repeat(3, 1fr);
}












.carousel-sub-tag {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 4px 12px;
    font-size: 12px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.3);
}

.carousel-title-wrap {
    margin-bottom: 10px;
}

.carousel-title {
    font-size: 28px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
}

.carousel-sub-title {
    font-size: 16px;
    opacity: 0.9;
    margin-left: 10px;
}

.carousel-description {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 600px;
}

.carousel-buttons {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.small-images-grid {
    display: grid;
    gap: 8px;
    width: 100%;
}

.small-image-item {
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}
 .carousel-imagesa{
    height: 100%;
}
.small-image-item img {
    width: 100%;
    object-fit: cover;
}

.small-image-item:hover {
    border-color: #2163e8;
    transform: scale(1.05);
}

.small-images-count-1 {
    grid-template-columns: 1fr;
}

.small-images-count-1 .small-image-item img {
    height: 188px;
}

.small-images-count-2 {
    grid-template-columns: 1fr;
}

.small-images-count-2 .small-image-item img {
    height: 90px;
}

.small-images-count-3 {
    grid-template-columns: repeat(2, 1fr);
}

.small-images-count-3 .small-image-item:first-child {
    grid-row: span 2;
}

.small-images-count-3 .small-image-item:first-child img {
    height: 188px;
}

.small-images-count-3 .small-image-item:not(:first-child) img {
    height: 90px;
}

.small-images-count-4 {
    grid-template-columns: repeat(2, 1fr);
}

.small-images-count-4 .small-image-item img {
    height: 90px;
}

.small-images-count-5 {
    grid-template-columns: repeat(2, 1fr);
}

.small-images-count-5 .small-image-item:first-child {
    grid-column: span 2;
}

.small-images-count-5 .small-image-item:first-child img {
    height: 90px;
}

.small-images-count-5 .small-image-item:not(:first-child) img {
    height: 90px;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(0,0,0,0.7);
}

.carousel-icon {
    font-size: 18px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 30px;
    right: auto;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-indicators button.active {
    background: white;
}
.mtrosd {
    margin-right: 5px;
    border-radius: 4px;
}
 .h5tlties{
     font-size: 14px;
     
    margin-bottom: 0!important;
 }   



/* 商品卡片样式 */
.product-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.product-image {
    position: relative;
    overflow: hidden;
    height: 130px;
}

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

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

.sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc3545;
    color: white;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 4px;
}

.category-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 4px;
    z-index: 2;
}



.product-titlesas a {
      color: #333;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;      /* 必需：隐藏溢出内容 */
    word-break: break-word; /* 推荐：避免长单词撑破布局 */
}

.product-titlesas a:hover {
    color: #37b59e;
}
.btn:hover {
    color: #37b59e;
    background: #37b59e3d;
    border-color: #37b59e;
}
.product-titlesas {
   font-size: 16px;
    margin-bottom: 5px;
    min-height: 2.8em;
    line-height: 1.4;
}
.product-prbtom {
    display: flex;
    align-items: center;      /* 垂直居中 */
    justify-content: space-between;  /* 水平：两端对齐，价格左按钮右 */
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.05) 0%, rgba(253, 203, 110, 0.05) 50%, rgba(225, 112, 85, 0.05) 100%);
}
.product-pricels {
  color: #6c6c6c;
    margin: 5px 0;
    padding: 5px 0 5px 2%;
    position: relative;
}
.product-excerpt {
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.current-price {
    font-size: 18px;
    font-weight: bold;
}

.original-price {
    margin-left: 8px;
}

.sidebar .widget {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
}

.widget-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    color: #333;
    text-decoration: none;
    display: block;
    padding: 5px 0;
}

.category-list a:hover,
.category-list a.active {
    color: #2163e8;
}

.count {
    float: right;
    color: #999;
    font-size: 12px;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 20px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: #2163e8;
    color: white;
    border-color: #2163e8;
}

.price-filter .form-group {
    margin-bottom: 10px;
}

.price-filter label {
    display: block;
    font-size: 12px;
    margin-bottom: 5px;
}

.price-filter input {
    font-size: 12px;
}

.sort-bar {
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-count span {
    font-weight: bold;
    color: #37b59e;
}
.input-group-append button{
    height: 100%;
}
/* 分类标签样式 */
.category-tabs {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.tabs-label {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    flex-shrink: 0;
}

.tabs-group {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.tab-item {
    padding: 6px 16px;
    border: none;
    border-radius: 20px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-item:hover {
    background: #e8f4fd;
    color: #37b59e;
}

.tab-item.active {
    background: #37b59e;
    color: white;
}
.card-body{
    padding: 10px;
}
/* 推荐徽章 */
.recommend-badge {
   position: absolute;
    top: 0;
    left: 0;
    background: #ff9800;
    color: white;
    padding: 2px 5px;
    font-size: 11px;
    border-radius: 4px 0;
}

/* 加载更多按钮 */
.load-more-wrapper {
    padding: 20px 0;
}

.load-more-wrapper .btn {
    padding: 10px 30px;
    border-radius: 25px;
}


/* 分类页面样式 */
.category-header {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.category-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.category-desc {
    font-size: 14px;
}

/* 搜索和筛选模块 */
.filter-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.search-box .input-group {
    width: 100%;
}

.search-box .form-control {
    border-radius: 6px 0 0 6px;
}

.search-box .btn-primary {
    border-radius: 0 6px 6px 0;
}

.tags-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-label {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-item {
    padding: 4px 12px;
    background: #f5f5f5;
    color: #666;
    border-radius: 20px;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover,
.tag-item.active {
    background: #2163e8;
    color: #fff;
    text-decoration: none;
}

/* 列表头部 */
.list-header {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 14px;
    color: #666;
}

.sort-buttons {
    display: flex;
    gap: 5px;
}

.sort-btn {
    padding: 6px 16px;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.sort-btn:hover,
.sort-btn.active {
    background: #37b59e;
    color: #fff;
    text-decoration: none;
}
.form-controls {
    display: block;
    width: 100%;
    padding: .575rem .75rem;
    font-family: none;
    font-size: .9375rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--ri-body-color);
    background-color: var(--ri-form-control-bg);
    background-clip: padding-box;
    border: var(--ri-border-width) solid var(--ri-border-color);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .25rem;
    -webkit-transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}
.form-controls{
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
    border: 1px solid #37b59e;
}
#search-keyword:focus {
    outline: none;
}
/* 分页导航 */
.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-link:hover:not(.disabled) {
    background: #2163e8;
    color: #fff;
}

.page-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 14px;
    color: #666;
    padding: 0 10px;
}

/* 商品网格 */
.product-grid {
    margin: 0 -10px;
}

.product-grid > div {
    padding: 0 10px;
}

/* 底部分页 */
.pagination-bottom {
    margin-top: 30px;
}

.pagination-bottom .pagination {
    justify-content: center;
}

.pagination-bottom .page-numbers {
    padding: 8px 16px;
    margin: 0 4px;
    background: #f5f5f5;
    color: #666;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-bottom .page-numbers:hover,
.pagination-bottom .page-numbers.current {
    background: #2163e8;
    color: #fff;
}

.pagination-bottom .prev,
.pagination-bottom .next {
    padding: 8px 12px;
}

/* 分类展示区域样式 */
.category-section {
    background: #fff;
    border-radius: 8px;
}

.section-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid #2163e8;
}

.category-row {
    margin: 0 -10px;
}

.category-item {
    padding: 0 10px;
}

.category-card {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 8px;

    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;

}

.category-card:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
}

.category-image-wrapper {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    flex-shrink: 0;
}

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
}

.category-image-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
}

.category-content {
    flex-grow: 1;
    min-width: 0;
}

.category-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.category-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.product-list-section{
    margin-bottom: 10px;
}
/* 3列布局调整 */
@media (max-width: 992px) {
    .product-grid .col-lg-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}


@media (max-width: 768px) {
    .product-grid .col-lg-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .mobersa{
        -webkit-box-flex: 0;
        -ms-flex: 0 0 auto;
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .category-title {
    font-size: 13px;
    margin: 0;
}
    .tabs-label {
        display: none;
    }
    .category-image-wrapper {
    width: 30px;
    height: 30px;
}
.category-card {
    padding: 5px;
}
    .carousel-content {
        height: 160px;
    }
    .uskbg {
    margin-top: 0;
    padding: 15px;
}
    .carousel-overlay {
        padding: 20px;
        flex-direction: column;
        justify-content: center;
    }
    
    .carousel-content-right {
        display: none;
    }
    .carousel-content-left {
    margin-left: 0;
    flex: none;
}
    .carousel-title {
        font-size: 16px;
    }
    
    .carousel-sub-title {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 12px;
    }
    .carousel-tags {
    margin-bottom: 10px;
}
    .carousel-description {
        display: none;
    }
    .carousel-prev, .carousel-next {

    width: 25px;
    height: 25px;
}
.category-image-wrapper {

  
    margin-right: 5px;
}
.product-titlesas {
    font-size: 13px;
}
    .carousel-btn {
        padding: 4px 10px;
        font-size: 12px;
    }
    .current-price {
    font-size: 14px;
}
.original-price{
    font-size: 11px;
    margin-left: 1px;
}
  .slider-content {
        flex-direction: column;
    }
    
    .slider-pager {
        flex-direction: row;
        width: 100%;
        order: 2;
    }
    
    .thumb-box {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        max-height: none;
        width: calc(100% - 80px);
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .thumb-box::-webkit-scrollbar {
        display: none;
    }
    
    .thumb-box li {
        margin-right: 8px;
        margin-bottom: 0;
        flex-shrink: 0;  /* 防止缩略图被压缩 */
    }
    
    .desktop-icon {
        display: none;
    }
    
    .mobile-icon {
        display: inline-block;
    }
    
    .image-box {
        order: 1;
    }
    
    .image-box img {
        height: auto;
        max-height: 300px;
    }
    
.attribute-option + label {
    padding: 5px 10px;
    font-size: 12px;
}
.category-desc{
    font-size: 10px;
}
.sort-btn {
    padding: 3px 10px;
    color: #666;
}
.result-count{
    font-size: 12px;
}
.product-image {
    height: 100px;
}
}
/* Service page styles */
.product-attributes {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
}
.product-attributes .attribute-box {
    margin-bottom: 1rem;
}
.product-attributes .attribute-box h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: .5rem;
}
.product-attributes .attribute-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.product-attributes .attribute-list li {
    margin-right: .75rem;
    margin-bottom: .5rem;
}
.product-attributes .attribute-option-wrapper {
    position: relative;
}
.product-attributes .attribute-option-wrapper input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.product-attributes .attribute-option-wrapper label {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    margin-bottom: 0;
    background: #fff;
}
.product-attributes .attribute-option-wrapper label:hover {
    border-color: #0cbc87;
    background: #f8f9ff;
}
.product-attributes .attribute-option-wrapper input[type="radio"]:checked + label {
    border-color: #0cbc87;
    background: #0cbc87;
    color: #fff;
}
.product-attributes .attribute-option-wrapper .attribute-price {
    font-size: 0.85rem;
    margin-left: 5px;
    opacity: 0.8;
}
.service-info-form-box {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.25rem;
}
.service-info-form-box .info-form-header {
    padding-bottom: .75rem;
    border-bottom: 1px solid #e9ecef;
}
.service-info-form-box .form-group {
    margin-bottom: 1rem;
}
.service-info-form-box .form-group > label {
    font-weight: 600;
    color: #333;
    margin-bottom: .25rem;
}
.service-info-form-box .form-text {
    font-size: 0.85rem;
    color: #6c757d;
}
.service-info-form-box .form-control {
    display: block;
    width: 100%;
    padding: .5rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.service-info-form-box .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    outline: none;
}
.service-info-form-box textarea.form-control {
    resize: vertical;
    min-height: 80px;
}
.service-info-form-box .form-control-file {
    display: block;
    width: 100%;
    padding: .375rem 0;
}
.service-info-form-box .info-field-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.service-info-form-box .info-field-option {
    position: relative;
}
.service-info-form-box .info-field-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.service-info-form-box .info-field-option label {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    margin-bottom: 0;
    background: #fff;
}
.service-info-form-box .info-field-option label:hover {
    border-color: #007bff;
    background: #f8f9ff;
}
.service-info-form-box .info-field-option input[type="radio"]:checked + label {
    border-color: #007bff;
    background: #007bff;
    color: #fff;
}
.service-info-form-box .info-field-option .option-price {
    font-size: 0.85rem;
    margin-left: 5px;
    opacity: 0.8;
}
.service-info-form-box .info-field-input {
    margin-top: .5rem;
}
.service-info-form-box .btn-block {
    display: block;
    width: 100%;
}
.service-info-form-box .form-group.form-submit-row,
.form-group.form-submit-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0 !important;
    flex-direction: row !important;
}

.service-info-form-box .form-group.form-submit-row > div,
.form-group.form-submit-row > div {
    flex-shrink: 0;
}

.service-info-form-box .form-group.form-submit-row > button,
.form-group.form-submit-row > button {
    flex-shrink: 0;
    margin-left: auto;
}
/* Total price display */
.service-info-form-box .total-price-inline,
.total-price-inline {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background-color: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
}

.service-info-form-box .total-price-inline .total-label,
.total-price-inline .total-label {
    font-weight: 600;
    color: #856404;
    margin-right: 0.25rem;
}

.service-info-form-box .total-price-inline .total-amount,
.total-price-inline .total-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #d32f2f;
}

/* Submit button */
.service-info-form-box .service-submit-btn,
.service-submit-btn {
	flex: 1;
	min-width: 150px;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
}

/* 搜索结果不同类型的样式 */
.service-item {
	border: 2px solid #0d6efd;
	border-radius: 8px;
}

.service-item .entry-wrapper {
	padding: 1rem;
}

.product-item {
	border: 2px solid #198754;
	border-radius: 8px;
}

.product-item .entry-wrapper {
	padding: 1rem;
}

.service-price {
	font-size: 1.25rem;
	font-weight: 700;
}

.service-price .current-price {
	font-size: 1.25rem;
}

.service-price .original-price {
	font-size: 0.9rem;
}

.product-price-display {
	font-size: 1.25rem;
	font-weight: 700;
}

/* 商品/服务卡片样式 - 用于短代码 */
.ripro-product-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    transition: transform .2s, box-shadow .2s;
    border: 1px solid #eee;
}
.ripro-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.ripro-product-card .product-image {
    position: relative;
    width: 200px;
    min-height: 150px;
    flex-shrink: 0;
}
.ripro-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ripro-product-card .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2271b1;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}
.ripro-product-card .product-content {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
}
.ripro-product-card .product-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
}
.ripro-product-card .product-title a {
    color: #333;
    text-decoration: none;
}
.ripro-product-card .product-title a:hover {
    color: #2271b1;
}
.ripro-product-card .product-excerpt {
    color: #666;
    font-size: 13px;
    margin: 0 0 10px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ripro-product-card .product-meta {
    color: #999;
    font-size: 12px;
    margin-bottom: 10px;
}
.ripro-product-card .product-meta span {
    margin-right: 15px;
}
.ripro-product-card .product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.ripro-product-card .product-footer .product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    background: none;
    padding: 0;
    margin: 0;
}
.ripro-product-card .product-footer .current-price {
    color: #e74c3c;
    font-size: 18px;
    font-weight: 600;
}
.ripro-product-card .product-footer .original-price {
    color: #999;
    font-size: 13px;
}
.ripro-product-card .product-footer .free-price {
    color: #27ae60;
    font-size: 16px;
    font-weight: 600;
}
.ripro-service-card .product-badge {
    background: #27ae60 !important;
}
@media (max-width: 480px) {
    .ripro-product-card {
        flex-direction: column;
    }
    .ripro-product-card .product-image {
        width: 100%;
        height: 150px;
    }
}

