﻿:root {
    /* Berry/Fuchsia */
    --rg: #D6336C;
    --rg-lt: #EC6B9C;
    --rg-dk: #A02458;
    /* Deep Violet */
    --gd: #6C4BA6;
    --gd-lt: #9B7ECF;
    --gd-dk: #4A3278;
    /* Light theme surfaces */
    --bg: #ffffff;
    --bg-soft: #ffffff;
    --card-bg: #ffffff;
    --tint-lt: #F5E4EC;
    --bdr: rgba(214,51,108,.18);
    --tx-l: #180F1D;
    --mt-l: #6b5a70;
    /* IMPORTANT: set this to the exact height of your site's real header
       (top contact bar + logo/nav bar together) so the rail starts right below it. */
    --header-h: 50px;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg-soft);
    color: var(--tx-l);
    font-family: 'Manrope',sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .brand-font {
    font-family: 'Fraunces',serif;
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--bg);
    border-bottom: 1px solid var(--bdr);
    padding: 16px 0;
}

    .topbar .logo {
        font-family: 'Fraunces',serif;
        font-weight: 700;
        font-size: 1.5rem;
        color: var(--rg-dk);
        letter-spacing: -0.02em;
    }

        .topbar .logo span {
            color: var(--rg);
        }

.search-wrap {
    position: relative;
}

    .search-wrap input {
        border-radius: 30px;
        border: 1px solid var(--bdr);
        padding: 10px 18px 10px 42px;
        background: var(--bg-soft);
        font-size: .9rem;
    }

        .search-wrap input:focus {
            outline: none;
            box-shadow: 0 0 0 3px var(--tint-lt);
            border-color: var(--rg);
        }

    .search-wrap i {
        position: absolute;
        left: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--mt-l);
    }

.page-head-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.texttop-list {
    width: 100%;
    max-width: 850px;
}

.page-head h1 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--tx-l);
    margin: 0;
    line-height: 1.2;
}

.page-head p {
    color: var(--mt-l);
    margin: 4px 0 0;
    font-size: .95rem;
}

/* one-line tagline under the intro paragraph */
.tagline-note {
    font-size: .8rem;
    font-weight: 600;
    color: var(--rg-dk);
    margin: 8px 0 0;
}

/* ================= FILTER SIDEBAR: Pinterest-style FIXED full-height icon rail + overlay panel ================= */

.main-row {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.col-grid {
    flex: 1 1 auto;
    min-width: 0;
}

.filter-rail {
    position: fixed;
    top: var(--header-h);
    left: 0;
    height: calc(100vh - var(--header-h));
    width: 64px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-right: 1px solid var(--bdr);
    background: var(--bg);
    z-index: 900;
}

.rail-top, .rail-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.rail-divider {
    width: 32px;
    height: 1px;
    background: var(--bdr);
    margin: 4px 0 6px;
    flex-shrink: 0;
}

.filter-rail-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: none;
    background: transparent;
    color: var(--rg-dk);
    font-size: 1.15rem;
    cursor: pointer;
    position: relative;
    text-decoration: none !important;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;

}

    .filter-rail-btn:hover {
        background: var(--tint-lt);
        color: var(--rg-dk) !important;
    }

/* only the icon that actually opened the panel should look active — not every icon in the rail */
.filter-rail.open #filterRailBtn {
    background: var(--rg);
    color: #fff;
}

.filter-rail-btn .badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--rg);
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    border: 2px solid var(--bg);
}

.filter-rail.open #filterRailBtn .badge-count {
    border-color: var(--rg);
}

/* ---- Expand panel: fixed alongside the rail, floats OVER the grid, never pushes it ---- */
.filter-card {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 64px;
    width: 300px;
    height: calc(100vh - var(--header-h));
    background: var(--card-bg);
    border: 1px solid var(--bdr);
    border-left: none;
    box-shadow: 18px 0 40px -18px rgba(24,14,8,.28);
    padding: 22px;
    z-index: 900;
    flex-direction: column;
}

.filter-rail.open .filter-card {
    display: flex;
}

.filter-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
    flex-shrink: 0;
}

    .filter-card-head h5 {
        font-family: 'Fraunces',serif;
        font-size: 1.1rem;
        font-weight: 600;
        margin: 0;
        color: var(--tx-l);
    }

.filter-close-btn, .filter-collapse-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--bdr);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rg-dk);
    cursor: pointer;
    font-size: .85rem;
}

    .filter-close-btn:hover, .filter-collapse-btn:hover {
        background: var(--rg);
        color: #fff;
        border-color: var(--rg);
    }

