.page-title {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    text-transform: none;
    font-family: "Harp";
}

.h2 {
    font-family: "Harp";
}
.h3 {
    font-size: 2rem;
    font-weight: 500;
}

.bg-text {
    font-size: 1.125rem;
}
.big-text {
    font-size: 1.75rem;
    font-weight: 300;
    padding-left: 13rem;
    padding-right: 13rem;
}
.uppercase {
    text-transform: uppercase;
}
.color-red {
    color: var(--color-brand-accent-red);
}
.color-grey {
    color: var(--color-brand-accent-blue);
}
.line {
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.lineimg {
    padding: 5rem 3rem;
    color: white;
    background-size: cover;
    background-position: center;
}
.lineimg .h2 {
    margin-top: 0;
}
.lineimg  img.topper {
    max-width: 50%;
    float: right;
}
.lineimg .btn--forward {
    margin-top: 3rem;
}
.lineimg .btn--forward {
    color: var(--color-brand-accent-red);
    background: white;
    border-color: white;
}
.only-mobile {
    display: none;
}

.line3 {
    display: flex;
    gap: 15px;
}

.line3 img {
    flex: 1;
    min-width: 0;
}

.line3  img {
    display: block;
    width: 100%;
    height: auto;
}

.line23 {
    display: flex;
    gap: 15px;
}

.line23 img {
    display: block;
    width: 100%;
    height: auto;
}

.line23 > *:first-child {
    flex: 1;
    min-width: 0;
}

.line23 > *:last-child {
    flex: 1;
    min-width: 0;
}

.line12 {
    display: flex;
    gap: 15px;
    font-size: 1.25rem;
    align-items: baseline;
}
.line12 > *:first-child {
    flex: 1;
    min-width: 0;
}

.line12 > *:last-child {
    flex: 2;
    min-width: 0;
}

.line14 {
    display: flex;
    gap: 15px;
    font-size: 1.25rem;
    align-items: center;
    flex-direction: row;
}
.line14 > * {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
}
.line14 .bg-text {
    margin-bottom: 1.5rem;
}
.line14 > *:last-child { flex: 3 1 0; }

.line14 > *:first-child {
    flex: 1;
    min-width: 0;
}
.btn--forward {
    display: inline-block;
    padding: 0.625rem 1.250rem;
    background: var(--bg-ui);
    color: var(--color-brand-accent-beige);
    border: 1px solid var(--bg-ui);
    text-decoration: none;
    font-weight: 300;
    transition: 0.5s;
    font-size: 1.125rem;
}
.btn--forward:hover, .btn--forward:focus {
    border: 1px solid var(--bg-ui);
    background: transparent;
    color: var(--bg-ui);
}
.btn--forward:active {
    transform: scale(0.98);
}
.btn--forward.red {
    background: var(--color-brand-accent-red);
    border: 1px solid var(--color-brand-accent-red);
}
.btn--outer-full {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-brand-accent-beige);
    color: var(--color-brand-accent-gold);
    border: 1px solid var(--color-brand-accent-gold);
    text-decoration: none;
    font-weight: 300;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
}
.btn--outer-full:active {
    transform: scale(0.98);
}


.line14 > div > .btn--out {
    margin-top: 3rem;
}
.line14 > div > .h2 {
    margin-top: 0;
}
.btn--out {
    display: inline-block;
    padding: 0.5rem 0;
    background: var(--color-brand-accent-beige);
    color: var(--color-brand-accent-gold);
    border-bottom: 1px solid var(--color-brand-accent-gold);
    text-decoration: none;
    font-weight: 300;
    transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .2s ease;
}
.btn--out:active {
    transform: scale(0.98);
}

.br-t-1 {
    border-top: 1px solid rgba(var(--bg-ui-rgb), .25);
}


.text-blue-block {
    padding: 1rem 0;
    background: var(--color-brand-accent-blue);
}

.serts {
    --items-gap: 2; 
}
.serts  .split-text {
    display: none;
}
.showmobile {
    display: none;
}
.fancybox-content {
    background: transparent;
}
.fancybox-button.fancybox-close-small {
    background: var(--color-brand-accent-beige);
    border-radius: 50%;
}
.fancybox-content .add-wrapper {
    background: var(--bg-primary);
    border-radius: 2rem;
    max-width: 900px;
    padding: 2rem;
}
.mt-0 {
    margin-top: 0;    
}
.mb-0 {
    margin-bottom: 0;    
}
.mw-10r {
    max-width: 13rem;
}

.blue-accent-section {
    background: var(--color-brand-accent-blue);
    padding: 2rem 0;
}
.blue-accent-section .h2 {
    margin-top: 0;    
}
.add-row {
    display: flex;
    gap: 2rem;
    text-transform: uppercase;
}


.flip-card {
    perspective: 1000px;
    width: 100%;
    cursor: pointer;

    padding: 1rem;
    border: 1px dashed;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 230px;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

.flip-card.active .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    min-height: 230px; /* было 180px */
    box-sizing: border-box;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 4px;
}
.flip-card-front {
    background: var(--color-brand-accent-blue);
    gap: 3rem;
}

.flip-card-back {
    background: var(--bg-primary);
    transform: rotateY(180deg);
    gap: 3rem;
}

.flip-card-back p {
    color: var(--bg-ui);
}

.flip-btn {
    text-decoration: underline;
    font-size: 1rem;
    cursor: pointer;
}
.flip-card {
    overflow: hidden;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    min-height: 230px;
    transition: transform 0.7s ease;
    transform-style: preserve-3d;
}

@media screen and (max-width: 1200px) {
    .big-text {
        padding-left: 0;
        padding-right: 0;
    }
    .fancybox-content .add-wrapper  {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .text-center-mobile {
        text-align: center;
    }
    .hidemobile { display: none; }
    .line.showmobile {
        padding-top: 0;
    }
    
    .only-mobile {
        display: block;
    }
    .line12,
    .line14 {
        flex-direction: column;
        align-items: stretch;
    }

    .line14 > * {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .category-content {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }
    h2, .h2 {
        font-size: 24px;
    }
    .bg-text {
        font-size: 1.25rem;
    }
    .btn--out {display: none;}
    .blue-accent-section .line23 {
        flex-direction: column;
    }
    .lineimg {
        padding: 1rem !important;
    }
    .lineimg > *:first-child {
        flex: 2;
    }
    .blue-accent-section {
        padding: 0rem 0;
    }
    .dict-sheet {
        padding: 1rem;
        margin-top: 1rem;
    }
    .showmobile {
        display: flex;
        width: 100%;
        margin-top: -1rem;
    }
    .page-title {
        margin-top: 0;
        margin-bottom: 0;
        font-size: 24px;
    }
    .line {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .big-text {
        font-size: 1.25rem;
    }
    .line3 {
        flex-wrap: wrap;
    }

    .line3 .image-with-desc {
        flex: 0 0 calc(50% - 7.5px);
    }
    #small .line.line23 {
        flex-direction: column;
    }
    #modalPredzakaz {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}