/* =================================================
   TILDA STORE – FINAL WORKING HOVER BUTTON
   ================================================= */

/* ---------- GRID ---------- */

.t-store__card-list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 32px 24px;
    padding: 0 24px;
    align-items: stretch;
}

.t-store__card-list .t-col {
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto !important;
}

.t-store__parts-switch-wrapper {
    margin-bottom: 5px;
}

/* ---------- WIDTH ---------- */

.t-store__card-list .t-store__card {
    flex: 0 0 calc(25% - 18px);
    max-width: calc(25% - 18px);
    display: flex;
}

@media (max-width: 1200px) {
    .t-store__card-list .t-store__card {
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
}

@media (max-width: 640px) {
    .t-store__card-list {
        gap: 12px;
        padding: 0 4px;
    }

    .t-store__card-list .t-store__card {
        flex: 0 0 calc(50% - 6px);
        max-width: calc(50% - 6px);
    }
}

/* ---------- CARD (GLASS) ---------- */

.t-store__card {
    transition: transform .4s ease;
}

.t-store__card:hover {
    transform: translateY(-8px);
}

.t-store__card__wrap_txt-and-btns {
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 26px;
    overflow: hidden;

    background: rgba(255,255,255,0.55);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border: 1px solid rgba(255,255,255,0.35);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.t-store__card__wrap_txt-and-btns {
    border-radius: 0px 0px 20px 20px !important;
}

/* ---------- IMAGE ---------- */

.t-store__card__imgwrapper {
    position: relative !important;
    overflow: hidden;
}

/* саме фото (Tilda) */
.t-store__card__bgimg {
    z-index: 10 !important;
    transition: transform .6s ease;
}

/* zoom */
.t-store__card:hover .t-store__card__bgimg {
    transform: scale(1.08);
}

/* ---------- OVERLAY + BUTTON (ВИЩЕ ФОТО) ---------- */

.t-store-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.28);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 20; /* 🔥 ВИЩЕ bgimg */
    pointer-events: none;
}

.t-store-hover-btn {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) translateY(14px);

    padding: 14px 30px;
    border-radius: 999px;
    background: rgba(255,255,255,0.92);

    color: #111;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;

    opacity: 0;
    transition: all .35s ease;
    z-index: 21; /* 🔥 НАЙВИЩИЙ */
    pointer-events: none;
}

/* hover НА ВСЮ КАРТКУ */
.t-store__card:hover .t-store-hover-overlay {
    opacity: 1;
}

.t-store__card:hover .t-store-hover-btn {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

/* ---------- TEXT ---------- */

.t-store__card__textwrapper {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.t-store__card__price-wrapper {
    margin-top: auto;
}

/* ---------- MOBILE ---------- */

@media (max-width: 640px) {
    .t-store-hover-overlay,
    .t-store-hover-btn {
        display: none;
    }
}






/* =====================================
   LUXURY BADGE — MONALIZA (REAL FIX)
   ===================================== */

/* вимкнено за замовчуванням */
.t-store__card__imgwrapper::before {
    display: none;
}

/* LUXURY для всіх товарів Monaliza */
.t-store__card a[href*="http://monaliza369.com/monaliza-pure-white"],
.t-store__card a[href*="http://monaliza369.com/monaliza-luna-black"],
.t-store__card a[href*="http://monaliza369.com/monaliza-deep-black"],
.t-store__card a[href*="tproduct/190738355322"],
.t-store__card a[href*="tproduct/461738969272"],
.t-store__card a[href*="tproduct/897535703892"],
.t-store__card a[href*="tproduct/488951520072"] {
    position: relative;
}

/* сам бейдж */
.t-store__card a[href*="http://monaliza369.com/monaliza-pure-white"] .t-store__card__imgwrapper::before,
.t-store__card a[href*="http://monaliza369.com/monaliza-deep-black"] .t-store__card__imgwrapper::before,
.t-store__card a[href*="http://monaliza369.com/monaliza-luna-black"] .t-store__card__imgwrapper::before,
.t-store__card a[href*="tproduct/190738355322"] .t-store__card__imgwrapper::before,
.t-store__card a[href*="tproduct/461738969272"] .t-store__card__imgwrapper::before,
.t-store__card a[href*="tproduct/897535703892"] .t-store__card__imgwrapper::before,
.t-store__card a[href*="tproduct/488951520072"] .t-store__card__imgwrapper::before {

    content: "BESTSELLER";
    display: block;

    position: absolute;
    top: 16px;
    left: 16px;

    padding: 7px 18px;
    border-radius: 999px;

    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;

    color: #2a2418;

    background: linear-gradient(
        120deg,
        #f6e7b2 0%,
        #e7c873 25%,
        #fff3c4 50%,
        #e0bd6a 75%,
        #f6e7b2 100%
    );
    background-size: 220% 100%;

    box-shadow:
        0 8px 22px rgba(0,0,0,0.18),
        inset 0 0 0 1px rgba(255,255,255,0.45);

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    z-index: 30;
    pointer-events: none;

    animation:
        luxuryShimmer 6s ease-in-out infinite,
        luxuryFadeIn 1.2s ease forwards;
}

/* animations */
@keyframes luxuryShimmer {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes luxuryFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* mobile */
@media (max-width: 640px) {
    .t-store__card__imgwrapper::before {
        font-size: 10px;
        padding: 6px 14px;
        letter-spacing: 0.22em;
        top: 12px;
        left: 12px;
    }
}





/* === BASE === */
#rec1723373591 {
    background: #fcf7f2;
    --accent: #1c1c1c;
    --muted: #9b9b9b;
    --pill-bg: rgba(0,0,0,0.04);
}

/* === CONTAINER === */
#rec1723373591 .t1281__slider {
    padding: 4px 6px;
}

/* === TABS === */
#rec1723373591 .t1281__tab {
    border: none !important;
    padding: 0 6px;
}