.filter-head-actions > *:not(:last-child) {
    margin-right: 8px;
}

/* scrollable middle area */
.filter-scroll {
    overflow-y: auto;
    flex: 1 1 auto;
    padding-right: 4px;
}

.filter-card h6 {
    text-transform: uppercase;
    font-size: .72rem;
    letter-spacing: .09em;
    color: var(--mt-l);
    font-weight: 700;
    margin: 0 0 14px;
    line-height: 1.2;
}

.filter-section {
    border-bottom: 1px solid var(--bdr);
    padding-bottom: 18px;
    margin-bottom: 18px;
}

    .filter-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .filter-section .form-check {
        margin-bottom: 9px;
    }

    .filter-section .form-check-input {
        border-color: var(--rg-lt);
        width: auto;
        margin-bottom: 0;
    }

        .filter-section .form-check-input:checked {
            background-color: var(--rg);
            border-color: var(--rg);
        }

    .filter-section label {
        font-size: .88rem;
        color: var(--tx-l);
        cursor: pointer;
        margin: 0;
        padding: 0;
        width: auto;
    }

.filter-count {
    color: var(--mt-l);
    font-size: .78rem;
}

.color-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

    .color-swatches .sw {
        width: 26px;
        height: 26px;
        border-radius: 50%;
        border: 2px solid var(--bg);
        box-shadow: 0 0 0 1px var(--bdr);
        cursor: pointer;
        position: relative;
    }

        .color-swatches .sw.active {
            box-shadow: 0 0 0 2px var(--rg);
        }

/* sticky footer inside the filter card: Apply / Clear always visible */
.filter-actions {
    flex-shrink: 0;
    position: sticky;
    bottom: 0;
    background: var(--card-bg);
    padding-top: 14px;
    margin-top: 8px;
    border-top: 1px solid var(--bdr);
}

.btn-apply {
    background: var(--rg);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px;
    width: 100%;
    font-size: .9rem;
}

    .btn-apply:hover {
        background: var(--rg-dk);
        color: #fff;
    }

.btn-clear {
    background: transparent;
    border: 1px solid var(--bdr);
    color: var(--mt-l);
    border-radius: 10px;
    padding: 8px;
    width: 100%;
    font-size: .85rem;
    margin-top: 8px;
}

    .btn-clear:hover {
        border-color: var(--rg);
        color: var(--rg-dk);
    }

.tag-pill {
    display: inline-block;
    border: 1px solid var(--bdr);
    background: var(--tint-lt);
    color: var(--rg-dk);
    font-size: .76rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    margin: 0 6px 8px 0;
    cursor: pointer;
    line-height: 1.2;
}

    .tag-pill:hover {
        border-color: var(--rg);
    }

    .tag-pill.active-tag {
        background: var(--rg);
        color: #fff;
        border-color: var(--rg);
    }

/* ---------- Mobile off-canvas overlay ---------- */
.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(24,14,8,.45);
    z-index: 1040;
    opacity: 0;
    transition: opacity .25s ease;
}

    .filter-overlay.show {
        display: none;
        opacity: 1;
    }

@media (min-width:992px) {
    .filter-close-btn {
        display: none;
    }
}

/* Mobile: rail becomes a slim top bar (in normal flow, not fixed); the panel becomes a full-height slide-in drawer */
/*@media (max-width:991px) {
    .main-row {
        flex-direction: column;
        gap: 0;
    }

    .filter-rail {
        position: static;
        height: auto;
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
        border-right: none;
        border-bottom: 1px solid var(--bdr);
        padding: 10px 16px;
        margin-bottom: 14px;
        overflow-x: auto;
    }

    .rail-top {
        flex-direction: row;
    }

    .rail-bottom {
        flex-direction: row;
        margin-left: auto;
        padding-left: 8px;
    }

    .rail-divider {
        width: 1px;
        height: 26px;
        margin: 0 8px;
    }

    .filter-card {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        height: auto;
        width: 86%;
        max-width: 340px;
        max-height: none;
        z-index: 1050;
        background: var(--bg);
        border-radius: 0;
        transform: translateX(-105%);
        transition: transform .3s ease;
        box-shadow: none;
    }

    .filter-rail.open .filter-card {
        transform: translateX(0);
    }

    .filter-card .filter-card-head {
        position: sticky;
        top: 0;
        background: var(--bg);
        z-index: 2;
    }

    .filter-close-btn {
        display: flex;
    }
}*/

