/* Service Details Page Styles */

/* ---- Page Hero Bar ---- */
.service-hero-bar {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 14px 0;
    border-bottom: 3px solid #e31e24;
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-modern li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.breadcrumb-modern a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.breadcrumb-modern a:hover {
    color: #e31e24;
}

.breadcrumb-modern .fa-chevron-right {
    color: rgba(255,255,255,0.3);
    font-size: 0.65rem;
}

.breadcrumb-modern .active {
    color: #e31e24;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ---- Main Image ---- */
.main-image-wrap img {
    transition: transform 0.4s ease;
}

.main-image-wrap:hover img {
    transform: scale(1.02);
}

.main-service-img {
    height: 420px;
}

.main-service-img-placeholder {
    height: 420px;
}

.object-fit-cover {
    object-fit: cover;
}

.discount-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #e31e24;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(227,30,36,0.4);
}

/* ---- Gallery Thumbs ---- */
.gallery-thumbs {
    margin-top: 12px;
}

.thumb-item {
    width: 80px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: #e31e24;
    box-shadow: 0 2px 8px rgba(227,30,36,0.3);
}

/* ---- Service Info Panel ---- */
.service-info-panel {
    padding: 8px 0;
}

.subcategory-tag {
    display: inline-flex;
    align-items: center;
    background: #fff0f0;
    color: #e31e24;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid #fdc0c0;
    margin-bottom: 12px;
}

.service-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 12px;
}

.price-panel {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border: 1px solid #fdc0c0;
    border-left: 5px solid #e31e24;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 20px;
}

.price-main {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
}

.price-old {
    font-size: 1rem;
    color: #999;
}

.save-badge {
    background: #d4edda;
    color: #155724;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.service-short-desc {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* ---- Package Highlight ---- */
.packages-highlight {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pkg-card {
    background: #fafafa;
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.25s ease;
}

.pkg-card:hover {
    border-color: #e31e24;
    background: #fff5f5;
    box-shadow: 0 4px 16px rgba(227,30,36,0.1);
    transform: translateY(-2px);
}

.pkg-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: #e31e24;
}

.pkg-save-badge {
    background: #d4edda;
    color: #155724;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

.btn-add-cart {
    background: #e31e24;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s;
    box-shadow: 0 3px 10px rgba(227,30,36,0.3);
}

.btn-add-cart:hover {
    background: #b81519;
    transform: translateY(-1px);
}

.no-package-box {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: 12px;
    padding: 16px 20px;
    color: #6c757d;
    font-size: 0.9rem;
}

/* ---- Service Details Card ---- */
.service-description-box {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 30px;
}

.service-description-box .card-header {
    border-bottom: 1px solid #f8f9fa;
}

.prose-content {
    line-height: 1.8;
    color: #444;
    font-size: 0.98rem;
}

.prose-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 12px 0;
}

.prose-content h2,
.prose-content h3 {
    color: #1a1a1a;
    margin-top: 24px;
    font-weight: 700;
}

.prose-content p {
    margin-bottom: 16px;
}

/* ---- Package Rating Badge Small ---- */
.package-rating-badge-sm {
    transition: all 0.2s;
    cursor: pointer;
    background: #fff8e1;
    border: 1px solid #ffd54f;
    padding: 1px 8px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.package-rating-badge-sm .rating-val {
    color: #f57f17;
    font-size: 0.8rem;
    font-weight: 700;
}

.package-rating-badge-sm .fa-star {
    color: #fbc02d;
    font-size: 0.7rem;
}

.package-rating-badge-sm .rating-count {
    font-size: 0.7rem;
    color: #6c757d;
}

.package-rating-badge-sm:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
    border-color: #ffb300 !important;
}

/* ---- Related Panel ---- */
.related-panel {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    top: 90px;
}

.related-panel-title {
    font-weight: 700;
    color: #1a1a1a;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 14px;
}

.related-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.related-item:hover {
    background: #fff5f5;
    border-color: #fdc0c0;
    transform: translateX(4px);
}

.related-img {
    width: 72px;
    height: 54px;
    min-width: 72px;
    border-radius: 10px;
    overflow: hidden;
    background: #f0f0f0;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.related-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.related-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e31e24;
}

/* Cart modals */
.cart-success-icon i {
    filter: drop-shadow(0 4px 12px rgba(40,167,69,0.35));
}

.login-modal-icon i {
    filter: drop-shadow(0 4px 12px rgba(227,30,36,0.35));
}
