/* Telefono pataisos naujame dizaine (v4).
   1) Viršuje visada matoma nuoroda „Krautuvėlė“ (ne tik meniu viduje).
   2) Pirmame ekrane: antraštė → „Rasti dovaną per minutę“ + „Į krautuvėlę“ → pristatymo kortelė → tekstas. */

.v3-shoplink { display: none; }

@media (max-width: 1100px) {
    body.v3 .v3-header .v3-icons .v3-shoplink {
        display: inline-flex;
        align-items: center;
        height: 36px;
        margin-right: 4px;
        padding: 0 14px;
        border: 1px solid #E3C3B7;
        border-radius: 999px;
        font: 700 12px/1 "Barlow", system-ui, sans-serif;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: #3B1A20;
        text-decoration: none;
        white-space: nowrap;
        background: #FFF8F4;
    }
}
@media (max-width: 380px) {
    body.v3 .v3-header .v3-icons .v3-shoplink { padding: 0 10px; font-size: 11px; letter-spacing: .06em; }
}

/* mygtukas „Į krautuvėlę“ šalia dovanų paieškos */
body.v4 .v4-shopbtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid #C48A7E;
    border-radius: 999px;
    font: 700 15px/1 "Barlow", system-ui, sans-serif;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #3B1A20;
    text-decoration: none;
    background: rgba(255, 255, 255, .6);
    transition: background .3s, transform .25s;
}
body.v4 .v4-shopbtn:hover { background: #fff; transform: translateY(-2px); }

@media (max-width: 700px) {
    /* dovanų paieška ir krautuvėlė – iškart po antrašte */
    html body.v4 .v4-prologue__text .v4-actions { order: 1; margin: 6px 0 18px; gap: 10px; }
    html body.v4 .v4-prologue__text .v4-next { order: 2; margin: 0 0 22px; }
    html body.v4 .v4-prologue__text .v4-lead { order: 3; }
    html body.v4 .v4-prologue .v4-title { margin-bottom: 14px; }
    html body.v4 .v4-oraclebtn { width: 100%; justify-content: space-between; padding: 10px 20px 10px 10px; }
    html body.v4 .v4-oraclebtn__ic { width: 40px; height: 40px; font-size: 19px; }
    html body.v4 .v4-oraclebtn__t strong { font-size: 16px; }
    html body.v4 .v4-shopbtn { width: 100%; justify-content: center; min-height: 48px; }
}

/* siauras telefonas: kad tilptų „Krautuvėlė“, paskyros ikona slepiama (ji yra meniu), ikonos kompaktiškesnės */
@media (max-width: 600px) {
    body.v3 .v3-header .v3-icons > a.v3-util:not(.v3-cart) { display: none !important; }
    body.v3 .v3-header .v3-icons .v3-util { width: 36px; min-width: 36px; }
    body.v3 .v3-header .v3-icons .v3-shoplink { height: 32px; padding: 0 11px; font-size: 11px; letter-spacing: .06em; margin-right: 2px; }
}
@media (max-width: 360px) {
    body.v3 .v3-header .v3-logo { max-width: 120px; }
}
@media (max-width: 600px) {
    body.v3 .v3-header .v3-header__in { column-gap: 8px; }
    body.v3 .v3-header .v3-icons { justify-self: end; }
}
@media (max-width: 430px) {
    /* siauriausiuose telefonuose lieka tik širdies ženklas, kad tilptų „Krautuvėlė“ */
    body.v3 .v3-header .v3-logo__word { display: none; }
}

/* „Romano pristatymai“: telefone datų juosta išplėsdavo stulpelį iki ~1200 px – knyga atsidurdavo už ekrano, antraštė buvo nukirpta */
@media (max-width: 900px) {
    html body.v4 .v4-court__in { grid-template-columns: minmax(0, 1fr) !important; }
    html body.v4 .v4-court__body { min-width: 0; }
}

/* Meilės žemėlapis: Vilniaus kortelė telefone atsiverdavo į viršų ir uždengdavo legendų sąrašą – dabar žemyn, žemėlapio viduje */
@media (max-width: 700px) {
    html body.v4 .v4-pin--home .v4-pin__card { bottom: auto; top: 18px; width: 120px; }
    html body.v4 .v4-pin--home .v4-pin__card strong { font-size: 15px; }
    html body.v4 .v4-map__board { margin-top: 18px; }
}

/* I skyrius: paveikslo parašas nebeliečia paveikslo */
html body.v4 .v4-editorial__big figcaption { margin-top: 12px; }

/* Poraštės citata buvo beveik nematoma (#ccc ant šviesaus fono) */
html body.v4 .v3-footer__quote { color: #9C6158 !important; }
