

/* Start:/local/components/micronet/poligrafiya/templates/.default/style.css?17902546258892*/
.hero-photo-block.has-gallery {
    border-radius: 0 10px 0 0;
}

.hero-photo-content {
    padding: var(--large);
}

@media (max-width: 768px) {
    .hero-top-nav.category-tabs {
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        width: calc(100% - 32px);
        margin-top: 16px;
        order: 6;
    }

    .hero-top-nav-item {
        padding: 10px;
        justify-content: center;
        text-align: center;
        border-radius: 10px;
    }
}

.hero-photo-grid-item {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    height: auto;
    aspect-ratio: 208 / 156;
    border-radius: 8px;
    overflow: hidden;
    border: none;
    padding: 0;
    background: none;
    cursor: pointer;
    display: block;
    transition: transform 0.2s ease;
}

@media (max-width: 768px) {
    .hero-row.container {
        width: 100vw;
        margin-right: 0;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        order: 1;
    }

    .hero-photo-content {
        padding: 0 var(--large) var(--large);
    }

    .hero-photo-block, .hero-photo-block.has-gallery {
        border-radius: 0;
    }

    .hero-photo-grid-wrap {
        width: calc(100% + 32px);
        max-width: none;

        margin: 0 -16px;
    }

    /* .hero-row в селекторах: css шаблона подключается позже и без него
       перебивал карусель обратно в столбик (flex-wrap: wrap). */
    .hero-row .hero-photo-grid {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0;
    }

    .hero-row .hero-photo-grid::-webkit-scrollbar {
        display: none;
    }

    .hero-row .hero-photo-grid-arrow {
        display: flex;
    }
}

/* ===== Pricing section ===== */

.poligrafiya-pricing-section {
    margin-bottom: 0;
}

/* Общий .pricing-heading шаблона даёт 28px сверху и снизу. В макете
   до плашки 24px от хероблока, а после — отступ вкладок прайса. */
.poligrafiya-pricing-section .pricing-heading {
    margin-top: var(--large);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .poligrafiya-pricing-section {
        margin-top: 0;
        order: 3;
    }
}

/* .poligrafiya-pricing-section в селекторах: css шаблона подключается
   позже, и его .hero-top-nav / .hero-top-nav-item перебивали вкладки
   (перенос в две строки, gap, отступы). */
