:root {
    --bs-body-font-family: 'Inter', sans-serif;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* NAVBAR & LOGO */
.site-logo {
    /* Ограничиваем высоту, чтобы логотип вписался в шапку */
    height: 50px;
    width: auto; /* Сохраняем пропорции */
    display: block;
}

/* Изменим позиционирование корзины для мобильных */
@media (max-width: 991.98px) {
    .site-logo {
        height: 40px; /* Чуть меньше на телефонах */
    }
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    color: #6c757d !important;
    font-weight: 400;
    padding: 1rem 0.5rem !important;
    transition: color 0.2s ease;
}

    .navbar-nav .nav-link:hover {
        color: #2c4a52 !important;
    }

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.3em;
    vertical-align: middle;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

/* CART ICON */
.cart-icon-link .bi-cart3 {
    color: #2c4a52;
}

.cart-badge {
    font-size: 0.6rem;
    padding: 0.35em 0.5em;
}

.vr {
    background-color: #eee;
    opacity: 1;
}

.cart-link:hover .bi-cart3 {
    opacity: 0.8;
}

.site-logo {
    max-width: 100%;
    object-fit: contain;
}

@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* DROPDOWN & NAVIGATION */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.2s ease-in-out;
        border-radius: 8px;
        padding: 10px 0;
    }
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
    color: #6c757d !important;
    font-weight: 400;
}

    .dropdown-item:hover {
        background-color: #f8f9fa;
        color: #2c4a52;
    }

/* FIXING TOGGLE ARROW */
.dropdown-toggle::after {
    vertical-align: middle;
    border-top: 0.3em solid;
    margin-left: 5px;
}

/* NAVIGATION & DROPDOWN */
.nav-link {
    font-size: 0.95rem;
    color: #6c757d !important;
    font-weight: 400;
}

/* Скрываем стрелку дропдауна на мобильных */
.dropdown-toggle-custom::after {
    display: none;
}

@media (min-width: 992px) {
    /* Возвращаем стрелку только для десктопа */
    .dropdown-toggle-custom::after {
        display: inline-block;
        vertical-align: middle;
        content: "";
        border-top: 0.3em solid;
        border-right: 0.3em solid transparent;
        border-left: 0.3em solid transparent;
        margin-left: 5px;
    }

    /* Логика появления списка при наведении */
    .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.2s ease-in-out;
        border-radius: 8px;
    }
}

/* MOBILE ADAPTATION */
@media (max-width: 991.98px) {
    .navbar-nav {
        padding-top: 1rem;
        padding-bottom: 1rem;
        text-align: center;
    }

    .nav-item {
        border-bottom: 1px solid #f8f9fa;
    }

        .nav-item:last-child {
            border-bottom: none;
        }
}

/* FOOTER SECTION */
.footer-bg {
    background-color: #EDF5F6;
    color: #2c4a52;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #2c4a52;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    text-decoration: none;
    color: #7a8a8e !important;
    font-size: 0.9rem;
    transition: color 0.2s;
}

    .footer-links a:hover {
        color: #2c4a52;
    }

.social-link {
    font-size: 1.5rem;
    color: #0088cc; /* Цвет Telegram */
    transition: opacity 0.2s;
}

    .social-link:hover {
        opacity: 0.7;
    }

.copyright-text {
    font-size: 0.8rem;
    color: #9fb1b5;
}

@media (max-width: 991.98px) {
    .footer-bg {
        text-align: center;
    }

    .social-link {
        justify-content: center;
    }
}

/* HERO SECTION */
.hero-section {
    height: 450px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/images/main_photo.png');
    background-size: cover;
    background-position: center;
    position: relative;
    color: #fff;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.btn-hero {
    background-color: #E68A6E;
    color: #fff;
    padding: 12px 35px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s;
    border: none;
}

    .btn-hero:hover {
        background-color: #d47a5f;
        color: #fff;
    }

