      
	  	    .productcontainer {
            max-width: 1400px;
			margin: 0 auto;
            overflow: hidden;
        }
	    .product-container {
            max-width: 1400px;
            margin: 0 auto;
            background: white;
            border-radius: 16px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
            overflow: hidden;
            padding: 2rem 1.8rem; margin-top:15px
        }

        @media (min-width: 1024px) {
            .product-container {
                padding: 1.5rem;
            }
        }

        .grid-2 {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1rem;
            margin-bottom: 2.5rem; 
        }

        @media (min-width: 1024px) {
            .grid-2 {
                grid-template-columns: repeat(2, 1fr);
                gap: 2.8rem;
            }
        }

        .gallery-area {
            display: flex;
            flex-direction: column;
            gap: 1.25rem;
            min-width: 0;
            width: 100%;
        }
		@media (max-width: 768px) {
		 .product-container {
            max-width: 100%;
            margin: 0 auto;
            background: white;
            border-radius: 0px;
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
            overflow: hidden;
            padding: 0rem 0em; margin-top:-53px
        }
        .gallery-area {
            display: flex;
            flex-direction: column;
            gap: 0rem;
            min-width: 0;
            width: 100%;
        }
		.viewleftright{
		 padding: 0rem 1.4rem;
		   }
		    }
        .zoom-wrapper {
            position: relative;
            display: flex;
            gap: 0;
            min-width: 0;
        }
        .main-image-box {
            position: relative;
            background: #f8fafc;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
            cursor: crosshair;
            aspect-ratio: 1 / 1;
            width: 100%;
        }
		@media (max-width: 768px) {
		 .main-image-box {
            position: relative;
            background: #f8fafc;
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
            cursor: crosshair;
            aspect-ratio: 1 / 1;
            width: 100%;
        }
		}
        .main-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            pointer-events: none;
        }
        .zoom-result-box {
            position: absolute;
            left: 100%;
            top: 0;
            width: 100%;
            height: 100%;
            background: #f1f5f9;
            border-radius: 28px;
            overflow: hidden;
            border: 1px solid #eef2f6;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2);
            background-repeat: no-repeat;
            background-color: #f8fafc;
            background-size: 200%;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s ease, visibility 0.2s;
            z-index: 1;
            pointer-events: none;
        }
        .main-image-box:hover + .zoom-result-box,
        .zoom-wrapper:hover .zoom-result-box {
            opacity: 1;
            visibility: visible;
        }
        @media (min-width: 1024px) {
            .zoom-wrapper { position: relative; }
            .zoom-result-box {
                left: calc(100% + 16px);
                width: 100%;
                max-width: 380px;
            }
        }
        @media (max-width: 1023px) {
            .zoom-result-box { display: none; }
        }

        .thumb-slider-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.25rem;
            width: 100%;
            min-width: 0;
        }
		@media (max-width: 768px) {
		.thumb-slider-wrapper {
		            margin-top: 0.25rem;

            display: none;
        }
		}
        .thumb-scroll-area {
            flex: 1;
            min-width: 0;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            scrollbar-width: thin;
            -webkit-overflow-scrolling: touch;
            border-radius: 10px;
			  
        }
        .thumb-scroll-area::-webkit-scrollbar {
            height: 4px;
        }
        .thumb-scroll-area::-webkit-scrollbar-track {
            background: #e9eef3;
            border-radius: 10px;
        }
        .thumb-scroll-area::-webkit-scrollbar-thumb {
            background: #f97316;
            border-radius: 10px;
        }
        .thumb-row {
            display: flex;
            gap: 0.7rem;
            width: max-content;
        }
        .thumb-card {
            width: 85px;
            height: 85px;
            background: #f1f5f9;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
            flex-shrink: 0; 
        }
        .thumb-card img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .thumb-card.active {
            border-color: #f97316;
        }
		
