/* Listing detail — turbo.az inspired, Makina.az brand */

/* overflow-x: hidden sticky-ni öldürür; clip öldürmür */
<html:has(body.page-listing-detail),
body.page-listing-detail,
body.page-listing-detail.overflow-x-hidden,
html:has(body.page-listings),
body.page-listings {
    overflow-x: clip !important;
}

.page-listing-detail {
    background: #f4f4f4;
}

.ld-wrap {
    padding: 16px 20px 40px;
    max-width: 1180px;
}

/* Breadcrumb */
.ld-breadcrumb {
    font-size: 13px;
    color: #8d8d8d;
    margin-bottom: 12px;
}

.ld-breadcrumb a {
    color: #8d8d8d;
    text-decoration: none;
}

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

.ld-breadcrumb span {
    margin: 0 6px;
    color: #ccc;
}

/* Title row */
.ld-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.ld-title-block {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 14px;
    flex: 1;
    min-width: 0;
}

.ld-title {
    font-size: 22px;
    font-weight: 700;
    color: #212121;
    line-height: 1.35;
    margin: 0;
}

.ld-subtitle {
    font-size: 15px;
    color: #8d8d8d;
    margin: 0;
    line-height: 1.4;
    flex: 1 1 auto;
    min-width: 12rem;
}

.ld-title-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.ld-title-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
}

.ld-title-badge--wanted {
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
}

.ld-title-badge--premium {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    color: #c2410c;
    border: 1px solid #fed7aa;
}

.ld-title-badge--boost {
    background: #f0f9ff;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.ld-title-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
    padding-top: 4px;
}

.ld-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    font-size: 14px;
    color: #4a4a4a;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    padding: 0;
    transition: color 0.15s;
}

.ld-action-link:hover {
    color: var(--primary);
}

.ld-action-link i {
    font-size: 15px;
}

/* Main grid — sidebar sticky yalnız bu gridin sonuna qədər (oxşar elanlardan əvvəl) */
.ld-main {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 20px;
    align-items: start;
    overflow: visible;
}