/* ---------- Masonry grid (TRUE masonry via CSS columns - no gaps) ---------- */
/*.masonry {
    column-count: 5;
    column-gap: 15px;
    margin-left:0px;
}

    .masonry .v-card {
        display: inline-block;
        width: 100%;
        margin: 0 0 10px;
        break-inside: avoid;
        -webkit-column-break-inside: avoid;
        cursor: pointer;
    }

@media (min-width:768px) and (max-width:1200px) {
    .masonry {
        column-count: 4;
    }
}

@media (max-width:767px) {
    .masonry {
        column-count: 3;
    }
    .filter-rail {

        top: 95px;
    }
    }

@media (max-width:450px) {
    .masonry {
        column-count: 2;
    }
}*/

.masonry {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 1px; /* chhoti rows, JS span set karega */
    column-gap: 15px;
    row-gap: 0; /* vertical gap JS se aayega */
    align-items: start;
    margin-left: 0;
}

    .masonry .v-card {
        display: block;
        width: 100%;
        margin: 0;
        cursor: pointer;
    }

.v-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

    .v-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 34px -14px rgba(138,82,64,.28);
        border-color: var(--rg-lt);
    }

    /* Custom design CTA card - first card, distinct look */
    .v-card.custom-card {
        background: linear-gradient(155deg,var(--rg) 0%, var(--rg-dk) 100%);
        color: #fff;
        padding: 34px 26px;
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-decoration: none;
        position: relative;
        isolation: isolate;
    }

        .v-card.custom-card::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: -1;
            background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,.18) 0, transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 2px, transparent 2px 22px);
        }

        .v-card.custom-card .eyebrow {
            text-transform: uppercase;
            letter-spacing: .12em;
            font-size: .72rem;
            font-weight: 700;
            color: rgba(255,255,255,.75);
        }

        .v-card.custom-card h3 {
            font-size: 1.7rem;
            font-weight: 600;
            margin: 14px 0 8px;
            line-height: 1.15;
        }

        .v-card.custom-card p {
            color: rgba(255,255,255,.85);
            font-size: .9rem;
            margin: 0 0 22px;
        }

        .v-card.custom-card .cta-btn {
            background: #fff;
            color: var(--rg-dk);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: .88rem;
            padding: 11px 20px;
            border-radius: 10px;
            width: fit-content;
            transition: gap .2s ease;
        }

        .v-card.custom-card:hover .cta-btn {
            gap: 12px;
        }

        .v-card.custom-card .plus-icon {
            width: 46px;
            height: 46px;
            border-radius: 50%;
            background: rgba(255,255,255,.18);
            border: 1px dashed rgba(255,255,255,.55);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            margin-bottom: 10px;
        }

    /* Product image wrap */
    .v-card .img-wrap {
        position: relative;
        background: var(--tint-lt);
        overflow: hidden;
        z-index:2;
    }

        .v-card .img-wrap img {
            width: 100%;
            display: block;
            object-fit: cover;
            transition: transform .5s ease;
            filter: brightness(0.88); /* halka dark tint */
        }

            .v-card .img-wrap img:hover {
                filter: brightness(1);
            }

            .v-card:hover .img-wrap img {
                transform: scale(1.045);
            }

    /* varying heights for masonry mix: vertical & horizontal-feel cards */
    .v-card.htall .img-wrap img {
        aspect-ratio: 3/4;
    }

    .v-card.hsquare .img-wrap img {
        aspect-ratio: 1/1;
    }

    .v-card.hwide .img-wrap img {
        aspect-ratio: 16/10;
    }

    .v-card.hxtall .img-wrap img {
        aspect-ratio: 2/3;
    }

.like-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    padding: 6px 12px 6px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--rg-dk);
    box-shadow: 0 4px 12px rgba(138,82,64,.18);
    border: none;
    cursor: pointer;
    transition: background .2s;
    line-height: 1.4;
}

    .like-badge:hover {
        background: #fff;
    }

    .like-badge i {
        color: var(--rg);
        font-size: .85rem;
        transition: color .15s, transform .15s;
    }

    .like-badge.liked i {
        color: #c4413f;
    }

    .like-badge.liked {
        animation: pop .28s ease;
    }

@keyframes pop {
    50% {
        transform: scale(1.12);
    }
}

.new-flag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--rg);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}


/* ---------- Pinterest-style overlay: text & actions sit ON the image, no white box below ---------- */
.card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 34px 14px 14px;
    background: linear-gradient(to top, rgba(12,7,4,.86) 0%, rgba(12,7,4,.5) 45%, transparent 100%);
    color: #fff;
    opacity: 0;
}

