﻿/* ========================================
   HardSoftCode Client Area Custom Styles
   ======================================== */

/* Page Header - shared across all pages */
.hsc-page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    padding: 80px 0 40px !important;
    margin-top: -65px !important;
}
.hsc-page-header .breadcrumb {
    margin-top: 130px;
}

/* Product Detail Page Header - overrides shared .hsc-page-header */
#page-title.hsc-product-detail-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    margin-top: -65px !important;
}
.hsc-product-detail-header .page-title {
    text-align: left !important;
}
.hsc-product-detail-header .page-title > h1 {
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}
.hsc-product-detail-header .breadcrumb-path {
    display: block !important;
    margin-bottom: 10px !important;
}

/* Products Page Header */
.hsc-products-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    padding: 100px 0 0 !important;
    margin-top: -65px !important;
    position: relative;
    z-index: 10;
    overflow: visible !important;
}
.hsc-products-header .page-title h1 {
    margin-top: 60px;
}

/* Product Search Box */
.hsc-search-wrapper {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
    z-index: 99999;
}
.hsc-search-box {
    position: relative;
}
.hsc-search-input {
    width: 100%;
    padding: 14px 50px 14px 20px;
    font-size: 15px;
    border: none;
    border-radius: 0;
    outline: none;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
.hsc-search-icon {
    position: absolute;
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}
.hsc-search-icon svg {
    width: 20px;
    height: 20px;
}
.hsc-search-input::placeholder {
    color: #aaa;
}
.hsc-search-input:focus {
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* Search Dropdown - override .text-light white text */
.text-light .hsc-search-wrapper .hsc-search-dropdown,
.text-light .hsc-search-wrapper .hsc-search-dropdown a,
.text-light .hsc-search-wrapper .hsc-search-dropdown span,
.text-light .hsc-search-wrapper .hsc-search-dropdown div {
    color: #777 !important;
}
.text-light .hsc-search-wrapper .hsc-search-dropdown a.hsc-search-item-name,
.text-light .hsc-search-wrapper .hsc-search-dropdown .hsc-search-item-name {
    color: #333 !important;
}
.text-light .hsc-search-wrapper .hsc-search-dropdown .hsc-search-item-price {
    color: #2563eb !important;
}
.text-light .hsc-search-wrapper .hsc-search-dropdown .hsc-search-no-results {
    color: #999 !important;
}

/* Search Dropdown */
.hsc-search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    display: none;
    z-index: 10000;
    max-height: 400px;
    overflow-y: auto;
    border-radius: 4px;
}
.hsc-search-dropdown.active {
    display: block;
}
.hsc-search-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    text-decoration: none;
    color: #777;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    gap: 15px;
}
.hsc-search-item:hover {
    background: #f8f9fa;
}
.hsc-search-item:last-child {
    border-bottom: none;
}
.hsc-search-item:hover {
    background: #f8f9fa;
}
.hsc-search-item-img {
    width: 45px;
    height: 45px;
    min-width: 45px;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 4px;
    background: #f1f5f9;
}
.hsc-search-item-img-placeholder {
    width: 45px;
    height: 45px;
    background: #f1f5f9;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
}
.hsc-search-item-info {
    flex: 1;
    min-width: 0;
}
.hsc-search-item-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    text-align: left;
}
.hsc-search-item-meta {
    font-size: 12px;
    color: #888;
}
.hsc-search-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #2563eb;
    margin-left: 10px;
    white-space: nowrap;
}
.hsc-search-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
}

/* Category Filter Nav */
.hsc-categories-nav {
    background: rgba(0,0,0,0.2);
    padding: 12px 0;
    margin-top: 50px;
}
.hsc-categories-nav .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
}
.hsc-cat-link {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 3px;
    text-decoration: none;
    display: inline-block;
}
.hsc-cat-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.hsc-cat-link.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
}

