/* Seal Calculator — дополнительные стили для калькулятора печатей */
/* Основные stc-* стили берутся из calculator.css */

/* Hide sidebar */
.page-content:has(#seal-calc-app) { width: 100% !important; float: none !important; }
.page-content:has(#seal-calc-app) + .sidebar { display: none !important; }

/* Template carousel */
.seal-template-preview {
    text-align: center;
    margin-bottom: 20px;
}
.seal-carousel {
    position: relative;
    max-width: 260px;
    margin: 0 auto;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px;
    background: #f9fafb;
}
.seal-carousel img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
}
.seal-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    background: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 30px;
    text-align: center;
    color: #555;
    transition: all 0.15s;
    padding: 0;
}
.seal-carousel-nav:hover { background: #f0f5eb; border-color: #5a7c3a; }
.seal-carousel-prev { left: -16px; }
.seal-carousel-next { right: -16px; }
.seal-template-code {
    margin-top: 8px;
    font-size: 0.875rem;
    color: #6b7280;
}
.seal-klishe-price {
    margin: 6px 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
}

/* DaData search */
.seal-dadata {
    margin-bottom: 18px;
    padding: 14px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}
.seal-dadata-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}
.seal-dadata-hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-bottom: 8px;
}
.seal-dadata-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}
.seal-dadata-row input {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
}
.seal-dadata-row input:focus {
    outline: none;
    border-color: #5a7c3a;
    box-shadow: 0 0 0 2px rgba(90, 124, 58, 0.15);
}
.seal-dadata-name {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.9rem;
    box-sizing: border-box;
    background: #f3f4f6;
    color: #374151;
}
.seal-dadata-suggestions {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
}
.seal-dadata-item {
    padding: 8px 10px;
    cursor: pointer;
    font-size: 0.85rem;
    border-bottom: 1px solid #f3f4f6;
}
.seal-dadata-item:hover { background: #f0f5eb; }
.seal-dadata-item:last-child { border-bottom: none; }
.seal-dadata-item small { color: #9ca3af; }

/* Section titles */
.seal-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 10px;
}
.seal-addon-price {
    font-size: 0.8rem;
    font-weight: 500;
    color: #059669;
    background: #ecfdf5;
    padding: 2px 8px;
    border-radius: 4px;
}
.seal-section-hint {
    font-size: 0.78rem;
    color: #9ca3af;
    margin: -4px 0 10px;
}
.seal-protection-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
}

/* Order hint */
.seal-order-hint {
    font-size: 0.85rem;
    color: #1f2937;
    margin: 0 0 16px;
    padding: 10px 14px;
    background: #f9fafb;
    border-radius: 8px;
    line-height: 1.7;
}

@media (max-width: 600px) {
    .seal-dadata-row {
        grid-template-columns: 1fr;
    }
}

/* SEO text block */
.stc-seo-text {
    max-width: 900px;
    margin: 40px auto 0;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
    color: #444;
    font-size: 0.95rem;
    line-height: 1.7;
}
.stc-seo-text p { margin: 0 0 14px; }
.stc-seo-text p:last-child { margin-bottom: 0; }
