/* Homepage — Velvet Vibes (optimized, scoped to #page-home + .hm-page) */

body#page-home {
    --hm-ink: #0d0d0d;
    --hm-white: #ffffff;
    --hm-slate: #4a4a4a;
    --hm-muted: #8f8f8f;
    --hm-gold: #c9a66b;
    --hm-gold-light: #e4c98f;
    --hm-gold-dark: #a1824f;
    --hm-bg-soft: #f7f5f2;
    --hm-border: #e9e6e0;
    --hm-radius-lg: 28px;
    --hm-radius-md: 20px;
    --hm-radius-sm: 12px;
    --hm-shadow-sm: 0 6px 24px rgba(13, 13, 13, 0.06);
    --hm-shadow-md: 0 24px 60px rgba(13, 13, 13, 0.10);
    --hm-shadow-lg: 0 44px 100px rgba(13, 13, 13, 0.16);
    --hm-ease: cubic-bezier(.22, .61, .36, 1);
    background: var(--hm-white);
}

.hm-page { font-family: var(--primary-font, 'Jost', sans-serif); color: var(--hm-slate); }
.hm-page * { box-sizing: border-box; }
.hm-page h1, .hm-page h2, .hm-page h3, .hm-page h4 { color: var(--hm-ink); font-weight: 600; margin: 0; letter-spacing: 0.2px; }
.hm-page svg { display: block; }
.hm-container { max-width: 1320px; margin: 0 auto; padding: 0 32px; }

.hm-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 600; font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hm-gold-dark);
}
.hm-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--hm-gold); }

[data-hm-anim] { opacity: 0; transform: translate3d(0, 34px, 0); transition: opacity 1s var(--hm-ease), transform 1s var(--hm-ease); }
[data-hm-anim="zoom"] { transform: scale3d(0.94, 0.94, 1); }
[data-hm-anim="left"] { transform: translate3d(-40px, 0, 0); }
[data-hm-anim="right"] { transform: translate3d(40px, 0, 0); }
[data-hm-anim].is-visible { opacity: 1; transform: translate3d(0, 0, 0) scale3d(1, 1, 1); }
[data-hm-delay="1"] { transition-delay: .1s; }
[data-hm-delay="2"] { transition-delay: .2s; }
[data-hm-delay="3"] { transition-delay: .3s; }
[data-hm-delay="4"] { transition-delay: .4s; }
[data-hm-delay="5"] { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
    [data-hm-anim] { opacity: 1; transform: none; transition: none; }
    body#page-home * { animation: none !important; transition: none !important; }
}

/* Transparent header on homepage hero */
body#page-home .main-header {
    position: absolute; top: 0; left: 0; right: 0; z-index: 50;
    background: transparent !important; border: none;
}
body#page-home .main-header .header-top { background: transparent !important; }
body#page-home .main-header,
body#page-home .main-header .logo a,
body#page-home .main-header .main-menu nav > ul > li > a,
body#page-home .main-header .menu-contact__info a,
body#page-home .main-header .header-cart,
body#page-home .main-header .tp-cat-toggle,
body#page-home .main-header i { color: #fff !important; }
body#page-home .main-header .logo img { filter: brightness(0) invert(1); }
body#page-home .main-header .main-menu nav > ul > li > a:hover { color: var(--hm-gold-light) !important; }
body#page-home .main-header .header-search-bar,
body#page-home .main-header .search-info { background: rgba(255, 255, 255, 0.12); border-radius: 999px; }
body#page-home .main-header .input-search-product { color: #fff; }
body#page-home .main-header .input-search-product::placeholder { color: rgba(255, 255, 255, 0.65); }
body#page-home .main-header .menu-top-social a { color: rgba(255, 255, 255, 0.8) !important; }

.hm-page .slider-area,
.hm-page .category-area,
.hm-page .deal-product-area { display: none !important; }

/* Hero */
.hm-hero {
    position: relative; height: min(100vh, 900px); min-height: 560px; overflow: hidden;
    display: flex; align-items: center; color: #fff;
}
.hm-hero__bg { position: absolute; inset: 0; overflow: hidden; }
.hm-hero__bg::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,13,13,0.35) 0%, rgba(13,13,13,0.55) 55%, rgba(13,13,13,0.85) 100%);
}
.hm-hero__bg img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transform: scale(1.05);
}
.hm-hero__inner { position: relative; z-index: 2; }
.hm-hero__eyebrow { color: var(--hm-gold-light); }
.hm-hero__eyebrow::before { background: var(--hm-gold-light); }
.hm-hero h1 {
    color: #fff; font-size: clamp(38px, 6vw, 74px); line-height: 1.08; margin: 22px 0 26px; max-width: 780px;
}
.hm-hero h1 em { font-style: normal; color: var(--hm-gold-light); }
.hm-hero p.hm-hero__sub { color: rgba(255, 255, 255, 0.75); font-size: 16.5px; max-width: 480px; margin: 0 0 40px; }
.hm-hero__actions { display: flex; gap: 18px; flex-wrap: wrap; }