/* Product Image Overlay */
.product-image .product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.2);
    padding: 0 12px;
    height: 30px;
    line-height: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 1;
}
.product-overlay-price {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.product-overlay-left {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-overlay-type {
    color: rgba(255,255,255,0.8);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.product-overlay-rating {
    color: #f5a623;
    font-size: 10px;
}
.product-overlay-rating.no-rating {
    color: rgba(255,255,255,0.6);
}
.product {
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.grid-item {
    height: 100%;
}
.grid-item > .product {
    height: 100%;
}
.product .product-description {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.product .product-description .m-t-15 {
    margin-top: auto !important;
}

/* Product Name */
.product-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 0;
}
.product-category {
    font-size: 11px;
    margin-top: -3px;
}
.product .product-description .product-desc {
    font-size: 13px;
    color: #777;
    margin: 5px 0 0;
    line-height: 1.5;
    text-align: justify;
}
.product .btn,
.product .btn-success,
.product .btn-light {
    text-transform: none !important;
    text-align: center;
}
.product-name a {
    color: #333;
    text-decoration: none;
}
.product-name a:hover {
    color: #2563eb;
}

.product-overlay-rating .fa-star-o {
    color: #999;
}

/* ========================================
   Product Detail Page - Sidebar Layout
   ======================================== */

/* Splide Thumbnail Slider */
#hsc-main-slider {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
}
.hsc-product-detail-header #hsc-main-slider {
    border: none;
    border-radius: 0;
}
.hsc-product-detail-header .splide__slide img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    background: #000;
}
.lg-backdrop {
    background: #666 !important;
}
.lg-outer.lg {
    background: #666 !important;
}
.lg-outer .lg-toolbar {
    background: #666 !important;
}
.lg-outer .lg-components {
    background: #666 !important;
}
.lg-outer .lg-thumb-outer {
    background: #555 !important;
}
.lg-progress-bar {
    background: #555 !important;
}
.lg-progress-bar .lg-progress {
    background: #fff !important;
}
#page-content {
    overflow: visible !important;
    padding-top: 60px !important;
}

.hsc-product-detail-tabs-nav {
    margin-bottom: -2px !important;
}
.hsc-detail-tab-link-right {
    margin-left: auto !important;
    font-weight: 700 !important;
}
#page-title {
    overflow: visible !important;
}
#page-title.hsc-product-detail-header {
    margin-bottom: 0 !important;
    padding-bottom: 60px !important;
}
.hsc-product-detail-tabs-nav {
    background: rgba(0,0,0,0.2);
    padding: 12px 0;
    margin-top: 15px;
}
.hsc-product-detail-tabs-nav .container {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 5px;
}
.hsc-detail-tab-link {
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 0;
    text-decoration: none;
    display: inline-block;
}
.hsc-detail-tab-link:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.hsc-detail-tab-link.active {
    color: #fff;
    background: rgba(255,255,255,0.15);
    position: relative;
}
.hsc-detail-tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(255,255,255,0.15);
}
.hsc-detail-tabs-wrap {
    background: #fff;
}
.hsc-slide-link {
    cursor: pointer;
    display: block;
}
.hsc-slide-wrapper {
    position: relative;
}
.hsc-slide-name {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
}
.hsc-product-detail-header #hsc-thumb-slider {
    margin-top: 10px;
}
.hsc-thumb-slide {
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.2s;
}
.hsc-thumb-slide:hover,
.hsc-thumb-slide.is-active {
    opacity: 1;
}
.hsc-thumb-slide img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}
.splide__arrow {
    background: rgba(255,255,255,0.9) !important;
    border: 1px solid #ddd !important;
}
.splide__arrow svg {
    fill: #333 !important;
}

/* Breadcrumb in header */
.breadcrumb-path {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}
.breadcrumb-path a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.breadcrumb-path a:hover {
    color: #fff;
}

/* Main Product Image */
.breadcrumb-path a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
}
.breadcrumb-path a:hover {
    color: #fff;
}
.breadcrumb-path .icon-chevron-right {
    font-size: 10px;
    margin: 0 5px;
}

/* Main Product Image */
.hsc-detail-image {
    background: #f8f9fa;
    border: 1px solid #eee;
    overflow: hidden;
}
.hsc-detail-image img {
    width: 100%;
    height: auto;
    display: block;
}
.hsc-detail-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: #f8f9fa;
}

/* Thumbnails */
.hsc-detail-thumb {
    display: block;
    border: 2px solid transparent;
    transition: border-color 0.2s;
}
.hsc-detail-thumb:hover {
    border-color: #2563eb;
}
.hsc-detail-thumb img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Tabs */
.hsc-detail-tabs-wrap {
    border: 1px solid #eee;
    background: #fff;
    padding: 0;
}
.hsc-detail-tabs-wrap .nav-tabs {
    padding: 0 15px;
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}
.nav-tabs .nav-link {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border: none;
    padding: 12px 18px;
    border-bottom: 2px solid transparent;
}
.nav-tabs .nav-link.active {
    color: #2563eb;
    border-bottom-color: #2563eb;
    background: transparent;
}
.nav-tabs .nav-link:hover {
    color: #2563eb;
    border-color: transparent;
}
.hsc-tab-content-inner {
    padding: 20px;
    font-size: 14px;
    color: #555;
    line-height: 1.8;
}