@media (max-width: 768px) {
    .hero-section {
        height: 350px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* INFO SECTION & STEPS */
.info-section {
    background-color: #EDF5F6;
}

.info-title {
    color: #2c4a52;
    font-size: 2.5rem;
    font-weight: 500;
}

.phone-img {
    max-height: 500px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.step-number {
    width: 40px;
    height: 40px;
    border: 1px solid #2c4a52;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #2c4a52;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-text {
    color: #7a8a8e;
    font-size: 1.1rem;
    font-weight: 400;
}
/* INFO SECTION ALIGNMENT */
@media (max-width: 991.98px) {
    .info-title {
        text-align: center;
    }

    /* Центрируем блок с кнопкой */
    .col-lg-6.ps-lg-5 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Чтобы контейнер с шагами был по центру, но текст внутри — по левому краю */
    .steps-container {
        display: inline-block;
        text-align: left;
    }

    .btn-hero {
        width: fit-content;
    }
}

.step-item {
    display: flex;
    align-items: center;
}

.step-text {
    line-height: 1.2;
}

/* PROMO SECTION */
.promo-section {
    height: 500px;
    background-image: url('/images/photoalbom.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.promo-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.promo-text {
    color: #2c4a52;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

/* ADAPTATION */
@media (max-width: 991.98px) {
    .promo-section {
        height: 400px;
        justify-content: center !important;
    }

        .promo-section .container .row {
            justify-content: center !important;
        }

    .promo-card {
        padding: 2rem !important;
    }

    .promo-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .promo-section {
        background-position: 35% center; /* Сдвигаем фон, чтобы лицо на фото не перекрывалось карточкой */
    }
}

/* CATALOG CTA SECTION */
.cta-bg-teal {
    background-color: #437675;
    min-height: 450px;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta-title {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 500;
    line-height: 1.2;
}

.cta-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.6;
}

.cta-image-box {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.cta-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.btn-cta-outline {
    background-color: #E68A6E;
    border: none;
    padding: 12px 40px;
}

/* ADAPTATION */
@media (max-width: 991.98px) {
    .cta-bg-teal {
        padding: 3rem 1.5rem !important;
        text-align: center;
        min-height: auto;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-image-box {
        height: 300px;
    }
}

/* FOOTER ELEMENTS */
.footer-heading {
    color: #244656;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.social-link {
    font-size: 1.5rem;
    color: #244656 !important;
    transition: opacity 0.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .social-link:hover {
        color: #244656;
        opacity: 0.8;
    }

.footer-links a {
    text-decoration: none;
    color: #7a8a8e;
    font-size: 0.9rem;
    transition: color 0.2s;
}

    .footer-links a:hover {
        color: #244656;
    }

/* COPYRIGHT */
.copyright-text {
    font-size: 0.8rem;
    color: #9fb1b5;
}

/* BOOK PAGE HERO */
.breadcrumb-item {
    font-size: 0.85rem;
}

.book-hero-banner {
    height: 400px;
    background-image: url('/images/photobook_main.png'); /* Ваше бирюзовое изображение */
    background-size: cover;
    background-position: center;
    border-radius: 25px; /* Скругление как на макете */
}

.banner-content {
    z-index: 2;
    padding-left: 10% !important;
}

.book-hero-banner h1 {
    font-size: 3.5rem;
    letter-spacing: -1px;
}

.book-hero-banner p {
    font-size: 1.15rem;
    max-width: 400px;
}

/* ADAPTATION */
@media (max-width: 991.98px) {
    .book-hero-banner {
        height: 350px;
        background-position: 70% center; /* Сдвиг фона, чтобы лица не перекрывались текстом */
    }

    .banner-content {
        padding-left: 5% !important;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .book-hero-banner h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .book-hero-banner {
        border-radius: 15px;
        height: 300px;
    }

        .book-hero-banner p {
            font-size: 1rem;
        }
}

/* BOOK TYPES SECTION */
.section-title {
    color: #244656;
    font-size: 2rem;
    font-weight: 500;
}

.book-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid #f0f0f0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .book-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    }

.book-card-img-wrapper {
    background-color: #EDF5F6;
    padding: 40px;
    text-align: center;
}

.book-card-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
}

.book-card-body {
    padding: 30px;
}

.book-card-title {
    color: #244656;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.book-card-text {
    color: #7a8a8e;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.book-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}

.book-price {
    color: #E68A6E;
    font-size: 1.25rem;
    font-weight: 600;
}

    .book-price span {
        font-size: 0.85rem;
        color: #7a8a8e;
        font-weight: 400;
    }

.book-more-link {
    color: #244656;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

    .book-more-link:hover {
        opacity: 0.7;
        color: #244656;
    }

/* ADAPTATION */
@media (max-width: 768px) {
    .book-card-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* TEMPLATES SECTION */
.templates-section {
    background-color: #EDF5F6;
}

.template-card {
    background: #fff;
    border-radius: 20px;
    border: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

    .template-card:hover {
        box-shadow: 0 10px 25px rgba(36, 70, 86, 0.1);
        transform: translateY(-5px);
    }

.template-card-img-wrapper {
    position: relative;
    padding-top: 75%; /* Пропорции 4:3 для изображений шаблонов */
    overflow: hidden;
}

.template-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.template-card:hover .template-img {
    transform: scale(1.05);
}

.template-card-body {
    padding: 25px;
}

.template-card-title {
    color: #244656;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.template-card-text {
    color: #7a8a8e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

/* ADAPTATION */
@media (max-width: 576px) {
    .template-card-body {
        padding: 20px;
        text-align: center;
    }

    .template-card-text {
        font-size: 0.85rem;
    }
}

/* SIZES SECTION */
.sizes-section {
    background-color: #437675; /* Тот же цвет, что и в каталоге */
}

.sizes-title {
    font-size: 2rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.size-item {
    transition: transform 0.3s ease;
}

    .size-item:hover {
        transform: scale(1.05);
    }

.size-img-3020 {
    max-height: 240px;
}

.size-img-square {
    max-height: 260px;
}

.size-img-2030 {
    max-height: 300px;
}

.size-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 300;
}

/* ADAPTATION */
@media (max-width: 768px) {
    .sizes-title {
        text-align: center;
    }

    .size-item {
        margin-bottom: 2rem;
    }
}

/* BOOK DETAILS SECTION */
.details-title {
    color: #244656;
    font-size: 2.5rem;
    font-weight: 500;
}

.details-description p {
    color: #7a8a8e;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.details-specs {
    color: #244656;
    font-size: 1rem;
    border-left: 3px solid #E68A6E;
    padding-left: 15px;
}

.details-image-container img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.details-image-container:hover img {
    transform: scale(1.02);
}

/* ADAPTATION */
@media (max-width: 991.98px) {
    .book-details-section {
        text-align: center;
    }

    .details-title {
        font-size: 2rem;
    }

    .details-specs {
        border-left: none;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

    .pe-lg-5 {
        padding-right: 0 !important;
    }
}

/* GALLERY PREVIEW */
.gallery-wrapper {
    background-color: #EDF5F6;
    border-radius: 15px;
}

.gallery-img-box {
    background-color: transparent;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-img-box {
    transform: translateY(-8px);
}

.gallery-img-box img {
    filter: drop-shadow(0 12px 20px rgba(0,0,0,0.1));
    border-radius: 4px;
}

.gallery-item-title {
    color: #244656;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 767.98px) {
    .gallery-wrapper {
        padding: 2rem 1rem !important;
    }

    .gallery-item-title {
        font-size: 0.85rem;
    }
}

/* PREMIUM SPECIFIC */
/* Эффект для изображения слева */
.premium-details .details-image-container img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12) !important;
}

/* ADAPTATION */
@media (max-width: 991.98px) {
    .premium-details .ps-lg-5 {
        padding-left: 0 !important;
    }

    /* На мобильных текст всегда сверху, картинка снизу (благодаря order-*) */
    .premium-details .order-1 {
        margin-bottom: 2rem;
    }
}

/* COVERS SPECIFIC */
.cover-img-box img {
    /* Более выраженная тень для демонстрации объема материалов */
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
    border-radius: 4px;
    max-height: 280px; /* Ограничение высоты для аккуратности */
}

.cover-item {
    transition: transform 0.3s ease;
}

    .cover-item:hover {
        transform: scale(1.03);
    }

@media (max-width: 767.98px) {
    .cover-img-box img {
        max-height: 200px;
    }
}

/* COVER OPTIONS SECTION */
.cover-options-section {
    background-color: #437675; /* Фірмовий бірюзовий фон */
}

.section-subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

.options-visual-container {
    padding: 40px 0;
}

.diagram-main {
    max-height: 500px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

/* Стилізація легенди (якщо вона не є частиною картинки) */
.diagram-labels {
    position: absolute;
    right: -150px;
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    margin-right: 12px;
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.5);
}

.bg-pink {
    background-color: #D6A4B3;
}

.bg-orange {
    background-color: #D69466;
}

.bg-blue {
    background-color: #7AA9C2;
}

.bg-photo {
    background: url('/images/mini-photo-thumb.jpg') center/cover;
}

/* ADAPTATION */
@media (max-width: 991px) {
    .diagram-labels {
        position: static;
        transform: none;
        margin-top: 30px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* SEO TEXT SECTION */
.seo-text-section {
    background-color: #fff;
}

.seo-main-title, .seo-sub-title {
    color: #244656;
    font-weight: 500;
}

.seo-main-title {
    font-size: 1.75rem;
}

.seo-sub-title {
    font-size: 1.4rem;
}

.seo-text {
    color: #7a8a8e;
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 1000px;
}

.seo-list {
    list-style: none;
    padding-left: 0;
}

    .seo-list li {
        color: #7a8a8e;
        font-size: 0.95rem;
        line-height: 1.8;
        margin-bottom: 15px;
        position: relative;
        padding-left: 20px;
    }

        .seo-list li::before {
            content: "\2022";
            color: #E68A6E;
            font-weight: bold;
            position: absolute;
            left: 0;
        }

        .seo-list li strong {
            color: #244656;
            font-weight: 600;
        }

@media (max-width: 768px) {
    .seo-main-title {
        font-size: 1.5rem;
    }

    .seo-text, .seo-list li {
        font-size: 0.9rem;
    }
}

/* FAQ SECTION */
.faq-title {
    color: #244656;
    font-weight: 500;
}

.accordion-item {
    transition: all 0.3s ease;
}

.accordion-button {
    color: #244656 !important;
    font-weight: 500;
    padding: 1.25rem;
    background-color: #fff !important;
}

    .accordion-button:not(.collapsed) {
        box-shadow: none;
    }

    .accordion-button::after {
        /* Кастомний плюс як на макеті */
        content: "+";
        background-image: none !important;
        font-size: 1.5rem;
        color: #437675;
        transform: none !important;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.3s ease;
    }

    .accordion-button:not(.collapsed)::after {
        transform: rotate(45deg) !important; /* Перетворюється на Х при відкритті */
    }

.accordion-body {
    background-color: #fff;
    padding-top: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Керування розмірами іконок */
.size-icon {
    border: 1.5px solid #244656;
    margin: 0 auto;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .size-icon.small {
        width: 30px;
        height: 30px;
    }

    .size-icon.medium {
        width: 38px;
        height: 38px;
    }

    .size-icon.large {
        width: 45px;
        height: 45px;
    }

.size-option.active .size-icon {
    background-color: #EDF5F6;
    border-width: 2.5px;
}

/* Картки книг */
.book-card {
    transition: transform 0.3s ease;
}

    .book-card:hover {
        transform: translateY(-5px);
    }

.book-thumb {
    background: #f8f9fa;
    overflow: hidden;
}

    .book-thumb img {
        transition: transform 0.5s ease;
    }

.book-card:hover .book-thumb img {
    transform: scale(1.05);
}

.book-price {
    color: #244656;
    font-size: 1.1rem;
}

/* Сайдбар */
.filter-card {
    position: sticky;
    top: 20px;
}

.form-check-input:checked {
    background-color: #437675;
    border-color: #437675;
}

/* INFO BLOCKS */
.info-title {
    color: #244656;
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.3;
}

.info-description p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.info-image-wrapper img {
    width: 100%;
    object-fit: cover;
    max-height: 400px;
    transition: transform 0.3s ease;
}

.info-image-wrapper:hover img {
    transform: scale(1.02);
}

.btn-outline-teal {
    color: #437675;
    border-color: #437675;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .btn-outline-teal:hover {
        background-color: #437675;
        color: #fff;
    }

@media (max-width: 991px) {
    .info-title {
        font-size: 1.5rem;
    }

    .info-blocks-section {
        text-align: center;
    }
}

/* Додайте до існуючих стилів PRINT TECHNOLOGY SECTION */

.tech-icon-wrapper {
    /* Фон залишаємо, як на макеті */
    background-color: #437675;
    border-radius: 12px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Стилізація самої іконки */
.tech-svg-icon {
    font-size: 1.8rem; /* Розмір іконки */
    color: #fff; /* Білий колір іконки на бірюзовому фоні */
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-svg-icon {
    transform: scale(1.1) rotate(-5deg); /* Невелика анімація при наведенні */
}

.book-hero-banner {
    min-height: 500px;
    /* Колір фону, який залишиться в мобільній версії */
    background-color: #327A80;
    background-position: right center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Десктопна версія: показуємо фото */
@media (min-width: 992px) {
    .book-hero-banner {
        /* Замініть шлях на ваше фото з макета image_f8ae5f.png */
        background-image: url('/images/photobook_main.png');
    }
}

/* Мобільна версія: прибираємо фото, залишаємо фон */
@media (max-width: 991px) {
    .book-hero-banner {
        background-image: none !important;
        text-align: center;
        padding: 60px 20px;
    }

    .banner-content {
        padding-left: 0 !important;
        width: 100%;
    }
}

.btn-hero {
    background-color: #E38E70; /* Колір кнопки з макета image_f58b44.png */
    color: white;
    border: none;
    transition: 0.3s;
}

    .btn-hero:hover {
        background-color: #d17d60;
        color: white;
    }

.cta-banner-wrapper {
    min-height: 450px;
    background-color: #f8f9fa;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.cta-card {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    text-align: center;
}

.cta-text {
    color: #244656;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.4;
}

.btn-cta-orange {
    background-color: #E68A6E; /* Помаранчевий колір з макета */
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

    .btn-cta-orange:hover {
        background-color: #d17a61;
        color: white;
        transform: translateY(-2px);
    }

/* Адаптація для мобільних */
@media (max-width: 767px) {
    .cta-banner-wrapper {
        min-height: 350px;
    }

    .cta-card {
        margin: 20px;
        padding: 30px !important;
    }

    .cta-text {
        font-size: 1.2rem;
    }
}

/* FINAL CTA SECTION */
.cta-banner-wrapper {
    min-height: 480px; /* Висота банера */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.cta-floating-card {
    /* Напівпрозорий білий фон для ефекту скла */
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    z-index: 2; /* Поверх фону */
    /* Вирівнювання по центру, якщо потрібно в мобільній версії */
}

.cta-text {
    color: #244656;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.btn-cta-orange {
    background-color: #E68A6E; /* Помаранчевий колір з макета */
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

    .btn-cta-orange:hover {
        background-color: #d17a61;
        color: white;
        transform: translateY(-2px);
    }

/* Адаптація */
@media (max-width: 991.98px) {
    .cta-banner-wrapper {
        min-height: 400px;
    }

    .cta-text {
        font-size: 1.25rem;
    }

    /* На мобільних пристроях картку можна центрувати */
    .row.align-items-center {
        justify-content: center;
    }

    .cta-floating-card {
        padding: 30px !important;
        margin: 20px;
    }
}

.promo-section-final {
    min-height: 450px; /* Висота відповідно до макета */
    overflow: hidden;
}

.promo-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.promo-card-glass {
    background: rgba(255, 255, 255, 0.85); /* Білий напівпрозорий фон */
    backdrop-filter: blur(8px); /* Ефект розмиття фону за карткою */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.promo-text-main {
    color: #244656;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
}

.btn-cta-orange {
    background-color: #E68A6E; /* Помаранчевий колір кнопки з макета */
    color: white;
    border-radius: 10px;
    font-weight: 500;
    border: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

    .btn-cta-orange:hover {
        background-color: #d17a61;
        color: white;
        transform: translateY(-2px);
    }

/* Адаптація для мобільних пристроїв */
@media (max-width: 767px) {
    .promo-section-final {
        min-height: 350px;
    }

    .promo-card-glass {
        margin: 0 15px;
        padding: 30px !important;
    }

    .promo-text-main {
        font-size: 1.25rem;
    }
}

.faq-title {
    color: #244656;
    font-weight: 600;
}

.accordion-button {
    background-color: #fff !important;
    color: #244656 !important;
    font-weight: 500;
    padding: 1.25rem;
    box-shadow: none !important;
}

    /* Кастомний колір іконки "+" (використовуємо ваш фірмовий бірюзовий) */
    .accordion-button::after {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23437675'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
        background-size: 1.5rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .accordion-button:not(.collapsed)::after {
        transform: rotate(45deg); /* Перетворює "+" на "x" */
    }

.accordion-item {
    transition: transform 0.2s ease;
}

    .accordion-item:hover {
        transform: translateY(-2px);
    }

/* COLORS & TYPOGRAPHY */
.text-dark-blue {
    color: #244656;
}

.text-teal {
    color: #437675;
}

/* PREVIEW */
.preview-container {
    min-height: 500px;
    background-color: #E9EDEE !important;
}

/* SIZE OPTIONS */
.size-option {
    width: 120px;
    cursor: pointer;
    border-color: #dee2e6 !important;
    transition: all 0.2s ease;
}

    .size-option.active {
        background-color: #437675;
        color: white;
        border-color: #437675 !important;
    }

    .size-option img {
        max-height: 60px;
        filter: grayscale(1);
        opacity: 0.7;
    }

    .size-option.active img {
        filter: none;
        opacity: 1;
    }

/* BUTTONS */
.btn-outline-teal {
    color: #437675;
    border: 1px solid #dee2e6;
    background-color: #fff;
}

.btn-check:checked + .btn-outline-teal {
    background-color: #437675 !important;
    border-color: #437675 !important;
    color: white !important;
}

.btn-orange-cta {
    background-color: #E68A6E;
    color: white;
    border: none;
    transition: transform 0.2s ease;
}

    .btn-orange-cta:hover {
        background-color: #d17a61;
        color: white;
        transform: translateY(-2px);
    }

.text-dark-blue {
    color: #244656;
}

.text-teal {
    color: #437675;
}

#priceListModal .modal-content {
    max-width: 450px;
    margin: auto;
}

#priceListModal .price-row {
    color: #244656;
    font-size: 1.1rem;
}

    #priceListModal .price-row span:last-child {
        color: #437675;
    }

#priceListModal .btn-close {
    font-size: 1.2rem;
    padding: 1.5rem;
}

.price-tag-teal {
    color: #d17a61;
}

.paper-types-section .section-title {
    color: #244656;
    font-weight: 600;
}

.paper-name {
    color: #244656;
    font-weight: 600;
}

.paper-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.paper-image-wrapper img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.paper-card:hover .paper-image-wrapper img {
    transform: scale(1.02);
}

.border-teal {
    border-color: #437675 !important;
}

#photo-quantity {
    text-align: center;
    font-weight: bold;
    color: #244656;
}

    /* Приховуємо стрілочки в input number для більш чистого вигляду (опціонально) */
    #photo-quantity::-webkit-inner-spin-button,
    #photo-quantity::-webkit-outer-spin-button {
        opacity: 1;
    }

.quantity-group {
    width: 160px;
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    width: 45px;
    background-color: #f8fbfb;
    border-color: #437675;
    color: #437675;
    transition: all 0.2s ease;
}

    .qty-btn:hover {
        background-color: #437675;
        color: white;
    }

.qty-input {
    border-left: none !important;
    border-right: none !important;
    border-color: #437675 !important;
    font-size: 1.1rem;
    color: #244656;
}

    /* Прибираємо "стрілочки" браузера */
    .qty-input::-webkit-outer-spin-button,
    .qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

.border-teal-light {
    border: 1px solid #437675;
}

.text-dark-blue {
    color: #244656;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(67, 118, 117, 0.05); /* Легкий бірюзовий фон */
    color: #437675;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(67, 118, 117, 0.2);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23437675'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    background-size: 1.25rem;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23437675'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
    transform: none;
}

.accordion-item {
    border-radius: 15px !important;
    overflow: hidden;
}

.text-dark-blue {
    color: #244656;
}

.text-teal {
    color: #437675;
}

.polaroid-description-section h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

.polaroid-description-section h3 {
    font-size: 1.5rem;
}

.polaroid-benefits li {
    font-size: 1.05rem;
    color: #4a4a4a;
    line-height: 1.5;
}

.polaroid-benefits i {
    font-size: 1.2rem;
}

.leading-relaxed {
    line-height: 1.7;
}

/* Адаптація для мобільних */
@media (max-width: 768px) {
    .polaroid-description-section h2 {
        font-size: 1.4rem;
    }

    .polaroid-description-section h3 {
        font-size: 1.25rem;
    }
}

.hero-card {
    min-height: 400px;
    max-height: 600px;
}

.hero-img {
    object-fit: cover;
    height: 100%;
    min-height: 400px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0) 100%);
}

.bg-white-transparent {
    background-color: rgba(255, 255, 255, 0.85);
}

.backdrop-blur {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.hero-content-box {
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .hero-content-box h2 {
        font-size: 1.8rem;
        line-height: 1.4;
    }

/* Адаптація для мобільних пристроїв */
@media (max-width: 768px) {
    .hero-content-box {
        margin: 20px !important;
        text-align: center;
    }

        .hero-content-box h2 {
            font-size: 1.4rem;
        }

    .hero-overlay {
        justify-content: center;
    }
}

.bg-teal-dark {
    background-color: #437675; /* Ваш фірмовий бірюзовий колір з макета */
}

.max-w-600 {
    max-width: 600px;
    margin: 0 auto;
}

.info-image-container {
    min-height: 500px;
}

.object-fit-cover {
    object-fit: cover;
}

.opacity-90 {
    opacity: 0.9;
    line-height: 1.6;
}

.info-text-content h2 {
    font-size: 2rem;
    line-height: 1.2;
}

.info-text-content h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

/* Адаптація для планшетів та мобільних */
@media (max-width: 991px) {
    .info-image-container {
        min-height: 350px;
    }

    .info-text-content {
        max-width: 100%;
    }
}

.btn-outline-teal-size {
    border: 1px solid #dee2e6;
    color: #6c757d;
    background: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s;
    min-width: 85px;
}

    .btn-outline-teal-size:hover, .btn-outline-teal-size.active {
        background-color: #437675; /* Колір з макета */
        border-color: #437675;
        color: #fff;
    }

.quantity-group {
    width: 140px;
}

.bg-teal-dark {
    background-color: #437675; /* Бірюзовий з макета */
}

.text-dark-blue {
    color: #244656;
}

.rotate-img {
    transform: rotate(-5deg);
    max-height: 250px;
    transition: transform 0.3s ease;
}

.frame-card:hover .rotate-img {
    transform: rotate(0deg);
}

.paper-card img {
    width: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 9;
}

.frame-preview {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opacity-90 {
    opacity: 0.9;
}

.calendar-hero-banner {
    height: 400px;
    background-image: url('/images/cald_main.png'); /* Ваше бирюзовое изображение */
    background-size: cover;
    background-position: center;
    border-radius: 25px; /* Скругление как на макете */
}

.text-dark-blue {
    color: #244656; /* Колір заголовків з макетів */
}

.price-table .price-row:last-child {
    border-bottom: none !important;
}

.price-row span {
    font-size: 1.1rem;
    color: #244656;
}

/* Стиль для посилання на прайс у головному блоці */
.price-link {
    color: #e28a6b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

    .price-link:hover {
        text-decoration: underline;
        opacity: 0.8;
    }

.photoalbum-hero-banner {
    height: 400px;
    background-image: url('/images/photoalbum_main.png'); /* Ваше бирюзовое изображение */
    background-size: cover;
    background-position: center;
    border-radius: 25px; /* Скругление как на макете */
}

.text-dark-blue {
    color: #244656; /* Фірмовий темно-синій колір заголовків */
}

.albums-info-section h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

.albums-info-section .info-content p,
.albums-info-section .info-content li {
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: justify; /* Для відповідності книжковому стилю макета */
}

.albums-info-section strong {
    color: #333;
}
/* Контактна форма та інпути */
.custom-input {
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0;
    padding: 10px 0;
    background-color: transparent;
}

    .custom-input:focus {
        box-shadow: none;
        border-color: #244656;
        background-color: transparent;
    }

/* Кнопка як на макеті */
.btn-primary-custom {
    background-color: #d98a6a; /* Теплий відтінок з макета */
    border: none;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s;
}

    .btn-primary-custom:hover {
        background-color: #c4795b;
        color: white;
    }

/* Колір заголовків */
.text-dark-blue {
    color: #244656;
}

/* Стилізація іконок (потрібен Bootstrap Icons) */
.social-links i {
    transition: transform 0.2s;
}

    .social-links i:hover {
        transform: scale(1.1);
    }

/* Стили для имитации объема (как на ваших скринах) */
.book-card {
    transition: transform 0.2s ease-in-out;
    border: none;
    background: none;
}

    .book-card:hover {
        transform: translateY(-5px);
    }

/* Эффект тени для самой обложки */
.book-img-container {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .book-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Типографика */
.book-title {
    font-size: 0.85rem;
    color: #6c757d; /* text-muted */
    line-height: 1.2;
    margin-top: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.book-price {
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}


