/* Product Page Specific Styles */
.product-sidebar-header {
    background-color: var(--ruby-red);
    color: white;
    padding: 16px 20px;
    border-radius: 8px 8px 0 0;
}

.product-sidebar-header h4 {
    margin: 0;
    color: white;
    font-size: 1.1rem;
}

.product-sidebar {
    background: #f8faff;
    border-radius: 0 0 8px 8px;
    border: 1px solid #eaeaea;
    border-top: none;
    overflow: hidden;
}

.product-sidebar .nav-link {
    color: var(--gray-700);
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 14px 15px 14px 40px;
    border-radius: 0;
    text-align: left;
    transition: all 0.3s ease;
    border-bottom: 1px solid #eaeaea;
    white-space: normal;
    position: relative;
    display: block;
    line-height: 1.4;
}

.product-sidebar .nav-link:last-child {
    border-bottom: none;
}

.product-sidebar .nav-link::before {
    content: '\F4B8'; /* bi-hexagon-fill or bi-box */
    font-family: 'bootstrap-icons';
    font-size: 1.1rem;
    color: var(--gray-400);
    transition: all 0.3s ease;
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.product-sidebar .nav-link:hover {
    background: rgba(227, 30, 36, 0.05);
    color: var(--ruby-red);
}

.product-sidebar .nav-link.active {
    background: #1f1f1f; /* Dark background as in screenshot */
    color: white !important;
}

.product-sidebar .nav-link.active::before {
    color: white;
}

/* Category Title */
.category-title {
    color: var(--ruby-red);
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 0;
    width: 100%;
}

.category-title .title-line {
    height: 2px;
    background: var(--ruby-red);
    flex-grow: 1;
    opacity: 0.3;
}

/* Filters */
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.btn-filter {
    background: white;
    border: 1px solid var(--gray-300);
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-filter:hover, .btn-filter.active {
    background: var(--navy);
    color: white;
    border-color: var(--navy);
    box-shadow: 0 4px 12px rgba(15, 27, 45, 0.15);
}

/* Product Card */
.product-card {
    background: #fdfdff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    padding: 24px;
    height: 100%;
    transition: all 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    transform: translateY(-5px);
    border-color: var(--gray-300);
}

.product-app {
    font-size: 0.95rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: #1f1f1f;
    margin-bottom: 12px;
}

.product-grade {
    font-size: 1.7rem;
    font-family: 'Poppins', sans-serif;
    color: var(--ruby-red);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.product-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-doc {
    background: var(--navy);
    color: white !important;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    padding: 12px 16px;
    border-radius: 50px; /* Pill shape */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-doc:hover {
    background: var(--ruby-red);
    box-shadow: 0 4px 15px rgba(227, 30, 36, 0.2);
    transform: translateX(3px);
}

.pp-subcat-title {
    color: var(--navy);
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    border-left: 4px solid var(--ruby-red);
    padding-left: 12px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