.hm-btn {
    position: relative; overflow: hidden; isolation: isolate;
    display: inline-flex; align-items: center; gap: 10px; padding: 17px 36px; border-radius: 999px;
    font-weight: 600; font-size: 13.5px; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer;
    border: 1.5px solid transparent; transition: transform .4s var(--hm-ease), box-shadow .4s var(--hm-ease), background .4s var(--hm-ease), color .4s var(--hm-ease);
}
.hm-btn--solid { background: #fff; color: var(--hm-ink); }
.hm-btn--solid:hover { transform: translateY(-4px); box-shadow: var(--hm-shadow-md); background: var(--hm-gold); color: #fff; }
.hm-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.hm-btn--ghost:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.12); }
.hm-btn--gold { background: var(--hm-gold); color: #fff; }
.hm-btn--gold:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(201, 166, 107, 0.4); background: var(--hm-gold-dark); }
.hm-ripple { position: absolute; border-radius: 50%; transform: scale(0); animation: hm-ripple .65s var(--hm-ease); background: rgba(255, 255, 255, 0.45); pointer-events: none; z-index: -1; }
@keyframes hm-ripple { to { transform: scale(3.2); opacity: 0; } }

.hm-hero__badges { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.hm-badge {
    position: absolute; display: flex; align-items: center; gap: 10px;
    background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px; padding: 12px 20px; color: #fff; font-size: 12.5px; font-weight: 600;
    animation: hm-float 6s ease-in-out infinite;
}
.hm-badge svg { width: 16px; height: 16px; color: var(--hm-gold-light); }
.hm-badge--1 { top: 20%; right: 8%; animation-delay: -1s; }
.hm-badge--2 { top: 38%; right: 3%; animation-delay: -3s; }
.hm-badge--3 { bottom: 26%; right: 10%; animation-delay: -4.5s; }
.hm-badge--4 { bottom: 12%; right: 4%; animation-delay: -2s; }
@keyframes hm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hm-hero__scroll {
    position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2;
    display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255, 255, 255, 0.7); font-size: 11px;
    letter-spacing: 0.2em; text-transform: uppercase;
}
.hm-hero__scroll-line { width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,0.8), transparent); animation: hm-scrollline 2s ease-in-out infinite; }
@keyframes hm-scrollline { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

.hm-section { padding: 100px 0; }
.hm-section--soft { background: var(--hm-bg-soft); }
.hm-section__head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.hm-section__head h2 { font-size: clamp(30px, 3.6vw, 46px); margin: 16px 0 14px; }
.hm-section__head p { color: var(--hm-muted); font-size: 15px; }

/* Collections */
.hm-collection-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.hm-collection-card {
    position: relative; border-radius: var(--hm-radius-md); overflow: hidden; aspect-ratio: 3/4;
    text-decoration: none; display: block; isolation: isolate; box-shadow: var(--hm-shadow-sm);
    transition: box-shadow .4s var(--hm-ease);
}
.hm-collection-card:hover { box-shadow: var(--hm-shadow-md); }
.hm-collection-card__img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
    transition: transform .7s var(--hm-ease); transform: scale(1.02);
}
.hm-collection-card:hover .hm-collection-card__img { transform: scale(1.14); }
.hm-collection-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,13,0) 40%, rgba(13,13,13,0.75) 100%); }
.hm-collection-card__label {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px 18px;
    color: #fff; text-align: center;
}
.hm-collection-card__label h3 { color: #fff; font-size: 15.5px; letter-spacing: 0.04em; text-transform: uppercase; }
.hm-collection-card__label span { display: block; margin-top: 4px; font-size: 11px; color: var(--hm-gold-light); letter-spacing: 0.1em; text-transform: uppercase; opacity: 0; transform: translateY(6px); transition: all .35s var(--hm-ease); }
.hm-collection-card:hover .hm-collection-card__label span { opacity: 1; transform: translateY(0); }

/* Campaign */
.hm-campaign {
    position: relative; border-radius: var(--hm-radius-lg); overflow: hidden; min-height: 480px;
    display: flex; align-items: center; color: #fff;
    background: linear-gradient(120deg, #0d0d0d 0%, #1c1a16 60%, #2a2318 100%);
}
.hm-campaign__bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
    opacity: 0.5;
}
.hm-campaign::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,13,13,0.92) 20%, rgba(13,13,13,0.35) 75%); }
.hm-campaign__inner { position: relative; z-index: 2; padding: 70px 64px; max-width: 560px; }
.hm-campaign .hm-eyebrow { color: var(--hm-gold-light); }
.hm-campaign .hm-eyebrow::before { background: var(--hm-gold-light); }
.hm-campaign h2 { color: #fff; font-size: clamp(28px, 3.6vw, 44px); margin: 18px 0 18px; }
.hm-campaign p { color: rgba(255, 255, 255, 0.7); font-size: 15px; margin: 0 0 32px; }

/* Products shortcode restyle */
.hm-page .product-area { background: var(--hm-white) !important; padding: 100px 0 !important; }
.hm-page .product-area .container { max-width: 1320px; padding: 0 32px; }
.hm-page .product-area .tpsection { text-align: center; margin: 0 auto 20px !important; }
.hm-page .product-area .tpsection__title { font-size: clamp(30px, 3.6vw, 46px) !important; margin-top: 16px; }
.hm-page .product-area .tpsection__title span { color: var(--hm-gold-dark); font-style: normal; }
.hm-page .product-area .col-md-4.col-12,
.hm-page .product-area .col-md-8.col-12 { flex: 0 0 100%; max-width: 100%; text-align: center; }
.hm-page .tpnavbar { justify-content: center !important; margin-top: 8px !important; width: 100%; }
.hm-page .nav-tabs {
    border: none; display: inline-flex; gap: 4px; background: var(--hm-bg-soft); padding: 6px; border-radius: 999px;
    max-width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none;
}
.hm-page .nav-tabs::-webkit-scrollbar { display: none; }
.hm-page .nav-tabs .nav-link {
    border: none !important; border-radius: 999px !important; background: transparent !important;
    color: var(--hm-slate) !important; font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
    text-transform: uppercase; padding: 11px 22px !important; white-space: nowrap; flex-shrink: 0;
    transition: background .3s var(--hm-ease), color .3s var(--hm-ease);
}
.hm-page .nav-tabs .nav-link.active { background: var(--hm-ink) !important; color: #fff !important; }
.hm-page .tab-content { margin-top: 48px; }
.hm-page .loading-spinner:after { border-color: var(--hm-gold) transparent var(--hm-gold) transparent !important; }

/* Why us */
.hm-why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.hm-why-card {
    background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius-md);
    padding: 32px 20px; text-align: center; box-shadow: var(--hm-shadow-sm);
    transition: transform .4s var(--hm-ease), box-shadow .4s var(--hm-ease), border-color .4s var(--hm-ease);
}
.hm-why-card:hover { transform: translateY(-8px); box-shadow: var(--hm-shadow-md); border-color: var(--hm-gold); }
.hm-why-card__icon {
    display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 18px;
    border-radius: 50%; background: var(--hm-bg-soft); color: var(--hm-gold-dark);
}
.hm-why-card__icon svg { width: 23px; height: 23px; }
.hm-why-card h4 { font-size: 13.5px; margin-bottom: 6px; }
.hm-why-card p { font-size: 12px; color: var(--hm-muted); margin: 0; }

/* Lookbook */
.hm-lookbook-grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 280px); gap: 20px; }
.hm-lookbook-item {
    position: relative; border-radius: var(--hm-radius-md); overflow: hidden; isolation: isolate;
    box-shadow: var(--hm-shadow-sm);
}
.hm-lookbook-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--hm-ease); }
.hm-lookbook-item:hover img { transform: scale(1.08); }
.hm-lookbook-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13,13,13,0.65) 100%); }
.hm-lookbook-item span { position: absolute; left: 20px; bottom: 18px; z-index: 2; color: #fff; font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; }
.hm-lookbook-item--a { grid-column: span 3; grid-row: span 2; }
.hm-lookbook-item--b { grid-column: span 3; grid-row: span 1; }
.hm-lookbook-item--c { grid-column: span 2; grid-row: span 1; }
.hm-lookbook-item--d { grid-column: span 1; grid-row: span 1; }

/* Reviews */
.hm-reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-review-card {
    position: relative; background: #fff; border: 1px solid var(--hm-border); border-radius: var(--hm-radius-md);
    padding: 32px 28px; box-shadow: var(--hm-shadow-sm);
}
.hm-review-card__stars { display: flex; gap: 3px; color: var(--hm-gold); margin-bottom: 16px; }
.hm-review-card__stars svg { width: 15px; height: 15px; }
.hm-review-card p.quote { font-size: 14.5px; font-style: italic; color: var(--hm-slate); line-height: 1.75; margin: 0 0 22px; }
.hm-review-card__author { display: flex; align-items: center; gap: 12px; }
.hm-review-card__avatar {
    width: 46px; height: 46px; border-radius: 50%; background: var(--hm-ink); color: var(--hm-gold-light);
    display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.hm-review-card__author h5 { display: flex; align-items: center; gap: 6px; font-size: 13.5px; }
.hm-review-card__verified { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: #16a34a; color: #fff; }
.hm-review-card__verified svg { width: 9px; height: 9px; }
.hm-review-card__author span { font-size: 11.5px; color: var(--hm-muted); }

/* Gallery shortcode restyle */
.hm-page .shop-area { padding: 100px 0 !important; background: var(--hm-bg-soft); }
.hm-page .tpsectionarea { margin-bottom: 48px !important; }
.hm-page .tpsectionarea__subtitle {
    font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--hm-gold-dark);
    display: inline-flex; align-items: center; gap: 10px;
}
.hm-page .tpsectionarea__subtitle::before, .hm-page .tpsectionarea__subtitle::after { content: ""; width: 26px; height: 1px; background: var(--hm-gold); }
.hm-page .tpsectionarea__title { font-size: clamp(26px, 3.2vw, 38px); margin-top: 10px; }
.hm-page .shopareaitem { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.hm-page .tpshopitem {
    position: relative; border-radius: var(--hm-radius-md); overflow: hidden; isolation: isolate;
    box-shadow: var(--hm-shadow-sm); aspect-ratio: 4/5; transition: box-shadow .4s var(--hm-ease);
}
.hm-page .tpshopitem:hover { box-shadow: var(--hm-shadow-md); }
.hm-page .tpshopitem a { display: block; width: 100%; height: 100%; }
.hm-page .tpshopitem img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hm-ease); }
.hm-page .tpshopitem:hover img { transform: scale(1.1); }

@media (max-width: 1200px) {
    .hm-collection-grid { grid-template-columns: repeat(3, 1fr); }
    .hm-why-grid { grid-template-columns: repeat(3, 1fr); }
    .hm-reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
    .hm-lookbook-grid { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 220px); }
    .hm-lookbook-item--a { grid-column: span 2; grid-row: span 2; }
    .hm-lookbook-item--b { grid-column: span 2; grid-row: span 1; }
    .hm-lookbook-item--c { grid-column: span 2; grid-row: span 1; }
    .hm-lookbook-item--d { grid-column: span 4; grid-row: span 1; }
}

