/* 
 * Template 2 - Минималистичный стиль
 * Шрифт: Inter
 * На основе макета Figma
 */

/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FFFFFF;
    color: #1A1F36;
    line-height: 1.6;
}

/* ========== LAYOUT ========== */
.page-wrapper {
    width: 100%;
    min-height: 100vh;
    background: #FFFFFF;
}

/* ========== AUTHOR BANNER ========== */
.author-banner {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 24px;
    margin-bottom: 0;
}

.author-banner.draft {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

.author-banner.warning {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
}

.author-banner.published {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    color: white;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.banner-text-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.banner-title {
    font-weight: 600;
    font-size: 16px;
}

.banner-description {
    font-size: 14px;
    opacity: 0.9;
}

.banner-button {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.banner-button:hover {
    background: rgba(255, 255, 255, 0.3);
}

.banner-button-primary {
    background: rgba(255, 255, 255, 0.95);
    color: #10B981;
    border: none;
}

.banner-button-primary:hover {
    background: white;
}

@media (max-width: 768px) {
    .banner-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .banner-left {
        flex-direction: column;
    }
}

/* ========== HEADER ========== */
.header {
    background: white;
    padding: 48px 240px;
    max-width: 1440px;
    margin: 0 auto;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}

.header-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.offer-meta {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    color: #777777;
    margin: 0;
}

.main-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 125%;
    color: #555555;
    margin: 0;
}

.offer-subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    color: #1A1F36;
    margin: 0;
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    color: #9CA3AF;
    margin: 0;
}

.valid-until {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    line-height: 17px;
    color: #9CA3AF;
    margin: 0;
}

.header-right {
    flex-shrink: 0;
}

.logo-placeholder {
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-placeholder img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .header {
        padding: 32px 20px;
    }
    
    .header-inner {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .header-left {
        order: 2;
    }
    
    .header-right {
        order: 1;
    }
    
    .main-heading {
        font-size: 32px;
    }
    
    .offer-subtitle {
        font-size: 20px;
    }
    
    .logo-placeholder {
        width: 140px;
        height: 60px;
    }
}

/* ========== MAIN CONTENT (ПРЕДЛОЖЕНИЯ) ========== */
.main-content {
    background: white;
    padding: 24px 240px;
    max-width: 1440px;
    margin: 0 auto;
}

.offer-item {
    display: flex;
    align-items: stretch;
    gap: 12px;
    border-bottom: 1px solid #dddddd;
}

.offer-item:last-child {
    border-bottom: 1px solid #111111;
}

.offer-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    cursor: pointer;
    align-self: stretch;
}

.offer-choice-radio {
    width: 18px;
    height: 18px;
    margin: 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #1A1F36;
}

.offer-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    flex: 1;
    min-width: 0;
}

.offer-card-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.offer-product-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.offer-product-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.offer-product-meta-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6B7280;
}

.offer-product-meta-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    color: #1A1F36;
    white-space: nowrap;
}

.offer-image {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: #E6E8F0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-header {
    flex: 1;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.offer-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #1A1F36;
    margin: 0;
    flex: 1;
    min-width: 0;
}

.offer-header-price {
    flex-shrink: 0;
    white-space: nowrap;
}

.pricing-value-large {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #1A1F36;
    text-align: right;
    min-width: 100px;
}

.offer-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.btn {
    height: 24px;
    padding: 0 10px;
    background: transparent;
    border: 1px solid #111111;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #111111;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.btn:hover {
    background: #f5f5f5;
}

.btn-primary {
    background: #008736;
    color: white;
    border-color: #008736;
}

.btn-primary:hover {
    background: #006628;
    border-color: #006628;
}

.btn-sm {
    height: 30px;
    padding: 0 20px;
    font-size: 14px;
}

/* Скрываем pricing-table если он есть */
.pricing-table {
    display: none;
}

@media (max-width: 768px) {
    .main-content {
        padding: 24px 20px;
    }

    .offer-item {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "actions";
        align-items: start;
        column-gap: 12px;
        row-gap: 32px;
        padding: 24px 0;
    }

    .offer-item--has-image {
        grid-template-areas:
            "image"
            "header"
            "actions";
    }

    .offer-item--choice {
        grid-template-columns: 28px 1fr;
        grid-template-areas:
            "choice header"
            "actions actions";
    }

    .offer-item--choice.offer-item--has-image {
        grid-template-columns: 28px 1fr;
        grid-template-areas:
            "image image"
            "choice header"
            "actions actions";
    }

    .offer-choice {
        grid-area: choice;
        width: 28px;
        align-self: stretch;
    }

    .offer-card {
        display: contents;
    }

    .offer-card-body {
        grid-area: header;
        display: flex;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        min-width: 0;
    }

    .offer-image {
        grid-area: image;
        width: 100%;
        height: 200px;
    }

    .offer-header {
        width: 100%;
        align-items: flex-start;
    }

    .offer-actions {
        grid-area: actions;
        width: 100%;
    }

    .offer-header-price,
    .pricing-value-large {
        min-width: auto;
        text-align: left;
        white-space: nowrap;
    }

    .offer-actions .btn,
    .btn {
        width: 100%;
        height: 40px;
        font-size: 14px;
        flex: 1;
    }
}

