.detail-page-mode .page-shell {
    padding-bottom: 0;
}

.detail-page-mode .mobile-bottom-nav,
.detail-page-mode .av-header--mobile {
    display: none !important;
}

.detail-page-topbar {
    display: none;
}

.detail-page-mode .detail-page {
    margin-top: 0;
}

@media (min-width: 769px) {
    .detail-page-mode .page-shell {
        /* padding-top: 76px; */
    }

    .detail-page-mode .bz-main-content {
        padding-top: 80px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .detail-page-mode .detail-page {
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .detail-page-mode .av-header,
    .detail-page-mode .av-side-menu,
    .detail-page-mode .av-footer {
        display: none !important;
    }

    .detail-page-mode .page-shell {
        padding-top: 0;
    }

    .detail-page-mode .bz-main-content {
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .detail-page-topbar {
        display: flex;
    }
}

.detail-page {
    max-width: 1060px;
    margin: 0 auto 40px;
    padding: 0 14px;
    overflow-x: clip;
}

.detail-page-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 120;
    height: 56px;
    padding: 0 12px;
    background: transparent;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(0);
    transition: background-color .2s ease, border-color .2s ease, backdrop-filter .2s ease;
}

.detail-page-topbar.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #eceff4;
    backdrop-filter: blur(12px);
}

.detail-page-topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-page-topbar__btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #172033;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
}

.detail-page-topbar.is-scrolled .detail-page-topbar__btn {
}

.detail-page-topbar__btn.is-active {
    color: #dc2626;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 328px;
    gap: 18px;
    align-items: start;
    margin-bottom: 18px;
    min-width: 0;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.detail-hero-card,
.detail-description-card,
.detail-related-card,
.detail-seller-card,
.detail-owner-card,
.detail-warning-card,
.detail-meta-card {
    background: #fff;
    border: 1px solid #e8eaef;
    border-radius: 18px;
}

.detail-hero-card {
    overflow: hidden;
    margin-top: 0;
}

.detail-hero-media {
    position: relative;
}

.detail-gallery {
    position: relative;
    background: #f4f6f8;
    aspect-ratio: 13 / 9;
    overflow: hidden;
}

.detail-gallery-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.detail-gallery-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.detail-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    cursor: zoom-in;
}

.detail-gallery-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    color: #6b7280;
    font-size: 18px;
    font-weight: 500;
}

.detail-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #172033;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease, transform .18s ease;
}

.detail-gallery-nav.prev {
    left: 16px;
    transform: translateY(-50%) translateX(-6px);
}

.detail-gallery-nav.next {
    right: 16px;
    transform: translateY(-50%) translateX(6px);
}

.detail-gallery-counter {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
}

.detail-gallery:hover .detail-gallery-nav,
.detail-gallery:focus-within .detail-gallery-nav {
    opacity: 1;
    visibility: visible;
}

.detail-gallery:hover .detail-gallery-nav.prev,
.detail-gallery:focus-within .detail-gallery-nav.prev {
    transform: translateY(-50%) translateX(0);
}

.detail-gallery:hover .detail-gallery-nav.next,
.detail-gallery:focus-within .detail-gallery-nav.next {
    transform: translateY(-50%) translateX(0);
}

.detail-hero-body {
    padding: 14px 16px 18px;
}

.detail-hero-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.detail-price {
    font-size: 34px;
    line-height: 1;
    font-weight: 500;
    color: #111827;
    letter-spacing: -0.04em;
}

.detail-title {
    margin: 10px 0 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 500;
    color: #0f172a;
}