@media (max-width: 900px) {
    body#page-home .main-header { position: static; background: #fff !important; }
    body#page-home .main-header, body#page-home .main-header a, body#page-home .main-header i { color: var(--hm-ink) !important; }
    body#page-home .main-header .logo img { filter: none; }
    .hm-hero { height: min(92vh, 820px); }
    .hm-campaign__inner { padding: 50px 34px; }
}

@media (max-width: 768px) {
    .hm-section { padding: 64px 0; }
    .hm-container { padding: 0 20px; }
    .hm-collection-grid { grid-template-columns: repeat(2, 1fr); }
    .hm-why-grid { grid-template-columns: repeat(2, 1fr); }
    .hm-lookbook-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(2, 220px); gap: 14px; }
    .hm-lookbook-item--a, .hm-lookbook-item--b, .hm-lookbook-item--c, .hm-lookbook-item--d { grid-column: span 1; grid-row: span 1; }
    .hm-page .shopareaitem { padding: 0 16px; }
    .hm-page .tpshopitem { aspect-ratio: 3/4; }
    .hm-hero__badges { display: none; }
    .hm-hero__actions { flex-direction: column; align-items: stretch; }
    .hm-page .tpnavbar { display: block !important; width: 100%; }
    .hm-page .nav-tabs { display: flex !important; width: 100%; justify-content: flex-start; }
    .hm-page .product-area { padding: 56px 0 !important; }
    .hm-page .product-area .container { padding: 0 20px; }
    .hm-review-card { background: #fff; border-color: var(--hm-border); }
}

@media (max-width: 480px) {
    .hm-collection-grid, .hm-why-grid { grid-template-columns: 1fr 1fr; }
    .hm-campaign__inner { padding: 40px 24px; }
}