.img-wrap:hover .card-overlay {
    opacity: 1;
}

.card-overlay .overlay-text {
    min-width: 0;
}

.card-overlay .name {
    font-weight: 700;
    font-size: .74rem;
    color: #fff;
    margin: 0 0 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
    line-height: 1.2;
}

.card-overlay .cat {
    color: rgba(255,255,255,.82);
    font-size: .64rem;
    margin: 0 0 1px;
    line-height: 1.2;
}

.card-overlay .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

    .card-overlay .card-tags span {
        background: rgba(255,255,255,.16);
        backdrop-filter: blur(6px);
        border: 1px solid rgba(255,255,255,.28);
        color: #fff;
        font-size: .66rem;
        font-weight: 600;
        padding: 4px 9px;
        border-radius: 20px;
    }

.overlay-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity .2s ease, transform .2s ease;
}

.v-card:hover .overlay-actions, .v-card:focus-within .overlay-actions {
    opacity: 1;
    transform: translateX(0);
}

@media (hover:none) {
    .overlay-actions {
        opacity: 1;
        transform: translateX(0);
    }
}

.overlay-actions .icon-btn {
    background: rgba(255,255,255,.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,.32);
    color: #fff;
}

    .overlay-actions .icon-btn:hover {
        background: var(--rg);
        border-color: var(--rg);
        color: #fff;
    }

.icon-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--bdr);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--rg-dk);
    font-size: .85rem;
    cursor: pointer;
    transition: background .18s,border-color .18s,color .18s;
    flex-shrink: 0;
}

    .icon-btn:hover {
        background: var(--rg);
        border-color: var(--rg);
        color: #fff;
    }

    .icon-btn.sm {
        width: 28px;
        height: 28px;
        font-size: .76rem;
    }

/* skeleton shimmer for lazy loading */
.img-wrap {
    background: linear-gradient(100deg,var(--tint-lt) 30%,#fffaf7 50%,var(--tint-lt) 70%);
    background-size: 200% 100%;
    animation: shimmer 1.6s infinite;
}

    .img-wrap img {
        animation: fadein .4s ease;
    }

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.results-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 14px;
}

    .results-bar .count {
        color: var(--mt-l);
        font-size: .88rem;
    }

.sort-select {
    border: 1px solid var(--bdr);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: .85rem;
    background: var(--bg);
    color: var(--tx-l);
    width: auto;
}

/* ---------- Share modal ---------- */
.share-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(24,14,8,.5);
    z-index: 1080;
    align-items: flex-end;
    justify-content: center;
}

    .share-overlay.show {
        display: flex;
    }

@media (min-width:576px) {
    .share-overlay {
        align-items: center;
    }
}

.share-modal {
    background: #fff;
    width: 100%;
    max-width: 380px;
    border-radius: 20px 20px 0 0;
    padding: 22px;
    animation: slideUp .25s ease;
}

@media (min-width:576px) {
    .share-modal {
        border-radius: 20px;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.share-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

    .share-modal-head h5 {
        font-family: 'Fraunces',serif;
        font-size: 1.05rem;
        font-weight: 600;
        margin: 0;
        color: var(--tx-l);
        line-height:1.2;
    }

.share-options {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 6px 2px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--tx-l);
    font-size: .74rem;
    font-weight: 600;
    text-align: center;
}

    .share-option .ic {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.0rem;
        color: #fff;
        transition: transform .15s ease;
    }

    .share-option:hover .ic {
        transform: translateY(-3px);
    }

    .share-option .ic.whatsapp {
        background: #25D366;
    }

    .share-option .ic.facebook {
        background: #1877F2;
    }

    .share-option .ic.twitter {
        background: #000000;
    }

    .share-option .ic.linkedin {
        background: #0A66C2;
    }

    .share-option .ic.email {
        background: var(--rg);
    }

    .share-option .ic.copy {
        background: var(--rg-dk);
    }

.share-copy-row {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--bdr);
    border-radius: 12px;
    padding: 5px 10px;
    margin-top: 14px;
    background: var(--tint-lt);
}

    .share-copy-row input {
        border: none;
        background: transparent;
        flex: 1;
        font-size: .8rem;
        color: var(--mt-l);
        outline: none;
        margin-bottom: 0;
    }

    .share-copy-row button {
        border: none;
        background: var(--rg);
        color: #fff;
        font-size: .76rem;
        font-weight: 700;
        padding: 7px 14px;
        border-radius: 8px;
        white-space: nowrap;
    }

        .share-copy-row button:hover {
            background: var(--rg-dk);
        }

