/* ==============================================
   DIPLOMA BINDING STYLES - FOR TEMPLATE INTEGRATION
   Видалено: reset, body styles, header styles
   Для використання з template-styles.css
   ============================================== */

/* Додаткові CSS змінні (доповнюють template-styles.css) */
:root {
    --red-dark: #B8152A;
    --red-light: #FEE2E2;
    --yellow-dark: #E5B04E;
    --yellow-light: #FFF8E7;
    --navy-light: #2C5282;
    --cyan-dark: #2d9bc5;
    --cyan-light: #E8F4FD;
    --gray: #E5E9ED;
    
    /* Semantic aliases */
    --primary: var(--navy);
    --primary-light: var(--navy-light);
    --accent: var(--cyan);
    --accent-dark: var(--cyan-dark);
    --accent-light: var(--cyan-light);
    --highlight: var(--yellow);
    --danger: var(--red);
    --text: var(--gray-dark);
    --text-light: #666;
    --text-secondary: #666;
    --text-muted: #999;
    --bg: #F8FAFB;
    --border: #E5E9ED;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --header-height: 70px;
}

/* Фон сторінки для diploma-binding */
.diploma-binding-page {
    background: #ffffff;
}

/* ==============================================
   MAIN CONTENT
   ============================================== */
.main-content {
    padding-top: 0;
}
 /* HERO SECTION WITH ANIMATION */
.hero-section {
    padding: 0;
    background: linear-gradient(135deg, #1a365d 0%, #234e7a 50%, #2d6da3 100%);
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 70%; height: 200%;
    background: radial-gradient(ellipse, rgba(58, 175, 217, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
    z-index: 1;
    min-height: 280px;
}

.hero-content { 
    text-align: left; 
    padding: 30px 30px 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 18px;
    opacity: 0;
    transform: translateX(-50px);
    animation: slideInLeft 0.8s ease-out forwards;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100px; height: 4px;
    background: linear-gradient(90deg, var(--red), var(--yellow));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    animation: expandLine 0.6s ease-out 0.5s forwards;
}

.hero-subtitle {
    max-width: 450px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.8s ease-out 0.3s forwards;
}

.hero-subtitle strong{
color: var(--yellow-dark);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 8px 25px rgba(58, 175, 217, 0.4);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(58, 175, 217, 0.5);
}

.hero-cta svg { width: 20px; height: 20px; }

.hero-image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 1s ease-out 0.4s forwards;
    overflow: hidden;
    background: #f8f9fa;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    object-position: center left;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.hero-image:hover { transform: scale(1.03) rotate(1deg); }

.hero-image-wrapper::before {
    display: none;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-badge svg { width: 18px; height: 18px; color: var(--yellow); }

/* ANIMATIONS */
@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px) scale(0.9); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 0.5; }
}
@keyframes expandLine {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .hero-section { 
        min-height: auto; 
        padding: 0;
        display: flex;
        flex-direction: column;
    }
    .hero-container { 
        display: flex;
        flex-direction: column;
        gap: 0; 
        min-height: auto;
        max-width: 100%;
        padding: 0;
    }
    .hero-content { 
        text-align: center; 
        order: 1; 
        padding: 24px 24px 20px;
    }
    .hero-image-wrapper { 
        order: 2; 
        width: 100%;
        margin: 0;
        padding: 0;
    }
    .hero-image-wrapper::before { display: none; }
    .hero-image { 
        width: 100%;
        height: auto;
        min-height: 250px;
        max-width: none;
        display: block;
        object-fit: cover;
    }
    .hero-title { 
        font-size: 1.5rem; 
        padding-bottom: 14px; 
        margin-bottom: 10px; 
    }
    .hero-title::after { 
        left: 50%; 
        transform: translateX(-50%) scaleX(0); 
        animation-name: expandLineCentered; 
    }
    .hero-subtitle { margin: 0 auto 20px; max-width: 100%; }
    .hero-badges { justify-content: center; }
}

@media (max-width: 768px) {
    .hero-content { 
        padding: 20px 20px 16px; 
    }
    .hero-title { 
        font-size: 1.3rem; 
        padding-bottom: 12px; 
    }
    .hero-subtitle { 
        font-size: 0.85rem; 
        margin-bottom: 15px; 
    }
    .hero-cta { 
        padding: 10px 20px; 
        font-size: 0.9rem;
        margin: 10px auto;
        width: fit-content;
    }
    .hero-image { 
        min-height: 220px; 
    }
    .hero-badge { 
        padding: 5px 10px; 
        font-size: 0.75rem; 
    }
    .hero-badges { 
        gap: 6px; 
        margin-top: 12px; 
    }
}


/* ==============================================
   ORDER CONTAINER
   ============================================== */
.order-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px 80px;
}

/* ==============================================
   ORDER STEPS
   ============================================== */
.order-step {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    border: 1px solid var(--border);
}

.order-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(58, 175, 217, 0.3);
}

.step-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    flex: 1;
}

/* ==============================================
   SERVICE TYPE SELECTION
   ============================================== */