/* ========== GROUP ACCORDION ========== */
.group-accordion {
    padding: 20px 0;
    border-bottom: 1px solid #dddddd;
}

.group-accordion:last-child {
    border-bottom: 1px solid #dddddd;
}

.group-accordion-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    cursor: pointer;
    padding: 0;
    gap: 12px;
}

.group-accordion-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.group-accordion-icon {
    font-size: 20px;
    color: #6B7280;
    transition: transform 0.3s;
}

.group-accordion-title {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 17px;
    color: #1A1F36;
    margin: 0;
}

.group-accordion-right {
    display: flex;
    align-items: center;
    gap: 4px;
}

.group-accordion-price {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 17px;
    color: #1A1F36;
    text-align: right;
    min-width: 100px;
}

.group-accept-btn-mobile {
    display: none;
}

.group-accordion-actions {
    display: none;
}

.group-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.group-accordion-content.active {
    max-height: 2000px;
    padding-top: 20px;
}

.group-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 16px;
}

.group-includes-label {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    margin-bottom: 12px;
}

.group-products-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

.group-product-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
}

.group-product-item.with-divider {
    border-bottom: 1px solid #F3F4F6;
}

.group-product-photo {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
}

.group-product-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.group-product-info {
    flex: 1;
}

.group-product-name {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1A1F36;
    margin-bottom: 4px;
}

.group-product-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-product-quantity {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #6B7280;
}

.group-product-price {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1A1F36;
}

.group-summary {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    background: #F9FAFB;
    border-radius: 8px;
}

.group-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.group-summary-row.subtotal {
    padding-top: 8px;
    border-top: 1px solid #E5E7EB;
}

.group-summary-row.total {
    padding-top: 8px;
    border-top: 1px solid #E5E7EB;
}

.group-summary-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #374151;
}

.group-summary-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #1A1F36;
}

.discount-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #FEF3C7;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #92400E;
}

.group-summary-row.total .group-summary-value {
    font-weight: 700;
    font-size: 14px;
}

.group-summary-row.vat {
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #6B7280;
}

.group-summary-row.vat .group-summary-muted {
    color: #9CA3AF;
}

/* Итоги КП (режим отдельных товаров) */
.main-content > .offer-totals {
    width: 100%;
    padding-top: 24px;
    max-width: none;
    margin-left: 0;
}

.offer-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
}

.offer-totals-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #6B7280;
}

.offer-totals-value {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #1A1F36;
}

.offer-totals-discount {
    color: #DC2626;
}

.offer-totals-final {
    /*border-top: 1px solid #E5E7EB;
    margin-top: 8px;
    padding-top: 12px;*/
}

.offer-totals-final .offer-totals-label {
    font-weight: 600;
    font-size: 14px;
    color: #1A1F36;
}

.offer-totals-final .offer-totals-value {
    font-weight: 700;
    font-size: 14px;
}

.offer-totals-vat .offer-totals-label,
.offer-totals-vat .offer-totals-value {
    font-size: 11px;
    line-height: 1.4;
    font-weight: 500;
    color: #6B7280;
}

.offer-totals-vat .offer-totals-muted {
    color: #9CA3AF;
}

@media (max-width: 768px) {
    .group-accordion-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }

    .group-accordion-left {
        flex: 1;
        min-width: 0;
        align-items: flex-start;
    }

    .group-accordion-icon {
        margin-top: 1px;
    }

    .group-accordion-title {
        line-height: 1.4;
    }

    .group-accordion-right {
        flex-shrink: 0;
        width: auto;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 0;
    }

    .group-accordion-price {
        min-width: auto;
        text-align: right;
        white-space: nowrap;
    }

    .group-accept-btn-desktop {
        display: none;
    }

    .group-accordion-actions {
        display: block;
        margin-top: 16px;
        padding-top: 16px;
        border-top: 1px solid #E5E7EB;
    }

    .group-accept-btn-mobile {
        display: flex;
        width: 100%;
        height: 40px;
        font-size: 14px;
        justify-content: center;
    }
}

/* ========== ADDITIONAL INFO ========== */
.additional-info {
    background: white;
    padding: 24px 240px;
    max-width: 1440px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #1A1F36;
    margin-bottom: 24px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.info-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 48px;
    border-bottom: 1px solid #E6E8F0;
}

.info-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #4F566B;
    flex-shrink: 0;
}

.info-value {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #1A1F36;
    text-align: right;
}