.thumb-scroll-area:nth-of-type(2) {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

.thumb-scroll-area:nth-of-type(2) .thumb-row {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
}

.thumb-scroll-area:nth-of-type(2) .thumb-card2 {
    margin-bottom: 0px;
}
		      .thumb-card2 {
            width: 55px;
            height: 55px;
            background: #f1f5f9;
            border-radius: 10px;
            overflow: hidden;
            cursor: pointer;
            border: 2px solid transparent;
            transition: all 0.2s;
            flex-shrink: 0;
        }
        .thumb-card2 img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .thumb-card2.active {
            border-color: #f97316;
        }
		@media (max-width: 768px) {
		.thumb-card2 { margin-bottom:6px}
		}
        .scroll-arrow {
            background: white;
            border: 1px solid #e2e8f0;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: 0.2s;
            color: #f97316;
            flex-shrink: 0;
            z-index: 2;
        }
        .scroll-arrow:hover {
            background: #fff3e8;
            border-color: #f97316;
        }

        .info-section {
            display: flex;
            flex-direction: column;
            gap: 1.4rem;
            min-width: 0;
        }
        .badge-group {
            display: flex;
            gap: 0.6rem;
            flex-wrap: wrap;
        }
        .badge {
            border-radius: 999px;
            font-weight: 600;
            font-size: 0.75rem;
            padding: 0.3rem 1rem;
            background: #fef3e8;
            color: #f97316;
        }
	
        .badge-blue {
            background: #eef2ff;
            color: #2563eb;
        }


        .producttitle {
            font-size: 1.7rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-top: 0.9rem;
        }
        .price-orange {
            background: #fff9f0;
            border-radius: 1.25rem;
            padding: 01rem 1.2rem;
            border-left: 5px solid #f97316;
        }
			@media (max-width: 768px) {
		  .badge {
            font-size: 0.85rem; margin-top:5px
        }
		  .producttitle {
            font-size: 1.5rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            margin-top: 0.9rem;
        }
		}
        .price-value {
            font-size: 2rem;
            font-weight: 800;
            color: #f97316;
        }
        .price-value small {
            font-size: 0.9rem;
            font-weight: 500;
        }
        .colorway-label, .size-label {
            font-weight: 600;
            font-size: 0.85rem;
            margin-bottom: 0.7rem;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }
		
@media (max-width: 768px) {
		    .colorway-label, .size-label {
            font-weight: 600;
            font-size: 1rem;
            margin-bottom: 0.7rem;
            color: #1e293b;
            display: flex;
            align-items: center;
            gap: 0.4rem;
        }}
        .color-options-list, .size-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.75rem;
        }
        .colorway-btn {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 6px;
            background: white;
            border: 1.5px solid #e2e8f0;
            border-radius: 20px;
            padding: 0.5rem 0.9rem;
            cursor: pointer;
            transition: 0.2s;
            min-width: 70px;
        }
        .colorway-btn .color-swatch-small {
            width: 40px;
            height: 40px;
            border-radius: 30px;
            overflow: hidden;
            border: 1px solid #e9eef3;
        }
        .colorway-btn .color-swatch-small img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .colorway-btn span {
            font-size: 0.7rem;
            font-weight: 500;
        }
        .colorway-btn.active {
            border-color: #f97316;
            background: #fff7ed;
            box-shadow: 0 2px 8px rgba(249,115,22,0.2);
        }
        .size-btn {
            border: 1.5px solid #e2e8f0;
            background: white;
            border-radius: 8px;
            padding: 0.5rem 1.2rem;
            font-weight: 500;
            transition: 0.2s;
            cursor: pointer;
        }
        .size-btn.selected {
            border-color: #f97316;
            background: #fff7ed;
            color: #f97316;
        }
        hr { border-color: #ecf3f9; margin: 0rem 0; }
		@media (max-width: 768px) {
		hr { border-color: #f6f9fc; margin-top: 0.5rem; }
		}
        .action-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
            align-items: center;
        }
        .btn-buy {
            flex: 1;
            background: #f97316;
            color: white;
            border: none;
            border-radius: 48px;
            padding: 0.9rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            cursor: pointer;
            transition: 0.2s; font-size:1.1rem; -webkit-tap-highlight-color: transparent;
        }
        .btn-buy:hover { background: #ea580c; transform: translateY(-1px);}
        .icon-btn {
            width: 48px; height: 48px;
            border-radius: 48px;
            border: 1px solid #e2e8f0;
            background: white;
            cursor: pointer;
            transition: 0.2s; font-size:1rem;-webkit-tap-highlight-color: transparent;
        }
        .icon-btn:hover { border-color: #f97316; color: #f97316;}
        .find-similar {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0 1.2rem;
            height: 48px;
            border-radius: 48px;
            border: 1px solid #e2e8f0;
            background: white;
            font-weight: 500;
            cursor: pointer;
        }
		@media (max-width: 768px) {
		  .find-similar {
            display: none
        }
		  .action-buttons {
        position: fixed;
        bottom: 57px; 
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 1);
        backdrop-filter: blur(10px);
        padding: 7px 16px  7px  16px;
        gap: 1rem;
        justify-content: center;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
        z-index: 1000;
        border-top: 1px solid rgba(0, 0, 0, 0.05);

    }
		}
        .earn-card {
            background: linear-gradient(135deg, #fff7ed, #ffe7d6);
            border-radius: 1.5rem;
            padding: 1rem;
            border:1px solid #ffddb0;
        }
        .info-alert {
            background: #eff6ff;
            border-left: 4px solid #3b82f6;
            border-radius: 1rem;
            padding: 0.8rem 1rem;
            display: flex;
            gap:0.75rem;
        }
        .tabs-container {
            margin-top: 2rem;
        }
        .tabs-header {
            display: flex;
            gap: 0.25rem;
            border-bottom: 1px solid #eef2f6;
        }
        .tab-btn {
            background: none;
            border: none;
            padding: 0.8rem 1.6rem;
            font-weight: 600;
            color: #64748b;
            cursor: pointer;
            border-bottom: 2px solid transparent; font-size:18px
        }
        .tab-btn.active {
            color: #f97316;
            border-bottom-color: #f97316;
        }
        .tab-pane {
            display: none;
            padding: 1rem 0;
			line-height:35px
        }
		 .tab-pane img {
		 max-width:1200px
        }
        .tab-pane.active {
            display: block;
        }
		@media (max-width: 768px) {
			 .tab-pane img {
		  width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
		
        }
		
		}
        @media (max-width: 640px) {
            .thumb-card { width: 70px; height: 70px; }
            .colorway-btn { min-width: 60px; }
        }

       .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(3px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 70%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* 手机版修复 */
@media (max-width: 768px) {
    .modal-container {
        width: 92%;           /* 稍微宽一点，但留出边距 */
        max-width: 92%;       /* 限制最大宽度 */
        margin: 0 4%;         /* 左右边距 */
        border-radius: 16px;  /* 稍微减小圆角 */
    }
}

.modal-container::-webkit-scrollbar {
    display: none;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 1.5rem; 
    border-bottom: 1px solid #eef2f6;
    position: sticky;
    top: 0;
    background: white;
    z-index: 10;
}

.modal-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f97316;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #94a3b8;
    transition: 0.2s;
    padding: 0 8px;
}

.modal-close:hover {
    color: #f97316;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem;
}

.platform-card {
    display: flex;
    align-items: center;
    gap: 0.6rem;  
    padding: 0.8rem;    
    border: 2px solid #e9eef3;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background: white;
    text-decoration: none;
    color: inherit;
    min-width: 0;      
    overflow: hidden;   
}

.platform-card:hover {
    border-color: #f97316;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.12);
    transform: translateY(-2px);
}

.platform-logo {
    width: 48px;          
    height: 48px;
    border-radius: 12px;  
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    background: #f1f5f9;
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-logo.fallback {
    background: linear-gradient(135deg, #f97316, #fdba74);
    font-size: 1.2rem;    
    font-weight: 700;
    color: white;
}

.platform-info {
    flex: 1;
    min-width: 0;        
    overflow: hidden;     
}

.platform-name {
    font-weight: 700;
    font-size: 1rem;     
    margin-bottom: 4px;
    color: #0f172a;
    white-space: nowrap;  
    overflow: hidden;
    text-overflow: ellipsis;
}

.platform-desc {
    font-size: 0.65rem;  
    color: #64748b;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.modal-footer {
    padding: 0.8rem 1rem 1.2rem;
    text-align: center;
    border-top: 1px solid #eef2f6;
    font-size: 0.7rem;    
    color: #94a3b8;
    position: sticky;
    bottom: 0;
    background: white;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .platform-grid {
        gap: 0.6rem;
        padding: 0.8rem;
    }
    
    .platform-card {
        gap: 0.5rem;
        padding: 0.6rem;
    }
    
    .platform-logo {
        width: 43px;     
        height: 43px;
        border-radius: 10px;
    }
    
    .platform-logo.fallback {
        font-size: 1rem;
    }
    
    .platform-name {
        font-size: 0.95rem;
    }
    
    .platform-desc {
        font-size: 0.6rem;
    }
    
    .modal-footer {
        font-size: 0.65rem;
        padding: 0.6rem 0.8rem 1rem;
    }
}


		
		

.share-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}
.share-modal-overlay.active {
    display: flex;
}
.share-modal {
    background: white;
    border-radius: 1.5rem;
    width: 90%;
    max-width: 480px;
    max-height: 85vh;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    position: relative;
}
.share-modal-header {
    padding: 16px 20px 8px;
    display: flex;
    justify-content: center;
    position: relative;
}
.share-modal-close {
    position: absolute;
    right: 16px;
    top: 16px;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.share-modal-close:hover {
    background: #e5e7eb;
}
.share-modal-drag-bar {
    width: 36px;
    height: 4px;
    background: #d1d5db;
    border-radius: 9999px;
    display: none;
}
.share-modal-title {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    padding: 0 0 12px;
}
.share-modal-body {
    padding: 0 20px 24px;
    overflow-y: auto;
    max-height: calc(85vh - 80px);
}

.share-reward-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.share-reward-icon {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.share-reward-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    color: #f97316;
    margin-bottom: 8px;
}
.share-reward-text {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    color: #231912;
}
.share-platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.share-platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s;
}
.share-platform-btn:active {
    transform: scale(0.95);
}
.share-platform-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.share-platform-icon img {
    width: 80%;
    height: 80%;
    object-fit: cover;
}
.share-platform-btn:hover .share-platform-icon {
    transform: scale(1.08);
}
.share-platform-name {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}
.share-copy-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 12px;
    margin-bottom: 16px;
}
.share-copy-link input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: #4b5563;
    min-width: 0;
}
.share-copy-btn {
    background: #f97316;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.share-copy-btn:hover {
    background: #ea580c;
}
.share-qr-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    background: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #6b7280;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.share-qr-btn:hover {
    background: #f9fafb;
    color: #374151;
}

@media (max-width: 768px) {
    .share-modal-overlay {
        align-items: flex-end;
    }
    .share-modal {
        border-radius: 1.5rem 1.5rem 0 0;
        width: 100%;
        max-width: 100%;
        animation: slideUp 0.3s ease;
    }
    .share-modal-header {
        padding: 12px 0 8px;
    }
    .share-modal-close {
        display: none;
    }
    .share-modal-drag-bar {
        display: block;
        cursor: pointer;
    }
    .share-modal-title {
        font-size: 1.125rem;
        padding: 0 16px 12px;
    }
    .share-modal-body {
        padding: 0 16px 20px;
    }
    .share-platform-icon {
        width: 48px;
        height: 48px;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}




.share-qrcode-wrapper {
    margin-top: 8px;
}
.share-qr-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    color: #374151;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}
.share-qr-btn:hover {
    background: #f3f4f6;
    border-color: #f97316;
}
.qr-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
}
.qr-arrow.rotated {
    transform: rotate(180deg);
}
.qrcode-container {
    margin-top: 12px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.3s ease;
}
#qrcodeCanvas {
    display: flex;
    justify-content: center;
}
#qrcodeCanvas canvas,
#qrcodeCanvas img {
    width: 150px;
    height: 150px;
    display: block;
    margin: 0 auto;
}
.qrcode-tip {
    font-size: 11px;
    color: #9ca3af;
    margin: 12px 0 0 0;
    text-align: center;
}