/* Alerts */
.hsc-alert-info {
    background: #e8f4fd;
    border: 1px solid #b6dff5;
    color: #1a6da0;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 4px;
}
.hsc-alert-warning {
    background: #fef9e7;
    border: 1px solid #f5e6a3;
    color: #856404;
    font-size: 13px;
    padding: 12px 16px;
    border-radius: 4px;
}

/* ========================================
   Sidebar Boxes
   ======================================== */
.hsc-sidebar-box {
    border: 1px solid #eee;
    background: #fff;
    padding: 10px;
    margin-bottom: 20px;
}
.hsc-sidebar-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 5px;
}
.hsc-sidebar-price {
    font-size: 30px;
    font-weight: 600;
    color: #e74c3c;
    text-align: center;
    margin-bottom: 5px;
}
.hsc-sidebar-license-select {
    margin-bottom: 10px;
}
.hsc-license-text {
    font-size: 12px;
    color: #777;
    text-align: justify;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* Rating Box */
.hsc-rating-box-content {
    padding: 10px 0;
}
.hsc-rating-percent {
    font-size: 36px;
    font-weight: 800;
    color: #2563eb;
}
.hsc-rating-percent span {
    font-size: 18px;
}
.hsc-rating-label {
    font-size: 13px;
    color: #888;
    font-weight: 600;
    margin-bottom: 8px;
}
.hsc-rating-stars-big {
    font-size: 16px;
    color: #f5a623;
    margin-bottom: 5px;
}
.hsc-rating-stars-big .fa-star-o {
    color: #ddd;
}

/* Share Buttons */
.hsc-share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.hsc-share-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}
.hsc-share-btn:hover {
    opacity: 0.85;
    color: #fff;
}
.hsc-share-facebook { background: #3b5998; }
.hsc-share-twitter { background: #1da1f2; }
.hsc-share-linkedin { background: #0077b5; }
.hsc-share-email { background: #666; }

/* Product Info List */
.hsc-info-list {
    display: flex;
    flex-direction: column;
}
.hsc-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
}
.hsc-info-item:last-child {
    border-bottom: none;
}
.hsc-info-label {
    font-size: 12px;
    color: #888;
    flex-shrink: 0;
    margin-right: 20px;
}
.hsc-info-value {
    font-size: 12px;
    color: #333;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
}

/* ========================================
   Reviews
   ======================================== */
.hsc-review-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.hsc-review-item:last-child {
    border-bottom: none;
}
.hsc-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.hsc-review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hsc-review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #0f3460;
    text-transform: uppercase;
    flex-shrink: 0;
}
.hsc-review-name {
    font-size: 14px;
    color: #333;
}
.hsc-review-date {
    font-size: 12px;
    color: #999;
    margin-left: 10px;
}
.hsc-review-stars {
    color: #f5a623;
    font-size: 13px;
}
.hsc-review-stars .fa-star-o,
.hsc-review-stars .far.fa-star {
    color: #c4c4c4;
}
.hsc-review-message {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    white-space: pre-line;
}
.hsc-review-updated {
    font-size: 11px;
    color: #999;
    margin-top: 5px;
}
.hsc-review-staff-reply {
    margin-top: 12px;
    margin-left: 50px;
    padding: 14px 16px;
    background: #fff8f0;
    border: 1px solid #fde9d8;
    border-left: 3px solid #f97316;
    border-radius: 0 8px 8px 0;
}
.hsc-review-staff-reply-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.hsc-review-staff-reply-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #f97316;
    text-transform: uppercase;
    flex-shrink: 0;
}
.hsc-review-staff-reply-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hsc-review-staff-reply-line1 {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.hsc-review-staff-reply-name {
    font-size: 14px;
    color: #333;
}
.hsc-review-staff-reply-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #f97316;
    border-radius: 3px;
}
.hsc-review-staff-reply-badge .fa {
    font-size: 10px;
}
.hsc-review-staff-reply-date {
    font-size: 12px;
    color: #999;
    margin-left: auto;
    align-self: flex-start;
    padding-top: 2px;
}
.hsc-review-staff-reply-date .fa {
    font-size: 11px;
    margin-right: 3px;
}
.hsc-review-staff-reply-body {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    white-space: pre-line;
    padding-left: 44px;
}
@media (max-width: 767px) {
    .hsc-review-staff-reply {
        margin-left: 0;
    }
    .hsc-review-staff-reply-body {
        padding-left: 0;
    }
}
.hsc-review-time {
    font-size: 11px;
    color: #999;
    text-align: right;
    margin-top: 8px;
}
.hsc-review-time .fa {
    font-size: 11px;
    margin-right: 4px;
}

/* Comments */
.hsc-comment-item {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}
.hsc-comment-item:first-child {
    padding-top: 0;
}
.hsc-comment-item:last-child {
    border-bottom: none;
}
.hsc-comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
}
.hsc-comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.hsc-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    background: #0f3460;
    text-transform: uppercase;
    flex-shrink: 0;
}
.hsc-comment-admin-avatar {
    background: #f97316;
}
.hsc-comment-name {
    font-size: 14px;
    color: #333;
    margin-right: 6px;
}
.hsc-comment-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #0f3460;
    border: 1px solid #0a2542;
}
.hsc-comment-verified-badge .fa {
    font-size: 10px;
}
.hsc-comment-reply-label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-right: 6px;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: #f97316;
}
.hsc-comment-reply-label .fa {
    font-size: 10px;
}
.hsc-comment-date {
    font-size: 12px;
    color: #999;
}
.hsc-comment-date .fa {
    font-size: 11px;
    margin-right: 3px;
}
.hsc-comment-message {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    white-space: pre-line;
    margin: 0 0 0 50px;
}
.hsc-comment-admin-reply {
    margin-top: 12px;
    margin-left: 50px;
    padding: 12px 14px;
    background: #fff8f0;
    border-left: 3px solid #f97316;
}
.hsc-comment-reply {
    margin-top: 12px;
    margin-left: 50px;
    padding: 12px 14px;
    background: #f8f9fa;
    border: 1px solid #eceff1;
    border-radius: 6px;
}
.hsc-comment-reply.hsc-comment-admin-reply {
    padding: 12px 14px;
    background: #fff8f0;
    border-left: 3px solid #f97316;
    border-top: none;
}
.hsc-comment-reply .hsc-comment-message {
    margin-left: 0;
}
.hsc-comment-reply-actions,
.hsc-comment-reply .hsc-comment-form-box {
    margin-left: 0;
}
.hsc-comment-actions {
    display: flex;
    gap: 14px;
    margin-top: 8px;
    margin-left: 50px;
    justify-content: flex-end;
}
.hsc-comment-action-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12px;
    color: #777;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hsc-comment-action-btn:hover {
    color: #0f3460;
}
.hsc-comment-action-btn.hsc-comment-edit-toggle {
    color: #198754;
}
.hsc-comment-action-btn.hsc-comment-edit-toggle:hover {
    color: #0f5132;
}
.hsc-comment-action-btn.hsc-comment-report-toggle {
    color: #dc3545;
}
.hsc-comment-action-btn.hsc-comment-report-toggle:hover {
    color: #b02a37;
}
.hsc-comment-action-btn.hsc-comment-delete-toggle {
    color: #dc3545;
}
.hsc-comment-action-btn.hsc-comment-delete-toggle:hover {
    color: #b02a37;
}
.hsc-sidebar-cta-btn {
    text-align: left;
    margin-left: 0;
}
a.btn.hsc-sidebar-cta-btn {
    margin-left: 0 !important;
}
.hsc-sidebar-cta-btn .icon-chevron-right {
    float: right;
    position: relative;
    right: auto;
    left: auto;
    opacity: 1;
    margin-top: 4px;
}
.hsc-sidebar-cta-btn:hover .icon-chevron-right {
    right: -6px;
}
.hsc-comment-reply-box {
    border-top: 1px solid #e4e4e4;
    padding-top: 14px;
}
.hsc-comment-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.hsc-comment-form-box {
    margin-top: 10px;
    margin-left: 50px;
}
.hsc-comment-action-btn.hsc-comment-report-toggle:hover {
    color: #dc3545;
}
.hsc-comment-report-box {
    background: #fff8f8;
    border: 1px solid #f0c9c9;
    border-radius: 4px;
    padding: 15px;
}
.hsc-comment-report-heading {
    font-size: 13px;
    font-weight: 600;
    color: #8a2f2f;
    margin-bottom: 8px;
}
.hsc-comment-report-note {
    font-size: 12px;
    color: #b06a6a;
    margin-top: 8px;
    margin-bottom: 0;
}
.hsc-comment-notify {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    width: fit-content;
}