.service-type-select {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

.service-card {
    cursor: pointer;
}

.service-card input {
    display: none;
}

.service-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-card input:checked + .service-content {
    border-color: var(--cyan);
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    box-shadow: 0 4px 16px rgba(58, 175, 217, 0.25), inset 0 0 0 1px rgba(58, 175, 217, 0.15);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.service-card input:checked + .service-content .service-icon {
    background: var(--cyan);
    color: var(--white);
}

.service-icon svg {
    width: 24px;
    height: 24px;
}

.service-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-name {
    font-weight: 600;
    color: var(--navy);
    font-size: 15px;
}

.service-desc {
    font-size: 13px;
    color: var(--text-light);
}

/* Manual Calc Toggle */
.manual-calc-toggle {
    text-align: center;
    padding: 16px 0;
}

.manual-calc-toggle .btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.manual-calc-toggle .btn-link:hover {
    background: var(--cyan-light);
    color: var(--cyan-dark);
}

.manual-calc-toggle .btn-link svg {
    width: 18px;
    height: 18px;
}

/* Manual Pages Section */
.manual-pages-section {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.3s ease;
}

.manual-pages-section.hidden {
    display: none;
}

.manual-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.manual-section-header .btn-icon {
    background: var(--white);
}

/* Bind Only Section */
.bind-only-section {
    background: var(--gray-light);
    border-radius: var(--radius);
    padding: 24px;
}

.bind-only-info {
    margin-bottom: 24px;
}

/* fast-binding note */
.fast-binding {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 16px;
    background: var(--yellow-light);
    border: 1px solid var(--yellow);
    border-left: 3px solid var(--yellow-dark);
    border-radius: var(--radius-sm);
    margin-top: 16px;
    margin-bottom: 8px;
}

.fast-binding__icon {
    font-size: 17px;
    color: var(--yellow-dark);
    flex-shrink: 0;
    margin-top: 2px;
}

.fast-binding p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.55;
    margin: 0;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--white);
    border-radius: var(--radius-sm);
}

.info-card.highlight {
    background: linear-gradient(135deg, var(--yellow-light) 0%, var(--white) 100%);
    border: 1px solid var(--yellow);
}

.info-card svg {
    width: 32px;
    height: 32px;
    color: var(--yellow-dark);
    flex-shrink: 0;
}

.info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-title {
    font-weight: 600;
    color: var(--navy);
}

.info-desc {
    font-size: 13px;
    color: var(--text-light);
}

.pages-input-single {
    text-align: center;
}

.pages-input-single label {
    display: block;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--navy);
}

.counter-input.large {
    justify-content: center;
}

.counter-input.large input {
    width: 100px;
    font-size: 24px;
    font-weight: 600;
}

.counter-input.large .counter-btn {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

/* Bind Only Deadline */
.bind-only-deadline {
    display: flex;
    justify-content: center;
}

.deadline-option.selected-fixed {
    pointer-events: none;
    border-color: var(--yellow);
    background: linear-gradient(135deg, var(--yellow-light) 0%, var(--white) 100%);
}

.deadline-option.selected-fixed .deadline-content {
    opacity: 1;
}

/* Order Summary Styles */
.order-summary.summary-top {
    margin-bottom: 24px;
}

.form-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
    margin-top: 28px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.summary-row.service-type {
    background: var(--cyan-light);
    margin: -12px -12px 12px -12px;
    padding: 12px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.summary-row.info {
    color: var(--yellow-dark);
    font-weight: 500;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px dashed var(--border);
}

/* Print Step Hidden */
.print-step {
    transition: all 0.3s ease;
}

/* Video Toggle Button */
.btn-video-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--yellow-light);
    border: 2px solid var(--yellow);
    border-radius: var(--radius-sm);
    color: var(--navy);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-video-toggle:hover {
    background: var(--yellow);
    color: var(--white);
}

.btn-video-toggle.active {
    background: var(--yellow);
    color: var(--navy);
}

.btn-video-toggle svg {
    width: 18px;
    height: 18px;
}

/* Collapsible Video Section */
.video-section {
    margin-bottom: 24px;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-light);
    transition: all 0.4s ease;
    max-height: 500px;
    opacity: 1;
}

.video-section.collapsed {
    max-height: 0;
    opacity: 0;
    margin-bottom: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.btn-close-video {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: var(--navy);
    color: var(--white);
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-video:hover {
    background: var(--red);
}

.btn-close-video svg {
    width: 18px;
    height: 18px;
}

/* Trimmed Files Note */
.trimmed-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 16px;
    background: var(--yellow-light);
    border: 1px solid var(--yellow);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--navy);
    line-height: 1.5;
}

.trimmed-note .info-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--yellow-dark);
}

/* ==============================================
   BUTTONS
   ============================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(218, 26, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(218, 26, 50, 0.4);
}

.btn-outline {
    background: var(--white);
    color: var(--navy);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: var(--cyan-light);
}

.btn-large {
    width: 100%;
    padding: 18px 32px;
    font-size: 17px;
}

.btn-large svg {
    width: 22px;
    height: 22px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-muted);
}

.btn-icon:hover {
    background: var(--red-light);
    color: var(--red);
}

.btn-icon svg {
    width: 18px;
    height: 18px;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--cyan);
    font-size: 14px;
    cursor: pointer;
    padding: 8px 0;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--navy);
}

.btn-link svg {
    width: 18px;
    height: 18px;
}

/* ==============================================
   UPLOAD ZONE
   ============================================== */
.upload-zone {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 48px 24px;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: var(--cyan);
    background: var(--cyan-light);
}

.upload-zone.highlight {
    border-color: var(--red);
    background: var(--red-light);
    animation: pulse 0.5s ease-in-out 3;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.upload-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--cyan);
}

.upload-icon svg {
    width: 100%;
    height: 100%;
}

.upload-zone h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.upload-zone p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
}

/* File Card */
.file-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: linear-gradient(135deg, var(--cyan-light) 0%, var(--white) 100%);
    border-radius: var(--radius-sm);
    border: 2px solid var(--cyan);
}

.file-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-dark) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.file-icon svg {
    width: 24px;
    height: 24px;
}