@media (max-width: 768px) {
    .poligrafiya-pricing-section .pricing-heading {
        font-size: 22px;
        scroll-margin-top: 16px;
    }

    .poligrafiya-pricing-section .poligrafiya-pricing-tabs {
        margin-top: var(--large);
        margin-bottom: 0;
        flex-wrap: nowrap;
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        gap: 0;
    }

    .poligrafiya-pricing-section .poligrafiya-pricing-tabs .hero-top-nav-item {
        flex: 1;
        padding: 10px;
        justify-content: center;
        text-align: center;
        border-radius: 0;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .poligrafiya-pricing-tabs .mobile-break {
        display: inline;
    }

    .poligrafiya-pricing-tabs .hero-top-nav-item:last-child {
        border-right: none;
    }
}

.poligrafiya-pricing-table-wrap {
    border-radius: 0 0 10px 10px;
    background: #D3EFFC;
    margin-bottom: var(--large);
    padding: 0;
    border-top: 3px solid #359FE7;
}

.poligrafiya-pricing-panel {
    overflow-x: auto;
}

.price-table {
    width: 100%;
    min-width: 640px;
    table-layout: auto;
    border-collapse: collapse;
    background: #EAF7FE;
    border-radius: 8px;
    overflow: hidden;
}

.price-table th,
.price-table td {
    padding: 12px 16px;
    text-align: left;
    font-family: var(--font-body), sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: var(--color-text);
    vertical-align: top;
}

.price-table th:nth-child(1),
.price-table td:nth-child(1) {
    width: 70%;
}

.price-table thead {
    display: none;
}

.price-table thead th {
    font-weight: 400;
    border-bottom: 1px solid rgba(16, 17, 18, 0.08);
}

.price-table tbody td {
    border-bottom: 1px solid rgba(16, 17, 18, 0.08);
}

.price-table-category td {
    background: #D3EFFC;
    font-weight: 700;
    position: relative;
    padding-right: 44px;
    cursor: pointer;
    user-select: none;
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

@media (min-width: 769px) {
    .poligrafiya-pricing-table-wrap {
        background: #ffffff;
        padding-top: 0;
        border-top: none;
        border-left: none;
        border-right: none;
        border-bottom: none;
        border-radius: 0 10px 0 0;
        overflow: hidden;
        position: relative;
    }

    .poligrafiya-pricing-table-wrap::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: rgba(0, 0, 0, 0.1);
        z-index: 1;
    }

    .price-table {
        background: #ffffff;
        border: none;
        border-radius: 0;
    }

    .price-table thead {
        display: table-header-group;
    }

    .price-table thead th {
        background: #D3EFFC;
        font-weight: 700;
        font-size: 16px;
        letter-spacing: 0.02em;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .price-table th,
    .price-table td {
        border: 1px solid rgba(0, 0, 0, 0.1);
        padding: 6px 10px;
    }

    .price-table thead th {
        border-top: none;
    }

    .price-table tbody tr:last-child td {
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .price-table th:nth-child(1),
    .price-table td:nth-child(1) {
        width: 46%;
        padding-left: 32px;
    }

    /* Четыре колонки, как в макете: Услуга / Единица / Цена / Комментарий */
    .price-table th:nth-child(2),
    .price-table td:nth-child(2),
    .price-table th:nth-child(3),
    .price-table td:nth-child(3) {
        display: table-cell;
        width: 12%;
        white-space: nowrap;
    }

    .price-table th:nth-child(4),
    .price-table td:nth-child(4) {
        width: 30%;
    }

    .price-table td:nth-child(4) {
        font-size: 14.5px;
        vertical-align: middle;
    }

    /* Единица на десктопе — в своей колонке, к цене не приписываем */
    .price-table-unit {
        display: none;
    }

    .price-table-category td {
        cursor: default;
        padding-right: 16px;
        background: #EAF7FE;
    }

    .price-table-category-arrow {
        display: none;
    }

    .price-table tbody tr:nth-child(even):not(.price-table-category) td {
        background: #F6FBFE;
    }
}

@media (max-width: 768px) {
    .poligrafiya-pricing-table-wrap {
        width: 100vw;
        position: relative;
        left: 50%;
        margin-left: -50vw;
        margin-bottom: 0;
        border-radius: 0;
        overflow-x: hidden;
    }

    .price-table {
        min-width: 0;
        table-layout: auto;
        border-radius: 0;
    }

    .price-table th,
    .price-table td {
        padding: 10px 14px;
        font-size: 16px;
    }

    .price-table td:nth-child(1) {
        width: auto;
        position: relative;
    }

    /* Видны только «Услуга» и «Цена» с единицей («25 ₽/прогон»):
       колонки «Единица» и «Комментарий» скрыты, как в макете */
    .price-table td:nth-child(2),
    .price-table td:nth-child(4) {
        display: none;
    }

    .price-table td:nth-child(3) {
        width: 1%;
        white-space: nowrap;
        text-align: right;
        vertical-align: middle;
    }

    .price-table tbody tr:nth-child(even):not(.price-table-category) td {
        background: #F6FBFE;
    }

    /* Категория сворачивается по нажатию — справа стрелка (скрипт в template.php) */
    .price-table-category td {
        padding-right: 44px;
        cursor: pointer;
        user-select: none;
    }

    .price-table-category-arrow {
        position: absolute;
        top: 50%;
        right: 16px;
        transform: translateY(-50%);
        display: flex;
        align-items: center;
        color: var(--color-text);
        transition: transform 0.2s ease;
    }

    .price-table-category.is-collapsed .price-table-category-arrow {
        transform: translateY(-50%) rotate(-90deg);
    }
}

/* End */


/* Start:/local/components/micronet/order.checkout/templates/.default/style.css?17921371951310*/
/* Upload progress: designer's shared checkout, adapted to the Vue component. */
.order-checkout .order-checkout-upload-status {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: var(--large, 32px) auto 0;
  font-family: var(--font-body, sans-serif);
  font-size: 15px;
  line-height: 1.5;
  color: #ffffff;
  text-align: center;
}

.order-checkout .order-checkout-upload-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.order-checkout .order-checkout-upload-bar {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  overflow: hidden;
}

.order-checkout .order-checkout-upload-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: #ffffff;
  transition: width 0.2s ease;
}

@media (max-width: 768px) {
  .order-checkout .order-checkout-upload-status { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .order-checkout .order-checkout-upload-bar i { transition: none; }
}

/* Long delivery labels must fit two options on narrow phones. */
@media (max-width: 480px) {
  .order-checkout .order-form-radio { min-width: 0; }
  .order-checkout .order-form-radio span {
    padding: 0 8px;
    white-space: normal;
    text-align: center;
    line-height: 1.2;
  }
}

/* End */


/* Start:/local/components/micronet/photo.gallery/templates/.default/style.css?17920485644208*/
/* Самостоятельные стили галереи: не требуют классов страницы услуги. */
.mn-photo-gallery-slot { display: contents; }
.mn-photo-gallery.hero-photo-grid-wrap { position: relative; align-self: stretch; min-width: 0; width: 100%; }
.mn-photo-gallery[hidden], .mn-photo-gallery [hidden], .mn-photo-gallery-viewer [hidden] { display: none !important; }
.mn-photo-gallery .hero-photo-grid { align-self: stretch; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 24px; }
.mn-photo-gallery .hero-photo-grid-item { flex: 1 1 0; min-width: 0; width: auto; height: auto; aspect-ratio: 208 / 156; border-radius: 8px; overflow: hidden; border: 0; padding: 0; background: none; cursor: pointer; display: block; transition: transform .2s ease; }
.mn-photo-gallery .hero-photo-grid-item:hover { transform: scale(1.03); }
.mn-photo-gallery .hero-photo-grid-item:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.mn-photo-gallery .hero-photo-grid-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mn-photo-gallery .hero-photo-grid-arrow { display: none; align-items: center; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; z-index: 5; }
.mn-photo-gallery .hero-photo-grid-arrow svg { width: 100%; height: 100%; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.mn-photo-gallery .hero-photo-grid-arrow-next { right: 8px; }
.mn-photo-gallery .hero-photo-grid-arrow-prev { left: 8px; }
.mn-photo-gallery-image-error { display: flex; align-items: center; justify-content: center; min-height: 100%; width: 100%; padding: 12px; box-sizing: border-box; background: #f1f3f5; color: #555; font: 14px/1.4 Arial, sans-serif; }
.mn-photo-gallery-empty { margin: 0; padding: 28px 16px; background: #f1f3f5; color: #555; text-align: center; font: 14px/1.4 Arial, sans-serif; }
.mn-photo-gallery-viewer { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 40px; box-sizing: border-box; background: rgba(16,17,18,.85); }
.mn-photo-gallery-viewer button { display: flex; align-items: center; justify-content: center; padding: 0; border: 0; cursor: pointer; }
.mn-photo-gallery-viewer button:focus-visible { outline: 3px solid #359fe7; outline-offset: 3px; }
.mn-photo-gallery-close { position: absolute; top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #101112; }
.mn-photo-gallery-close svg { width: 18px; height: 18px; }
.mn-photo-gallery-close:hover { background: #359fe7; color: #fff; }
.mn-photo-gallery-prev, .mn-photo-gallery-next { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.85); color: #101112; z-index: 1; }
.mn-photo-gallery-prev { left: 24px; }
.mn-photo-gallery-next { right: 24px; }
.mn-photo-gallery-prev svg, .mn-photo-gallery-next svg { width: 22px; height: 22px; }
.mn-photo-gallery-prev:hover, .mn-photo-gallery-next:hover { background: #fff; }
.mn-photo-gallery-full { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.mn-photo-gallery-unavailable { max-width: 480px; margin: 60px 30px; color: #fff; text-align: center; font: 16px/1.5 Arial, sans-serif; }
@media (max-width: 768px) {
    .mn-photo-gallery.mn-photo-gallery--bleed { width: calc(100% + 32px); max-width: none; align-self: center; margin: -16px -16px 0; }
    .mn-photo-gallery .hero-photo-grid { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 0; }
    .mn-photo-gallery .hero-photo-grid::-webkit-scrollbar { display: none; }
    .mn-photo-gallery .hero-photo-grid-item { flex: 0 0 100%; max-width: none; width: auto; height: 225px; scroll-snap-align: start; border-radius: 0; }
    .mn-photo-gallery .hero-photo-grid-arrow { display: flex; }
}
@media (prefers-reduced-motion: reduce) { .mn-photo-gallery .hero-photo-grid-item { transition: none; } }

/* End */
/* /local/components/micronet/poligrafiya/templates/.default/style.css?17902546258892 */
/* /local/components/micronet/order.checkout/templates/.default/style.css?17921371951310 */
/* /local/components/micronet/photo.gallery/templates/.default/style.css?17920485644208 */