/* Review Summary (5-star stats) */
.hsc-review-summary {
    display: flex;
    gap: 30px;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 4px;
}
.hsc-review-summary-score {
    text-align: center;
    min-width: 160px;
    padding-right: 30px;
    border-right: 1px solid #eee;
}
.hsc-review-summary-average {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}
.hsc-review-summary-stars {
    color: #f5a623;
    font-size: 16px;
    margin-top: 8px;
}
.hsc-review-summary-stars .fa-star-o,
.hsc-review-summary-stars .far.fa-star {
    color: #c4c4c4;
}
.hsc-review-summary-total {
    font-size: 12px;
    margin-top: 6px;
}
.hsc-review-summary-bars {
    flex: 1;
}
.hsc-review-bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}
.hsc-review-bar-row:last-child {
    margin-bottom: 0;
}
.hsc-review-bar-label {
    font-size: 12px;
    color: #666;
    width: 55px;
    flex-shrink: 0;
}
.hsc-review-bar-track {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}
.hsc-review-bar-fill {
    height: 100%;
    background: #f5a623;
    border-radius: 4px;
}
.hsc-review-bar-count {
    font-size: 12px;
    color: #999;
    width: 30px;
    text-align: right;
    flex-shrink: 0;
}
@media (max-width: 575px) {
    .hsc-review-summary {
        flex-direction: column;
    }
    .hsc-review-summary-score {
        border-right: none;
        border-bottom: 1px solid #eee;
        padding-right: 0;
        padding-bottom: 15px;
        width: 100%;
    }
}