.file-details {
    flex: 1;
    min-width: 0;
}

.file-name {
    display: block;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-pages {
    display: block;
    color: var(--text-light);
    font-size: 14px;
}

/* Section Divider */
.section-divider {
    display: flex;
    align-items: center;
    margin: 32px 0;
}

.section-divider::before,
.section-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-divider span {
    padding: 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

/* Manual Pages Section */
.manual-pages-section {
    padding: 24px;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.manual-pages-section.hidden {
    display: none;
}

.manual-hint {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 16px;
}

.pages-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.input-group label {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
    background: var(--white);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(58, 175, 217, 0.15);
}

.manual-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 12px;
    background: var(--yellow-light);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-light);
    border: 1px solid var(--yellow);
}

.info-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--yellow-dark);
}

/* ==============================================
   OPTION CARDS
   ============================================== */
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .service-type-select {
        grid-template-columns: 1fr;
    }
    
    .service-content {
        padding: 16px;
    }
    
    .counter-input.large input {
        width: 80px;
        font-size: 20px;
    }
}

.option-card {
    cursor: pointer;
}

.option-card input {
    display: none;
}

.option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
    text-align: center;
}

.option-card input:checked + .option-content {
    border-color: var(--cyan);
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    box-shadow: 0 4px 12px rgba(58, 175, 217, 0.2), inset 0 0 0 1px rgba(58, 175, 217, 0.12);
}

.option-card:hover .option-content {
    border-color: var(--cyan);
}

.option-icon {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
}

.option-card input:checked + .option-content .option-icon {
    color: var(--cyan);
}

.option-icon svg {
    width: 100%;
    height: 100%;
}

.option-title {
    font-weight: 600;
    color: var(--navy);
    font-size: 14px;
}

.option-price {
    font-size: 13px;
    color: var(--cyan);
    font-weight: 500;
}

/* ==============================================
   COLOR PAGES INPUT
   ============================================== */
.color-pages-input {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
}

.color-pages-input label {
    display: block;
    font-weight: 500;
    color: var(--navy);
    margin-bottom: 10px;
}

.color-pages-input input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
}

.color-pages-input input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(58, 175, 217, 0.15);
}

.input-hint {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

/* ==============================================
   PRICE PREVIEW
   ============================================== */
.price-preview {
    margin-top: 24px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-sm);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 15px;
}

.price-row span:first-child {
    color: rgba(255,255,255,0.8);
    flex: 1;
    min-width: 0;
}

.price-row span:last-child {
    color: var(--yellow);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ==============================================
   BINDING TOGGLE
   ============================================== */
.binding-toggle {
    display: flex;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 4px;
    gap: 4px;
}

.toggle-option {
    flex: 1;
    cursor: pointer;
}

.toggle-option input {
    display: none;
}

.toggle-label {
    display: block;
    padding: 14px 20px;
    text-align: center;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.toggle-option input:checked + .toggle-label {
    background: var(--white);
    color: var(--navy);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==============================================
   FILES OPTIONS
   ============================================== */
.files-options {
    margin-top: 24px;
}

.files-type-select,
.files-count-input,
.files-position-select {
    margin-bottom: 24px;
}

.select-label {
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    font-size: 14px;
}

/* Type Cards */
.type-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.type-card {
    cursor: pointer;
}

.type-card input {
    display: none;
}

.type-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 3px solid var(--border);
    transition: var(--transition);
}

.type-card span {
    display: block;
    text-align: center;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.type-card input:checked + img {
    border-color: var(--cyan);
}

/* Counter Input */
.counter-input {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    padding: 4px;
    width: fit-content;
}

.counter-btn {
    width: 44px;
    height: 44px;
    border: none;
    background: var(--white);
    border-radius: var(--radius-sm);
    font-size: 20px;
    font-weight: 500;
    color: var(--navy);
    cursor: pointer;
    transition: var(--transition);
}

.counter-btn:hover {
    background: var(--cyan-light);
    color: var(--cyan);
}

.counter-input input {
    width: 60px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
}

.counter-input input:focus {
    outline: none;
}

/* Position Options */
.position-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.position-option {
    cursor: pointer;
}

.position-option input {
    display: none;
}

.position-option span {
    display: block;
    padding: 14px 20px;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text);
    transition: var(--transition);
}

.position-option input:checked + span {
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    border-color: var(--cyan);
    color: var(--navy);
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(58, 175, 217, 0.15);
}

.position-option:hover span {
    border-color: var(--cyan);
}

.custom-position-input {
    margin-top: 16px;
}

.custom-position-input label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
}

.custom-position-input textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    resize: none;
    transition: var(--transition);
}

.custom-position-input textarea:focus {
    outline: none;
    border-color: var(--cyan);
}

/* ==============================================
   COVER OPTIONS
   ============================================== */
.cover-options {
    margin-bottom: 28px;
}

.color-select {
    display: flex;
    gap: 20px;
}

.color-option {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 12px 20px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    transition: var(--transition);
}

.color-option:hover {
    border-color: var(--cyan);
}

.color-option input {
    display: none;
}

.color-option input:checked + .color-swatch + .color-name {
    font-weight: 600;
    color: var(--navy);
}

.color-option:has(input:checked) {
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    border-color: var(--cyan);
    box-shadow: 0 4px 12px rgba(58, 175, 217, 0.2);
}

