/* Sample Price Section - Icon căn giữa 2 dòng text */
.tp-product-sample-section {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 16px 20px;
    margin: 25px 0;
}

.tp-product-sample-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.tp-product-sample-info {
    display: flex;
    align-items: center; /* Thay đổi từ flex-start thành center */
    gap: 12px;
}

.tp-product-sample-icon {
    color: #ef8f2c;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Bỏ margin-top để icon tự căn giữa */
}

.tp-product-sample-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-product-sample-price {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    display: block;
    line-height: 1.3;
}

.tp-product-sample-details small {
    font-size: 12px;
    color: #777;
    line-height: 1.4;
    margin: 0;
}

.tp-product-sample-btn {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 24px;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    align-self: center; /* Căn giữa button theo chiều dọc */
}

.tp-product-sample-btn:hover {
    background-color: var(--tp-common-black);;
    color: #fff;
}

/* Shipping Section - Giữ nguyên */

.tp-product-shipping-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.tp-product-shipping-info {
    padding: 0;
}

.tp-product-shipping-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 10px;
}

.tp-product-shipping-item:last-child {
    margin-bottom: 0;
}

.tp-product-shipping-icon {
    flex-shrink: 0;
    color: #ef8f2c;
    margin-top: 1px;
}


.tp-product-shipping-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    display: block; /* Đảm bảo không có khoảng trống dư */
}

.tp-product-shipping-text {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
    flex: 1;
    margin: 0;
    padding: 0;
    display: flex; /* Thêm display flex */
    align-items: center; /* Căn giữa text theo chiều dọc */
    min-height: 20px; /* Đảm bảo chiều cao tối thiểu bằng với icon */
}


/* Responsive Styles */
@media (max-width: 767px) {
    .tp-product-sample-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .tp-product-sample-info {
        align-items: center; /* Vẫn giữ căn giữa trên mobile */
    }
    
    .tp-product-sample-action {
        width: 100%;
    }
    
    .tp-product-sample-btn {
        width: 100%;
        text-align: center;
        padding: 10px 24px;
        align-self: stretch;
    }
    
    .tp-product-shipping-item {
        gap: 12px;
    }
    
    .tp-product-shipping-icon {
        margin-top: 2px;
    }
}

@media (max-width: 575px) {
    .tp-product-sample-section {
        padding: 15px;
        margin: 20px 0;
    }
    
    .tp-product-shipping-section {
        margin: 20px 0;
    }
    
    .tp-product-sample-price {
        font-size: 15px;
    }
    
    .tp-product-shipping-title {
        font-size: 15px;
    }
    
    .tp-product-shipping-text {
        font-size: 13px;
    }
    
    .tp-product-shipping-item {
        margin-bottom: 10px;
    }
}
/* Tiered Pricing Section */
.tp-product-tiered-pricing {
  margin: 20px 0;
}

.tp-product-tiered-pricing-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}

.tp-product-tiered-pricing-item {
  flex: 1;
  min-width: 100px;
  max-width: 150px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  padding: 10px;
  text-align: center;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  cursor: pointer;
}

.tp-product-tiered-pricing-item:hover {
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
  border-color: #d9d9d9;
}

.tp-product-tiered-pricing-item.active {
  border-color: #0088cc;
  box-shadow: 0 3px 8px rgba(0, 136, 204, 0.15);
}

.tp-product-tiered-pricing-quantity {
  font-size: 14px;
  color: #666;
  margin-bottom: 6px;
}

.tp-product-tiered-pricing-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color); /* Blue color as shown in the image */
}

.tp-product-tiered-pricing-note {
  font-size: 12px;
  color: #666;
  margin-top: 4px;
}

/* Làm spinner Bootstrap mỏng hơn */
.spinner-border {
    border-width: 1.5px !important;
}