/* ========================================
   Tabs Content (Compat, Reqs, Changelog)
   ======================================== */
.hsc-req-card {
    background: #f8f9fa;
    border: 1px solid #eee;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.hsc-changelog-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.hsc-changelog-item:last-child {
    border-bottom: none;
}
.hsc-changelog-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.hsc-changelog-date {
    font-size: 12px;
    color: #888;
}
.hsc-changelog-text {
    font-size: 13px;
    color: #666;
    white-space: pre-line;
}

#page-content .card-title a {
    color: #212529 !important;
}
#page-content .card-title a:hover {
    color: #0f3460 !important;
}

.hsc-rating-summary .hsc-rating-stars {
    color: #FCD404 !important;
    font-size: 25px;
}
.hsc-rating-summary .hsc-rating-stars .fas,
.hsc-rating-summary .hsc-rating-stars .fa {
    color: #FCD404 !important;
}
.hsc-rating-summary .hsc-rating-stars .far {
    color: #ccc !important;
}
.hsc-rating-summary .hsc-rating-score {
    font-size: 28px;
    font-weight: 700;
    color: #FCD404;
    margin: 20px 0 0;
}
.hsc-rating-summary .hsc-rating-count {
    font-size: 13px;
    margin-top: 20px;
}

.hsc-product-tag {
    color: #0f3460 !important;
    font-weight: 600;
    text-decoration: underline;
}
.hsc-product-tag:hover {
    color: #e74c3c !important;
}

.hsc-compat-tree {
    position: relative;
    padding-left: 20px;
}
.hsc-compat-item {
    position: relative;
    padding-left: 30px;
    padding-bottom: 20px;
}
.hsc-compat-item:last-child {
    padding-bottom: 0;
}
.hsc-compat-dot {
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e74c3c;
    border: 2px solid #f5c6cb;
    z-index: 1;
}
.hsc-compat-line {
    position: absolute;
    left: 5px;
    top: 20px;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}
.hsc-compat-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    border-left: 3px solid #e74c3c;
}
.hsc-compat-header {
    margin-bottom: 10px;
}
.hsc-compat-body {
    font-size: 15px;
    color: #495057;
    line-height: 1.5;
    padding-left: 20px;
}

.hsc-req-tree .hsc-compat-dot {
    background: #0d6efd;
    border-color: #cfe2ff;
}
.hsc-req-tree .hsc-compat-card {
    border-left-color: #0d6efd;
}
.hsc-req-tree .hsc-compat-body {
    padding-left: 0;
}

.hsc-cl-tree .hsc-compat-dot {
    background: #fd7e14;
    border-color: #ffe5d0;
}
.hsc-cl-tree .hsc-compat-card {
    border-left-color: #fd7e14;
}
.hsc-cl-tree .hsc-compat-body {
    padding-left: 0;
}