.color-swatch {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.color-swatch.blue {
    background: linear-gradient(135deg, #1E3A5F 0%, #2C5282 100%);
}

.color-swatch.burgundy {
    background: linear-gradient(135deg, #8B1E3F 0%, #DA1A32 100%);
}

.color-name {
    font-size: 15px;
    color: var(--text);
}

/* Text Cards */
.text-options {
    margin-bottom: 28px;
}

.text-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .text-cards {
        grid-template-columns: 1fr;
    }
}

.text-card {
    cursor: pointer;
}

.text-card input {
    display: none;
}

.text-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.text-card input:checked + .text-card-content {
    border-color: var(--cyan);
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    box-shadow: 0 4px 12px rgba(58, 175, 217, 0.2);
}

.text-card:hover .text-card-content {
    border-color: var(--cyan);
}

.text-preview {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    color: var(--text-muted);
}

.text-preview svg {
    width: 48px;
    height: 48px;
}

.cover-preview-img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.text-name {
    font-weight: 500;
    color: var(--navy);
    font-size: 14px;
    margin-bottom: 4px;
}


/* ==============================================
   EXTRAS GRID
   ============================================== */
.extras-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 640px) {
    .extras-grid {
        grid-template-columns: 1fr;
    }
}

.extra-option {
    cursor: pointer;
}

.extra-option input {
    display: none;
}

.extra-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.extra-option input:checked + .extra-content {
    border-color: var(--cyan);
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    box-shadow: 0 4px 12px rgba(58, 175, 217, 0.2);
}

.extra-option:hover .extra-content {
    border-color: var(--cyan);
}

.extra-content svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.extra-option input:checked + .extra-content svg {
    color: var(--cyan);
}

.extra-name {
    flex: 1;
    font-weight: 500;
    color: var(--navy);
    font-size: 14px;
}


/* ==============================================
   DEADLINE OPTIONS
   ============================================== */
.deadline-section {
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.deadline-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.deadline-option {
    cursor: pointer;
}

.deadline-option input {
    display: none;
}

.deadline-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.deadline-option input:checked + .deadline-content {
    border-color: var(--cyan);
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    box-shadow: 0 4px 12px rgba(58, 175, 217, 0.2);
}

.deadline-option.urgent input:checked + .deadline-content {
    border-color: var(--red);
    background: linear-gradient(135deg, #fde8eb 0%, #fff5f5 100%);
    box-shadow: 0 4px 12px rgba(218, 26, 50, 0.15);
}

.deadline-option:hover .deadline-content {
    border-color: var(--cyan);
}

.deadline-option.urgent:hover .deadline-content {
    border-color: var(--red);
}

.deadline-content svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.deadline-option input:checked + .deadline-content svg {
    color: var(--cyan);
}

.deadline-option.urgent input:checked + .deadline-content svg {
    color: var(--red);
}

.deadline-text {
    display: flex;
    flex-direction: column;
}

.deadline-name {
    font-weight: 600;
    color: var(--navy);
}

.deadline-desc {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==============================================
   CUSTOMER FORM
   ============================================== */
.customer-form {
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 8px;
	margin-top: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(58, 175, 217, 0.15);
}

.form-group input:disabled {
    background: var(--gray-light);
    color: var(--text-muted);
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.dropdown-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--cyan-light);
}

/* Delivery Section */
.delivery-section {
    margin-bottom: 24px;
}

.delivery-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .delivery-options {
        grid-template-columns: 1fr;
    }
}

.delivery-option {
    cursor: pointer;
}

.delivery-option input {
    display: none;
}

.delivery-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
}

.delivery-option input:checked + .delivery-content {
    border-color: var(--cyan);
    background: linear-gradient(135deg, #e0f4fb 0%, #f0faff 100%);
    box-shadow: 0 4px 12px rgba(58, 175, 217, 0.2);
}

.delivery-option:hover .delivery-content {
    border-color: var(--cyan);
}

.delivery-content svg {
    width: 28px;
    height: 28px;
    color: var(--text-muted);
    flex-shrink: 0;
}

.delivery-option input:checked + .delivery-content svg {
    color: var(--cyan);
}

.delivery-text {
    display: flex;
    flex-direction: column;
}

.delivery-name {
    font-weight: 600;
    color: var(--navy);
}

.delivery-address,
.delivery-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.np-fields {
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-light);
    border-radius: var(--radius-sm);
    display: grid;
    gap: 16px;
}

/* ==============================================
   ORDER SUMMARY
   ============================================== */
.order-summary {
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 100%);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    border: 1px solid var(--border);
}

.order-summary h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 16px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.summary-row span:first-child {
    color: var(--text-light);
}

.summary-row span:last-child {
    font-weight: 500;
    color: var(--navy);
}

.summary-row.urgent span {
    color: var(--red);
    font-weight: 600;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 2px solid var(--border);
    font-size: 18px;
    font-weight: 600;
}

.total-price {
    color: var(--red);
    font-size: 28px;
    font-weight: 700;
}

/* ==============================================
   MODALS
   ============================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 24px;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    position: relative;
}

.modal-video {
    max-width: 800px;
    padding: 0;
    overflow: hidden;
}

.modal-video video {
    width: 100%;
    display: block;
}

.modal-close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--red);
    color: var(--white);
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

.modal-error {
    padding: 40px;
    text-align: center;
}

.error-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    color: var(--red);
}

.error-icon svg {
    width: 100%;
    height: 100%;
}

.modal-error h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
}

.modal-error p {
    color: var(--text-light);
    margin-bottom: 24px;
}

/* ==============================================
   LOADING OVERLAY
   ============================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.95);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
    z-index: 3000;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--border);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 16px;
    color: var(--text-light);
}

/* ==============================================
   RESPONSIVE
   ============================================== */
