/* ============================================
   Product Detail Page Styles
   ============================================ */

/* ============================================
   Skeleton Loading Styles
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
    border-radius: 4px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton-text {
    height: 1em;
    margin-bottom: 0.5em;
}

.skeleton-title {
    height: 2em;
    width: 60%;
    margin-bottom: 1em;
}

.skeleton-price {
    height: 2.5em;
    width: 40%;
    margin-bottom: 1em;
}

.skeleton-image {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

.skeleton-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 4px;
    margin-right: 10px;
}

.skeleton-button {
    height: 48px;
    width: 100%;
    border-radius: 8px;
    margin-top: 1em;
}

.product-content-loading {
    display: contents;
}

.product-content-loaded {
    display: none;
}

.product-content-loaded.show {
    display: contents;
}

.product-content-loading.hide {
    display: none;
}

.product-content-loaded.show {
    display: grid;
}

.product-content-loading.hide {
    display: none;
}

.product-detail-section {
    /* padding: 80px 20px; */
    background-color: #ffffff;
}

.product-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    overflow: hidden;
    position: relative;
}

/* Product Images Panel */
.product-images-panel {
    position: sticky;
    top: 20px;
}

.product-image-card {
    position: relative;
    background-color: #f9f9f9;
    border: none;
    /* border-radius: 12px; */
    padding: 0;
    margin-bottom: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.product-like-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    background-color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-like-btn:hover {
    transform: scale(1.1);
}

.product-like-btn::before {
    content: '♡';
    font-size: 16px;
    color: #000000;
    transition: color 0.2s;
}

.product-like-btn.liked::before {
    content: '♥';
    color: #ff0000;
}

.product-main-image {
    width: 100%;
    max-width: 100%;
    max-height: 600px;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0 auto;
}

.product-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: #000000;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.2s;
    line-height: 1.2;
    height: calc(1.2em + 16px);
    display: flex;
    align-items: center;
}

.product-badge:hover {
    transform: scale(1.05);
}

.product-enlarge-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    line-height: 1.2;
    height: auto;
}

.product-enlarge-btn:hover {
    background-color: rgba(0, 0, 0, 0.9);
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0px 10px;
    flex-wrap: nowrap;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.product-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.product-thumbnail {
    min-width: 60px;
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 4px solid #999999;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.product-thumbnail:hover {
    border-color: #000000;
}

.product-thumbnail.active {
    border-color: #000000;
}

/* Product Info Panel */
.product-info-panel {
    padding: 20px 10px;
}

.product-title {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
    /* margin-bottom: 20px; */
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background-color: #f5f5f5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
}

.rating-stars::before {
    content: '★★★★★';
    color: #ffd700;
    font-size: 16px;
    margin-right: 4px;
}

.rating-text {
    background-color: #f5f5f5;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    color: #000000;
}

.product-price-section {
    margin-bottom: 20px;
}

.discount-badge {
    display: inline-block;
    background-color: #fd0536;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 10px;
}

.price-container {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.current-price {
    font-size: 30px;
    font-weight: 800;
    color: #000000;
    letter-spacing: -1px;
}

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

.product-limit {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #f5f5f5;
    padding: 8px 12px;
    border-radius: 14px;
    font-size: 14px;
    color: black;
    margin-bottom: 15px;
}

.limit-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.limit-icon svg {
    display: block;
}

.limit-text {
    color: black;
}

.product-availability {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    margin-bottom: 30px;
    font-size: 14px;
}

.availability-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.availability-right {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
}

.availability-dot {
    width: 8px;
    height: 8px;
    background-color: #ff8c00;
    border-radius: 50%;
    flex-shrink: 0;
    display: block;
}

.availability-text {
    color: #666666;
}


/* Color Selector */
.product-color-selector {
    margin-bottom: 30px;
}

.selector-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 15px;
}

.color-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.color-thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.color-thumbnail:hover {
    border-color: #999999;
    transform: scale(1.05);
}

.color-thumbnail.selected {
    border-color: #000000;
    border-width: 3px;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

/* Size Selector */
.product-size-selector {
    margin-bottom: 30px;
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.size-option {
    padding: 14px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    background-color: #ffffff;
    color: #000000;
}

.size-option:hover {
    border-color: #999999;
    transform: translateY(-2px);
}

.size-option.selected {
    background-color: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Quantity */
.quantity-banner-wrapper {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    margin-bottom: 20px;
}

.quantity-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-quantity label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 0;
    flex-shrink: 0;
}

.quantity-input {
    width: 80px;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #f5f5f5;
    font-size: 14px;
    font-weight: 600;
    color: #000000;
    text-align: center;
    flex-shrink: 0;
}

.product-subtotal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.subtotal-label {
    font-size: 12px;
    color: #999999;
    font-weight: 400;
}

.subtotal-price {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
}

.clearance-banner {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: #fff3e0;
    color: #ff8c00;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 0;
}

.banner-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.banner-icon svg {
    display: block;
    width: 14px;
    height: 14px;
}

.banner-text {
    color: #ff8c00;
}

.product-add-to-cart-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.product-add-to-cart-btn:hover {
    background-color: #333333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-icon-btn {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.cart-icon-btn svg {
    display: block;
}

.product-additional-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.info-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.info-icon svg {
    display: block;
    width: 12px;
    height: 12px;
}

.info-text {
    font-size: 12px;
    color: #999999;
}

.product-shipping-info {
    display: flex;
    flex-direction: row;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.shipping-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
}

.availability-right .shipping-icon {
    margin-left: 10px;
    margin-top: 10px;
}

.shipping-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}
.availability-right 
.shipping-icon svg {
    display: block;
    width: 15px;
    height: 15px;
}

.shipping-title {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 4px;
}

.shipping-subtitle {
    font-size: 12px;
    color: #666666;
}

/* Seller Info Card */
.seller-info-card {
    /* background-color: #f5f5f5; */
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    /* margin-bottom: 20px; */
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.seller-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.seller-avatar-container {
    position: relative;
    flex-shrink: 0;
}

.seller-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #000000;
}

.online-status-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 12px;
    height: 12px;
    background-color: #4caf50;
    border: 2px solid #ffffff;
    border-radius: 50%;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.8;
    }
}