.hsc-cart-badge {
    position: absolute !important;
    top: -8px !important;
    right: -10px !important;
    background: #e74c3c;
    color: #fff;
    font-size: 10px !important;
    font-weight: 700;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    opacity: 1 !important;
    z-index: 1;
    left: auto !important;
}
.header-extras .p-dropdown > a {
    position: relative;
    display: inline-block !important;
    height: auto !important;
    line-height: 1 !important;
}

.widget-mycart { padding: 30px 0; }
.widget-mycart .cart-item .cart-item-remove a:hover i { color: #e74c3c !important; }
.shop-cart .cart-product-remove a i { color: #999; }
.shop-cart .cart-product-remove a:hover i { color: #e74c3c !important; }
.shop-cart .cart-product-thumbnail img { max-width: 70px !important; }
.shop-cart .cart-product-thumbnail .cart-product-thumbnail-name a { color: #1e2022 !important; font-weight: 700; }
.shop-cart .cart-product-quantity input[type="number"]::-webkit-inner-spin-button,
.shop-cart .cart-product-quantity input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.shop-cart .cart-product-quantity input[type="number"] { -moz-appearance: textfield; }

/* Checkout Order Summary */
.hsc-order-summary {
    position: sticky;
    top: 90px;
}
.hsc-summary-thumb {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #eee;
}
.hsc-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hsc-order-summary .h3 {
    font-weight: 700;
}
.hsc-order-summary #hscPlaceOrderBtn {
    font-size: 15px;
    letter-spacing: .3px;
}


/* Checkout spacer - invisible alignment twin of the toggle bar */
.hsc-spacer {
    visibility: hidden;
}

/* Checkout - enable sticky Order Summary (POLO section has overflow:hidden) */
#shop-checkout {
    overflow: visible !important;
}
.hsc-order-summary {
    transition: box-shadow .3s ease;
}

/* Password eye toggles - always clickable, above overlays */
.show-hide-password .input-group-text,
.hsc-show-hide-password .input-group-text {
    cursor: pointer;
    position: relative;
    z-index: 5;
}


/* Account dashboard stat cards */
.hsc-dashboard-card-link,
.hsc-dashboard-card-link .card {
    text-decoration: none;
    color: inherit;
}
.hsc-dashboard-card {
    transition: transform .25s ease, box-shadow .25s ease;
}
.hsc-dashboard-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0,0,0,0.25) !important;
}



/* Account dashboard: stat cards below the client info, on the page-title background */
.hsc-overlap-wrap {
    margin-top: 50px;
    position: relative;
    z-index: 5;
}
.hsc-overlap-card-link {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    text-decoration: none;
}
.hsc-overlap-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 0;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.hsc-overlap-count {
    font-size: 60px;
    font-weight: 500;
    color: #fff;
    line-height: 1.15;
    position: relative;
    z-index: 1;
}
.hsc-overlap-label {
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-top: 6px;
    position: relative;
    z-index: 1;
}
.hsc-overlap-card .icon-layers,
.hsc-overlap-card .icon-life-buoy,
.hsc-overlap-card .icon-credit-card {
    pointer-events: none;
}
.hsc-overlap-mobile-spacer {
    display: none !important;
}
.hsc-overlap-card .card-bg-icon {
    font-size: 110px; 
    position: absolute;
    right: -8px; 
    bottom: -20px; 
    line-height: 1;
    pointer-events: none; /* Keeps links fully clickable */
    
    /* ? THE SOLUTION: Forces the entire icon block to 5% transparency, ignoring global CSS colors */
    filter: opacity(10%) !important; 
}



#quoteRequestForm .fileuploader,
#quoteRequestForm .fileuploader *,
#quoteRequestForm .editor-toolbar,
#quoteRequestForm .editor-toolbar *,
#quoteRequestForm .CodeMirror,
#quoteRequestForm .CodeMirror *,
#quoteRequestForm .editor-statusbar,
#quoteRequestForm .form-check-input {
    border-radius: 0 !important;
}

/* ========================================
   Header Live Search Dropdown
   ======================================== */