@media (max-width: 768px) {
    .order-step {
        padding: 24px 20px;
    }
    
    .step-header {
        margin-bottom: 24px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .btn-video-toggle {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }
    
    .hero-section {
        padding: 28px 0 0;
    }
    
    .pages-inputs {
        grid-template-columns: 1fr;
    }
    
    .type-cards {
        grid-template-columns: 1fr;
    }
    
    .deadline-options {
        grid-template-columns: 1fr;
    }
    
    .price-row {
        font-size: 14px;
    }
    
    .additional-files-list {
        padding: 12px;
    }
    
    .additional-files-list > .price-preview {
        margin: 12px -12px -12px;
        padding: 12px 14px;
    }
    
    .additional-print-options {
        padding-top: 12px;
    }
    
    .print-type-toggle .toggle-option {
        min-width: 0;
    }
    
    .toggle-label {
        padding: 12px 14px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    :root {
        --header-height: 60px;
    }
    
   .hero-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .order-step {
        padding: 20px 16px;
    }
    
    .color-select {
        flex-direction: column;
    }
    
    .order-container {
        padding: 24px 16px 60px;
    }
    
    .additional-files-list {
        padding: 10px;
    }
    
    .additional-files-list > .price-preview {
        margin: 10px -10px -10px;
        padding: 10px 12px;
    }
    
    .price-row {
        font-size: 13px;
        gap: 8px;
    }
    
    .additional-print-options {
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .print-type-toggle {
        gap: 8px;
    }
    
    .form-section-title {
        margin-top: 24px;
    }
}


.other-services-section {
    padding: 50px 0 30px;
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%);
}

.other-services-section .section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 24px;
}

#otherPrintSubcategories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
}

.subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 16px;
    background: var(--white);
    border-radius: 16px;
    text-decoration: none;
    border: 2px solid transparent;
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.08);
    transition: all 0.3s ease;
}

.subcategory-card:hover {
    transform: translateY(-6px);
    border-color: var(--cyan);
    box-shadow: 0 12px 32px rgba(58, 175, 217, 0.2);
}

.subcategory-card:hover .subcategory-icon {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--navy) 100%);
}

.subcategory-card:hover .subcategory-icon svg .st0 {
    fill: var(--white);
}

.subcategory-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
    margin-bottom: 14px;
    transition: all 0.3s ease;
}

.subcategory-icon svg {
    width: 36px;
    height: 36px;
}

.subcategory-icon svg .st0 {
    fill: var(--navy);
    transition: fill 0.3s ease;
}

.subcategory-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
    line-height: 1.4;
}

/* Responsive subcategories */
@media (max-width: 900px) {
    #otherPrintSubcategories {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
    #otherPrintSubcategories {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px;
        margin: 40px auto;
    }
    
    .subcategory-card {
        padding: 18px 12px;
    }
    
    .subcategory-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 10px;
    }
    
    .subcategory-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .subcategory-name {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    #otherPrintSubcategories {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FAQ DIPLOMA — обгортка та заголовок
   ============================================ */

.faq-diploma {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.faq-diploma h2 {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 36px;
    position: relative;
    padding-bottom: 18px;
}

.faq-diploma h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--red), var(--yellow));
    border-radius: 2px;
}
/* FAQ — CSS only через <details>/<summary> */
.faq-diploma details.faq-item {
    background: var(--white);
    border-radius: 12px;
    margin-bottom: 10px;
    border: 1px solid #e5e9ed;
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.faq-diploma details.faq-item:hover {
    box-shadow: 0 4px 16px rgba(30,58,95,0.09);
}
.faq-diploma details.faq-item[open] {
    border-color: var(--cyan);
    box-shadow: 0 4px 20px rgba(58,175,217,0.14);
}

/* summary замість button */
.faq-diploma summary.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy);
    list-style: none;        /* прибрати стандартний трикутник */
    line-height: 1.45;
    transition: background 0.2s ease, color 0.2s ease;
    user-select: none;
}
.faq-diploma summary.faq-question::-webkit-details-marker { display: none; }
.faq-diploma summary.faq-question::marker { display: none; }

.faq-diploma summary.faq-question:hover {
    background: rgba(58,175,217,0.05);
}
.faq-diploma details[open] summary.faq-question {
    background: linear-gradient(135deg, var(--navy) 0%, #2a5080 100%);
    color: var(--white);
}

/* Іконка +/× */
.faq-diploma summary.faq-question .icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--red);
    margin-left: 14px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-diploma summary.faq-question .icon::before { content: "+"; }

.faq-diploma details[open] summary .icon {
    background: var(--yellow);
    color: var(--navy);
    transform: rotate(45deg);
}
.faq-diploma details[open] summary .icon::before { content: "+"; }

/* Відповідь — завжди видима всередині open */
.faq-diploma .faq-answer {
    padding: 0 22px 20px;
    animation: faqFadeIn 0.2s ease;
}
@keyframes faqFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}
.faq-diploma .faq-answer p {
    color: #4a5568;
    font-size: 0.96rem;
    line-height: 1.7;
    margin: 8px 0 0;
}
.faq-diploma .faq-answer strong { color: var(--navy); }

/* Responsive */
@media (max-width: 600px) {
    .faq-diploma { margin: 40px auto; padding: 0 16px; }
    .faq-diploma h2 { font-size: 1.35rem; }
    .faq-diploma summary.faq-question {
        padding: 15px 16px;
        font-size: 0.9rem;
    }
    .faq-diploma summary.faq-question .icon {
        width: 22px; height: 22px; font-size: 1rem;
    }
    .faq-diploma .faq-answer { padding: 0 16px 16px; }
}

.print-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #ffffff;
  font-family: "Inter", sans-serif;
}

