body {
    background: #f6f7fb;
    font-family: 'Segoe UI', sans-serif;
}

.category-span {
    font-size: 14px;
    color: black;
    font-weight: 500;
}

.category-span:hover {
    color: #3498db;
    border-bottom: 1px solid
}

.product-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    padding-bottom: 30px;
}

.product-image img {
    width: 100%;
    max-width: 380px;
    border-radius: 12px;
    border: 1px solid #e5e5e5;
    object-fit: cover;
}

.btn-download {
    background: #3498db;
    color: #fff;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-download:hover {
    background: #2d6be6;
    color: #fff;
}

.btn-demo {
    background: #fff;
    border: 2px solid #3498db;
    color: #3498db;
    font-weight: 600;
    padding: 10px 26px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-demo:hover {
    background: #3498db;
    color: #fff;
}

.section-title {
    background: #3498db;
    color: #fff;
    padding: 10px 18px;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 6px 6px 0 0;
    display: inline-block;
    margin-bottom: 0;
}

.detail-box {
    background: #fff;
    border-top: none;
    border-radius: 0 0 8px 8px;
    padding: 25px 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.detail-box img {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 15px auto;
    border-radius: 8px;
    object-fit: cover;
}

.detail-box p {
    margin-bottom: 6px;
}

.sidebar-widget {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.05);
    padding: 20px;
}

.sidebar-widget h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 15px;
    color: black;
    font-weight: 600;
}

.seller-info-widget {
    background: #fff;
    border: 1px solid #e0e5f6;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.seller-info-widget h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.seller-profile {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.seller-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #3498db;
}

.seller-details h5 {
    font-weight: 600;
    margin-bottom: 4px;
}

.seller-details small {
    color: #666;
}

.seller-contact p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 8px;
}

.seller-contact .hidden-info {
    color: #999;
    font-style: italic;
    font-size: 0.9rem;
}