.hsc-live-search {
    display: none;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    max-height: 45vh;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0;
    box-shadow: 0 16px 40px rgba(15, 52, 96, 0.12);
    text-align: left;
}
.hsc-live-search.open {
    display: block;
}
.hsc-live-search-group {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px 6px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #0f3460;
    background: #f4f6f9;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
}
.hsc-live-search-group .fa {
    font-size: 12px;
}
.hsc-live-search-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 11px 16px;
    border-bottom: 1px solid #f1f3f6;
    text-decoration: none;
    transition: background-color 0.15s ease;
}
.hsc-live-search-item:last-child {
    border-bottom: none;
}
.hsc-live-search-item:hover {
    background: #f8f9fa;
}
.hsc-live-search-title {
    font-size: 14px;
    font-weight: 600;
    color: #16213e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.hsc-live-search-item:hover .hsc-live-search-title {
    color: #0d6efd;
}
.hsc-live-search-cat {
    flex-shrink: 0;
    font-size: 11px;
    color: #6c757d;
    background: #eef2f7;
    padding: 2px 9px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.hsc-live-search-empty {
    padding: 16px;
    text-align: center;
    font-size: 13px;
    color: #98a6ad;
}
#search .search-form {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 640px;
    padding: 0 20px;
    margin: 80px auto;
}
#search .search-form .form-control {
    text-align: left;
}
#search .search-form .text-muted {
    margin-bottom: 16px;
}
@media (max-width: 767px) {
    #search .search-form {
        margin: 110px auto;
    }
    .hsc-live-search {
        max-height: 40vh;
    }
}

/* ========================================
   Home Page Sections
   ======================================== */
.hsc-home { color: #333; }
.hsc-home * { box-sizing: border-box; }

/* Hero */
.hsc-home-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;
    margin-bottom: 18px;
}
.hsc-home-hero-badge .fa { color: #f97316; }
.hsc-home-hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
}

/* Stats band */
.hsc-home-stats {
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    padding: 34px 0;
}
.hsc-home-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 6px;
}
.hsc-home-stat-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}
.hsc-home-stat-body h3 {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: #16213e;
    line-height: 1.1;
}
.hsc-home-stat-body p {
    margin: 2px 0 0 0;
    font-size: 12.5px;
    color: #6c757d;
}

/* Section head */
.hsc-home-section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 38px auto;
}
.hsc-home-section-head h2 {
    font-size: 2rem;
    color: #16213e;
    margin-bottom: 12px;
    font-weight: 700;
}
.hsc-home-section-head p {
    font-size: 1.02rem;
    color: #6c757d;
    margin: 0;
}
.hsc-home-section-more {
    text-align: center;
    margin-top: 34px;
}
.hsc-home-section-more .fa { margin-left: 6px; font-size: 12px; }

