/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F7FA;
}

a{
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 32px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    display: flex;
    align-items: center;
    padding: 15px 0;
    gap: 30px;
}

.logo img {
    width: 220px;
}

.head-detailty{
    padding: 12px 16px;
    background: #005bff;
    border-radius: 8px;
    cursor: pointer;
    position: relative;
    user-select: none;
}
.head-detailty .icon{
    display: flex;
    justify-content: center;
    align-items: center;
}
.head-detailty .icon img{
    margin-right: 8px;
}
.head-detailty .icon span{
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 24px;
    color: #fff;
}

.head-detailty .detailty-all{
    width: 300px;
    padding: 15px;
    background: #fff;
    overflow-y: auto;
    height: 500px;
    position: absolute;
    left: 0;
    top: 100%;
    border-radius: 16px;
    z-index: 10;
}

.head-detailty .detailty-all ul li{
    padding: 10px 8px;
    display: block;
    border-radius: 12px;
}

.head-detailty .detailty-all ul li a{
    font-size: 16px;
    color: #070707;
}

.head-detailty .detailty-all ul li:hover{
    background: #F5F7FA;
}
.head-detailty .detailty-all ul li:hover a{
    color: #005bff;
}


.search-bar {
    display: block;
    flex: 1;
    max-width: 600px;
}
.search-bar form{
    display: flex !important;
    width: 100%;
}

.search-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #005bff;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    padding: 12px 30px;
    background: #005bff;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-weight: 500;
}

.header-actions {
    width: 15%;
    display: flex;
    justify-content: right;
    align-items: center;
    gap: 20px;
    position: relative;
}

.header-actions .cart-num{
    position: absolute;
    top: -5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    line-height: 16px;
    background: #F1117E;
}


.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 12px;
}

.action-item img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
}

.header-actions #nav-switch{
    display: flex;
    padding: 8px;
    border: 1px solid #005bff;
    border-radius: 8px;
    display: none;
}

/* Navigation */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    padding: 15px 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.main-nav a:hover {
    color: #005bff;
}


.header .hidden{
    display: block !important;
}

/* Hero Banner */
.hero-banner {
    width: 100%;
    height: 350px;
    padding: 20px 0;
}

.hero-banner .container{
    height: 100%;
}

.swiper-banner {
    width: 100%;
    height: 100%;
    position: relative;
}

.swiper-recommend {
    overflow: hidden; /* 必须的 */
    width: 100%;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

/* Categories */
.categories h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
}

.brands-recommend {
    overflow:hidden;
    width:100%;
}

.category-item {
    user-select: none;
    text-align: center;
    border-radius: 12px;
    transition: transform 0.2s;
}

.category-item:hover {
    transform: translateY(-2px);
}

.category-item img {
    width: 100%;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 8px;
}

.category-recommend img{
    margin-bottom: 0;
}

.category-item span {
    display: block;
    font-weight: 500;
    color: #333;
}

/* Products */
.featured-products {
    padding: 40px 0;
}