.page-listing-detail .ld-main.bh-product-master-wrapper,
.page-listing-detail .bh-product-master-wrapper {
    max-width: none;
    margin: 0;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.ld-main__left {
    min-width: 0;
}

.ld-sidebar {
    position: sticky;
    top: 72px;
    align-self: start;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 104px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

/* Açıq “geri zəng” formu sticky max-height içində kəsilməsin */
.ld-sidebar:has(.ld-panel-cb[open]) {
    max-height: none;
    overflow: visible;
}

/* Gallery — premium */
.page-listing-detail .ld-gallery {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.page-listing-detail .ld-gallery .bh-media-gallery-component,
.page-listing-detail .bh-media-gallery-component {
    gap: 0;
}

.page-listing-detail .ld-gallery__main,
.page-listing-detail .bh-main-view-container {
    height: min(400px, 52vw);
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: none;
    box-shadow: none;
    border-radius: 0;
    position: relative;
}

.page-listing-detail .bh-main-viewport-frame {
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.page-listing-detail .ld-gallery__count {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.page-listing-detail .ld-gallery__thumbs,
.page-listing-detail .bh-thumbnail-navigation-track {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap;
    gap: 10px;
    padding: 12px 14px 14px;
    background: #fff;
    border-top: 1px solid #eef2f6;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

.page-listing-detail .ld-gallery__thumbs::-webkit-scrollbar {
    height: 6px;
}

.page-listing-detail .ld-gallery__thumbs::-webkit-scrollbar-thumb {
    background: #d4dbe5;
    border-radius: 999px;
}

.page-listing-detail .bh-thumbnail-item-trigger {
    width: 88px !important;
    height: 66px !important;
    min-width: 88px;
    flex: 0 0 auto;
    border-radius: 10px !important;
    border: 2px solid transparent !important;
    opacity: 0.72;
    filter: none !important;
    object-fit: cover;
    cursor: pointer;
    transition: border-color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.page-listing-detail .bh-thumbnail-item-trigger:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.page-listing-detail .bh-thumbnail-item-trigger.bh-active-thumbnail {
    border-color: #f7971c !important;
    opacity: 1;
    box-shadow: 0 0 0 3px rgba(247, 151, 28, 0.18);
}

.page-listing-detail .bh-main-nav-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.14);
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.page-listing-detail .bh-main-nav-btn:hover {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

/* Sections */
.ld-section {
    background: #fff;
    border-radius: 18px;
    padding: 22px 24px;
    margin-bottom: 16px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.ld-section__title {
    font-size: 18px;
    font-weight: 700;
    color: #212121;
    margin: 0 0 16px;
}

/* Spec grid — turbo 2-col */
.ld-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 0;
    padding: 0;
}

.ld-spec-pair {
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    align-items: baseline;
}

.ld-spec-pair dt {
    color: #999;
    font-weight: 400;
    margin: 0;
}

.ld-spec-pair dd {
    color: #212121;
    font-weight: 500;
    margin: 0;
}

.ld-description {
    white-space: pre-line;
    line-height: 1.7;
    font-size: 15px;
    color: #333;
}

/* Sidebar — sticky dəyərləri .ld-main altındakı qayda ilə idarə olunur */
.ld-sidebar__card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #eceff3;
}

.ld-price {
    font-size: 28px;
    font-weight: 800;
    color: #212121;
    margin-bottom: 14px;
    line-height: 1.15;
}

/* Seller mini */
.ld-seller-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 16px;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.15s;
}

.ld-seller-mini:hover {
    opacity: 0.85;
}

.ld-seller-mini__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ld-seller-mini__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ld-seller-mini__info strong {
    font-size: 14px;
    color: #212121;
}

.ld-seller-mini__info span {
    font-size: 12px;
    color: #999;
}

/* CTAs */
.ld-sidebar__ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ld-sidebar__cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ld-sidebar__cta-row--single {
    grid-template-columns: 1fr;
}

.ld-sidebar__cta-row .ld-btn {
    width: 100%;
    padding: 11px 10px;
    font-size: 14px;
}

.ld-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
    transition: background 0.15s, opacity 0.15s, border-color 0.15s;
    line-height: 1.2;
}

.ld-btn--block {
    width: 100%;
}

.ld-btn[hidden],
.ld-phone-revealed[hidden] {
    display: none !important;
}

.ld-btn--primary {
    background: var(--call, #059669);
    color: #fff;
}

.ld-btn--primary:hover {
    background: var(--call-hover, #047857);
}

.ld-btn--whatsapp {
    background: #ecfdf5;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.ld-btn--whatsapp:hover {
    background: #dcfce7;
}

.ld-btn--message {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.ld-btn--message:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.ld-contact-hint {
    font-size: 13px;
    color: #888;
    line-height: 1.5;
    margin: 0;
}

.ld-like-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    margin-top: 12px;
    padding: 10px;
    background: none;
    border: 1px solid #e8e8e8;
    border-radius: 7px;
    font-size: 14px;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s;
}

.ld-like-row:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Turbo-style seller block */
.ld-seller {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
}

.ld-seller__link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.ld-seller__link:hover .ld-seller__name {
    color: var(--primary, #f7971c);
}

.ld-seller__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f7971c, #f5b50a);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
    text-transform: uppercase;
}

.ld-seller__body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.ld-seller__name {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s;
}

.ld-seller__verified {
    color: #2563eb;
    font-size: 14px;
    flex-shrink: 0;
}

.ld-seller__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 2px;
    font-size: 12px;
    color: #8b95a5;
}

.ld-seller__meta > span + span::before {
    content: "·";
    margin: 0 6px;
    color: #c0c6d0;
}

.ld-seller__rating {
    color: #6b7280;
    font-weight: 600;
}

.ld-seller__rating i {
    color: #f5b50a;
    font-size: 11px;
}

.ld-seller__subscribe {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.ld-seller__subscribe:hover,
.ld-seller__subscribe.is-active {
    border-color: var(--primary, #f7971c);
    color: var(--primary, #f7971c);
    background: rgba(247, 151, 28, 0.04);
}

.ld-seller__shop {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    text-decoration: none;
}

.ld-seller__shop:hover {
    color: var(--primary, #f7971c);
}

.ld-sidebar__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #f0f0f0;
    font-size: 12px;
    color: #9ca3af;
}

.ld-sidebar__like {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
    color: #9ca3af;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}

.ld-sidebar__like:hover,
.ld-sidebar__like.is-active {
    color: #ef4444;
}

.ld-callback {
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
}

.ld-callback__summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.ld-callback__summary::-webkit-details-marker {
    display: none;
}

.ld-callback__summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-left: auto;
    font-size: 11px;
    color: #9ca3af;
    transition: transform 0.15s;
}

.ld-callback[open] .ld-callback__summary::after {
    transform: rotate(180deg);
}

.ld-callback[open] .ld-callback__summary {
    border-bottom: 1px solid #f0f0f0;
}

.ld-callback .ld-callback-form {
    padding: 14px 16px 16px;
}

.ld-callback .ld-field {
    margin-bottom: 10px;
}

.ld-callback .ld-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 4px;
}

.ld-callback .ld-field input,
.ld-callback .ld-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    background: #fff;
}

.ld-callback .ld-field input:focus,
.ld-callback .ld-field textarea:focus {
    outline: none;
    border-color: var(--primary, #f7971c);
}

.ld-subscribe-btn {
    width: 100%;
    padding: 11px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    font-family: inherit;
    transition: 0.15s;
}

.ld-subscribe-btn.is-active,
.ld-subscribe-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.ld-shop-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
}

.ld-shop-link:hover {
    color: var(--primary);
}

.ld-verified {
    font-size: 11px;
    color: #3db460;
    font-weight: 600;
}

/* Related */
.ld-related {
    margin-top: 24px;
}

.ld-related__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.ld-related__more {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.ld-related__more:hover {
    text-decoration: underline;
}

.ld-related__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ld-related__grid .product-card .product-img-wrap {
    height: 130px;
}

.ld-related__grid .product-card .product-info {
    padding: 10px;
}

.ld-related__grid .product-card .product-price {
    font-size: 14px;
    font-weight: 700;
}

.ld-related__grid .product-card .product-title {
    font-size: 12px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Reviews — premium */
.ld-reviews {
    --rv-ink: #0f172a;
    --rv-muted: #64748b;
    --rv-line: #e2e8f0;
    --rv-accent: #ea580c;
    --rv-star: #f59e0b;
    background: #fff;
    border: 1px solid var(--rv-line);
    border-radius: 18px;
    padding: 24px 26px;
    margin-top: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}

.ld-reviews__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.ld-reviews__head .ld-section__title {
    margin: 0 0 4px;
}

.ld-reviews__sub {
    margin: 0;
    color: var(--rv-muted);
    font-size: 0.92rem;
}

.ld-reviews__summary {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 18px;
    margin-bottom: 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff7ed 0%, #f8fafc 55%);
    border: 1px solid #ffedd5;
}

.ld-reviews__score {
    text-align: center;
}

.ld-reviews__score-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--rv-ink);
    line-height: 1;
    letter-spacing: -0.03em;
}

.ld-reviews__score-stars {
    margin: 8px 0 4px;
    color: var(--rv-star);
    font-size: 14px;
    display: flex;
    justify-content: center;
    gap: 2px;
}

.ld-reviews__score-count {
    font-size: 0.82rem;
    color: var(--rv-muted);
    font-weight: 600;
}

.ld-reviews__bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: center;
}

.ld-reviews__bar-row {
    display: grid;
    grid-template-columns: 16px 1fr 28px;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: var(--rv-muted);
}

.ld-reviews__bar-row em {
    font-style: normal;
    text-align: right;
}

.ld-reviews__bar-track {
    height: 8px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.ld-reviews__bar-track > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.ld-reviews__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ld-review-card {
    border: 1px solid var(--rv-line);
    border-radius: 14px;
    padding: 16px 16px 14px;
    background: #fff;
}

.ld-review-card__top {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
}

.ld-review-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #0f172a;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
}

.ld-review-card__meta strong {
    display: block;
    color: var(--rv-ink);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.ld-review-card__stars {
    color: var(--rv-star);
    font-size: 12px;
    display: flex;
    gap: 2px;
}

.ld-review-card__date {
    font-size: 0.78rem;
    color: var(--rv-muted);
    font-weight: 600;
}

.ld-review-card__body {
    margin: 0;
    color: #334155;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ld-review-card__image {
    display: inline-block;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--rv-line);
}

.ld-review-card__image img {
    display: block;
    max-width: 220px;
    max-height: 160px;
    object-fit: cover;
}

.ld-review-card__reply {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--rv-line);
}

.ld-review-card__reply-label {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--rv-ink);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ld-review-card__reply p {
    margin: 0;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.55;
}

.ld-review-card__reply time {
    display: block;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--rv-muted);
}

.ld-reviews__empty {
    text-align: center;
    padding: 28px 12px;
    color: var(--rv-muted);
}

.ld-reviews__empty i {
    font-size: 1.6rem;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.ld-reviews__empty p {
    margin: 0;
}

.ld-review-form {
    margin-top: 18px;
    padding: 18px;
    border-radius: 14px;
    border: 1px solid var(--rv-line);
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ld-review-form__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--rv-ink);
}

.ld-field__label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    margin-bottom: 6px;
}

.ld-star-picker {
    display: flex;
    gap: 4px;
}

.ld-star-picker__btn {
    border: none;
    background: transparent;
    padding: 4px;
    cursor: pointer;
    color: #cbd5e1;
    font-size: 22px;
    line-height: 1;
    transition: color 0.15s ease, transform 0.15s ease;
}

.ld-star-picker__btn.is-on,
.ld-star-picker__btn.is-preview {
    color: var(--rv-star);
}

.ld-star-picker__btn:hover {
    transform: scale(1.08);
}

.ld-review-form textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1.5px solid var(--rv-line);
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--rv-ink);
    background: #fff;
    resize: vertical;
    min-height: 110px;
}

