.breadcrumb {
    background-color: white;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding: 12px 20px;
    margin: 20px auto;
    max-width: 1296px;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-item {
    margin-right: 5px;
    font-size: 0.85rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: "/";
    margin-left: 5px;
    color: #aaa;
}

.breadcrumb-link {
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-link:hover {
    color: var(--color-primary);
}

.product-detail-container {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    margin-bottom: 30px;
    flex: 1;
}

.product-basic-section {
    display: flex;
    flex-wrap: wrap;
    padding: 25px;
    gap: 25px;
}

.product-image-container {
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.product-image {
    width: 100%;
}

.product-info-container {
    flex: 2;
    min-width: 300px;
}

.product-header {
    margin-bottom: 20px;
}

.product-title {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.badge {
    background-color: var(--color-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.badge-green {
    background-color: var(--color-primary);
}

.product-stock {
    font-size: 0.9rem;
    color: #666;
}

.stock-count {
    color: var(--price-color);
    font-weight: 600;
    margin: 0 5px;
}

.product-price-section {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 6px;
}

.price-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.current-price {
    font-size: 1.5rem;
    color: var(--price-color);
    font-weight: 700;
    margin-right: 10px;
}

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

.wholesale-prices {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
}

.wholesale-label {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.wholesale-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wholesale-badge {
    background-color: var(--price-color);
    color: white;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.specification-section {
    margin-bottom: 25px;
}

.specification-title {
    font-size: 0.95rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 12px;
}

.specification-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 0;
}

.specification-item {
    margin-bottom: 8px;
    position: relative;
}

.specification-item .spec-stock {
    position: absolute;
    right: -1px;
    top: -10px;
    height: 18px;
    background: linear-gradient(133deg, rgb(217, 0, 255) 1%, rgb(255, 89, 0) 100%);
    border-radius: 6px 6px 0 6px;
    text-align: center;
    color: rgb(255, 255, 255);
    font-size: 12px;
    line-height: 18px;
    padding: 0 9px;
    white-space: nowrap;
}

.specification-item .out-stock {
    background: #bdc3c7;
}

.specification-link {
    display: block;
    padding: 8px 50px 8px 16px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    position: relative;
    width: 100%;
}

.specification-link:hover {
    background-color: var(--color-primary-bg);
    border-color: var(--color-primary);
}

.specification-item.active .specification-link {
    background-color: var(--color-primary-bg);
    border-color: var(--color-primary);
    color: #444;
    font-weight: 500;
}

.specification-price {
    color: var(--price-color);
    font-weight: 600;
    margin-left: 5px;
}

.purchase-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.1);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background-color: #eef7ff;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.quantity-input {
    width: 80px;
    text-align: center;
    padding: 8px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.btn {
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    flex: 1;
}

.btn-buy {
    background-color: var(--color-primary);
    color: white;
}

.btn-buy:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.2);
}

.btn-subscribe {
    background-color: var(--color-primary);
    color: white;
}

.btn-subscribe:hover {
    background-color: #27ae60;
    transform: translateY(-1px);
}

.product-content-section {
    padding: 25px;
    border-top: 1px solid #f0f0f0;
}

.content-section-title {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-primary);
}

.product-description {
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
}

.product-description p {
    margin-bottom: 15px;
}

.features-list {
    list-style: none;
    margin-bottom: 20px;
}

.feature-item {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-icon {
    color: var(--color-primary);
    font-size: 0.9rem;
}

.notice-list {
    list-style: none;
    margin-bottom: 20px;
}

.notice-item {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-item:last-child {
    border-bottom: none;
}

.notice-icon {
    color: var(--price-color);
    font-size: 0.9rem;
}