.gallery-area {
    position: relative;
}

.zoom-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.main-image-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.main-nav-arrow {
    position: absolute;
    top: 340px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
    opacity: 0.7;
}

.main-nav-arrow:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.main-nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.main-nav-left {
    left: 16px;
}

.main-nav-right {
    right: 16px;
}

@media (max-width: 768px) {
    .main-nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
		display:none
    }
}

.main-image-slider {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    will-change: transform;
}

.main-image-item {
    flex-shrink: 0;
    width: 100%;
}

.main-image-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    pointer-events: none;
}


.swipe-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.swipe-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
    cursor: grab;
}

.swipe-track:active {
    cursor: grabbing;
}

.swipe-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.swipe-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
}

.main-nav-arrow,
.swipe-container {
    -webkit-tap-highlight-color: transparent;
}

.image-counter {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: white;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.5px;
    z-index: 20;
    pointer-events: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes counterPulse {
    0% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .image-counter {
        bottom: 10px;
        right: 10px;
        padding: 4px 10px;
        font-size: 12px;
    }
}





.share-earn-card {
    margin: 4px 0;
}
.share-earn-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: linear-gradient(135deg, #fffaf4, #fff3e8);
    border: 1px solid #f0dbc6;
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: 0 8px 18px rgba(45, 29, 9, 0.04);
}
@media (min-width: 768px) {
    .share-earn-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}
.share-earn-left {
    min-width: 0;
}
.share-earn-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 9999px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--textcolor);
}
@media (max-width: 768px) {
.share-earn-badge {
    display: none;
    }
}
.share-earn-badge svg {
    width: 14px;
    height: 14px;
    stroke: var(--textcolor);
}
.share-earn-title {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 12px;
}
.share-earn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff2e6;
    border-radius: 16px;
    flex-shrink: 0;
}
.share-earn-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--textcolor);
}
.share-earn-title h3 {
    font-size: 16px;
    font-weight: 600;
    line-height: 42px;
    color: #231912;
    margin: 0;
}
	@media (max-width: 768px) {
.share-earn-title h3 {
    font-size: 16px;
    line-height: 24px;

}


}
.share-earn-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
@media (min-width: 768px) {
    .share-earn-right {
        align-items: flex-end;
		
    }
}
.share-earn-points {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: white;
    border: 1px solid var(--textcolor);
    border-radius: 9999px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--textcolor);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
	@media (max-width: 768px) {
.share-earn-points {
    display: none;
    }
}
.share-earn-points svg {
    width: 16px;
    height: 16px;
    stroke: var(--textcolor);
}
.share-earn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--textcolor);
    color: white;
    font-weight: 500;
    font-size: 16px;
    padding: 0 24px;
    height: 48px;
    min-width: 152px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.share-earn-btn svg {
    width: 16px;
    height: 16px;
    stroke: white;
}
.share-earn-btn:hover {
    background: #8f6540;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.share-earn-btn:active {
    transform: scale(0.96);
    background: #7a5536;
}
@media (max-width: 768px) {
.share-earn-btn {
    font-size: 16px;
    padding: 0 12px;
    height: 48px;
	 min-width: 122px;

}
}


