.bg-primary-soft { background-color: #eff6ff; }
.btn-check:checked + .btn-outline-secondary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }

/* Quantity Selector Styling */
.qty-selector {
    width: 180px;
    height: 52px;
    background: #f8fafc;
    border-radius: 50px;
    padding: 4px;
    border: 1px solid #e2e8f0;
}
.qty-selector .btn-qty {
    width: 44px;
    height: 44px;
    border-radius: 50% !important;
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    padding: 0;
    font-size: 1.2rem;
}
.qty-selector .btn-qty:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}
.qty-selector .qty-input {
    background: transparent !important;
    border: none !important;
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    padding: 0;
    box-shadow: none !important;
}
/* Hide arrows in Chrome, Safari, Edge, Opera */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Hide arrows in Firefox */
.qty-input[type=number] {
    -moz-appearance: textfield;
}

/* Star Rating Form Styles */
.rating-stars {
    color: #e2e8f0;
}
.rating-stars > input {
    display: none;
}
.rating-stars > label {
    color: #e2e8f0;
    cursor: pointer;
    transition: color 0.2s;
    padding: 0 5px;
}
.rating-stars > label:hover,
.rating-stars > label:hover ~ label,
.rating-stars > input:checked ~ label {
    color: #f59e0b; /* Tailwind amber-500 */
}

/* Product Content Styling */
.product-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.product-content p {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.2rem;
}

/* Read More Collapse Styling */
.product-content-wrapper {
    position: relative;
    max-height: 800px; /* Chiều cao tối đa khi thu gọn */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}
.product-content-wrapper.expanded {
    max-height: 10000px; /* Giá trị lớn để chứa hết nội dung */
}
.product-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1) 80%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 20px;
    z-index: 10;
}
.product-content-wrapper.expanded .product-content-overlay {
    position: relative;
    height: auto;
    background: none;
    padding-top: 30px;
    margin-top: -50px;
}
.btn-show-more {
    background: white;
    border: 1px solid #e2e8f0;
    color: #3b82f6;
    padding: 10px 40px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    z-index: 11;
}
.btn-show-more:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
