/* Landing page styles — phase 1 mockup. Bulma handles the grid/components,
   this file only adds brand touches (colors, hero, cards) on top of it. */

.front-page {
    --front-accent: #e30d78;
    --front-dark: #2b2320;
}

.front-navbar {
    border-bottom: 1px solid #eee;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    box-shadow: 2px 2px 6px 4px rgba(200,200,200,0.25);
    z-index: 10;
    background-color: rgba(255,255,255,1);
}

.front-navbar .navbar {
    background: none;
}


.front-logo {
    font-weight: 700;
    letter-spacing: 0px;
    font-size: 1.6rem;
    padding-bottom: 0.6em;
    position: relative;
    span {
        position: absolute;
        bottom: 0.25rem;
        width: 100%;
        left: 0;
        text-align: center;
        font-size: 14px;
        color: rgba(128,0,48,1);
    }
}

.front-phone {
    font-weight: 600;
}

.front-hero {
    position: relative;
    min-height: 80vh;
    background-color: #2b2320;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    marginx-top: 3.9rem;
    width: 100vw;
    left: 0;
}

.front-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(200, 200, 200, .05) 0%, rgba(200, 200, 200, .15) 100%);
}

.front-hero .hero-body {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;

}
.front-hero .hero-body.mobile {
    align-items: end;
}

.front-hero .hero-body .button {
    border-radius: 1rem;
    border: 0.25rem solid white;
    box-shadow: 0 0.5rem 2rem 1rem rgba(255,255,255,0.95);
    text-transform: uppercase;
    font-weight: bold;
}

.front-hero-cta {
    padding-left: 2.5em;
    padding-right: 2.5em;
}

@media screen and (max-width: 480px) {
    .front-hero {
        min-height: 80vh;
    }
}

.front-section-alt {
    background: #faf7f5;
}

.section.pink {
    background-color: #e30d78;
    color: white;
    .title, strong {
        color: white;
    }
    a {
        color: rgba(190, 200, 255, 0.95);
    }
}

.front-card {
    height: 100%;
    cursor: pointer;
    transition: box-shadow .15s ease, transform .15s ease;
}

.front-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
    transform: translateY(-2px);
}

.front-card-short {
    color: #666;
    font-size: .9rem;
    margin: 8px 0;
    height: 5.8rem;
    position: relative;
    overflow-Y: hidden;
    mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

.front-card-buttons {
    margin-top: 12px;
}

.front-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #eee2dd;
    color: #a08c84;
    font-size: .85rem;
    text-align: center;
    padding: 12px;
}

.front-addon,
.front-catalog-tile {
    display: block;
    text-align: center;
    color: inherit;
}

.front-addon-country {
    font-weight: 700;
    margin-top: 8px;
}

.front-addon-name {
    font-size: .85rem;
    color: #555;
    min-height: 3em;
}

.front-addon-btn {
    margin-top: 8px;
}

.front-catalog-tile p {
    font-weight: 600;
    margin: 8px 0;
    min-height: 3.5em;
}

.front-price-note {
    font-size: .85rem;
    margin-top: 24px;
}

.front-footer {
    background: var(--front-dark);
    color: #ddd;
}

.front-footer a {
    color: #fff;
}

.front-footer .front-logo {
    color: #fff;
    letter-spacing: 0px;
    margin-bottom: 12px;
}

.serif {
    font-family: "Roboto Slab", "Times New Roman", serif;
}

.anchor {
    position: relative;
    top: -6rem;
    visibility: hidden;
    display: block;
}

.image.is-4by3 img {
    object-fit: contain;
    object-position: center; /* Центрирует изображение */
    width: 100%;
    height: 100%;
}

.front-cart {
    position: fixed;
    top: 3rem;
    right: 2rem;
    width: 100px;
    height: 100px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 9000px;
    box-shadow: 2px 2px 6px 4px rgba(200,200,200,0.25);
}
.front-cart-img {
    stroke: #000;
    height: 50px;
    width: 50px;
    margin-bottom: 8px;
}
.front-cart-counter {
    position: absolute;
    bottom: 0px;
    right: 0px;
    background-color: red;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 9000px;

    span {
        font-size: 14px;
        color: white;
        line-height: 1;
        padding-top: 1px;
        display: block;
    }
}

.xcard-content .title {
    min-height: 5rem;
}

.pmbutton {
    display: inline-block;
    width: 2rem;
    text-align: center;
}

.main-title {
    padding-bottom: 2rem;
    h1, p {
        color: var(--front-accent);
        text-shadow: 0 0 6rem rgba(255,255,255,0.95);
    }
    background-color: rgba(255,255,255,0.95);
    box-shadow: 0 0 4rem 6rem rgba(255,255,255,0.95);
    z-index: 10;
}

.mb-3 {
    padding-bottom: 0.75em;
}

.mb-5 {
    padding-bottom: 1.25em;
}

.area-link {
    position: absolute;
    display: block;
}