.detail-hero-copy {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.detail-sale-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-sale-perk {
    min-height: 40px;
    padding: 0 14px 0 10px;
    border-radius: 999px;
    border: 1px solid #dbe5f0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #29415f;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.detail-sale-perk--credit {
    border-color: #a7f3d0;
    background: linear-gradient(180deg, #f0fdfa 0%, #dcfce7 100%);
    color: #0f766e;
}

.detail-sale-perk--barter {
    border-color: #fdba74;
    background: linear-gradient(180deg, #fff7ed 0%, #ffedd5 100%);
    color: #c2410c;
}

.detail-sale-perk__icon {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: #eaf2ff;
    color: #2563eb;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    font-size: 13px;
}

.detail-sale-perk__icon--credit {
    background: #ccfbf1;
    color: #0f766e;
}

.detail-sale-perk__icon--barter {
    background: #fed7aa;
    color: #c2410c;
}

.detail-favorite-link {
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    color: #7a8496;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.detail-favorite-link.is-active {
    color: #dc2626;
    border-color: #fecaca;
    background: #fff5f5;
}

.detail-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.detail-service-card {
    min-height: 68px;
    padding: 10px 12px;
    border: 2px solid #e5e7eb;
    border-radius: 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease;
}

.detail-service-card:hover {
    transform: translateY(-1px);
}

.detail-service-copy {
    display: flex;
    flex-direction: column;
    gap: 1px;
    align-items: flex-start;
    min-width: 0;
}

.detail-service-title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.15;
    color: #14213d;
}

.detail-service-price {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: #2563eb;
}

.detail-service-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
}

.detail-service-icon svg {
    width: 18px;
    height: 18px;
}

.detail-service-discover {
    border-color: #16a34a;
    background: linear-gradient(180deg, #ffffff 0%, #f5fff8 100%);
}

.detail-service-discover .detail-service-icon {
    background: #16a34a;
    color: #fff;
}

.detail-service-vip {
    border-color: #f59e0b;
    background: linear-gradient(180deg, #ffffff 0%, #fff9ef 100%);
}

.detail-service-vip .detail-service-icon {
    background: #fff2db;
}

.detail-service-premium {
    border-color: var(--accent);
    background: linear-gradient(180deg, #ffffff 0%, #fff5f5 100%);
}

.detail-service-premium .detail-service-icon {
    background: #ffe5e5;
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 34px;
    margin-top: 18px;
}

.detail-spec-item {
    min-height: 56px;
    padding: 10px 0;
    border-bottom: 1px solid #edf0f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.detail-spec-label {
    font-size: 14px;
    color: #6b7280;
}

.detail-spec-value {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
}

.detail-spec-value--link {
    color: #1d4ed8;
    text-decoration: none;
}

.detail-description-card,
.detail-related-card {
    padding: 18px;
}

.detail-related-card {
    background: #fff;
}

.detail-related-card--full {
    width: 100%;
}

.promotion-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.promotion-modal[hidden] {
    display: none;
}

.promotion-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.46);
}

.promotion-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 540px);
    max-height: calc(100vh - 48px);
    overflow: auto;
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff, #fbfbfc);
}

.promotion-modal__head {
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 68px;
    padding: 0 22px;
    border-bottom: 1px solid #eef2f7;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
}

.promotion-modal__close {
    position: absolute;
    left: 18px;
    top: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font-size: 18px;
}

.promotion-modal__title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    font-size: 18px;
    font-weight: 500;
}

.promotion-modal__title-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    flex: 0 0 30px;
}

.promotion-modal__title-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.promotion-modal__title-icon--vip {
    width: 28px;
    height: 28px;
}

.promotion-modal__title-icon--premium {
    width: 32px;
    height: 32px;
}

.promotion-modal__body {
    padding: 16px;
}

.promotion-modal__summary {
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.promotion-modal__summary-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--accent);
    flex: 0 0 42px;
}

.promotion-modal__summary strong,
.promotion-modal__summary span {
    display: block;
}

.promotion-modal__summary strong {
    color: #0f172a;
    font-size: 16px;
}