.share-modal-close-bottom {
    margin-top: 14px;
}

.top-crumb {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: #7a6e5e;
    padding: 8px;
    background-color: #fff7fb;
    margin-bottom: 6px;
}

    .top-crumb .current {
        color: #211c15;
        font-weight: 500;
    }

/*----------- Grid --------------*/

@media (min-width: 768px) {
    .container {
        max-width: 900px !important;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 1200px !important;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1400px !important;
    }
}

@media (min-width: 1400px) {
    .container,
    .nav-header-container {
        width: 100% !important;
        max-width: 1550px !important;
    }

    .tpl-img-wrap {
        height: 370px;
    }

    #sliderUltra .tpl-img-wrap {
        height: 470px;
    }
}

@media (min-width: 1600px) {
    .container,
    .nav-header-container {
        width: 100% !important;
        max-width: 1750px !important;
    }
}

@media (min-width: 1800px) {
    .container,
    .nav-header-container {
        width: 100% !important;
        max-width: 1850px !important;
    }
}

@media (min-width: 2000px) {
    .container,
    .nav-header-container {
        width: 100% !important;
        max-width: 1950px !important;
    }
}

/* ---------- Hover-to-play preview video over the card cover ---------- */
.v-card .card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .35s ease;
    pointer-events: none;
    background: #000;
}

.v-card:hover .card-video,
.v-card:focus-within .card-video {
    opacity: 1;
}

a.v-card {
    text-decoration: none;
    color: inherit;
}

/* ---------- Pagination ---------- */
.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid var(--bdr);
    width:100%;
}

.pg-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px solid var(--bdr);
    background: #fff;
    color: var(--tx-l);
    font-size: .86rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .15s,border-color .15s,color .15s;
}

    .pg-btn:hover {
        border-color: var(--rg);
        color: var(--rg-dk);
    }

    .pg-btn.active {
        background: var(--rg);
        border-color: var(--rg);
        color: #fff !important;
    }

    .pg-btn.disabled {
        opacity: .4;
        cursor: not-allowed;
        pointer-events: none;
    }

    .pg-btn.nav {
        font-size: .78rem;
        gap: 6px;
    }

.pg-ellipsis {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mt-l);
    font-size: .86rem;
}


.top-crumb,
.col-grid, .custome-footer {
    width: calc(100% - 65px) !important;
    min-width: 0;
    margin-left: auto;
}
.col-grid {
    flex: none;
}




/*---------16-09-2026*/

/* ============================================
   PINTEREST-STYLE MASONRY GRID
============================================ */
.v-card-grid {
    columns: 5 220px;
    column-gap: 12px;
    padding: 0;
}

/* scale columns up on wider screens — Pinterest jaisa dense feel */
@media (min-width: 1600px) {
    .v-card-grid {
        columns: 7 220px;
    }
}

@media (min-width: 1400px) and (max-width: 1599px) {
    .v-card-grid {
        columns: 6 220px;
    }
}

@media (max-width: 1399px) and (min-width: 992px) {
    .v-card-grid {
        columns: 5 220px;
    }
}

@media (max-width: 991px) {
    .v-card-grid {
        columns: 3 200px;
    }
}

@media (max-width: 767px) {
    .v-card-grid {
        columns: 2 160px;
        column-gap: 10px;
    }
}

@media (max-width: 480px) {
    .v-card-grid {
        columns: 2 140px;
        column-gap: 8px;
    }

    .masonry > *:first-child {
        column-span: all;
    }
    .masonry {
        margin-right: 5px;
        margin-left: 5px;
    }
    .v-card.custom-card h3 {
        font-size: 1.2rem;
    }
    .v-card.custom-card p {
        color: rgba(255, 255, 255, .85);
        font-size: .8rem;
        margin: 0 0 10px;
    }
    .v-card.custom-card {
        padding: 13px 18px;
        min-height: 239px;
    }
    }

/* ============================================
   CARD — matches your exact HTML structure
============================================ */
.v-card {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    margin-bottom: 12px;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    background: #f4f2ee;
    transition: transform .25s ease;
}

    .v-card:hover {
        transform: translateY(-3px);
    }

    .v-card .img-wrap {
        position: relative;
        width: 100%;
        overflow: hidden;
        border-radius: 18px;
        background: linear-gradient(100deg,#f4f2ee 30%,#fffaf7 50%,#f4f2ee 70%);
        background-size: 200% 100%;
        animation: vcardShimmer 1.6s infinite;
    }

        /* shimmer stops once image actually loads — see JS below */
        .v-card .img-wrap.loaded {
            animation: none;
            background: #f4f2ee;
        }

@keyframes vcardShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.v-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    transition: transform .4s ease;
    animation: vcardFadeIn .4s ease;
}