.gallery-title {
  font-size: 26px;
  font-weight: 700;
  color: #1f3b64;
  margin-bottom: 28px;
  text-align: center;
  scroll-margin-top: 120px; /* відступ від шапки при якірному переході */
}

.pricing-block {
    padding-top: 56px;
    border-top: 2px solid var(--gray-light);
    margin-top: 20px;
}

.pricing-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #6b7a8d;
    margin: -16px auto 28px;
    max-width: 700px;
    line-height: 1.6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.gallery-grid figure {
  background: #f6f6f6;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-grid figcaption {
  padding: 12px 14px;
  font-size: 14px;
  color: #2e2e2e;
  text-align: center;
  background: #ffffff;
}

/* адаптив */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

.services-cta {
    text-align: center;
    margin: 30px 0 10px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--red) 0%, #c41528 100%);
    color: white;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 4px 25px rgba(218, 26, 50, 0.35);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(218, 26, 50, 0.45);
}

/* ============================================
   SEO DIPLOMA SECTION
   ============================================ */

.seo-diploma {
    background: #f0f4f8;
    padding: 70px 20px;
}

.seo-diploma__container {
    max-width: 960px;
    margin: 0 auto;
    background: var(--white);
    padding: 52px 60px;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(30,58,95,0.08);
}

/* Головний h2 */
.seo-diploma > .seo-diploma__container > h2:first-child {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--gray-light);
    position: relative;
}
.seo-diploma > .seo-diploma__container > h2:first-child::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--red), var(--yellow));
    border-radius: 2px;
}

/* Перші абзаци (до workflow) */
.seo-diploma__container > p {
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 16px;
}

/* Переваги — синій блок */
.seo-diploma__advantages {
    background: linear-gradient(135deg, var(--navy) 0%, #2a5080 100%);
    padding: 36px 40px;
    border-radius: 16px;
    margin: 48px 0 32px;
}
.seo-diploma__advantages h3 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 20px;
    padding: 0;
    border: none;
    background: none;
}
.seo-diploma__advantages h3::before { display: none; }
.seo-diploma__advantages ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
}
.seo-diploma__advantages li {
    color: rgba(255,255,255,0.92);
    font-size: 0.95rem;
    padding-left: 22px;
    position: relative;
    line-height: 1.5;
}
.seo-diploma__advantages li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: var(--yellow);
    font-size: 0.8rem;
    top: 2px;
}

/* Фінальний заклик */
.seo-diploma__final {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy);
    margin-top: 32px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(58,175,217,0.08), rgba(30,58,95,0.05));
    border-left: 4px solid var(--cyan);
    border-radius: 0 10px 10px 0;
}

/* ── Workflow підрозділ ── */
.seo-diploma__workflow {
    margin-top: 40px;
    border-top: 2px solid var(--gray-light);
    padding-top: 36px;
}

/* Іконки перед кожним h3 у workflow через data-icon */
.seo-diploma__workflow h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0 0 12px;
    padding: 14px 18px;
    background: #f7f9fc;
    border-radius: 10px;
    border-left: 4px solid var(--cyan);
    line-height: 1.35;
}
.seo-diploma__workflow h3 i {
    font-size: 1.1rem;
    color: var(--cyan);
    flex-shrink: 0;
    width: 25px;
    text-align: center;
	padding-top: 5px;
}
/* Відступ між блоками */
.seo-diploma__workflow h3 + p,
.seo-diploma__workflow h3 + ul {
    margin-top: 0;
    padding: 0 18px 20px;
}
.seo-diploma__workflow h3 ~ p,
.seo-diploma__workflow h3 ~ ul {
    font-size: 0.975rem;
    color: #4a5568;
    line-height: 1.72;
    margin-bottom: 6px;
}
/* Перед наступним h3 — відступ зверху */
.seo-diploma__workflow h3:not(:first-child) {
    margin-top: 28px;
}
.seo-diploma__workflow ul {
    list-style: none;
    padding-left: 18px;
    margin-bottom: 0;
}
.seo-diploma__workflow ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.975rem;
    color: #4a5568;
    line-height: 1.6;
}
.seo-diploma__workflow ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .seo-diploma { padding: 44px 16px; }

    .seo-diploma__container {
        padding: 30px 22px;
        border-radius: 16px;
    }

    .seo-diploma > .seo-diploma__container > h2:first-child {
        font-size: 1.35rem;
        margin-bottom: 20px;
    }

    .seo-diploma__advantages {
        padding: 24px 20px;
        margin: 32px 0 20px;
    }
    .seo-diploma__advantages ul {
        grid-template-columns: 1fr;
    }

    .seo-diploma__workflow h3 {
        font-size: 1rem;
        padding: 12px 14px;
    }

    .seo-diploma__final {
        font-size: 0.95rem;
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    .seo-diploma__container { padding: 22px 16px; }
    .seo-diploma__advantages { padding: 20px 16px; }

}

/* Additional Print Section */
.additional-print-section {
    margin-bottom: 20px;
}

.section-desc {
    color: #666;
    margin-bottom: 15px;
}

.step-optional {
    font-size: 14px;
    color: #999;
    font-weight: normal;
    margin-left: 10px;
}

