.service-detail-page {
    max-width: 1180px;
    padding-bottom: 3rem;
}

.service-detail-card {
    overflow: hidden;
    border: 1px solid rgba(154, 120, 24, 0.16);
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #fffdf8 100%);
    box-shadow: 0 22px 60px rgba(58, 46, 18, 0.12);
}

.service-detail-card .card-body {
    padding: clamp(1.25rem, 4vw, 3rem);
}

.service-detail-media {
    align-self: stretch;
}

.service-detail-card .breadcrumb {
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
}

.service-detail-card .breadcrumb a {
    color: #8c6b16;
    font-weight: 600;
    text-decoration: none;
}

.service-detail-card h1 {
    color: #28261f;
    letter-spacing: -0.045em;
}

.service-detail-category {
    border: 1px solid rgba(154, 120, 24, 0.18);
    background: #f8f2e3;
    color: #765a14;
    font-weight: 700;
}

.service-detail-type {
    color: #817b6e;
    font-size: 0.9rem;
}

.service-detail-price {
    color: #876512;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}

.service-detail-price small {
    color: #898273;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0;
}

.service-detail-card .about-service-image,
.service-detail-card .about-service-placeholder {
    display: block;
    width: 100%;
    height: clamp(260px, 42vw, 520px);
    min-height: 260px;
    max-height: 520px;
    border: 1px solid rgba(154, 120, 24, 0.12);
    border-radius: 20px !important;
    object-fit: cover;
    object-position: center;
    box-shadow: 0 16px 35px rgba(58, 46, 18, 0.12);
}

.service-detail-card .about-service-placeholder {
    background: linear-gradient(135deg, #fff9e9, #eee5cf);
}

.service-detail-card .btn-warning,
.service-detail-card .btn-primary {
    min-height: 50px;
    border: 1px solid #c9a441;
    border-radius: 13px;
    background: linear-gradient(135deg, #e2c36d 0%, #c89b3c 100%);
    color: #282316;
    font-weight: 750;
    box-shadow: 0 8px 18px rgba(167, 127, 35, 0.18);
}

.service-detail-card .btn-warning:hover,
.service-detail-card .btn-warning:focus-visible,
.service-detail-card .btn-primary:hover,
.service-detail-card .btn-primary:focus-visible {
    border-color: #a98225;
    background: linear-gradient(135deg, #d5b456 0%, #b8872c 100%);
    color: #211b0e;
}

.service-detail-card .form-select {
    min-height: 48px;
    border-color: #e8e1d1;
    border-radius: 12px;
    background-color: #fffefa;
}

.service-detail-card .form-select:focus {
    border-color: #c9a441;
    box-shadow: 0 0 0 0.22rem rgba(212, 175, 55, 0.17);
}

.service-detail-card .form-label {
    color: #4b473d;
    font-weight: 700;
}

.service-detail-salon {
    min-height: 84px;
    padding: 1rem;
    border: 1px solid rgba(154, 120, 24, 0.12);
    border-radius: 16px;
    background: #fbf8ef;
}

.service-detail-salon h5 {
    color: #302d25;
}

.service-detail-salon p {
    overflow-wrap: anywhere;
    font-size: 0.85rem;
}

.service-detail-card .about-service-salon-image {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border: 2px solid #d4af37;
    box-shadow: 0 5px 15px rgba(167, 127, 35, 0.2);
}

.service-image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
}

.service-gallery-thumb {
    width: 66px;
    height: 66px;
    padding: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 12px;
    background: #fbf8ef;
    transition: border-color .2s ease, transform .2s ease;
}

.service-gallery-thumb:hover,
.service-gallery-thumb.active {
    border-color: #c9a441;
    transform: translateY(-2px);
}

.service-gallery-thumb img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .service-detail-page {
        margin-top: 100px !important;
        margin-bottom: 1.5rem !important;
    }

    .service-detail-card .about-service-image,
    .service-detail-card .about-service-placeholder {
        height: min(78vw, 360px);
        min-height: 220px;
    }

    .service-detail-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .service-detail-card {
        border-radius: 18px;
    }
}