/* Services */
.hsc-home-services { padding: 70px 0; }
.hsc-home-service-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 0;
    padding: 28px 22px;
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.hsc-home-service-card:hover {
    transform: translateY(-5px);
    border-color: #cfd9e6;
    box-shadow: 0 12px 24px rgba(15, 52, 96, 0.08);
}
.hsc-home-service-icon {
    width: 48px;
    height: 48px;
    background: #0f3460;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
}
.hsc-home-service-card h3 { font-size: 1.12rem; color: #212529; margin-bottom: 10px; }
.hsc-home-service-card p { font-size: 0.92rem; color: #666; line-height: 1.6; margin: 0; }

/* Products */
.hsc-home-products { padding: 70px 0; background: #f8f9fa; }
.hsc-home-pill {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #0f3460;
    background: #eef2f7;
    padding: 3px 10px;
    margin-bottom: 8px;
}
.hsc-home-product-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e9ecef;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hsc-home-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 52, 96, 0.1);
}
.hsc-home-product-thumb {
    display: block;
    height: 176px;
    background: #f6f8fa;
    overflow: hidden;
}
.hsc-home-product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.5s ease;
}
.hsc-home-product-card:hover .hsc-home-product-thumb img {
    transform: scale(1.08);
}
.hsc-home-product-thumb-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    color: #94a3b8;
}
.hsc-home-product-body { padding: 20px 20px 18px 20px; }
.hsc-home-product-body h3 { font-size: 1.08rem; margin: 0 0 8px 0; }
.hsc-home-product-body h3 a { color: #16213e; text-decoration: none; }
.hsc-home-product-body h3 a:hover { color: #0d6efd; }
.hsc-home-product-body p { font-size: 0.9rem; color: #6c757d; line-height: 1.55; margin: 0 0 14px 0; }
.hsc-home-product-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f1f3f6;
    padding-top: 12px;
}
.hsc-home-product-price { font-weight: 800; color: #0f3460; font-size: 1.02rem; }
.hsc-home-product-rating .fa { color: #f5a623; font-size: 12px; }
.hsc-home-product-rating .far { color: #c4c4c4; font-size: 12px; }

/* Why band */
.hsc-home-why {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 74px 0;
    color: #fff;
}
.hsc-home-why-content h2 { font-size: 2rem; color: #fff; margin-bottom: 16px; }
.hsc-home-why-content p { color: #c5d0dd; font-size: 1.02rem; line-height: 1.75; margin-bottom: 26px; }
.hsc-home-why-list { list-style: none; margin: 0; padding: 0; }
.hsc-home-why-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hsc-home-why-list li:last-child { border-bottom: none; }
.hsc-home-why-list li > i {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    background: #f97316;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}
.hsc-home-why-list strong { display: block; font-size: 1.02rem; color: #fff; margin-bottom: 3px; }
.hsc-home-why-list span { display: block; font-size: 0.92rem; color: #aebccb; }

/* Testimonials */
.hsc-home-testimonials { padding: 70px 0; background: #fff; }
.hsc-home-quote-card {
    height: 100%;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 26px 24px;
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hsc-home-quote-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(15, 52, 96, 0.08);
}
.hsc-home-quote-icon { font-size: 24px; color: #d7dee7; margin-bottom: 10px; }
.hsc-home-quote-stars { margin-bottom: 10px; }
.hsc-home-quote-stars .fa { color: #f5a623; font-size: 13px; }
.hsc-home-quote-stars .far { color: #c4c4c4; font-size: 13px; }
.hsc-home-quote-card h3 { font-size: 1.06rem; color: #16213e; margin: 0 0 8px 0; }
.hsc-home-quote-card > p { font-size: 0.92rem; color: #666; line-height: 1.6; margin: 0 0 16px 0; }
.hsc-home-quote-author {
    display: flex;
    align-items: center;
    gap: 10px;
    border-top: 1px solid #eceff3;
    padding-top: 14px;
}
.hsc-home-quote-avatar {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #0f3460;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-transform: uppercase;
    overflow: hidden;
}
.hsc-home-quote-avatar-img { background: #fff; border: 1px solid #e9ecef; object-fit: contain; padding: 3px; }
.hsc-home-quote-name { font-size: 0.92rem; font-weight: 600; color: #16213e; }

/* Blog */
.hsc-home-blog { padding: 70px 0; background: #f8f9fa; }
.hsc-home-post-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e9ecef;
    margin-bottom: 30px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hsc-home-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(15, 52, 96, 0.1);
}
.hsc-home-post-thumb {
    display: block;
    height: 176px;
    background: #f1f5f9;
    overflow: hidden;
}
.hsc-home-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.hsc-home-post-card:hover .hsc-home-post-thumb img { transform: scale(1.05); }
.hsc-home-post-thumb-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #94a3b8;
}
.hsc-home-post-body { padding: 20px; }
.hsc-home-post-body h3 { font-size: 1.06rem; margin: 0 0 8px 0; line-height: 1.4; }
.hsc-home-post-body h3 a { color: #16213e; text-decoration: none; }
.hsc-home-post-body h3 a:hover { color: #0d6efd; }
.hsc-home-post-body p { font-size: 0.9rem; color: #6c757d; line-height: 1.55; margin: 0 0 12px 0; }
.hsc-home-post-date { font-size: 12px; color: #999; }
.hsc-home-post-date .fa { margin-right: 5px; }

/* Final CTA */
.hsc-home-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
    padding: 72px 0;
    color: #fff;
}
.hsc-home-cta h2 { font-size: 2rem; color: #fff; margin-bottom: 12px; }
.hsc-home-cta p { color: #c5d0dd; font-size: 1.05rem; margin-bottom: 28px; }
.hsc-home-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.hsc-home .btn-inverted { border-radius: 0; }
.hsc-home .btn { border-radius: 0; }

@media (max-width: 767px) {
    .hsc-home-section-head h2, .hsc-home-why-content h2, .hsc-home-cta h2 { font-size: 1.55rem; }
    .hsc-home-why-content { margin-bottom: 34px; }
    .hsc-home-stat { margin-bottom: 10px; }
}

.hsc-home .btn-inverted-dark {
    color: #16213e;
    border: 2px solid #c3cfdd;
    background: transparent;
    font-weight: 600;
    transition: all 0.2s ease;
}
.hsc-home .btn-inverted-dark:hover,
.hsc-home .btn-inverted-dark:focus {
    color: #fff;
    background: #0f3460;
    border-color: #0f3460;
}