.additional-upload-zone {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.additional-upload-zone:hover {
    border-color: #3AAFD9;
    background: rgba(58, 175, 217, 0.05);
}

.additional-upload-zone.dragover {
    border-color: #3AAFD9;
    background: rgba(58, 175, 217, 0.1);
}

.additional-upload-zone .upload-icon.small {
    width: 40px;
    height: 40px;
}

.additional-upload-zone .upload-icon.small svg {
    width: 100%;
    height: 100%;
    stroke: #3AAFD9;
}

.additional-upload-zone .upload-text {
    text-align: left;
}

.additional-upload-zone .upload-text span {
    display: block;
    color: #333;
    font-weight: 500;
}

.additional-upload-zone .upload-text small {
    color: #999;
}

.additional-files-list {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-top: 15px;
}

/* Price preview inside additional-files-list: flush to edges */
.additional-files-list > .price-preview {
    margin: 15px -15px -15px;
    border-radius: 0 0 12px 12px;
    padding: 14px 18px;
}

.files-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 600;
}

.files-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.additional-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #eee;
}

.additional-file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.additional-file-info svg {
    width: 24px;
    height: 24px;
    stroke: #DA1A32;
}

.additional-file-name {
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.additional-file-pages {
    color: #666;
    font-size: 14px;
}

.additional-print-options {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.print-type-toggle {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.print-type-toggle .toggle-option {
    flex: 1;
    min-width: 200px;
}

/* Comments Section */
.comments-section {
    margin-top: 20px;
}

.comments-section textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    transition: border-color 0.3s;
}

.comments-section textarea:focus {
    outline: none;
    border-color: #3AAFD9;
}

/* ==============================================
   СТИЛІ ДЛЯ ВАЛІДАЦІЇ КОЛЬОРОВИХ СТОРІНОК
   ============================================== */

/* Стан помилки для поля введення */
.input-error,
#colorPagesInput.input-error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
    animation: shake 0.5s ease-in-out;
}

/* Анімація тремтіння */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Повідомлення про помилку */
.color-pages-error {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background-color: rgba(231, 76, 60, 0.08);
    border-radius: 6px;
    border-left: 3px solid #e74c3c;
}

.color-pages-error svg {
    flex-shrink: 0;
    color: #e74c3c;
}


/* ДОДАТИ: Попередження про одну кольорову сторінку */
.color-pages-warning {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
    padding: 12px 14px;
    background-color: rgba(243, 156, 18, 0.08);
    border-radius: 6px;
    border-left: 3px solid #f39c12;
    color: #7a5500;
    font-size: 0.875rem;
    animation: fadeIn 0.2s ease;
}

.color-pages-warning p {
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.45;
}

.color-pages-warning svg {
    flex-shrink: 0;
    color: #f39c12;
    margin-top: 2px;
}

.color-pages-warning-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.color-pages-warning-actions button {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.825rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-warning-fix {
    background: transparent;
    border: 1.5px solid #f39c12;
    color: #7a5500;
}

.btn-warning-confirm {
    background: #f39c12;
    color: #fff;
    border: none;
}

.color-pages-warning-actions button:hover {
    opacity: 0.8;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Обов'язкове поле - індикатор */
#colorPagesSection.required-field::before {
    content: '*';
    color: #e74c3c;
    font-size: 1rem;
    position: absolute;
    top: 0;
    right: 0;
}

/* Підказка що поле обов'язкове */
.color-pages-input label::after {
    content: ' *';
    color: #e74c3c;
}

/* Стан валідного введення */
#colorPagesInput.input-valid {
    border-color: #27ae60 !important;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15) !important;
}

/* Підсвічування при фокусі */
#colorPagesInput:focus:not(.input-error) {
    border-color: #3AAFD9;
    box-shadow: 0 0 0 3px rgba(58, 175, 217, 0.2);
    outline: none;
}

/* ==============================================
   СТИЛІ ДЛЯ CTA КНОПКИ
   ============================================== */

.services-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3AAFD9 0%, #2980b9 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(58, 175, 217, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.services-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(58, 175, 217, 0.4);
    background: linear-gradient(135deg, #2980b9 0%, #3AAFD9 100%);
}

.services-cta .cta-button:active {
    transform: translateY(0);
}

.services-cta .cta-button svg {
    transition: transform 0.3s ease;
}

.services-cta .cta-button:hover svg {
    transform: translateY(-3px);
}

/* Анімація підсвічування при прокрутці до замовлення */
.order-container.highlight-scroll,
#zakazat_diplom.highlight-scroll {
    animation: highlightPulse 1.5s ease-out;
}

@keyframes highlightPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(58, 175, 217, 0.4);
    }
    50% {
        box-shadow: 0 0 30px 10px rgba(58, 175, 217, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(58, 175, 217, 0);
    }
}

/* ==============================================
   АДАПТИВНІСТЬ
   ============================================== */