.highlight-item {
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.highlight-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.highlight-item-main {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.highlight-item-main a {
    font-size: 13px;
    color: black;
    text-decoration: none;
}

.highlight-item-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.highlight-item-title {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
    text-decoration: none;
    flex-grow: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.highlight-item-title:hover {
    color: #3498db;
}

.highlight-item-footer {
    font-size: 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    color: #6c757d;
}

.highlight-item-footer .category {
    color: #ff8401;
    font-weight: 600;
}

.highlight-item-footer .category a {
    color: inherit;
    text-decoration: none;
}

.highlight-item-footer .category a:hover {
    text-decoration: underline;
    border-bottom: 1px solid;
}

.demo-image-scroll-container {
    max-height: 700px;
    overflow-y: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background-color: #fdfdfd;
}

.demo-image-scroll-container::-webkit-scrollbar {
    width: 8px;
}

.demo-image-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.demo-image-scroll-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.demo-image-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.product-box {
    position: relative;
}

.corner-buttons {
    position: absolute;
    bottom: 8px;
    right: 12px;
    display: flex;
    gap: 10px;
    font-size: 16px;
    z-index: 10;
}

.btn.btn-secondary-action {
    background: none;
    border: none;
    color: #888;
    padding: 0;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.btn.btn-secondary-action i {
    margin-right: 4px;
}

.btn.btn-secondary-action:hover {
    color: #3498db;
}

.btn.btn-secondary-action[disabled],
.btn.btn-secondary-action.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.product-id-span {
    font-size: 1.7rem;
    font-weight: 500;
    color: #3498db;
}
.title-divider {
    border: 0;
    border-top: 1px dashed #d8d2d2; 
    margin-top: 0;                 
    margin-bottom: 5px;           
}
.code-note-widget {
    background: #f9fafb;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding-left: 10px;
}
.code-note-widget h5 {
    border-bottom: 1px solid #eee;
    padding-bottom: 6px;
    margin-bottom: 8px;
}
.sidebar-widget {
    margin-top: 5.0rem !important; 
}
.comment-list .ms-4 .ms-4 {
    margin-left: 0 !important; 
}

.comment-item-wrapper {
    border-top: 1px solid #fff; 
    padding-top: 12px; 
    margin-bottom: 12px; 
}
ul ul > li.comment-item-wrapper:first-child,
ul.list-unstyled > li.comment-item-wrapper:first-child {
    border-top: none;
    padding-top: 0;
}

.comment-box-minimal {
    padding: 0;
}

.comment-header-minimal {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 5px !important;
    line-height: 1.4; 
    flex-wrap: nowrap;
}

.comment-author-minimal {
    color: #3498db;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 1rem;
    display: inline-block;
    vertical-align: middle; 
}

.comment-meta-minimal {
    color: #888;
    white-space: nowrap;
    font-size: 1rem;
    text-align: right;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle; 
}
.comment-meta-minimal a {
    color: #888;
    text-decoration: none;
    font-size: 1rem; 
    color: #3498db;
}
.comment-meta-minimal a:hover {
    color: #555;
    text-decoration: underline;
}
.comment-meta-minimal i.fa {
    margin-right: 4px;
}

.comment-body-minimal {
    font-size: 1.4rem; 
    color: #555;
    line-height: 1.5;
    padding-left: 2px;
}
.comment-list {
    max-height: 200px;
    overflow-y: auto;
    padding-right: 8px;
    margin-top: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}
.comment-list::-webkit-scrollbar { width: 6px; }
.comment-list::-webkit-scrollbar-thumb { background-color: #ccc; border-radius: 3px; }
.comment-list::-webkit-scrollbar-track { background-color: #f1f1f1; border-radius: 3px; }


.reply-form-container {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    margin-top: 10px !important;
}
.reply-form-container textarea {
    font-size: 1.2rem; 
}
.reply-form-container .btn {
      font-size: 1rem;
      margin-top: 5px;
}
#comment-form .btn-primary {
    display: none;
}
.product-box .btn-download,
.product-box .btn-demo {
    padding: 8px 18px;         
    border-radius: 6px;        
    font-weight: 500;          
    font-size: 1.2rem;        
    border: 1px solid #3498db; 
    transition: all 0.2s ease-in-out; 
    display: inline-flex;      
    align-items: center;
    gap: 8px;                  
}

.product-box .btn-download {
    background-color: #3498db;
    color: #fff;
}

.product-box .btn-demo {
    background-color: #fff;
    color: #3498db;
}

.product-box .btn-download:hover {
    background-color: #2980b9; 
    border-color: #2980b9;
    color: #fff;
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
}

.product-box .btn-demo:hover {
    background-color: #eaf5ff; 
    color: #2980b9; 
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product-box .btn-demo,
.product-box .btn-demo:hover {
    text-decoration: none;
}
.review-section-v2 {
    background-color: #fff;
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px !important;
}

.review-submission-area {
    flex: 1;
    min-width: 300px;
    padding-bottom: 15px;
}

.review-form-v2 .form-group {
    margin-bottom: 15px;
}
.review-form-v2 .form-label {
    font-weight: 600;
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 5px;
}
.review-form-v2 textarea {
    min-height: 80px;
    font-size: 1.3rem;
}

.rating-input-v2 {
    display: inline-block;
}
.rating-input-v2 input[type="radio"] {
    display: none; 
}
.rating-input-v2 label {
    font-size: 24px;
    color: #ccc; 
    cursor: pointer;
    margin-bottom: 0;
    padding: 0 2px;
    transition: color 0.2s;
    float: right; 
}
.rating-input-v2 label:before {
    content: '★'; 
}
.rating-input-v2 input:checked ~ label,
.rating-input-v2 label:hover,
.rating-input-v2 label:hover ~ label {
    color: #f0ad4e;
}

.btn-review-submit {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #337ab7; 
    border-color: #2e6da4;
    color: #fff;
}
.btn-review-submit:hover {
    background-color: #286090;
    border-color: #204d74;
    color: #fff;
}
.btn-review-submit i {
    margin-right: 5px;
}

.review-list-v2 {
    border-top: 1px dashed #ccc; 
    padding-top: 15px;
    max-height: 400px; 
    overflow-y: auto; 
}
.review-list-header {
    display: flex;
    font-weight: 700;
    color: #333;
    background-color: #f8f8f8; 
    padding: 10px 15px;
    border-bottom: 2px solid #eee;
    font-size: 1.2rem; 
}
.review-list-header .col-user {
    flex: 0 0 150px; 
}
.review-list-header .col-content {
    flex: 1;
}

.review-item-v2 {
    display: flex;
    padding: 15px;
    border-bottom: 1px dashed #eee;
}
.review-item-v2:last-child {
    border-bottom: 0;
}

.review-item-v2 .col-user {
    flex: 0 0 150px;
    font-size: 1rem;
}
.review-item-v2 .user-name {
    font-weight: 700;
    font-size: 1.4rem; 
    color: #3498db; 
    display: inline; 
    margin-bottom: 3px;
}
.review-item-v2 .review-date {
    font-size: 1.1rem; 
    color: #888;
    display: block; 
    margin-top: 3px;
}
.review-item-v2 .review-pending-text {
    color: #fd7e14;
    font-style: italic;
    font-size: 1rem; 
    font-weight: bold;
    display: inline; 
    margin-left: 5px; 
}

.review-item-v2 .col-content {
    font-size: 1.5rem;
}
.review-item-v2 .review-rating {
    min-height: 1.1rem; 
    display: flex;
    align-items: center;
}
.review-item-v2 .review-rating .stars {
    color: #f0ad4e; 
    font-size: 1.5rem; 
    letter-spacing: 1px;
    line-height: 1; 
}
.review-item-v2 .review-comment-body {
    margin-top: 3px;
    color: #555;
    font-size: 1.4rem; 
    line-height: 1.6;
    word-wrap: break-word; 
}

small.form-text {
    display: block;
    text-align: right;
    font-size: 0.8em;
}
.product-rating-stars-inline {
   font-size: 2rem; 
}

.product-rating-stars-inline .star-icon.gold {
   color: #f0ad4e; 
}

.product-rating-stars-inline .star-icon.gray {
   color: #ccc; 
}
.comment-pending-text{
    font-size: 1.2rem;
    color: #ff8401;
}
.comment-date{
    font-size: 1.rem;
    font-weight: 600;
}
.detail-box .text-secondary {
    max-height: 500px; 
    overflow-y: auto; 
    border-radius: 5px;
}

.detail-box .text-secondary::-webkit-scrollbar {
    width: 8px;
}

.detail-box .text-secondary::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.detail-box .text-secondary::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

.detail-box .text-secondary::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}