.promotion-modal__summary span {
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.promotion-modal__label {
    margin: 16px 4px 10px;
    color: #111827;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.promotion-modal__options,
.promotion-pay-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promotion-duration,
.promotion-pay-option {
    position: relative;
    width: 100%;
    padding: 16px 16px 16px 46px;
    border: 1px solid #dbe3ec;
    border-radius: 18px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    text-align: left;
}

.promotion-duration::before,
.promotion-pay-option::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 50%;
    width: 18px;
    height: 18px;
    border: 1.5px solid #94a3b8;
    border-radius: 999px;
    transform: translateY(-50%);
}

.promotion-duration.is-active,
.promotion-pay-option.is-active {
    border-color: #4f83ff;
    background: #f8fbff;
}

.promotion-duration.is-active::before,
.promotion-pay-option.is-active::before {
    border-color: #2563eb;
    background: #2563eb;
}

.promotion-duration span,
.promotion-duration strong {
    display: block;
}

.promotion-duration span small {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.promotion-duration > strong {
    color: #2563eb;
    font-size: 16px;
    font-weight: 500;
}

.promotion-duration__badge {
    position: absolute;
    left: 16px;
    top: -10px;
    min-height: 24px;
    padding: 0 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    background: #dff3e7;
    color: #15803d;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
}

.promotion-pay-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.promotion-pay-option__icon {
    width: 38px;
    height: 38px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    color: var(--accent);
    flex: 0 0 38px;
}

.promotion-pay-option__copy {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promotion-pay-option__copy strong {
    color: #0f172a;
    font-size: 15px;
}

.promotion-pay-option__copy small {
    margin-top: 4px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
}

.promotion-pay-option__plus {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #22c55e;
    color: #fff;
    font-weight: 500;
}

.promotion-modal__notice {
    margin-top: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 500;
}

.promotion-modal__notice--error {
    background: #fef2f2;
    color: #b91c1c;
}

.promotion-modal__legal {
    margin-top: 12px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.promotion-modal__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.promotion-modal__total span,
.promotion-modal__total strong {
    display: block;
}

.promotion-modal__total span {
    color: #64748b;
    font-size: 13px;
}

.promotion-modal__total strong {
    margin-top: 4px;
    color: #0f172a;
    font-size: 24px;
    font-weight: 500;
}

.promotion-modal__submit {
    min-width: 180px;
    min-height: 54px;
    padding: 0 24px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #2f66e9, #2563eb);
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.promotion-modal__submit:disabled {
    opacity: 0.6;
}

.promotion-inline-flash {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 500;
}

.detail-section-title {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 500;
    color: #111827;
}

.detail-description-text {
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}

.detail-description-text.is-collapsed {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
    overflow: hidden;
}

.detail-desc-toggle {
    margin-top: 12px;
    border: 0;
    background: transparent;
    color: #2563eb;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.detail-sidebar {
    position: sticky;
    top: 88px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.detail-seller-card,
.detail-owner-card,
.detail-warning-card,
.detail-meta-card {
    padding: 16px;
}

.detail-seller-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.detail-seller-avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    overflow: hidden;
    background: #f3f4f6;
    color: #111827;
    display: grid;
    place-items: center;
    font-size: 26px;
    font-weight: 500;
    flex: 0 0 auto;
    border: 2px solid #eef1f6;
}

.detail-seller-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-seller-copy {
    min-width: 0;
    flex: 1;
}

.detail-seller-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-seller-name {
    font-size: 20px;
    font-weight: 500;
    color: #111827;
}

.detail-seller-verified {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    color: #1d9bf0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.detail-seller-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.detail-seller-badge {
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid #e3e8ef;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.detail-seller-badge--soft {
    background: #fff;
    color: #0f172a;
}

.detail-seller-last-seen {
    margin-top: 10px;
    padding: 10px 14px;
    border: 1px solid #dbe3ec;
    border-radius: 999px;
    background: #fff;
    color: #0f172a;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
}

.detail-seller-hours {
    margin-top: 16px;
    border: 1px solid #dfe6ef;
    border-radius: 18px;
    background: #fbfdff;
    overflow: hidden;
}

.detail-seller-hours__summary {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.detail-seller-hours__icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef4ff;
    color: #3b82f6;
    flex: 0 0 34px;
}

.detail-seller-hours__copy {
    min-width: 0;
    flex: 1;
}

.detail-seller-hours__day {
    display: block;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.detail-seller-hours__status {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 15px;
    color: #0f172a;
}

.detail-seller-hours__status strong {
    color: #16a34a;
    font-weight: 500;
}

.detail-seller-hours__status strong.is-closed {
    color: #ef4444;
}

.detail-seller-hours__status span {
    font-weight: 500;
}

.detail-seller-hours__dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #22c55e;
    flex: 0 0 8px;
}

.detail-seller-hours__dot.is-closed {
    background: #ef4444;
}

.detail-seller-hours__arrow {
    color: #64748b;
    font-size: 18px;
    transition: transform 0.18s ease;
}

.detail-seller-hours.is-open .detail-seller-hours__arrow {
    transform: rotate(180deg);
}

.detail-seller-hours__panel {
    border-top: 1px solid #dfe6ef;
    padding: 10px 16px 12px;
}

.detail-seller-hours__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
    font-size: 15px;
    color: #334155;
}

.detail-seller-hours__row strong {
    color: #0f172a;
    font-weight: 500;
    white-space: nowrap;
}

.detail-seller-hours__row.is-today span,
.detail-seller-hours__row.is-today strong {
    color: #2563eb;
}

.detail-seller-link {
    width: 100%;
    min-height: 48px;
    margin-top: 10px;
    border-radius: 14px;
    background: #f4f5f7;
    color: #111827;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    padding: 0 16px;
}

.detail-seller-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.detail-seller-actions--grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-seller-actions--single {
    margin-top: 10px;
}

.detail-action-btn {
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
}

.detail-action-btn__label-mobile {
    display: none;
}

.detail-action-btn--call {
    background: #22c55e;
    border-color: #22c55e;
    color: #fff;
}

.detail-action-btn--message {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #fff;
}

.detail-action-btn--ghost {
    background: #eef1f5;
    border-color: #d6dde6;
    color: #0f172a;
}

.detail-action-btn--ghost.is-active {
    background: #dbeafe;
    border-color: #60a5fa;
    color: #1d4ed8;
}

.detail-owner-card {
    border: 1px solid #dbe7f5;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.detail-owner-card__head strong {
    display: block;
    color: #0f172a;
    font-size: 18px;
    font-weight: 500;
}

.detail-owner-card__head span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 14px;
}

.detail-owner-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.detail-owner-card__form {
    margin: 0;
}

.detail-owner-btn {
    width: 100%;
    min-height: 46px;
    border-radius: 14px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.detail-owner-btn--edit {
    background: #eef4ff;
    border-color: #cfe0ff;
    color: #1d4ed8;
}

.detail-owner-btn--delete {
    background: #fff5f5;
    border-color: #fecaca;
    color: #dc2626;
}

.detail-warning-card {
    background: #fff1f2;
    border-color: #fecdd3;
}

.detail-warning-title {
    font-size: 15px;
    font-weight: 500;
    color: #ef4444;
}

.detail-warning-text {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #7f1d1d;
}

.detail-meta-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid #edf0f5;
    font-size: 14px;
    color: #6b7280;
}

.detail-meta-row:last-child {
    border-bottom: 0;
}

.detail-meta-row strong {
    color: #111827;
    font-weight: 500;
    text-align: right;
}

.detail-mobile-bar {
    display: none;
}

.detail-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: #080b11;
}

.detail-lightbox__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(4, 7, 12, 0.94);
}

.detail-lightbox__dialog {
    position: relative;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.detail-lightbox__topbar {
    position: relative;
    z-index: 2;
    min-height: 84px;
    padding: 18px 28px;
    background: rgba(17, 24, 39, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.detail-lightbox__heading {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    color: #fff;
}

.detail-lightbox__heading strong,
.detail-lightbox__heading span {
    white-space: nowrap;
}

.detail-lightbox__heading strong {
    font-size: 18px;
    font-weight: 500;
}

.detail-lightbox__heading span {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 17px;
    font-weight: 500;
    color: #fff0f0;
}

.detail-lightbox__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.detail-lightbox__call,
.detail-lightbox__favorite {
    min-height: 40px;
    padding: 0 18px;
    border-radius: 12px;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.detail-lightbox__call {
    background: #2fb45a;
    color: #fff;
}

.detail-lightbox__favorite {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.detail-lightbox__favorite.is-active {
    background: rgba(173, 33, 65, 0.16);
    border-color: rgba(190, 24, 93, 0.48);
    color: #ffd5e4;
}

.detail-lightbox__stage {
    position: relative;
    flex: 1;
    min-height: 0;
    padding: 18px 72px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-lightbox__image {
    max-width: min(96vw, 1120px);
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.detail-lightbox__close,
.detail-lightbox__nav {
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.detail-lightbox__close {
    background: transparent;
    width: 40px;
    height: 40px;
    border-radius: 12px;
}

.detail-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.detail-lightbox__nav.prev {
    left: 22px;
}

.detail-lightbox__nav.next {
    right: 22px;
}

.detail-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
}

.detail-lightbox__thumbs {
    position: relative;
    z-index: 2;
    padding: 6px 18px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.detail-lightbox__thumb {
    width: 70px;
    height: 52px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    opacity: 0.7;
    flex: 0 0 auto;
    cursor: pointer;
    transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.detail-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-lightbox__thumb.is-active {
    opacity: 1;
    border-color: var(--accent);
    transform: translateY(-2px);
}

@media (max-width: 991px) {
    .detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-sidebar {
        position: static;
    }

}

@media (max-width: 768px) {
    .detail-page-mode,
    .detail-page-mode .site-body,
    .detail-page-mode .page-shell,
    .detail-page-mode .bz-main-content {
        overflow-x: hidden;
    }

    .detail-page {
        margin-top: 0;
        padding: 0;
        overflow-x: hidden;
    }

    .detail-page-topbar {
        padding: 0 8px;
    }

    .detail-hero-card {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .detail-gallery {
        aspect-ratio: 1 / 0.76;
    }

    .detail-gallery-nav {
        opacity: 1;
        visibility: visible;
    }

    .detail-gallery-nav.prev,
    .detail-gallery-nav.next {
        transform: translateY(-50%);
    }

    .detail-hero-body {
        padding: 14px 10px 18px;
        min-width: 0;
    }

    .detail-hero-heading {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .detail-price {
        font-size: 24px;
    }

    .detail-title {
        font-size: 18px;
    }

    .detail-sale-perks {
        width: 100%;
        gap: 8px;
    }

    .detail-sale-perk {
        min-height: 36px;
        padding: 0 12px 0 10px;
        font-size: 12px;
    }

    .detail-favorite-link {
        display: none;
    }

    .detail-service-grid {
        gap: 8px;
    }

    .detail-service-card {
        min-height: 60px;
        padding: 10px 10px;
        border-radius: 14px;
    }

    .detail-service-title {
        font-size: 14px;
    }

    .detail-service-price {
        font-size: 12px;
    }

    .detail-service-icon {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
    .promotion-modal {
        align-items: flex-end;
        padding: 0;
    }
    .promotion-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 12px);
        border-radius: 28px 28px 0 0;
    }
    .promotion-modal__body {
        padding: 14px;
    }
    .promotion-modal__footer {
        flex-direction: column;
        align-items: stretch;
    }
    .promotion-modal__submit {
        width: 100%;
    }

    .detail-spec-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .detail-spec-item {
        min-height: 50px;
        gap: 12px;
    }

    .detail-description-card,
    .detail-related-card,
    .detail-seller-card,
    .detail-warning-card,
    .detail-meta-card {
        margin: 0 0px;
        min-width: 0;
    }

    .detail-related-card {
        padding: 14px;
    }

    .detail-mobile-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid #e6e9ef;
        width: 100%;
        box-sizing: border-box;
    }

    .detail-mobile-bar__btn {
        flex: 1 1 0;
        min-height: 42px;
        border: 0;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        color: #fff;
        text-decoration: none;
        font-size: 16px;
        font-weight: 500;
        padding: 0 14px;
    }

    .detail-mobile-bar__btn--call {
        background: linear-gradient(135deg, #2f62ff, #3b82f6);
    }

    .detail-mobile-bar__btn--message {
        background: linear-gradient(135deg, #22c55e, #16a34a);
    }

    .detail-mobile-bar__avatar {
        width: 62px;
        height: 62px;
        margin-top: -28px;
        border: 6px solid #fff;
        border-radius: 999px;
        background: #fff;
        color: #111827;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        font-size: 20px;
        font-weight: 500;
    }

    .detail-mobile-bar__avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .detail-seller-actions--contact .detail-action-btn--message {
        display: none;
    }

    .detail-seller-actions--contact .detail-action-btn--call {
        width: 100%;
    }

    .detail-action-btn__label-desktop {
        display: none;
    }

    .detail-action-btn__label-mobile {
        display: inline;
    }

    .detail-seller-actions--grid {
        grid-template-columns: 1fr 1fr;
    }

    .detail-seller-hours {
        border-radius: 16px;
    }

    .detail-seller-hours__summary {
        padding: 11px 12px;
    }

    .detail-seller-name {
        font-size: 18px;
    }

    .detail-lightbox__dialog {
        width: 100vw;
        height: 100vh;
    }

    .detail-lightbox__topbar {
        min-height: auto;
        padding: 14px 14px 12px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .detail-lightbox__heading {
        width: 100%;
        gap: 12px;
        flex-wrap: wrap;
    }

    .detail-lightbox__heading strong {
        font-size: 16px;
    }

    .detail-lightbox__heading span {
        padding-left: 12px;
        font-size: 15px;
    }

    .detail-lightbox__actions {
        width: 100%;
        gap: 10px;
        justify-content: space-between;
    }

    .detail-lightbox__call,
    .detail-lightbox__favorite {
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }

    .detail-lightbox__stage {
        padding: 18px 16px 8px;
    }

    .detail-lightbox__image {
        max-width: 100%;
    }

    .detail-lightbox__nav {
        width: 40px;
        height: 40px;
    }

    .detail-lightbox__nav.prev {
        left: 8px;
    }

    .detail-lightbox__nav.next {
        right: 8px;
    }

    .detail-lightbox__thumbs {
        justify-content: flex-start;
        padding: 6px 10px calc(12px + env(safe-area-inset-bottom, 0px));
    }

    .detail-lightbox__thumb {
        width: 64px;
        height: 48px;
    }
}