.seller-info {
    flex: 1;
    min-width: 0;
}

.seller-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: nowrap;
}

.seller-name {
    font-size: 10px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    white-space: nowrap;
}

.in-stock-badge {
    background-color: #4caf50;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    white-space: nowrap;
}

.seller-description {
    font-size: 10px;
    color: #666666;
    line-height: 1.4;
}

.seller-view-icon {
    width: 24px;
    height: 24px;
    background-color: #333333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.seller-view-icon svg {
    display: block;
}

.seller-info .seller-shipping-details {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
    margin-top: 8px;
}

.seller-info .seller-shipping-details .shipping-time,
.seller-info .seller-shipping-details .delivery-time {
    display: flex !important;
    align-items: center;
    gap: 4px;
    font-size: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.seller-info .seller-shipping-details .delivery-time {
    margin-left: 2px !important;
}

.seller-info .seller-shipping-details .shipping-time {
    width: 50%;
    color: black !important;
    white-space: nowrap;
}

.seller-info .seller-shipping-details .shipping-time svg {
    display: block;
    width: 10px;
    height: 10px;
}

.seller-info .seller-shipping-details .delivery-time {
    color: black !important;
}

.seller-info .seller-shipping-details .delivery-time svg {
    display: block;
    width: 10px;
    height: 10px;
}

.seller-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
}

.dispatch-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: #000000;
}

.dispatch-info svg {
    display: block;
    width: 14px;
    height: 14px;
}

.free-shipping-text {
    font-size: 10px;
    font-weight: 900;
    color: #4caf50;
    white-space: nowrap;
}

/* Seller Info Modal */
.seller-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.seller-info-modal.hidden {
    display: none;
}

.seller-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.seller-modal-content {
    position: relative;
    background-color: #333333;
    border-radius: 12px;
    padding: 32px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10001;
}

.seller-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    background-color: #444444;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.seller-modal-close:hover {
    background-color: #555555;
}

.seller-modal-close svg {
    display: block;
}

.seller-modal-title {
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 8px;
}

.seller-modal-subtitle {
    font-size: 10px;
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
}

.seller-modal-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.seller-modal-feature {
    background-color: #444444;
    border-radius: 8px;
    padding: 10px 20px;
}

.feature-icon-box {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    margin-bottom: 12px;
}

.feature-icon-box svg {
    display: block;
}

.feature-title {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    /* text-align: center; */
    margin-bottom: 8px;
}

.feature-description {
    font-size: 8px;
    color: #ffffff;
    /* text-align: center; */
    line-height: 1.5;
}

.seller-modal-footer-text {
    font-size: 8px;
    color: #ffffff;
    text-align: center;
    line-height: 1.6;
    margin: 0;
}

.seller-modal-footer-text strong {
    font-weight: 700;
}

/* Product Description Section */
.product-description-section {
    padding: 0px 20px;
    background-color: #ffffff;
}