.ld-review-form textarea:focus {
    outline: none;
    border-color: var(--rv-accent);
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.ld-upload {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border: 1.5px dashed #cbd5e1;
    border-radius: 12px;
    background: #fff;
    color: var(--rv-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ld-upload:hover {
    border-color: var(--rv-accent);
    color: var(--rv-ink);
}

.ld-upload i {
    color: var(--rv-accent);
}

.ld-reviews__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-weight: 750;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
}

.ld-reviews__btn--primary {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #fff;
    box-shadow: 0 8px 18px rgba(234, 88, 12, 0.25);
}

.ld-reviews__btn--ghost {
    background: #fff;
    color: var(--rv-ink);
    border: 1px solid var(--rv-line);
}

.ld-reviews__note,
.ld-reviews__hint {
    margin: 0;
    font-size: 0.82rem;
    color: var(--rv-muted);
}

.ld-reviews__login {
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid var(--rv-line);
    color: var(--rv-muted);
    font-size: 0.92rem;
}

.ld-reviews__login a {
    color: var(--rv-accent);
    font-weight: 700;
    text-decoration: none;
}

.ld-review-reply-form {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

@media (max-width: 720px) {
    .ld-reviews {
        padding: 16px;
        border-radius: 14px;
    }

    .ld-reviews__summary {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ld-review-card__top {
        grid-template-columns: 40px 1fr;
    }

    .ld-review-card__date {
        grid-column: 2;
    }
}

/* Form fields */
.ld-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.ld-field label {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.ld-field input,
.ld-field textarea,
.ld-field select,
.ld-review-form select,
.ld-review-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
}

.ld-field input:focus,
.ld-field textarea:focus,
.ld-field select:focus {
    outline: none;
    border-color: var(--primary);
}

.ld-field-error {
    font-size: 12px;
    color: var(--danger);
}

.ld-message-form__body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Modal */
.ld-modal[hidden] {
    display: none !important;
}

.ld-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
}

.ld-modal.is-open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.ld-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.ld-modal__dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 12px 12px 0 0;
    transform: translateY(100%);
    transition: transform 0.25s ease;
}

.ld-modal.is-open .ld-modal__dialog {
    transform: translateY(0);
}

.ld-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.ld-modal__header h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.ld-modal__close {
    width: 32px;
    height: 32px;
    border: none;
    background: #f4f4f4;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ld-modal__body {
    padding: 20px;
}

/* Sticky CTA */
.listing-sticky-cta__btn--call {
    background: var(--primary) !important;
}

.listing-sticky-cta__btn--msg {
    background: #4a90d9 !important;
    color: #fff !important;
    border: none !important;
}

.page-listing-detail .bh-product-master-wrapper {
    padding-bottom: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    border-radius: 0;
}

/* Responsive */
@media (min-width: 640px) {
    .ld-modal {
        align-items: center;
        padding: 20px;
    }

    .ld-modal__dialog {
        border-radius: 10px;
        transform: translateY(16px);
        opacity: 0;
    }

    .ld-modal.is-open .ld-modal__dialog {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1100px) {
    .ld-main {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    }
}

@media (max-width: 900px) {
    .ld-main {
        grid-template-columns: 1fr;
    }

    .ld-sidebar {
        position: static;
        top: auto;
        max-height: none;
        overflow: visible;
    }

    .ld-spec-grid {
        grid-template-columns: 1fr;
    }

    .ld-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ld-wrap {
        padding: 12px 12px 32px;
    }

    .ld-title-row {
        flex-direction: column;
        gap: 10px;
    }

    .ld-title-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .ld-title-actions {
        padding-top: 0;
    }

    .page-listing-detail .ld-gallery__main,
    .page-listing-detail .bh-main-view-container {
        height: 280px;
    }

    .ld-section {
        padding: 16px;
    }

    .page-listing-detail .bh-product-master-wrapper {
        padding-bottom: 80px;
    }
}

@media (max-width: 520px) {
    .ld-related__grid {
        grid-template-columns: 1fr;
    }

    .ld-spec-pair {
        grid-template-columns: 110px 1fr;
    }
}

/* ============================================================
   Stat strip (Faza 2) — səhifə başında əsas göstəricilər
   (turbo.az / autoline üslubu xülasə paneli)
   ============================================================ */
.ld-stat-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-3);
    margin: 0 0 var(--space-5);
    padding: var(--space-4);
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.ld-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding: 0 var(--space-3);
    border-left: 3px solid var(--primary-100);
}

.ld-stat:first-child {
    border-left: 0;
    padding-left: 0;
}

.ld-stat i {
    color: var(--primary);
    font-size: var(--fs-md);
    margin-bottom: 2px;
}

.ld-stat__value {
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--secondary);
    line-height: var(--lh-tight);
}

