/* Product page inline block 1. */
/* Ссылки на соцсети в контактах: длинный ник не должен разрывать строку
   и распирать карточку — обрезаем многоточием в одну строку. */
.contact-item .sp-link{
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    max-width:min(60vw, 320px);
    display:inline-block;
    vertical-align:bottom;
}
@media (max-width:520px){
    .contact-item .sp-link{max-width:52vw}
}

      .sp-price-vs-cat{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0 2px;font-size:13px;color:#6b7280}
      .sp-pvc-badge{display:inline-flex;align-items:center;gap:5px;padding:3px 10px;border-radius:999px;font-weight:700;font-size:12px;white-space:nowrap}
      .sp-pvc-good{background:#dcfce7;color:#15803d}
      .sp-pvc-high{background:#f3f4f6;color:#6b7280}
      .sp-pvc-note b{color:#374151;font-weight:700}

/* Product page inline block 2. */
.sp-social-proof{display:inline-flex;align-items:center;gap:8px;margin:8px 0 2px;padding:7px 13px;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;font-size:13px;color:#9a3412;line-height:1.35}
      .sp-social-proof b{font-weight:800}
      .sp-social-proof__ic{font-size:15px;flex:0 0 auto}

/* Product page inline block 3. */
.sp-report--scam{background:#fef2f2;color:#b91c1c;border-color:#fca5a5;font-weight:700}
          .sp-report--scam:hover{background:#fee2e2;border-color:#f87171}

/* Product page inline block 4. */
.other-listings-slider .other-card { transition: box-shadow .16s ease; }
  .other-listings-slider .other-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
      .other-listings-slider .other-card.product-card-age-locked,
      .related-listings-section .related-card.product-card-age-locked { position: relative; overflow: hidden; cursor: pointer; }
      .other-listings-slider .other-card.product-card-age-locked .other-card-thumb img,
      .other-listings-slider .other-card.product-card-age-locked .other-card-body,
      .related-listings-section .related-card.product-card-age-locked img,
      .related-listings-section .related-card.product-card-age-locked .related-card-body { filter: blur(9px) saturate(.7); transform: scale(1.03); pointer-events: none; user-select: none; }
      .other-listings-slider .other-card-title { min-height: 1.4em; }
      /* make swiper occupy full width and remove fixed sizing inside slides */
      .other-listings-slider .swiper { width:100%; }
      .other-listings-slider .swiper-slide { width: auto; max-width: 320px; }
      /* make swiper navigation orange to match logo */
      .other-listings-slider .swiper { --swiper-navigation-color: #ff7a00; }
      .other-listings-slider .swiper-button-prev,
      .other-listings-slider .swiper-button-next {
        color: #ff7a00; /* arrow color */
        background: rgba(255,122,0,0.08);
        border-radius: 8px;
        width:36px;height:36px;display:flex;align-items:center;justify-content:center;
        box-shadow: none; border: none;
      }
      .other-listings-slider .swiper-button-prev::after,
      .other-listings-slider .swiper-button-next::after {
        font-size:18px; color:#ff7a00; /* ensure arrow icon color */
      }
  @media (min-width:1200px) { .other-listings-slider .swiper-slide { width: calc((100% - 48px) / 5); } }
      /* tablet: 3 cards */
      @media (min-width:768px) and (max-width:1199px) { .other-listings-slider .swiper-slide { width: calc((100% - 24px) / 3); } }
      /* mobile: let Swiper control slidesPerView (2 per view) and use automatic widths */
      @media (max-width:767px) { 
        .other-listings-slider .swiper { padding-left: 8px; padding-right:8px; }
        .other-listings-slider .swiper-slide { width: auto; }
      }

/* Product page inline block 5. */
.related-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.related-listings-section .related-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,0.08); }
.related-listings-section .related-card.product-card-age-locked { position: relative; overflow: hidden; cursor: pointer; }
.related-listings-section .related-card.product-card-age-locked img,
.related-listings-section .related-card.product-card-age-locked .related-card-body { filter: blur(9px) saturate(.7); transform: scale(1.03); pointer-events: none; user-select: none; }
@media (min-width:900px) { .related-grid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (min-width:640px) and (max-width:899px) { .related-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width:639px) {
    .related-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
        padding: 0 12px 12px;
        grid-template-columns: none !important;
        scrollbar-width: none;
    }
    .related-grid::-webkit-scrollbar { display: none; }
    .related-card {
        flex: 0 0 calc((100vw - 44px) / 2.5);
        scroll-snap-align: start;
    }
}

/* Product page inline block 6. */
.complaint-modal {
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.complaint-modal-content {
    position: relative;
    background-color: white;
    margin: 5vh auto;
    max-height: 88vh;
    overflow-y: auto;
    padding: 0;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.complaint-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
}

.complaint-modal-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.complaint-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.complaint-modal-close:hover {
    color: #374151;
}

.complaint-form-group {
    margin-bottom: 20px;
    padding: 0 24px;
}

.complaint-form-group:first-child {
    padding-top: 20px;
}

.complaint-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.complaint-form-group select,
.complaint-form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.complaint-form-group select:focus,
.complaint-form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.complaint-form-actions {
    display: flex;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
    justify-content: flex-end;
}

.complaint-btn-secondary {
    padding: 10px 20px;
    border: 1px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.complaint-btn-secondary:hover {
    background: #f9fafb;
}

.complaint-btn-primary {
    padding: 10px 20px;
    border: none;
    background: #ef4444;
    color: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}

.complaint-btn-primary:hover {
    background: #dc2626;
}

/* Product page inline block 7. */
.sp-sell-cta{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:18px auto 0;padding:16px 20px;max-width:1400px;box-sizing:border-box;background:linear-gradient(90deg,#ecfdf5,#eff6ff);border:1px solid #d1fae5;border-radius:14px}
.sp-sell-cta__ic{flex:0 0 auto;width:44px;height:44px;border-radius:12px;background:#047857;color:#fff;display:flex;align-items:center;justify-content:center;font-size:18px}
.sp-sell-cta__body{flex:1 1 220px;display:flex;flex-direction:column;gap:3px}
.sp-sell-cta__title{font-size:16px;color:#111827}
.sp-sell-cta__sub{font-size:13.5px;color:#4b5563;line-height:1.4}
.sp-sell-cta__btn{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;background:#047857;color:#fff;font-weight:700;font-size:14px;padding:12px 22px;border-radius:12px;text-decoration:none;white-space:nowrap}
.sp-sell-cta__btn:hover{background:#036249}
@media(max-width:600px){.sp-sell-cta__btn{width:100%;justify-content:center}}