.featured-products h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card img{
    width: 100% ;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover{
    transform: translateY(-2px);
}

.product-info .price{
    margin-bottom: 6px;
}
.product-info .price span{
    font-size: 20px;
    color: #005bff;
}

.product-info .price span:nth-child(2){
    color: #99a3ae;
    font-size: 14px;
    margin-left: 4px;
    text-decoration: line-through;
}

.product-info .price span:nth-child(3){
    color: #F1117E;
    font-size: 14px;
}

.rating {
    color: #ffa500;
    margin-bottom: 15px;
    font-size: 14px;
}

.add-to-cart {
    display: block;
    width: 100%;
    padding: 6px;
    background: #005bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.add-to-cart:hover {
    background: #004ecc;
}

/* Promo Banner */
.promo-banner img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.promo-banner .banner-ad{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Footer */
.footer {
    background: #F5F7FA;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer .container{
    background: #F5F7FA;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #333;
    font-size: 16px;
}

.footer-section p{
    font-size: 14px;
    color: #666666;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.footer-section a:hover {
    color: #005bff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #005bff;
    font-weight: 500;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 14px;
}



.breadcrumbs {
    background: #f8f9fa;
    padding: 12px 0;
    font-size: 14px;
}

.breadcrumbs nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #005bff;
}

.breadcrumbs span {
    color: #999;
}

.recommend span{
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 36px;
}

.recommend-brand{
    margin-top: 20px;
}

/* Category Page */
.category-page {
    padding: 24px 0;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.products-count {
    color: #666;
    font-size: 14px;
}

.category-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 190px;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.filters-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.clear-filters {
    background: none;
    border: none;
    color: #005bff;
    cursor: pointer;
    font-size: 14px;
}

.clear-filters:hover {
    text-decoration: underline;
}

.filter-group {
    height: 380px;
    overflow-y: auto;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.filter-group span{
    display: block;
    transition: all .4s;
    padding: 4px 10px;
}
.filter-group span a {
    font-size: 14px;
    color: #333;
}
.filter-group span:hover{
    background: #f1f1f1;
}
.filter-group span.active{
    background: #f1f1f1;
}
.filter-group span.active a{
    color: #333;
}

.filter-group

/* Products Section */
.products-section {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.sorting {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.view-options {
    display: flex;
    gap: 8px;
}

.view-btn {
    padding: 8px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
}

.view-btn.active {
    background: #005bff;
    border-color: #005bff;
}

.view-btn.active img {
    filter: brightness(0) invert(1);
}

/* Category-all Grid */
.category-all .products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

/* Products Grid */
.category-page .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.product-image {
    position: relative;
    margin-bottom: 12px;
}

.product-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
}

.wishlist-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 16px;
}

.product-badges {
    position: absolute;
    top: 8px;
    left: 8px;
}

.discount-badge {
    background: #ff3b30;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.product-info h3 {
    width:100%;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333333;
    line-height: 1.4;
    height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-all .product-info h3{
    font-size: 18px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
}

.price-section {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.discount {
    background: #ff3b30;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.stars {
    color: #ffa500;
    font-size: 12px;
}

.reviews {
    font-size: 12px;
    color: #666;
}

.product-features {
    margin-bottom: 12px;
}

.feature {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.add-to-cart-btn {
    width: 100%;
    padding: 12px;
    background: #005bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background: #004ecc;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination .page-item {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.pagination .page-item span{
    color: #fff;
}

.pagination .disabled span{
    color: #1010104d;
    line-height: normal;
}

.pagination .page-item a{
    color: #000000;
    line-height: normal;
}

.pagination .page-item:hover {
    border-color: #005bff;
    color: #005bff;
}

.pagination .page-item.active {
    background: #005bff;
    color: white;
    border-color: #005bff;
}

.pagination .page-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-dots {
    padding: 8px 4px;
    color: #999;
}

/* product-style */
/* Product Page */
.product-page {
    padding: 24px 0;
}

.product-content {
    display: grid;
    grid-template-columns: 400px 1fr 300px;
    gap: 24px;
    margin-bottom: 40px;
}

/* Product Gallery */
.product-gallery {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.main-image {
    margin-bottom: 16px;
}

.main-image img {
    width: 100%;
    height: 400px;
    object-fit: contain;
    border-radius: 8px;
}

.thumbnail-gallery {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0;
}

.thumbnail {
    width: 70px;
    height: 70px;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.thumbnail.active {
    border-color: #005bff;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

/* Product Info */
.product-info {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.product-header {
    margin-bottom: 16px;
}

.product-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-sku {
    color: #666;
    font-size: 14px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stars {
    color: #ffa500;
    font-size: 16px;
}

.rating-value {
    font-weight: 600;
    color: #333;
}

.reviews-count a,
.questions-count a {
    color: #005bff;
    text-decoration: none;
    font-size: 14px;
}

.reviews-count a:hover,
.questions-count a:hover {
    text-decoration: underline;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.old-price {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.discount {
    background: #ff3b30;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}

.product-features {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.feature-item {
    display: flex;
    margin-bottom: 12px;
}

.feature-label {
    width: 100px;
    color: #666;
    font-size: 14px;
}

.feature-value {
    font-weight: 500;
    color: #333;
}

.delivery-info {
    margin-bottom: 24px;
}

.delivery-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-text {
    display: flex;
    flex-direction: column;
}

.delivery-text strong {
    font-weight: 600;
    color: #333;
}

.delivery-text span {
    font-size: 14px;
    color: #666;
}

.purchase-options {
    margin-bottom: 24px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.quantity-input {
    outline: none;
    width: 50px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
}

.action-buttons {
    display: flex;
    gap: 12px;
}

.add-to-cart-btn,
.buy-now-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
}

.add-to-cart-btn {
    background: #005bff;
    color: white;
}

.add-to-cart-btn:hover {
    background: #004ecc;
}

.buy-now-btn {
    background: #ff3b30;
    color: white;
}

.buy-now-btn:hover {
    background: #e0352b;
}

.wishlist-btn {
    width: 48px;
    height: 48px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
}

.wishlist-btn:hover {
    border-color: #005bff;
    color: #005bff;
}

.product-seller {
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.seller-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.seller-rating {
    color: #ffa500;
    font-weight: 600;
}

.seller-link {
    color: #005bff;
    text-decoration: none;
    font-size: 14px;
}

.seller-link:hover {
    text-decoration: underline;
}

/* Product Sidebar */
.product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.sidebar-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 16px;
}

.quick-order-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-order-form input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.quick-order-form button {
    padding: 12px;
    background: #005bff;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.ozon-card-btn,
.installment-btn {
    width: 100%;
    padding: 12px;
    border: 1px solid #005bff;
    background: #fff;
    color: #005bff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.ozon-card-btn:hover,
.installment-btn:hover {
    background: #005bff;
    color: white;
}

/* Product Tabs */
.product-tabs {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 24px;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #005bff;
    border-bottom-color: #005bff;
    font-weight: 600;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.tab-pane h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.tab-pane h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px;
    color: #333;
}

.tab-pane p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.tab-pane ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.tab-pane li {
    margin-bottom: 8px;
}

.specs-table {
    display: grid;
    gap: 12px;
}

.spec-row {
    display: grid;
    grid-template-columns: 200px 1fr;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.spec-name {
    color: #666;
    font-size: 14px;
}

.spec-value {
    color: #333;
    font-weight: 500;
}

.reviews-summary {
    margin-bottom: 24px;
}

.average-rating {
    display: flex;
    align-items: center;
    gap: 12px;
}

.average-rating .rating {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.average-rating .stars {
    font-size: 18px;
}

.total-reviews {
    color: #666;
    font-size: 14px;
}

/* Related Products */
.related-products {
    margin-bottom: 40px;
}

.related-products h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.related-item img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 6px;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.related-price {
    font-size: 16px;
    font-weight: 600;
    color: #005bff;
}


/*cart-style*/
.cart-page {
    padding: 24px 0;
}

.cart-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.items-count {
    color: #666;
    font-size: 16px;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
}

.title-tips{
    text-align: center;
}

/* Cart Items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 100px 1fr auto;
    gap: 16px;
    align-items: start;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.item-checkbox {
    display: flex;
    align-items: flex-start;
    padding-top: 4px;
}

.item-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.item-image {
    width: 100px;
    height: 100px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-title a{
    font-size: 16px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.item-seller {
    font-size: 14px;
    color: #666;
}

.item-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature {
    background: #f8f9fa;
    color: #666;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.item-actions {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: #005bff;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.action-btn:hover {
    text-decoration: underline;
}

.item-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.price-container {
    text-align: right;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-top: 2px;
}

.discount {
    background: #ff3b30;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
    display: inline-block;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-controls form{
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-3px);
}

.quantity-controls form .quantity-btn{
    transform: translateY(0px);
}

.quantity-input {
    outline: none;
    width: 40px;
    height: 32px;
    border: none;
    text-align: center;
    font-size: 14px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

/* Delivery Info */
.delivery-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.delivery-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.delivery-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.delivery-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-option {
    display: flex;
    align-items: center;
}

.delivery-option input[type="radio"] {
    margin-right: 12px;
}

.delivery-option label {
    display: flex;
    flex-direction: column;
    gap: 2px;
    cursor: pointer;
    flex: 1;
}

.option-title {
    font-weight: 500;
    color: #333;
}

.option-date {
    font-size: 14px;
    color: #666;
}

.option-price {
    font-size: 14px;
    color: #28a745;
    font-weight: 500;
}

/* Order Summary */
.order-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.summary-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.discount {
    color: #28a745;
}

.summary-row.delivery {
    color: #28a745;
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin: 8px 0;
    border-top: 2px solid #e0e0e0;
    font-size: 18px;
    font-weight: 700;
}

.total-price {
    color: #005bff;
    font-size: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #005bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 16px 0;
    transition: background 0.2s;
}

.checkout-btn:hover {
    background: #004ecc;
}

.bonus-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #fff8e6;
    border-radius: 6px;
    margin: 12px 0;
    font-size: 14px;
}

.secure-payment {
    text-align: center;
    padding: 8px;
    color: #666;
    font-size: 14px;
}

.promo-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.promo-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.promo-input-group {
    display: flex;
    gap: 8px;
}

.promo-input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
}

.promo-btn {
    padding: 12px 16px;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.promo-btn:hover {
    background: #e9ecef;
}

.benefits-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.benefits-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 6px 0;
    font-size: 14px;
    color: #666;
}

/* Recently Viewed */
.recently-viewed {
    margin-top: 40px;
}

.recently-viewed h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #333;
}

/* .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
} */

.product-card {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

/* .product-card img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 6px;
} */

.product-info h4 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.product-info .price {
    font-size: 16px;
    font-weight: 600;
    color: #005bff;
    white-space: nowrap;
}


/*checkout-style*/
.checkout-page {
    padding: 24px 0 40px;
}

.checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.checkout-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
}

.order-summary-mobile {
    display: none;
    flex-direction: column;
    align-items: flex-end;
}

.total-price {
    font-size: 20px;
    font-weight: 700;
    color: #005bff;
}

.items-count {
    font-size: 14px;
    color: #666;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 24px;
}

/* Checkout Forms */
.checkout-forms {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkout-section {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.section-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e0e0e0;
}

.section-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.section-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #005bff;
    box-shadow: 0 0 0 3px rgba(0, 91, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Delivery Options */
.delivery-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.delivery-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.delivery-option input[type="radio"] {
    margin-right: 12px;
}

.delivery-option:has(input:checked) {
    border-color: #005bff;
    background: #f8faff;
}

.option-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.option-title {
    font-weight: 500;
    color: #333;
}

.option-price {
    color: #28a745;
    font-weight: 600;
}

.option-date {
    font-size: 14px;
    color: #666;
}

.option-address {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.payment-option input[type="radio"] {
    margin-right: 12px;
}

.payment-option:has(input:checked) {
    border-color: #005bff;
    background: #f8faff;
}

.payment-option .option-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-icon {
    font-size: 24px;
    width: 40px;
    text-align: center;
}

.payment-cards {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

.payment-cards img {
    height: 24px;
    object-fit: contain;
}

/* Card Details */
.card-details {
    margin-top: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Order Summary */
.order-summary {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.summary-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.order-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 6px;
}

.item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.item-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
}

.item-quantity {
    font-size: 12px;
    color: #666;
}

.item-price {
    font-weight: 600;
    color: #333;
}

.summary-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 16px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.summary-row.discount {
    color: #28a745;
}

.summary-row.delivery {
    color: #28a745;
    font-weight: 500;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    margin: 8px 0;
    border-top: 2px solid #e0e0e0;
    font-size: 18px;
    font-weight: 700;
}

.total-price {
    color: #005bff;
    font-size: 20px;
}

.bonus-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: #fff8e6;
    border-radius: 6px;
    margin: 16px 0;
    font-size: 14px;
}

.place-order-btn {
    width: 100%;
    padding: 16px;
    background: #005bff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 16px;
}

.place-order-btn:hover {
    background: #004ecc;
}

.agreement {
    margin-bottom: 16px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
}

.checkbox-label a {
    color: #005bff;
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.secure-payment {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    color: #666;
    font-size: 14px;
}

/* Support Card */
.support-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.support-card h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.support-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 12px;
}

.support-phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #005bff;
    text-decoration: none;
    margin-bottom: 4px;
}

.support-hours {
    color: #666;
    font-size: 14px;
}


/*help-page-css*/
.help-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.content-card h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #222;
}

.content-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #222;
}

.content-card h3 {
    font-size: 20px;
    margin: 20px 0 12px;
    color: #333;
}

.content-card p {
    margin-bottom: 15px;
    font-size: 16px;
}

.content-card ul, ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.content-card li {
    margin-bottom: 8px;
}

.content-card .note {
    background-color: #f0f7ff;
    border-left: 4px solid #005bff;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.content-card .steps {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
}

.content-card .step {
    flex: 1;
    min-width: 250px;
    background: #f8f9fa;
    margin: 10px;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.content-card .step-number {
    background: #005bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
}

.content-card .contact-info {
    background: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.content-card .contact-info h3 {
    margin-top: 0;
}



/* Pay Success*/
.pay-success{
    margin-top: 30px;
}
.success-card{
  margin: 30px 0;
}
.success-card .card-header{
  margin-bottom: 15px;
}
.success-card .card-header h3{
  font-size: 26px;
}
.success-card .card-header p{
  color: #00addb;
  font-size: 18px;
  padding: 10px 0;
}

.success-card .card-body h4{
  font-size: 26px;
  margin-bottom: 15px;
}
.success-card .card-body .row{
  display: flex;
  flex-wrap: wrap;
}
.success-card .card-body .row > div{
  flex: 1;
}
.success-card .card-body .row > div:first-child{
  flex: 1 40%;
}
.success-card .card-body .row .product-info .card{
  display: flex;
  justify-content: left;
  align-items: center;
  margin-bottom: 15px;
}
.success-card .card-body .row .product-info .card .img-url{
  width: 20%;
  margin-right: 30px;
}
.success-card .card-body .row .product-info .card .img-url img{
    width:100%;
}
.success-card .card-body .row .product-info h5{
  font-size: 20px;
}
.success-card .card-body .row .product-info p{
  line-height: 1.8;
}
.success-card .card-body .row .product-info p span{
  background: #333;
  color: #fff;
  font-size: 14px;
  padding: 5px 10px;
  border-radius: 10px;
}

.success-card .card-body .row .price-info .card-body{
  border: 1px solid #333;
  border-radius: 10px;
  padding: 15px;
}
.success-card .card-body .row .price-info .card-body h5{
  font-size: 22px;
  margin-bottom: 10px;
}
.success-card .card-body .row .price-info .card-body li{
  display:flex;
  justify-content: space-between;
  padding-bottom: 8px;
}



/*Error Style*/
.error-section{
    margin-top: 30px;
}
.error-section span{
    font-size: 52px;
    letter-spacing: 10px;
    font-weight: bold;
    color: #005bff;
}
.error-section div{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.error-section a span{
    display: block;
    font-size: 20px;
    letter-spacing: normal;
    font-weight: normal;
    padding-top: 15px;
}