.ld-stat__label {
    font-size: var(--fs-xs);
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

@media (max-width: 640px) {
    .ld-stat-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2);
    }

    .ld-stat {
        border-left: 0;
        padding: var(--space-2);
        background: var(--gray-50);
        border-radius: var(--radius-md);
    }

    .ld-stat:first-child {
        padding: var(--space-2);
    }
}

/* ============================================================
   Seller trust (Faza 3) — təsdiq nişanı + reytinq
   ============================================================ */
.ld-seller-mini__name {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ld-seller-mini__verified {
    color: var(--info);
    font-size: var(--fs-sm);
    line-height: 1;
}

.ld-seller-mini__sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    color: var(--gray-700);
    font-size: var(--fs-sm);
}

.ld-seller-mini__sub > span + span::before {
    content: "·";
    margin-right: 6px;
    color: var(--gray-500);
}

.ld-seller-mini__rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: var(--fw-semibold);
    color: var(--secondary);
}

.ld-seller-mini__rating i {
    color: #f5b50a;
}
/* ============================================================
   Contact panel (turbo.az style) — clean seller sidebar
   ============================================================ */
.ld-sidebar {
    position: sticky;
    top: 72px;
    align-self: start;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: calc(100vh - 104px);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.ld-sidebar:has(.ld-panel-cb[open]) {
    max-height: none;
    overflow: visible;
}

.ld-panel {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}

.ld-panel__price-block {
    margin: 0 0 16px;
}

.ld-panel__price-label {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #94a3b8;
}

.ld-panel__price {
    font-size: 30px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin: 0;
    letter-spacing: -0.02em;
}

.ld-panel__price-suffix {
    font-size: 15px;
    font-weight: 650;
    color: #64748b;
    margin-left: 4px;
}

.ld-panel__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.ld-panel__btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 750;
    font-family: inherit;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.ld-panel__btn:hover {
    transform: translateY(-1px);
}

.ld-panel__btn[hidden],
.ld-phone-revealed[hidden] {
    display: none !important;
}

.ld-panel__btn--green {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28) !important;
}