/* === BUTTON === */
#rec1723373591 .t1281__title {
    padding: 10px 18px !important;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--muted) !important;
    background: transparent;
    transition: 
        color .25s ease,
        background .25s ease,
        transform .2s ease;
}

/* === ACTIVE === */
#rec1723373591 .t1281__tab_active .t1281__title {
    background: var(--pill-bg);
    color: var(--accent) !important;
    font-weight: 600;
}

/* === HOVER / TAP FEEL === */
#rec1723373591 .t1281__title:active {
    transform: scale(0.96);
}

/* === REMOVE DEFAULT FADE === */
#rec1723373591 .t1281__scroll-fade:before,
#rec1723373591 .t1281__scroll-fade:after {
    display: none;
}

/* === SCROLLBAR (iOS-like) === */
#rec1723373591 .t1281__wrapper {
    -webkit-overflow-scrolling: touch;
}

/* === SELECT (fallback) === */
#rec1723373591 .t1281__select {
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 500;
    border: 1px solid #ddd;
    background: #fff;
}

/* === FOCUS (ACCESSIBILITY) === */
#allrecords [aria-labelledby$="1723373591"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 2px rgba(28,28,28,.15);
}


/* === БЛОК ПРО БРЕНД === */

/* =========================================
   LUXURY LOOKBOOK — rec1727378561
   FULL FINAL VERSION
   ========================================= */

/* Фон секції */
#rec1727378561 {
    background: ;
}

/* -----------------------------
   TEXT / EDITORIAL COLUMN
   ----------------------------- */

#rec1727378561 .t480__content {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    position: relative;
    padding-left: 36px;
    animation: lookbookFade 1.4s ease-out forwards;
}

/* Тиха вертикальна лінія */
#rec1727378561 .t480__content::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 1px;
    height: calc(100% - 20px);
    background: rgba(0,0,0,0.15);
}

/* Заголовок — fashion manifesto */
#rec1727378561 .t480__title p {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 36px;
}

/* Прибираємо divider */
#rec1727378561 .t480__line {
    display: none;
}

/* Основний текст */
#rec1727378561 .t480__descr {
    font-size: 15px;
    line-height: 1.9;
    color: rgba(0,0,0,0.85);
}

/* Абзаци — компактний editorial ритм */
#rec1727378561 .t480__descr p {
    margin-bottom: 16px;
}

/* Контроль  */
#rec1727378561 .t480__descr br {
    display: block;
    content: "";
    margin-top: 6px;
}

/* Бренд — тихий акцент */
#rec1727378561 .t480__descr strong {
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Останній рядок — lookbook signature */
#rec1727378561 .t480__descr p:last-child {
    margin-top: 36px;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(0,0,0,0.55);
}

/* -----------------------------
   IMAGE / LOOKBOOK FRAME
   ----------------------------- */

#rec1727378561 .t480__blockimg {
    border-radius: 0;
    position: relative;
    overflow: hidden;
    filter: contrast(1.08) brightness(0.98) saturate(0.85);
    animation: imageFadeIn 1.6s ease-out forwards;
}

/* Тихий світловий градієнт */
#rec1727378561 .t480__blockimg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.08) 0%,
        rgba(0,0,0,0.02) 40%,
        rgba(0,0,0,0.12) 100%
    );
    pointer-events: none;
}

/* Editorial-лінія на фото */
#rec1727378561 .t480__blockimg::before {
    content: "";
    position: absolute;
    top: 10%;
    left: 8%;
    width: 1px;
    height: 80%;
    background: rgba(255,255,255,0.35);
}

/* -----------------------------
   ANIMATIONS
   ----------------------------- */

@keyframes lookbookFade {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes imageFadeIn {
    from {
        opacity: 0;
        transform: scale(1.03);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -----------------------------
   MOBILE
   ----------------------------- */

@media (max-width: 960px) {
    #rec1727378561 .t480__content {
        padding-left: 22px;
    }

    #rec1727378561 .t480__title p {
        font-size: 30px;
    }

    #rec1727378561 .t480__descr {
        font-size: 14px;
    }

    #rec1727378561 .t480__blockimg::before {
        display: none;
    }
}