.description-container {
    max-width: 1200px;
    margin: 0 auto;
}

.description-wrapper {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.description-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    padding: 16px 20px;
    background-color: #F9FAFB;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s;
}

.description-title:hover {
    background-color: #f3f4f6;
}

.description-toggle-icon {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.description-title.collapsed .description-toggle-icon {
    transform: rotate(180deg);
}

.description-toggle-icon svg {
    display: block;
}

.description-content {
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    max-height: 2000px;
    opacity: 1;
}

.description-wrapper.collapsed .description-content {
    max-height: 0;
    opacity: 0;
}

.description-text {
    font-size: 14px;
    color: #666666;
    line-height: 1.8;
    white-space: pre-line;
    margin: 0;
    padding: 20px;
}

/* Buyer Protection Section */
.buyer-protection-section {
    padding: 60px 20px;
    /* background-color: #e8eaf6; */
}

.protection-container {
    max-width: 1200px;
    margin: 0 auto;
}

.protection-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 24px;
}

.protection-title {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.protection-title-icon {
    display: flex;
    align-items: center;
}

.protection-title-icon svg {
    display: block;
}

.protection-items {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
}

.protection-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-top: 4px;
    /* border-bottom: 1px solid #e0e0e0; */
}

.protection-item:last-of-type {
    border-bottom: none;
}

.protection-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.protection-icon svg {
    display: block;
}

.protection-item-content {
    flex: 1;
}

.protection-item-title {
    font-size: 12px;
    font-weight: 700;
    color: #000000;
    /* margin-bottom: 4px; */
}

.protection-item-description {
    font-size: 10px;
    color: #666666;
    line-height: 1.5;
}

.protection-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #e0e0e0;
}

.protection-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    color: #000000;
}

.protection-badge svg {
    display: block;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {

    hr {
        border: none;           /* 先清除默认边框 */
    border-top: 1px solid #eff0f0;  /* 设置顶部边框颜色 */
    }

    .product-detail-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-images-panel {
        position: static;
        max-width: 100%;
        overflow: hidden;
    }

    .product-image-card {
        min-height: 300px;
        max-height: 350px;
    }

    .product-main-image {
        max-height: 500px;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .color-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .size-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .product-shipping-info {
        flex-direction: row;
        gap: 10px;
    }
    
    .shipping-box {
        flex: 1;
        min-width: 0;
        padding: 15px 10px;
    }
    
    .shipping-title {
        font-size: 14px;
    }
    
    .shipping-subtitle {
        font-size: 11px;
    }

    .protection-items {
        grid-template-columns: 1fr;
    }
}

/* Image Enlarge Modal */
.image-enlarge-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-enlarge-modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.enlarged-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}

.modal-close-btn {
    position: absolute;
    top: -40px;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    transition: all 0.3s;
    z-index: 10002;
}

.modal-close-btn:hover {
    background-color: #ffffff;
    transform: scale(1.1);
}

/* ============================================
   AAA 风格：SKU/规格/物流/关联商品
   ============================================ */
.product-meta-aaa {
    font-size: 13px;
    color: #666;
    margin: 12px 0;
}

.product-shipping-aaa {
    margin: 16px 0;
}

.shipping-aaa-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shipping-aaa-item {
    font-size: 14px;
    color: #333;
}

.product-contact-email {
    display: inline-block;
    margin-top: 8px;
    color: #e85a3a;
    text-decoration: none;
}

.product-contact-email:hover {
    text-decoration: underline;
}

.product-specs-aaa {
    margin: 20px 0;
}

.specs-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.specs-table td {
    padding: 10px 12px;
    border: 1px solid #e5e5e5;
}

.specs-table td:first-child {
    background: #f9f9f9;
    font-weight: 500;
    width: 140px;
}

.related-products-section {
    padding: 40px 20px;
    background: #fff;
}

.related-products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.related-products-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

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

.related-product-image-wrap {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: #f5f5f5;
}

.related-product-image-wrap .aaa-sale-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D37353;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    z-index: 2;
}

.related-product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-product-info {
    padding: 12px;
}

.related-product-category {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

.related-product-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
}

.related-product-title a {
    color: #1e73be;
    text-decoration: none;
}

.related-product-title a:hover {
    text-decoration: underline;
}

.related-product-price .related-price-old {
    text-decoration: line-through;
    color: #999;
    margin-right: 8px;
}

.related-product-price .related-price {
    font-weight: 600;
    color: #333;
}

@media (max-width: 768px) {
    .related-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}