.ld-panel__btn--green:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    color: #fff !important;
}

.ld-panel__btn--wa {
    background: #fff !important;
    border-color: #25d366 !important;
    color: #128c7e !important;
    box-shadow: none !important;
}

.ld-panel__btn--wa i {
    color: #25d366;
    font-size: 1.15em;
}

.ld-panel__btn--wa:hover {
    background: #ecfdf5 !important;
    border-color: #25d366 !important;
    color: #075e54 !important;
}

.ld-panel__btn--ghost {
    background: #fff !important;
    border-color: #e2e8f0 !important;
    color: #334155 !important;
    box-shadow: none !important;
}

.ld-panel__btn--ghost:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

.ld-panel__hint {
    margin: 0 0 8px;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.45;
}

.ld-panel__btn-fee {
    font-weight: 700;
    opacity: 0.92;
    white-space: nowrap;
}

.ld-panel__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.ld-panel__seller-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 650;
    color: #b45309;
    line-height: 1.3;
}

.ld-panel__seller-role i {
    color: #f59e0b;
    font-size: 11px;
}

.ld-panel__seller-rating {
    color: #b45309 !important;
    background: #fff7ed !important;
    border-color: #fdba74 !important;
}

.ld-panel__seller-rating i {
    color: #f59e0b;
    font-size: 10px;
}