@media (max-width: 768px) {
    .services-cta .cta-button {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .color-pages-error {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }
	
	
	/* ДОДАТИ (мобільні): */
    .color-pages-warning {
        font-size: 0.8rem;
        padding: 10px 12px;
    }
    .color-pages-warning-actions {
        flex-direction: column;
    }
    .color-pages-warning-actions button {
        width: 100%;
        text-align: center;
        padding: 8px 14px;
    }
}


@keyframes expandLineCentered {
    from { transform: translateX(-50%) scaleX(0); }
    to { transform: translateX(-50%) scaleX(1); }
}

/* ============================================
   VIDEO SECTION - Відео
   ============================================ */

.video_section {
    padding: 60px 20px;
    background: var(--gray-light);
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(30, 58, 95, 0.2);
    aspect-ratio: 16 / 9;
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.bh-content-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.bh-content-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

@media (max-width: 768px) {
    .video_section {
        padding: 40px 15px;
    }
    
    .video-wrapper {
        border-radius: 12px;
    }
}

@media (max-width: 768px) {
    .window-size-block {
        padding: 0 15px 15px;
        margin-bottom: 10px;
    }
}
.video-description {
    max-width: 800px;
    margin: 20px auto 0;
    text-align: center;
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .video-description {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .bh-content-title {
        font-size: 1.5rem;
    }
}
/* Pricing Table */

.diploma-pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.diploma-pricing-table thead {
    background: linear-gradient(135deg, #3AAFD9 0%, #1C3B6F 100%);
    color: white;
}

.diploma-pricing-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.diploma-pricing-table tbody tr {
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s;
}

.diploma-pricing-table tbody tr:hover {
    background-color: #f8f9fa;
}

.diploma-pricing-table tbody tr:last-child {
    border-bottom: none;
}

.diploma-pricing-table td {
    padding: 1rem;
    font-size: 0.95rem;
    text-align: center;
}

.diploma-pricing-table td:nth-child(2),
.diploma-pricing-table td:nth-child(3) {
    font-weight: 600;
    color: #1C3B6F;
}

.pricing-note {
    margin: 30px 0;
    padding: 1rem;
    background: linear-gradient(135deg, #FFC857 0%, #FFB347 100%);
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-note .note-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: #8B4513;
    margin-top: 2px;
}

.pricing-note p {
    margin: 0;
    color: #5a3a1a;
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .diploma-pricing-table {
        font-size: 0.85rem;
    }
    
    .diploma-pricing-table th,
    .diploma-pricing-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .pricing-note {
        margin: 20px 0;
        padding: 0.85rem;
    }
    
    .pricing-note p {
        font-size: 0.85rem;
    }
    
    .gallery-title {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    .print-gallery {
        padding: 30px 16px;
    }
	
	
}

/* Trimming Option */
.trimming-option-section {
    margin-top: 12px;
    padding: 0;
    background: transparent;
    border-radius: 8px;
    border: none;
}

.trimming-checkbox {
    margin: 0 !important;
}

.trimming-price-row {
    color: #0066cc;
    font-weight: 600;
}

/* Deadline Summary */
.summary-deadline {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.deadline-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.deadline-badge svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
}

.deadline-badge.standard {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.deadline-badge.standard svg {
    stroke: #2e7d32;
}

.deadline-badge.urgent {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #e65100;
}

.deadline-badge.urgent svg {
    stroke: #e65100;
    fill: #e65100;
}

/* ============================================
   БЛОК ВИГІДНА ЦІНА
   ============================================ */

.price-info-section {
    background: #f8f9fb;
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    border-bottom: 1px solid rgba(30, 58, 95, 0.08);
    padding: 48px 20px;
}

.price-info-container {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* Заголовок */
.price-info-header {
    text-align: center;
}

.price-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, #1E3A5F 0%, #2a5080 100%);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.price-info-badge svg {
    stroke: #FFC857;
    flex-shrink: 0;
}

.price-info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1E3A5F;
    margin: 0;
}

/* Сітка карток */
.price-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

/* Картки */
.price-info-card {
    border-radius: 14px;
    padding: 22px 24px;
    background: #fff;
    box-shadow: 0 2px 16px rgba(30, 58, 95, 0.08);
}

.price-info-card--green {
    border-top: 3px solid #27ae60;
}

.price-info-card--amber {
    border-top: 3px solid #e67e22;
}

.price-info-card-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    color: #888;
    margin-bottom: 16px;
}

/* Список умов */
.price-info-list {
    list-style: none;
    padding: 0;
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.price-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    font-size: 0.95rem;
    color: #333;
    line-height: 2;
}

/* Іконки у списку */
.pi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    flex-shrink: 0;
}

.pi-icon--blue {
    background: rgba(30, 58, 95, 0.08);
    color: #1E3A5F;
}

.pi-icon svg {
    stroke: currentColor;
}

/* Нотатки в картці */
.price-info-note {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* Кнопка-посилання на таблицю */
.price-info-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1E3A5F;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: 1.5px solid rgba(30, 58, 95, 0.25);
    border-radius: 25px;
    transition: all 0.25s ease;
}

.price-info-cta:hover {
    background: #1E3A5F;
    color: #fff;
    border-color: #1E3A5F;
    box-shadow: 0 6px 20px rgba(30, 58, 95, 0.2);
}

.price-info-cta svg {
    transition: transform 0.25s ease;
}

.price-info-cta:hover svg {
    transform: translateY(3px);
}

/* Адаптив */
@media (max-width: 640px) {
    .price-info-grid {
        grid-template-columns: 1fr;
    }

    .price-info-title {
        font-size: 1.25rem;
    }

    .price-info-section {
        padding: 36px 16px;
    }

    /* Список умов на мобільних — прибираємо flex із вирівнюванням,
       даємо просто рядки як на ПК без стрибків */
    .price-info-list li {
        align-items: flex-start;
        gap: 5px;
    }

    .pi-icon {
        width: 26px;
        height: 26px;
        flex-shrink: 0;
    }

    .price-info-list li {
        font-size: 0.9rem;
    }
}

/* ==============================================
   STICKY ORDER PROGRESS BAR
   ============================================== */

.order-progress {
    position: sticky;
    top: 110px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 10px rgba(30, 58, 95, 0.07);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.order-progress.visible {
    opacity: 1;
    pointer-events: auto;
}

.order-progress__track {
    flex: 1;
    height: 5px;
    background: var(--gray);
    border-radius: 10px;
    overflow: hidden;
}

.order-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan) 0%, var(--navy) 100%);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

.order-progress__label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
    min-width: 72px;
    text-align: right;
}

@media (max-width: 480px) {
    .order-progress {
        padding: 9px 16px;
		top: 80px;
    }
    .order-progress__label {
        font-size: 0.75rem;
    }
}