@media (max-width: 768px) {
    .additional-info {
        padding: 32px 20px;
    }
    
    .info-row {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 12px 0;
    }
    
    .info-label {
        width: 100%;
    }
}

/* ========== DESCRIPTION BLOCK ========== */
.description-block {
    background: white;
    padding: 24px 240px;
    max-width: 1440px;
    margin: 0 auto;
}

.description-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 160%;
    color: #374151;
    white-space: pre-wrap;
    max-width: 960px;
}

@media (max-width: 768px) {
    .description-block {
        padding: 32px 20px;
    }
}

/* ========== GALLERY ========== */
.gallery {
    background: white;
    padding: 24px 240px;
    max-width: 1440px;
    margin: 0 auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 960px;
}

.gallery-item {
    width: 228px;
    height: 171px;
    background: #E6E8F0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3;
    }
}

@media (max-width: 768px) {
    .gallery {
        padding: 32px 20px;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== CONTACT ========== */
.contact {
    background: #F7F8FA;
    padding: 64px 0;
    width: 100%;
}

.contact-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.contact-avatar {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #A5A5A8;
    border-radius: 50%;
    overflow: hidden;
}

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

.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-name {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 21px;
    color: #1A1F36;
}

.contact-position {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #4F566B;
    margin-bottom: 8px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-detail {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    color: #4F566B;
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-detail i {
    font-size: 16px;
    color: #6B7280;
    display: none;
}

.contact-custom-fields {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: 8px;
}

.contact-custom-fields .contact-detail {
    font-size: 12px;
    line-height: 16px;
    color: #A3A7B3;
}

@media (max-width: 768px) {
    .contact {
        padding: 48px 0;
    }
    
    .contact-inner {
        padding: 0 20px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: white;
    padding: 24px 240px;
    border-top: 1px solid #E6E8F0;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 11px;
    line-height: 14px;
    color: #A3A7B3;
    text-align: center;
}

.footer-link {
    color: #10B981;
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px;
    }
}

/* ========== MODAL (НЕ ТРОГАЕМ - МОДАЛКА ИЗ TEMPLATE1) ========== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 32px;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: #F3F4F6;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.modal-close:hover {
    background: #E5E7EB;
}

.modal-close i {
    font-size: 20px;
    color: #374151;
}

.modal-body {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 24px;
}

.modal-body.no-photo {
    grid-template-columns: 1fr;
}

.modal-body.no-photo .modal-image {
    display: none;
}

.modal-image {
    width: 300px;
    height: 300px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
}

.modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1A1F36;
    margin-bottom: 12px;
}

.modal-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.6;
    color: #6B7280;
    margin-bottom: 16px;
}

.modal-params {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.modal-param {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
}

.modal-param-key {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: #6B7280;
}

.modal-param-value {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 13px;
    color: #1A1F36;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.modal-price {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }
    
    .modal-body.no-photo {
        grid-template-columns: 1fr;
    }
    
    .modal-image {
        width: 100%;
        height: 200px;
    }
    
    .modal-content {
        padding: 24px;
    }
    
    .modal-actions {
        flex-direction: row;
        gap: 8px;
    }
    
    .modal-actions .btn {
        flex: 1;
        height: 40px;
        font-size: 14px;
    }
}

/* ========== OFFER SELECTION ========== */
.offer-line-fixed .offer-title {
    color: #4B5563;
}

.offer-cta-block {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.offer-cta-block .offer-submit-btn {
    min-width: 240px;
}

@media (max-width: 768px) {
    .offer-cta-block .offer-submit-btn {
        width: 100%;
        min-width: 0;
    }
}

/* ========== PRINT PROTECTION ========== */
@media print {
    body::before {
        content: "НАРУШЕНИЕ КП НЕ ОПЛАЧЕНО НАРУШЕНИЕ КП НЕ ОПЛАЧЕНО НАРУШЕНИЕ КП НЕ ОПЛАЧЕНО НАРУШЕНИЕ КП НЕ ОПЛАЧЕНО";
        position: fixed;
        top: 0;
        left: 0;
        width: 200%;
        height: 200%;
        background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(239, 68, 68, 0.1) 100px,
            rgba(239, 68, 68, 0.1) 200px
        );
        font-size: 72px;
        color: rgba(239, 68, 68, 0.15);
        font-weight: bold;
        transform: rotate(-45deg);
        transform-origin: center;
        z-index: 9999;
        pointer-events: none;
        word-wrap: break-word;
        line-height: 1.5;
        padding: 50px;
    }
    
    .pricing-value, .pricing-value-large, .group-accordion-price, 
    .group-product-price, .group-summary-value, .info-value {
        content: "0 ₽" !important;
        color: #999 !important;
    }
    
    .btn, .banner-button, .modal-close {
        display: none !important;
    }
}