.ld-panel__seller-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 10px;
}

.ld-panel__seller-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.28);
    background: linear-gradient(180deg, #fffaf0 0%, #fff7ed 100%);
    color: #9a3412;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.08);
    transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.ld-panel__seller-link i {
    color: var(--primary, #f59e0b);
}

.ld-panel__seller-link:hover {
    border-color: rgba(245, 158, 11, 0.5);
    color: #7c2d12;
    background: #fff7ed;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(245, 158, 11, 0.14);
}

.ld-panel__promote {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef2f6;
}

.ld-panel__promote-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.ld-panel__promote-title i {
    color: #ea580c;
}

.ld-panel__promote-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.ld-promo-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 14px;
    text-decoration: none;
    border: 1px solid #e8ecf1;
    background: #fff;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.ld-promo-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
}

.ld-promo-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #fff;
    flex-shrink: 0;
}

.ld-promo-card--boost .ld-promo-card__icon {
    background: #2563eb;
}

.ld-promo-card--premium .ld-promo-card__icon {
    background: linear-gradient(135deg, #f7971c, #ea580c);
}

.ld-promo-card--boost:hover {
    border-color: rgba(37, 99, 235, 0.35);
}

.ld-promo-card--premium:hover {
    border-color: rgba(234, 88, 12, 0.4);
}

.ld-promo-card__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ld-promo-card__body strong {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
}

.ld-promo-card__body small {
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 420px) {
    .ld-panel__promote-grid {
        grid-template-columns: 1fr;
    }
}

.ld-panel__seller--rich {
    margin-top: 14px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(245, 158, 11, 0.18);
    background:
        radial-gradient(120% 80% at 100% 0%, rgba(251, 191, 36, 0.14), transparent 55%),
        linear-gradient(180deg, #fffdf8 0%, #ffffff 70%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.ld-panel__seller-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.12);
    color: #b45309;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.ld-panel__seller-label i {
    font-size: 10px;
}

.ld-panel__seller-main {
    display: flex !important;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
    color: inherit;
    padding: 12px;
    margin: 0;
    border-radius: 14px;
    border: 1px solid rgba(245, 158, 11, 0.16);
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.ld-panel__seller-main:hover {
    background: #fffaf3;
    border-color: rgba(245, 158, 11, 0.35);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.12);
    transform: translateY(-1px);
}

.ld-panel__avatar {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: linear-gradient(145deg, #fbbf24, #f59e0b 55%, #ea580c);
    color: #fff;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
    margin-top: 0;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #fff;
}

.ld-panel__seller-text {
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
    flex: 1;
}

.ld-panel__seller-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.ld-panel__seller-name-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ld-panel__verified,
.ld-panel__seller-name i.ld-panel__verified {
    color: #0ea5e9 !important;
    font-size: 14px;
    flex-shrink: 0;
}

/* Listing page doesn't load shop.css — keep badge sized here */
.verified-mark {
    --verified-blue: #0ea5e9;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--verified-blue);
    line-height: 1;
    vertical-align: middle;
    flex-shrink: 0;
}

.verified-mark svg {
    display: block;
    width: 1em;
    height: 1em;
    max-width: 18px;
    max-height: 18px;
}

.verified-mark--sm { font-size: 15px; }
.verified-mark--md { font-size: 18px; }
.verified-mark--lg { font-size: 22px; }

.verified-mark__label {
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.01em;
    color: #0284c7;
}

.ld-panel__seller-name .verified-mark {
    font-size: 15px;
    margin-top: 1px;
}

.ld-panel__seller-name .verified-mark svg {
    width: 15px;
    height: 15px;
    max-width: 15px;
    max-height: 15px;
    filter: drop-shadow(0 1px 2px rgba(14, 165, 233, 0.28));
}

.ld-panel__seller-main:hover .ld-panel__seller-name {
    color: #9a3412;
}

.ld-panel__seller-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.ld-panel__seller-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #ffedd5;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.2;
}

.ld-panel__seller-meta span i {
    font-size: 9px;
    color: #f59e0b;
}

.ld-panel__seller-line {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #8a94a6;
    line-height: 1.35;
}

.ld-panel__seller-chevron {
    color: #fdba74;
    font-size: 13px;
    margin-top: 0;
    flex-shrink: 0;
    transition: transform 0.15s ease, color 0.15s ease;
}

.ld-panel__seller-main:hover .ld-panel__seller-chevron {
    color: #ea580c;
    transform: translateX(2px);
}

.ld-panel__follow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: 0;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 750;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s;
}

.ld-panel__follow i {
    color: #94a3b8;
}

.ld-panel__follow:hover,
.ld-panel__follow.is-active {
    border-color: rgba(245, 158, 11, 0.45);
    color: #9a3412;
    background: #fff8ee;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.1);
}

.ld-panel__follow:hover i,
.ld-panel__follow.is-active i {
    color: #f59e0b;
}

/* Safety notice — warm brand tone */
.ld-safety,
.ld-contact-hint.safety-notice--panel {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 0;
    padding: 11px 12px;
    border-radius: 12px;
    border: 1px solid #ffedd5;
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    color: #92400e;
    font-size: 12px;
    line-height: 1.45;
}

.ld-safety__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 9px;
    background: rgba(245, 158, 11, 0.16);
    color: #d97706;
    font-size: 12px;
}

