:root {
    --primary-color: #cabe06;
    --primary-hover: #a89d05;
    --primary-soft: rgba(202, 190, 6, 0.1);
    --secondary-color: #1e293b;
    --text-main: #334155;
    --text-muted: #64748b;
    --white: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

.service-show-page {
    background-color: var(--bg-light);
    padding-bottom: 5rem;
}

/* Breadcrumb Styles */
.breadcrumb-container {
    padding: 1.5rem 0;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb-nav a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-nav a:hover {
    color: var(--primary-color);
}

.breadcrumb-separator {
    font-size: 0.75rem;
    opacity: 0.5;
}

.breadcrumb-current {
    color: var(--secondary-color);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Service Hero Content */
.service-main-wrapper {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .service-main-wrapper {
        grid-template-columns: 1fr;
    }
}

/* Left Content Area */
.service-left-col {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-title-section h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.service-meta-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.seller-link-compact {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
}

.seller-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.service-rating-pill {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: #eab308;
    background: #fefce8;
    padding: 0.35rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

/* Main Image Gallery */
.service-gallery {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
}

.main-service-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

/* Tabs & Content */
.service-content-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.service-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.service-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 10px;
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-main);
    white-space: pre-line;
}

.keywords-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.keyword-tag {
    background: var(--primary-soft);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Sidebar Styling */
.service-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.purchase-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.purchase-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    padding: 2rem;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-display {
    font-size: 2rem;
    font-weight: 800;
}

.price-display span {
    font-size: 1rem;
    opacity: 0.7;
    margin-left: 0.25rem;
}

.purchase-body {
    padding: 2rem;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 500;
}

.service-features-list li i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.hire-btn {
    width: 100%;
    padding: 1.1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Seller Card */
.seller-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
}

.seller-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.25rem;
    border: 4px solid var(--primary-soft);
}

.seller-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.seller-title {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.seller-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: var(--bg-light);
    padding: 1rem;
    border-radius: var(--radius-md);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-weight: 800;
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.view-profile-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--radius-md);
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.view-profile-btn:hover {
    background: var(--bg-light);
    border-color: var(--text-muted);
}

/* Modal Enhancements */
.modal-content {
    border-radius: var(--radius-lg);
    border: none;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
}

.modal-body {
    padding: 2.5rem 2rem;
}

.modal-footer {
    border-top: none;
    padding: 1rem 2rem 2rem;
    gap: 1rem;
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* Ratings Section Styles */
.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-card {
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease;
}

.review-card:hover {
    transform: translateX(5px);
    border-color: var(--primary-color);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.review-user-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-stars {
    color: #eab308;
    font-size: 0.9rem;
    display: flex;
    gap: 2px;
}

.review-comment {
    color: var(--text-main);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
    font-style: italic;
}

.empty-reviews {
    text-align: center;
    padding: 3rem;
    color: var(--text-muted);
}

.empty-reviews i {
    font-size: 3rem;
    opacity: 0.2;
    margin-bottom: 1rem;
}