@keyframes vcardFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.v-card:hover img {
    transform: scale(1.04);
}

/* video overlay for cards that have preview video */
.v-card .card-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: 18px;
}

.v-card:hover .card-video {
    opacity: 1;
}

/* "New" badge — Pinterest-style pill */
.v-card .new-flag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: rgba(20,18,15,.75);
    color: #fff;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

/* Pinterest-style prominent "Save" pill — top right, appears on hover */
.v-card .save-pill {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    background: var(--rg, #c4866e);
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 24px;
    border: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .2s ease, transform .2s ease, background .2s ease;
    box-shadow: 0 6px 16px rgba(138,82,64,.3);
}

.v-card:hover .save-pill,
.v-card:focus-within .save-pill {
    opacity: 1;
    transform: translateY(0);
}

.v-card .save-pill:hover {
    background: var(--rg-dk, #8A5240);
}

@media (hover:none) {
    .v-card .save-pill {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover overlay — name, category, actions */
.v-card .card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    padding: 14px;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.65) 100%);
    opacity: 0;
    transition: opacity .3s ease;
    border-radius: 18px;
}

.v-card:hover .card-overlay {
    opacity: 1;
}

.v-card .overlay-text .name {
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    margin: 0 0 2px;
    line-height: 1.3;
}

.v-card .overlay-text .cat {
    color: rgba(255,255,255,.75);
    font-size: .68rem;
    margin: 0 0 8px;
}

.v-card .overlay-actions {
    display: flex;
    gap: 8px;
}

.v-card .icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.95);
    color: #211C15;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    cursor: pointer;
    transition: all .2s ease;
}

    .v-card .icon-btn:hover {
        background: var(--rg, #c4866e);
        color: #fff;
        transform: scale(1.08);
    }

/* wide-orientation cards — kept for future data-orientation use */
.v-card.w-wide {
    /* natural image ratio already shows through via height:auto */
}


.skeleton-card {
    background: var(--bg-light, #f0f0f0);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 260px;
    margin-bottom: 16px;
    break-inside: avoid;
}

    .skeleton-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.55) 50%, rgba(255,255,255,0) 100% );
        transform: translateX(-100%);
        animation: shimmer 1.3s infinite;
    }

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-row {
    display: contents; /* masonry ke grid-flow ko todta nahi */
}

.vector-note {
    font-size: 11px;
    color: var(--muted, #777);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.3;
}


/* ---------- Welcome banner (logged-in personalization) ---------- */
.welcome-wrap {
    padding-top: 1px;
    margin-bottom: 10px;

}

.welcome-card {
    background: var(--card-bg);
    border: 1px solid var(--bdr);
    border-radius: 14px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    width: calc(100% - 50px) !important;
    min-width: 0;
    margin-left: auto;
}

.welcome-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
}

.welcome-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    flex-shrink: 0;
    background: var(--rg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Fraunces',serif;
    font-weight: 700;
    font-size: .82rem;
    color: #fff;
}

.welcome-greet {
    line-height: 1.15;
}

    .welcome-greet h2 {
        margin: 0;
        font-size: 1.42rem;
        font-weight: 600;
        color: var(--tx-l);
        line-height: 1.2;
    }

        .welcome-greet h2 span {
            color: var(--rg-dk);
            text-transform: capitalize;
        }

.welcome-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--tint-lt);
    border: 1px solid var(--bdr);
    border-radius: 8px;
    padding: 5px 10px;
    font-size: .72rem;
    color: var(--tx-l);
    white-space: nowrap;
}

    .meta-chip i {
        color: var(--rg-dk);
        font-size: .75rem;
    }

    .meta-chip.dest {
        background: #F4EDE2;
        border-color: rgba(201,168,76,.35);
    }

        .meta-chip.dest i {
            color: var(--gd-dk);
        }

@media (max-width:640px) {
    .welcome-meta .meta-chip:not(.dest) {
        display: none;
    }
}


/* ============================================
   FILTER RAIL — hover / focus label
   (apne existing .filter-rail-btn CSS ke baad add karo)
============================================ */
.filter-rail-btn {
    position: relative;
}