.style-group {
    margin-bottom:10px;
}
.style-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.style-item {
    cursor: pointer;
    text-align: center;
}
.style-item.selected img {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 2px rgba(249,115,22,0.3);
}
.style-item.selected .style-placeholder {
    border-color: #f97316 !important;
    background: #fff0e6;
}
.style-placeholder {
    width: 50px;
    height: 50px;
    background: #f5f5f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #666;
}
.thumb-card.style-thumb {
    border: 2px solid transparent;
}
.thumb-card.style-thumb.active {
    border-color: #f97316;
}

.size-options-container { margin: 1px 0; }
.style-group { margin-bottom: 20px; }
.style-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.style-item { cursor: pointer; text-align: center; }
.style-item.selected img { border-color: #f97316 !important; box-shadow: 0 0 0 2px rgba(249,115,22,0.3); }
.style-placeholder { width: 50px; height: 50px; background: #f5f5f5; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; color: #666; }
.size-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn { padding: 8px 16px; border: 1px solid #ddd; background: #fff; border-radius: 4px; cursor: pointer; }
.size-btn.selected { background: #f97316; color: white; border-color: #f97316; }
.thumb-card.style-thumb { border: 2px solid transparent; }
.thumb-card.style-thumb.active { border-color: #f97316; }

.size-btn.disabled {
    background: #f5f5f5;
    color: #ccc;
    border-color: #e0e0e0;
    cursor: not-allowed;
    opacity: 0.6;
}
.size-btn.disabled:hover {
    background: #f5f5f5;
}

.param-value-item {
    display: inline-block;
    padding: 6px 15px;
    margin: 4px 6px 4px 0;
    background: #f5f5f5;
    border-radius: 20px;
    font-size: 13px;
    color: #333;
    transition: all 0.2s;
}
.param-value-item:hover {
    background: #e8e8e8;
}
.spec-group {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}
.size-label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #333;
}





.param-value-btn {
    display: inline-block;
    padding: 6px 18px;
    margin: 4px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
}
.param-value-btn:hover {
    background: #e8e8e8;
    border-color: #ccc;
}
.param-value-btn.selected {
    background: #f97316 !important;
    border-color: #f97316 !important;
    color: #fff !important;
}



.related-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.related-product-card {
    display: block;
    text-decoration: none;
    text-align: center;
    background: #fff;
    transition: all 0.3s ease;
	  border: 2px solid #eee; border-radius: 8px;

}
.related-product-card:hover {
     border: 2px solid  var(--textcolor); border-radius: 8px;
}
.related-product-card img {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
  
}
.related-product-card div {
    font-size: 13px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.related-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
}
