/* Luxury & Collectibles theme for personal.html#luxury -- active only while
   body.theme-vault is set by assets/personal-vault.js. Black-and-gold
   boutique; each sub-category tab has its own display (garage bays, watch
   box, glass perfume shelves, glass cases). */

body.theme-vault {
    --vt-gold: #d9b56a; --vt-gold-l: #f3dca0; --vt-ink: #0b0b0c; --vt-text: #f4efe4; --vt-sub: #a59b88;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(217,181,106,0.16), rgba(217,181,106,0) 70%),
        linear-gradient(180deg, #0d0c0b, #070707) fixed #080808;
}
body.theme-vault .gallery-wrap { max-width: 1120px; padding: 0 20px 5rem; }
body.theme-vault .back-bar,
body.theme-vault .hero-title,
body.theme-vault .hero-sub,
body.theme-vault .category-view-header,
body.theme-vault .pcms-admin-only[onclick="openDraftModal()"],
body.theme-vault[data-vt-cat="luxury"] .gallery-section[data-category="luxury"] { display: none !important; }

#vaultView { display: none; font-family: 'Outfit', 'Mitr', var(--font-body, 'Plus Jakarta Sans', 'Sarabun'), sans-serif; color: var(--vt-text); }
body.theme-vault #vaultView { display: block; }
#vaultView button { font: inherit; color: inherit; }
#vaultView button:focus-visible { outline: 2px solid var(--vt-gold-l); outline-offset: 3px; }

.vt-btn { border: 1px solid rgba(217,181,106,0.5); background: transparent; border-radius: 999px; padding: 9px 18px; cursor: pointer; font-weight: 600; transition: transform .2s ease, box-shadow .2s ease; }
.vt-btn.is-gold { background: linear-gradient(180deg, #f3dca0, #c9a24a); color: #1a1406 !important; border-color: #f3dca0; box-shadow: 0 6px 18px rgba(217,181,106,0.25); }
.vt-btn:hover { transform: translateY(-2px); }

/* ---------- header ---------- */
.vt-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 28px 0 6px; }
.vt-back { justify-self: start; background: none; border: 0; cursor: pointer; color: var(--vt-sub) !important; font-size: .98rem; padding: 6px 0; }
.vt-back span { display: inline-block; font-size: 1.3rem; line-height: 1; margin-right: 3px; transition: transform .25s ease; }
.vt-back:hover { color: var(--vt-text) !important; } .vt-back:hover span { transform: translateX(-3px); }
.vt-top-r { justify-self: end; }
.vt-brand { text-align: center; }
.vt-mono { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--vt-gold); color: var(--vt-gold); transform: rotate(45deg); font-size: 0; margin-bottom: 10px; }
.vt-mono::before { content: 'A'; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.5rem; font-weight: 700; transform: rotate(-45deg); }
.vt-brand p { margin: 0; font-size: .72rem; letter-spacing: .42em; color: var(--vt-gold); }
.vt-brand h2 { margin: 4px 0 2px; font-family: 'Cormorant Garamond', 'Trirong', Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.3rem); font-weight: 600; font-style: italic; letter-spacing: .01em; line-height: 1.05;
    background: linear-gradient(180deg, #fff6dc, #d9b56a 70%, #a8823a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vt-brand small { color: var(--vt-sub); font-size: .9rem; }
.vt-stats { display: flex; justify-content: center; gap: 22px; margin: 14px 0 22px; color: var(--vt-sub); font-size: .92rem; }
.vt-stats b { color: var(--vt-text); font-size: 1.1rem; margin-right: 2px; }

/* ---------- tabs ---------- */
.vt-tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 0 auto 14px; padding: 6px; width: max-content; max-width: 100%; box-sizing: border-box;
    border: 1px solid rgba(217,181,106,0.3); border-radius: 999px; background: rgba(255,255,255,0.03); }
.vt-tab { display: inline-flex; align-items: center; gap: 7px; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-size: 1rem; font-weight: 500;
    color: var(--vt-sub) !important; transition: background .2s ease, color .2s ease; }
.vt-tab:hover { color: var(--vt-text) !important; }
.vt-tab i { font-style: normal; font-size: .74rem; font-weight: 700; min-width: 20px; padding: 1px 7px; border-radius: 999px; background: rgba(217,181,106,0.14); color: var(--vt-gold); text-align: center; }
.vt-tab.is-on { background: linear-gradient(180deg, #f3dca0, #c9a24a); color: #1a1406 !important; }
.vt-tab.is-on i { background: rgba(0,0,0,0.2); color: #1a1406; }
.vt-own { display: flex; justify-content: center; gap: 4px; margin: 0 0 24px; }
.vt-own-b { border: 0; background: none; padding: 5px 12px; border-radius: 999px; cursor: pointer; font-size: .88rem; color: var(--vt-sub) !important; }
.vt-own-b.is-on { color: var(--vt-text) !important; background: rgba(255,255,255,0.08); box-shadow: inset 0 0 0 1px rgba(217,181,106,0.4); }

/* ---------- shared: hang tag, stars ---------- */
.vt-hang { position: absolute; right: 12px; top: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 8px; border-radius: 4px 12px 12px 4px;
    font-family: 'Bebas Neue', sans-serif; font-size: .95rem; letter-spacing: .12em; line-height: 1; box-shadow: 0 4px 10px rgba(0,0,0,0.35); }
.vt-hang i { width: 6px; height: 6px; border-radius: 50%; background: rgba(0,0,0,0.45); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4); }
.vt-hang.is-owned { background: linear-gradient(180deg, #f3dca0, #c9a24a); color: #1a1406; }
.vt-hang.is-wish { background: rgba(10,10,10,0.72); color: var(--vt-gold-l); box-shadow: inset 0 0 0 1px var(--vt-gold), 0 4px 10px rgba(0,0,0,0.35); }
.vt-hang.is-eyeing { background: #1e3a8a; color: #dbeafe; }
.vt-hang.is-hold, .vt-hang.is-past { background: #3f3f46; color: #e4e4e7; }
.vt-stars { color: var(--vt-gold); font-size: .85rem; letter-spacing: .06em; }
.vt-stars i { font-style: normal; color: rgba(217,181,106,0.25); }
.vt-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 2.6rem; background: #151515; }
.vt-none { text-align: center; color: var(--vt-sub); padding: 30px; }

/* ---------- garage (cars) ---------- */
.vt-garage { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 0; padding: 26px 10px 10px; border-radius: 16px;
    background: repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 2px, transparent 2px 5px), radial-gradient(ellipse at 50% 0%, #2a2a2c, #111 70%); box-shadow: inset 0 0 60px rgba(0,0,0,0.7); }
.vt-bay { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 18px 26px 22px; border: 0; background: none; cursor: pointer; text-align: left;
    border-left: 4px solid #e8c547; }
.vt-bay:nth-child(2n) { border-right: 4px solid #e8c547; }
.vt-bay-no { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); font-family: 'Bebas Neue', sans-serif; font-size: 3.4rem; line-height: 1; color: rgba(232,197,71,0.16); letter-spacing: .1em; pointer-events: none; }
.vt-car { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 30px rgba(0,0,0,0.6); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.vt-car img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-bay:hover .vt-car { transform: translateY(-6px) scale(1.02); }
.vt-bay::after { content: ''; position: absolute; left: 30%; right: 30%; top: 0; height: 60%; pointer-events: none; opacity: 0; transition: opacity .3s ease;
    background: radial-gradient(ellipse at 50% 0%, rgba(255,240,200,0.18), transparent 70%); }
.vt-bay:hover::after { opacity: 1; }
.vt-plate { position: relative; z-index: 1; align-self: center; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 18px; border-radius: 6px;
    background: #f5f2e8; color: #111; border: 2px solid #111; box-shadow: 0 0 0 2px #f5f2e8, 0 6px 14px rgba(0,0,0,0.5); }
.vt-plate b { font-family: 'Bebas Neue', 'Outfit', 'Mitr', sans-serif; font-weight: 400; font-size: 1.3rem; letter-spacing: .1em; line-height: 1.05; text-align: center; }
.vt-plate .vt-stars { color: #b7892b; }

/* ---------- watch box ---------- */
.vt-box { border-radius: 18px; padding: 14px; background: linear-gradient(180deg, #4a2a18, #2c170c); box-shadow: inset 0 2px 0 rgba(255,255,255,0.1), 0 24px 44px rgba(0,0,0,0.6); }
.vt-box-lid { text-align: center; padding: 4px 0 12px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: .9rem; letter-spacing: .4em; color: var(--vt-gold); }
.vt-cushions { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; padding: 12px; border-radius: 10px; background: #1b0f08; box-shadow: inset 0 6px 16px rgba(0,0,0,0.8); }
.vt-cushion { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px 14px; border: 0; border-radius: 12px; cursor: pointer;
    background: radial-gradient(ellipse at 50% 35%, #f4ecdc, #d9ccb2 75%); box-shadow: inset 0 -6px 12px rgba(0,0,0,0.18), inset 0 3px 6px rgba(255,255,255,0.6); color: #2a1a0e !important; }
.vt-dial { width: 132px; height: 132px; border-radius: 50%; overflow: hidden; background: #111; box-shadow: 0 0 0 5px #c9a24a, 0 0 0 7px #7a5a1d, 0 12px 18px rgba(0,0,0,0.45); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.vt-dial img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-cushion:hover .vt-dial { transform: rotate(-8deg) scale(1.06); }
.vt-cushion .vt-hang { top: 8px; right: 8px; font-size: .8rem; }
.vt-engrave { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 12px; border-radius: 4px; background: linear-gradient(180deg, #e9d29a, #b8913f); color: #2a1a0e; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); max-width: 100%; box-sizing: border-box; }
.vt-engrave b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1rem; font-weight: 700; letter-spacing: .03em; text-align: center; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.vt-engrave .vt-stars { color: #5a3d0d; font-size: .72rem; }

/* ---------- perfume shelves ---------- */
.vt-shelves { display: flex; flex-direction: column; gap: 10px; padding: 10px 0; }
.vt-shelf { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 30px 20px 0; }
.vt-ledge { display: block; width: calc(100% + 18px); height: 12px; margin-top: -12px; border-radius: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0.06)); box-shadow: 0 10px 22px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.6); }
.vt-bottle { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; border: 0; background: none; cursor: pointer; padding: 0; }
.vt-spot { position: absolute; left: 10%; right: 10%; top: -30px; height: 70%; pointer-events: none; background: radial-gradient(ellipse at 50% 0%, rgba(255,236,190,0.22), transparent 70%); }
.vt-bottle-img { position: relative; display: block; width: 100%; max-width: 170px; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; box-shadow: 0 16px 24px rgba(0,0,0,0.55); transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.vt-bottle-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vt-bottle:hover .vt-bottle-img { transform: translateY(-8px); }
.vt-bottle .vt-hang { font-size: .78rem; top: 8px; right: 8px; }
.vt-bottle-name { display: flex; flex-direction: column; align-items: center; min-height: 42px; }
.vt-bottle-name b { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 1.1rem; font-weight: 600; text-align: center; line-height: 1.15; }

/* ---------- glass cases (anything else) ---------- */
.vt-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.vt-case { display: flex; flex-direction: column; gap: 12px; border: 0; background: none; cursor: pointer; text-align: center; padding: 0; }
.vt-glass { position: relative; display: block; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #111;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 0 0 6px #151515, 0 0 0 7px rgba(217,181,106,0.4), 0 20px 34px rgba(0,0,0,0.6); }
.vt-glass img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.vt-glass::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(255,255,255,0.14), rgba(255,255,255,0) 40%), radial-gradient(ellipse at 50% 0%, rgba(255,240,200,0.18), transparent 60%); }
.vt-case:hover .vt-glass img { transform: scale(1.05); }
.vt-case-name { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.vt-case-name b { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 1.2rem; font-weight: 600; }
.vt-case-name small { color: var(--vt-sub); font-size: .82rem; }

/* ---------- empty stages ---------- */
.vt-empty { text-align: center; padding: 10px 0 20px; color: var(--vt-sub); }
.vt-ghosts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.vt-ghost { position: relative; display: block; border: 2px dashed rgba(217,181,106,0.3); border-radius: 12px; }
.vt-ghost-garage { aspect-ratio: 16 / 10; border-style: solid; border-color: transparent; border-left: 4px solid rgba(232,197,71,0.5); border-right: 4px solid rgba(232,197,71,0.5); border-radius: 0; background: rgba(255,255,255,0.02); }
.vt-ghost-garage em { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); font-style: normal; font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; color: rgba(232,197,71,0.2); }
.vt-ghost-watch { aspect-ratio: 1; border-radius: 50%; width: 70%; margin: 0 auto; }
.vt-ghost-shelf { aspect-ratio: 3 / 4; width: 60%; margin: 0 auto; }
.vt-ghost-case { aspect-ratio: 1; }
.vt-empty p { margin: 0 0 12px; }

@media (prefers-reduced-motion: reduce) { .vt-car, .vt-dial, .vt-bottle-img, .vt-glass img, .vt-btn { transition: none; } }
@media (max-width: 760px) {
    .vt-top { grid-template-columns: 1fr auto; }
    .vt-back { grid-row: 1; } .vt-top-r { grid-row: 1; grid-column: 2; }
    .vt-brand { grid-row: 2; grid-column: 1 / -1; }
    .vt-tabs { width: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; border-radius: 16px; }
    .vt-tabs::-webkit-scrollbar { display: none; }
    .vt-tab { flex: 0 0 auto; padding: 8px 14px; font-size: .92rem; }
    .vt-garage { padding: 14px 4px 4px; }
    .vt-bay { padding: 14px 16px 18px; border-right: 4px solid #e8c547; }
    .vt-cushions { grid-template-columns: repeat(2, 1fr); padding: 8px; gap: 8px; }
    .vt-dial { width: 100px; height: 100px; }
    .vt-shelf { grid-template-columns: repeat(2, 1fr); padding: 26px 8px 0; }
    .vt-cases { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .vt-ghosts { gap: 8px; }
}