.filter-rail-label {
    --rail-tip-bg: #211C15;
    --rail-tip-ink: #ffffff;
    position: absolute;
    left: calc(100% + 12px); /* rail left side me ho to label right me khulega */
    top: 50%;
    transform: translate(-6px, -50%);
    z-index: 20;
    padding: 6px 12px;
    border-radius: 8px;
    background: var(--rail-tip-bg);
    color: var(--rail-tip-ink);
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

    /* chhota arrow button ki taraf */
    .filter-rail-label::before {
        content: '';
        position: absolute;
        left: -4px;
        top: 50%;
        width: 8px;
        height: 8px;
        background: var(--rail-tip-bg);
        transform: translateY(-50%) rotate(45deg);
    }

.filter-rail-btn:hover .filter-rail-label,
.filter-rail-btn:focus-visible .filter-rail-label {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

/* ---- rail screen ke RIGHT side me ho to ye block uncomment karo ----
.filter-rail-label {
    left: auto;
    right: calc(100% + 12px);
    transform: translate(6px, -50%);
}
    .filter-rail-label::before {
        left: auto;
        right: -4px;
    }
*/

@media (prefers-reduced-motion: reduce) {
    .filter-rail-label {
        transition: none;
    }
}

.tpl-like-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    background: rgba(255, 255, 255, 0.92);
    border: none;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.15s ease, background 0.2s ease;
    line-height: 1.2;
}
.tpl-like-msg {
    position: absolute;
    top: 29px;
    right: 0;
    background: #16A34A;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(4px);
}
.tpl-like-btn.liked {
    background: #FEF2F2;
    color: #DC2626;
}

.vh-footer {
    width: calc(100% - 65px) !important;
    min-width: 0;
    margin-left: auto;
}

/*-------29-09-2026--*/
#form1 {
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
}

.vh-footer {
    width: calc(100% - 65px) !important;
    min-width: 0;
    margin-left: auto;
    margin-top: auto; 
    flex-shrink: 0;
}
@media (max-width:640px) {
    #form1 {
        min-height: 100dvh; 
    }
}