.ld-safety__text {
    margin: 0;
    color: #92400e;
}

.ld-safety__text a,
.ld-contact-hint.safety-notice--panel a {
    color: #b45309;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.ld-contact-hint.safety-notice--panel i {
    color: #d97706;
    margin-top: 2px;
}

.ld-panel__stats {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.ld-panel__stats i {
    width: 14px;
    margin-right: 4px;
    opacity: 0.85;
}

.ld-panel-cb {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 18px;
    overflow: visible;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.ld-panel-cb > summary {
    list-style: none;
    cursor: pointer;
    padding: 15px 16px;
    font-size: 14px;
    font-weight: 750;
    color: #0f172a;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.ld-panel-cb > summary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ld-panel-cb > summary i {
    color: #f7971c;
}

.ld-panel-cb > summary::-webkit-details-marker {
    display: none;
}

.ld-panel-cb > summary::after {
    content: "+";
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-weight: 500;
    font-size: 18px;
    line-height: 26px;
    text-align: center;
}

.ld-panel-cb[open] > summary::after {
    content: "–";
}

.ld-panel-cb[open] > summary {
    border-bottom: 1px solid #eef2f6;
}

.ld-panel-cb__form {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.ld-panel-cb__form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    width: 100%;
    min-width: 0;
}

.ld-panel-cb__form input,
.ld-panel-cb__form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 400;
    color: #111;
    background: #fff;
}

.ld-panel-cb__form input:focus,
.ld-panel-cb__form textarea:focus {
    outline: none;
    border-color: #f7971c;
    box-shadow: 0 0 0 3px rgba(247, 151, 28, 0.15);
}

.ld-panel-cb__form .ld-panel__btn {
    margin-top: 4px;
    margin-bottom: 0;
    width: 100%;
}
