/* ─── VLOVE clone (menu.vlove.com.tr) ─── */
body.theme-vlove {
    --vlove-red: #d00807;
    --vlove-bg: #0a0a0a;
    --vlove-bg-dark: #0a0a0a;
    --vlove-nav-h: 79px;
    --copper: #d00807;
    --copper-light: #e82625;
    --font-body: 'Prompt', 'Montserrat', -apple-system, sans-serif;
}

html:has(body.theme-vlove),
body.theme-vlove {
    background: var(--vlove-bg);
    font-family: var(--font-body);
    font-size: 13px;
    color: #888;
}

body.theme-vlove::before {
    display: none;
}

body.theme-vlove .menu-app {
    max-width: 100% !important;
    min-height: 100vh;
    background: var(--vlove-bg);
    padding-bottom: var(--vlove-nav-h);
}

body.theme-vlove.vlove-on-products .menu-app {
    background: var(--vlove-bg-dark);
    padding-bottom: var(--vlove-nav-h);
}

body.theme-vlove .menu-view {
    animation: none !important;
    display: none;
}

body.theme-vlove .menu-view.active {
    display: block;
    animation: none !important;
}

body.theme-vlove .vlove-hide {
    display: none !important;
}

/* ── Üst bar (ürün sayfası) ── */
body.theme-vlove .vlove-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 8px 0 4px;
    background: var(--vlove-bg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

body.theme-vlove.vlove-on-products .vlove-top-bar {
    background: var(--vlove-bg);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.theme-vlove .vlove-top-bar[hidden] {
    display: none !important;
}

body.theme-vlove .vlove-top-back {
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.theme-vlove.vlove-on-products .vlove-top-back {
    color: #ccc;
}

body.theme-vlove .vlove-top-title {
    flex: 1;
    margin: 0;
    text-align: center;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: #f0f0f0;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.theme-vlove.vlove-on-products .vlove-top-title {
    color: #f5f5f5;
}

body.theme-vlove .vlove-top-spacer {
    width: 44px;
    flex-shrink: 0;
}

/* ── Logo + marka adı ── */
body.theme-vlove .site-header {
    background: var(--vlove-bg);
    padding: 0 16px;
    display: block;
}

body.theme-vlove .title-header {
    padding: 24px 0 12px;
    text-align: center;
}

body.theme-vlove .site-logo {
    width: 100%;
    text-align: center;
}

body.theme-vlove .site-logo-img {
    display: block;
    width: min(38vw, 200px);
    max-width: 200px;
    min-width: 100px;
    height: auto;
    margin: 0 auto 10px;
    object-fit: contain;
}

body.theme-vlove .site-brand-name {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 600;
    color: #f5f5f5;
    letter-spacing: 0.02em;
    line-height: 1.25;
}

body.theme-vlove .site-brand-tagline {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 400;
    color: #777;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.theme-vlove.menu-revealed .site-header {
    opacity: 1;
    visibility: visible;
}

body.theme-vlove.intro-active .site-header {
    opacity: 0;
    visibility: hidden;
}

/* ── İçerik ── */
body.theme-vlove .menu-content {
    padding: 0 16px 24px;
    background: transparent;
}

body.theme-vlove .view-intro--hidden,
body.theme-vlove .featured-strip {
    display: none !important;
}

/* ── Kategori kartları ── */
body.theme-vlove .category-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-top: 0;
}

body.theme-vlove:not(.intro-active) .menu-app {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

body.theme-vlove.vlove-on-products,
html:has(body.theme-vlove.vlove-on-products) {
    background: var(--vlove-bg-dark);
}

body.theme-vlove .category-card {
    display: block;
    position: relative;
    margin-bottom: 20px;
    padding: 0;
    text-decoration: none;
    color: inherit;
    flex-direction: unset;
    width: 100%;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

body.theme-vlove .category-card:last-child {
    margin-bottom: 0;
}

body.theme-vlove .category-card-inner {
    position: relative;
    display: block;
    aspect-ratio: 550 / 640;
    border-radius: 6px;
    overflow: hidden;
    line-height: 0;
}

body.theme-vlove .category-card-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 6px;
    object-fit: cover;
    vertical-align: top;
}

body.theme-vlove .product-grid {
    gap: 0;
}

body.theme-vlove .product-card {
    opacity: 1 !important;
    transform: none !important;
    border-radius: 0;
    overflow: visible;
}

body.theme-vlove .product-open-btn {
    display: block;
    flex-direction: unset;
    align-items: unset;
    justify-content: unset;
}

body.theme-vlove .vlove-product-text.product-body {
    padding: 10px 0 0;
    background: transparent;
}

body.theme-vlove.vlove-on-products .menu-content {
    background: var(--vlove-bg-dark);
    color: #bbb;
}

body.theme-vlove.vlove-on-products .view-products.active {
    padding-top: 0;
}

body.theme-vlove .product-name,
body.theme-vlove .product-price,
body.theme-vlove .product-desc {
    color: inherit;
}

body.theme-vlove .product-cat-tag {
    display: inline-block;
    font-size: 12px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-top: 4px;
}

body.theme-vlove .category-card:hover,
body.theme-vlove .category-card:active {
    transform: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

body.theme-vlove .category-card-fallback {
    width: 100%;
    aspect-ratio: 550 / 640;
    background: linear-gradient(160deg, #e8e8e8, #d0d0d0);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 2.5rem;
}

body.theme-vlove .category-card-mask {
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.6) 10%,
        rgba(0, 0, 0, 0.3) 17%,
        rgba(0, 0, 0, 0) 19%
    );
    pointer-events: none;
}

body.theme-vlove .category-card-title {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    pointer-events: none;
}

body.theme-vlove .category-card-title h4 {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ── Ürün listesi ── */
body.theme-vlove .vlove-menu-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body.theme-vlove .vlove-product {
    margin-bottom: 0;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    border: none;
    background: transparent;
    box-shadow: none !important;
}

body.theme-vlove .vlove-product-link {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0 0 28px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    position: relative;
}

body.theme-vlove .vlove-product-img {
    display: block;
    width: 100%;
    border-radius: 6px;
    object-fit: cover;
}

body.theme-vlove .vlove-product-img--empty {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2a2a2a;
    color: #555;
    font-size: 2rem;
    border-radius: 6px;
}

body.theme-vlove .vlove-product-text {
    padding-top: 10px;
    position: relative;
}

body.theme-vlove .vlove-product-price {
    float: right;
    margin: 0 25px 5px 12px;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    line-height: 1.2;
}

body.theme-vlove .vlove-product-name {
    margin: 0 0 5px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    color: #f5f5f5;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    clear: none;
}

body.theme-vlove .vlove-product-name span {
    display: inline-block;
    margin-bottom: 7px;
    font-weight: 400;
    text-transform: none;
}

body.theme-vlove .vlove-product-name .product-desc {
    margin: 4px 0 0;
    font-size: 13px;
    font-weight: 300;
    color: #bbb;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.5;
}

body.theme-vlove .vlove-product-cat {
    display: inline-block;
    font-size: 12px;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

body.theme-vlove .product-badge-featured {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    background: var(--vlove-red);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 11px;
}

body.theme-vlove .product-unit {
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
}

/* ── Alt navbar — koyu ── */
body.theme-vlove .vlove-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--vlove-nav-h);
    z-index: 100;
    background: linear-gradient(
        to bottom,
        #141414 0%,
        #111111 80%,
        #0f0f0f 90%,
        #0a0a0a 100%
    );
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.theme-vlove .vlove-bottom-nav-icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 44px;
}

body.theme-vlove .vlove-bottom-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #ddd;
    font-size: 20px;
    cursor: pointer;
    padding: 2px 0;
}

body.theme-vlove .vlove-bottom-link:active {
    opacity: 0.6;
}

body.theme-vlove .vlove-bottom-credit {
    margin: 0;
    padding: 4px 12px 8px;
    text-align: center;
    font-size: 14px;
    color: #666;
    background: #050505;
    line-height: 1.3;
}

/* ── Footer — koyu ── */
body.theme-vlove .menu-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 16px;
}

body.theme-vlove:not(.vlove-show-footer) .menu-footer {
    display: none;
}

body.theme-vlove.vlove-show-footer .menu-footer {
    display: block;
}

body.theme-vlove .footer-panel {
    background: transparent;
    border: none;
    box-shadow: none;
}

body.theme-vlove .footer-title,
body.theme-vlove .footer-section-label,
body.theme-vlove .footer-action-label {
    color: #e0e0e0;
}

body.theme-vlove .footer-action-card,
body.theme-vlove .footer-info-card {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.1);
    color: #bbb;
}

body.theme-vlove .footer-action-icon {
    background: #1e1e1e;
    color: #ddd;
}

/* ── Modals ── */
body.theme-vlove .product-modal-panel {
    background: #fff;
    color: #333;
}

body.theme-vlove .product-modal-name {
    color: #222;
}

body.theme-vlove .product-modal-whatsapp {
    background: var(--vlove-red);
}

body.theme-vlove .wifi-modal-panel {
    background: #fff;
}

body.theme-vlove.intro-active .vlove-bottom-nav {
    display: none;
}

body.theme-vlove.intro-active .menu-app {
    padding-bottom: 0;
    opacity: 0 !important;
    pointer-events: none;
}

body.theme-vlove.menu-revealed .menu-app {
    opacity: 1 !important;
    pointer-events: auto;
    transform: none !important;
}