/* ===== Base: har category icon ki apni light tile + patli border ===== */
.filter-rail-btn[class*="cat-"] {
    background: var(--c-soft);
    color: var(--c-icon);
    border: 1px solid var(--c-line);
    border-radius: 12px;
    margin-bottom: 6px;
    isolation: isolate;
    transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

    .filter-rail-btn[class*="cat-"]:hover,
    .filter-rail-btn[class*="cat-"].is-active {
        background: var(--c-hover); /* sirf light bg change */
        color: var(--c-icon) !important; /* icon color same */
        transform: translateY(-1px);
    }

/* ===== Category colors ===== */
.cat-pro {
    --c-icon: #1e3a8a;
    --c-soft: #f3f6ff;
    --c-hover: #e2eaff;
    --c-line: #d6e0fb;
}
/* corporate blue */
.cat-biz {
    --c-icon: #92400e;
    --c-soft: #fff8ec;
    --c-hover: #fdebc8;
    --c-line: #f5dfb8;
}
/* bronze */
.cat-founder {
    --c-icon: #c2410c;
    --c-soft: #fff4ef;
    --c-hover: #ffe3d8;
    --c-line: #fbd5c4;
}
/* orange */
.cat-find {
    --c-icon: #0f766e;
    --c-soft: #f0fbf9;
    --c-hover: #d9f4ef;
    --c-line: #c5ebe5;
}
/* teal */

/* Metal: brushed silver */
.cat-metal {
    --c-icon: #3b4652;
    --c-hover: #e3e7ec;
    --c-line: #c3cad3;
    --c-soft: linear-gradient(135deg, #f7f8fa, #dfe3e8 50%, #f4f5f7);
}

    .cat-metal:hover {
        background: linear-gradient(135deg, #eef0f3, #d3d8de 50%, #eceff2);
    }

/* ===== Groups feel: spacing se alag dikhe (HTML change nahi) ===== */
.cat-find {
    margin-bottom: 14px;
}
/* Find My Items ke baad gap */
.cat-metal {
    margin-top: 8px;
    margin-bottom: 14px;
}
/* Metal apne aap alag */

/* ===== Elite: premium animated gold border ===== */
@property --rail-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

.cat-elite {
    --c-icon: #a8690f;
    --c-hover: #fbeab8;
    --c-line: transparent;
    --c-soft: linear-gradient(135deg, #fffaf0, #fbefcf);
    margin-top: 8px;
    border-color: transparent;
    box-shadow: 0 6px 16px -8px rgba(183,121,31,.7);
}

    .cat-elite::before { /* ghoomta hua gold ring */
        content: "";
        position: absolute;
        inset: -1px;
        padding: 2px;
        border-radius: inherit;
        background: conic-gradient(from var(--rail-angle), #b7791f, #fff1a8, #f9d44a, #b7791f 55%, transparent 70%, #b7791f);
        -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
        -webkit-mask-composite: xor;
        mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
        animation: railSpin 4s linear infinite;
        pointer-events: none;
        z-index: -1;
    }

    .cat-elite i {
        filter: drop-shadow(0 0 4px rgba(249,212,74,.8));
    }

    .cat-elite:hover {
        box-shadow: 0 8px 20px -6px rgba(249,212,74,.85);
    }

@keyframes railSpin {
    to {
        --rail-angle: 360deg;
    }
}

/* ===== Tooltip: naam side me dikhe (aria-label se) ===== */
.filter-rail-btn[class*="cat-"]:hover::after {
    content: attr(aria-label);
    position: absolute;
    left: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    background: var(--tx-l);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 8px;
    z-index: 1000;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .cat-elite::before {
        animation: none;
    }
}



/* ===== Base tag (default = NFC Metal, dark rose gold) ===== */
/* ===== Base tag (default = NFC Metal, light rose gold + dark text) ===== */
.metal-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px 5px 8px;
    border-radius: 999px;
    overflow: hidden;
    pointer-events: none;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
    /* light rose gold + dark text */
    color: #4a1620;
    background: linear-gradient(135deg, #ffe9e1 0%, #f7cfc2 40%, #fbdcd0 60%, #eab3a4 100%);
    border: 1px solid #b9707a;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .7), /* halki white ring */
    0 4px 12px -3px rgba(94, 37, 48, .55), /* light image par bhi alag dikhe */
    inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(185, 112, 122, .4);
    text-shadow: 0 1px 0 rgba(255, 245, 240, .8);
}

    .metal-tag b {
        position: relative;
        z-index: 2;
        font-weight: 800;
    }

    .metal-tag i {
        position: relative;
        z-index: 2;
        font-size: .78rem;
        color: #8f3f4c;
        filter: none;
    }

    /* shine sweep (halki, text ke peeche) */
    .metal-tag::after {
        content: "";
        position: absolute;
        top: 0;
        left: -60%;
        width: 40%;
        height: 100%;
        z-index: 1;
        background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .7), transparent);
        transform: skewX(-20deg);
        animation: metalShine 3.6s ease-in-out infinite;
    }

@keyframes metalShine {
    0%, 55% {
        left: -60%;
    }

    100% {
        left: 130%;
    }
}

/* ===== PVC variant: dark gold + light text ===== */
.metal-tag.is-pvc {
    color: #fff6d0;
    text-shadow: 0 1px 2px rgba(30, 18, 0, .8);
    background: linear-gradient(135deg, #6b4709 0%, #8f6212 40%, #b98a25 58%, #4a3006 100%);
    border: 1px solid rgba(249, 212, 74, .7);
    box-shadow: 0 0 0 1px rgba(30, 18, 0, .55), 0 4px 14px -3px rgba(249, 212, 74, .5), /* dark bg par gold glow */
    inset 0 1px 0 rgba(255, 236, 160, .5), inset 0 -1px 0 rgba(30, 18, 0, .5);
}

    .metal-tag.is-pvc i {
        color: #ffe58a;
        filter: drop-shadow(0 0 3px rgba(249, 212, 74, .7));
    }

    /* glossy top highlight */
    .metal-tag.is-pvc::before {
        content: "";
        position: absolute;
        inset: 0 0 55% 0;
        z-index: 1;
        border-radius: 999px 999px 0 0;
        background: linear-gradient(180deg, rgba(255, 240, 180, .22), rgba(255, 240, 180, 0));
        pointer-events: none;
    }

/* ===== Optional: gold (Queen / King) ===== */
.metal-tag.is-gold {
    color: #fff8dc;
    text-shadow: 0 1px 2px rgba(60, 38, 0, .8);
    background: linear-gradient(135deg, #c9962a 0%, #a87418 45%, #d0a03a 65%, #7a5108 100%);
    border: 1px solid rgba(255, 236, 160, .7);
    box-shadow: 0 4px 12px -4px rgba(90, 60, 5, .7), inset 0 1px 0 rgba(255, 240, 180, .5);
}

    .metal-tag.is-gold i {
        color: #fff0b0;
    }

.item-price {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .3px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}

@media (prefers-reduced-motion: reduce) {
    .metal-tag::after {
        animation: none;
    }
}



