/* ============================================================
   MYVIBE — COMMERCE LAYER (Phase 1)
   Chuẩn Shopee / Tiki (VN) — giữ nhận diện MyVibe
   (primary #0d3e9a · accent #ed09a4 · vibe-gradient · Gilroy/Inter · dark mode)
   ============================================================ */

/* ---------- 1. SHOP LAYOUT & FLOATING LEFT SIDEBAR PANEL ---------- */
.shop-layout-container {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.shop-main-content {
    flex: 1 1 0%;
    min-width: 0;
    width: 100%;
}

.shop-toolbar {
    width: 290px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
    margin: 0;
    background: #ffffff;
    border: 1px solid rgba(13, 62, 154, .08);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .02);
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-height, 72px) + var(--top-search-height, 40px) + 20px);
    z-index: 99;
}

html[data-theme="dark"] .shop-toolbar {
    background: #111827;
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .4);
}

.shop-panel-header {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
html[data-theme="dark"] .shop-panel-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}
.shop-panel-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
    font-family: 'SVN-Gilroy Bold', 'Inter', sans-serif;
}

.shop-toolbar .toolbar-search {
    position: relative;
    width: 100%;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    height: 44px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid var(--mv-control-border, rgba(13,62,154,.55));
    border-radius: 0;
    padding: 0 10px 0 6px;
    transition: background .2s, border-color .2s, box-shadow .2s;
    overflow: hidden;
}
.shop-toolbar .toolbar-search:hover { border-color: rgba(13,62,154,.75); background: transparent; }
.shop-toolbar .toolbar-search:focus-within { border-color: var(--primary); background: transparent; box-shadow: none; }
.shop-toolbar .toolbar-search svg {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin: 0 6px 0 8px;
    color: var(--primary, #0d3e9a);
    pointer-events: none;
}
.shop-toolbar .toolbar-search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    padding: 0 8px 0 0;
    font-size: .92rem;
    color: var(--text-body);
    outline: none;
    box-shadow: none;
}
.shop-toolbar .toolbar-search input:focus { outline: none; box-shadow: none; }
html[data-theme="dark"] .shop-toolbar .toolbar-search { background: transparent; border-color: rgba(139,181,255,.6); }
html[data-theme="dark"] .shop-toolbar .toolbar-search:hover { border-color: rgba(139,180,255,.8); background: transparent; }
html[data-theme="dark"] .shop-toolbar .toolbar-search:focus-within { border-color: rgba(139,180,255,1); background: transparent; box-shadow: none; }
html[data-theme="dark"] .shop-toolbar .toolbar-search svg { color: #8ab4ff; }
html[data-theme="dark"] .shop-toolbar .toolbar-search input { color: #e5e7eb; }

.shop-panel-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shop-panel-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light, #64748b);
    margin-bottom: 2px;
}

.shop-toolbar .shop-cats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}
.shop-toolbar .shop-cat {
    width: 100%;
    justify-content: flex-start;
    height: 40px;
    padding: 0 16px;
    border: 1px solid var(--border);
    background: #fff;
    color: var(--text-body);
    border-radius: 12px;
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
    transition: all .2s ease;
    display: flex;
    align-items: center;
}
.shop-toolbar .shop-cat:hover { border-color: var(--primary); color: var(--primary); }
.shop-toolbar .shop-cat.is-active {
    background: var(--vibe-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 18px rgba(108, 46, 231, .25);
}
html[data-theme="dark"] .shop-toolbar .shop-cat {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .12);
    color: #e5e7eb;
}

.shop-toolbar .shop-sort {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.shop-toolbar .shop-sort select {
    width: 100%;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0 14px;
    background: var(--bg-subtle);
    font-size: .9rem;
    color: var(--text-body);
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s;
}
.shop-toolbar .shop-sort select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: var(--mv-focus-ring, 0 0 0 3px rgba(13, 62, 154, .16));
}
html[data-theme="dark"] .shop-toolbar .shop-sort select {
    background: rgba(255, 255, 255, .04);
    border-color: rgba(255, 255, 255, .12);
    color: #e5e7eb;
}

.shop-toolbar .shop-view-toggle {
    width: 100%;
    height: 42px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    margin-left: 0;
}
.shop-toolbar .shop-view-toggle .view-btn {
    background: #fff;
    border: none;
    padding: 0 12px;
    cursor: pointer;
    color: var(--text-light);
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 100%;
    font-size: 0.85rem;
    font-weight: 600;
}
.shop-toolbar .shop-view-toggle .view-btn.is-active { background: var(--vibe-gradient); color: #fff; }
.shop-toolbar .shop-view-toggle .view-btn:hover:not(.is-active) { background: #f1f5f9; color: var(--primary); }
html[data-theme="dark"] .shop-toolbar .shop-view-toggle .view-btn { background: #111827; }
html[data-theme="dark"] .shop-toolbar .shop-view-toggle .view-btn:hover:not(.is-active) { background: rgba(255, 255, 255, .05); }

@media (max-width: 991px) {
    .shop-layout-container {
        flex-direction: column;
        gap: 20px;
    }
    .shop-toolbar {
        width: 100%;
        position: static;
        padding: 18px;
        border-radius: 20px;
        gap: 16px;
    }
    .shop-toolbar .shop-cats {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .shop-toolbar .shop-cat {
        width: auto;
    }
}
.shop-empty-state {
    display: none;
    padding: 48px 20px;
    text-align: center;
    color: var(--text-light);
    background: rgba(13, 62, 154, .03);
    border: 1px dashed rgba(13, 62, 154, .15);
    border-radius: 16px;
}
html[data-theme="dark"] .shop-empty-state {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .6);
}

/* ---------- 2. PRODUCT CARD — richer commerce look ---------- */
.products-grid { gap: 24px; }

/* stacked badges (top-right) */
.product-badges {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    pointer-events: none;
}
.product-badges .product-badge { position: static; }

.product-badge.is-sale    { background: var(--danger, #ef4444); }
.product-badge.is-popular { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.product-badge.is-new     { background: linear-gradient(135deg, #10b981, #0ea5e9); }
.product-badge.is-addon   { background: rgba(16, 185, 129, .92); }

/* branded gradient placeholder (replaces flat SVG) */
.product-image-placeholder.is-gradient {
    background: var(--vibe-gradient);
    color: #fff;
    gap: 8px;
}
.product-image-placeholder.is-gradient svg { stroke: #fff; opacity: .9; }
.product-image-placeholder.is-gradient span {
    color: #fff;
    font-weight: 800;
    letter-spacing: .03em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .25);
    text-align: center;
    padding: 0 10px;
}

/* price now / old / discount pill */
.product-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px; }
.product-price-old {
    font-size: .82rem;
    color: var(--text-light);
    text-decoration: line-through;
    font-weight: 600;
    margin-left: 8px;
}
.product-discount {
    display: inline-flex;
    align-items: center;
    background: var(--danger, #ef4444);
    color: #fff;
    font-weight: 800;
    font-size: .7rem;
    padding: 3px 8px;
    border-radius: 6px;
    margin-top: 6px;
    letter-spacing: .02em;
}

/* hover quick-view button on the image */
.product-quickview {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translate(-50%, 14px);
    opacity: 0;
    transition: all .25s ease;
    background: rgba(13, 62, 154, .95);
    color: #fff;
    border: none;
    padding: 9px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .82rem;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(13, 62, 154, .35);
    z-index: 12;
}
.product-card:hover .product-quickview { opacity: 1; transform: translate(-50%, 0); }
.product-card:hover .product-quickview:hover { background: var(--accent, #ed09a4); }

/* social-proof line */
.product-proof {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    color: var(--text-light);
    margin-top: 10px;
}
.product-proof svg { color: var(--accent, #ed09a4); }
html[data-theme="dark"] .product-proof { color: rgba(255, 255, 255, .55); }

/* ---------- 3. PRODUCT DETAIL MODAL — richer ---------- */
.product-modal .modal-content { max-width: min(100%, 720px); }

/* duration selector (variant picker, Shopee-style) */
.pkg-duration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 10px;
    margin: 18px 0 6px;
}
.pkg-dur-btn {
    border: 1.5px solid rgba(13, 62, 154, .15);
    border-radius: 12px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    background: #fff;
    transition: all .2s ease;
}
.pkg-dur-btn .dur-label { font-weight: 800; color: var(--text-main); font-size: .92rem; }
.pkg-dur-btn .dur-price { font-size: .8rem; color: var(--text-light); margin-top: 4px; }
.pkg-dur-btn .dur-save  { font-size: .7rem; color: var(--success, #10b981); font-weight: 700; margin-top: 2px; }
.pkg-dur-btn.is-active {
    border-color: var(--primary);
    background: rgba(13, 62, 154, .05);
    box-shadow: 0 6px 16px rgba(13, 62, 154, .14);
}
.pkg-dur-btn.is-active .dur-label { color: var(--primary); }
html[data-theme="dark"] .pkg-dur-btn { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .12); }
html[data-theme="dark"] .pkg-dur-btn .dur-label { color: #e5e7eb; }

/* voucher claim box (reusable) */
.voucher-claim {
    margin-top: 18px;
    padding: 14px 16px;
    border: 1px dashed rgba(237, 9, 164, .45);
    border-radius: 12px;
    background: rgba(237, 9, 164, .04);
}
html[data-theme="dark"] .voucher-claim { background: rgba(237, 9, 164, .09); }
.voucher-claim .vc-title {
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}
html[data-theme="dark"] .voucher-claim .vc-title { color: #f3f4f6; }
.voucher-claim .vc-input-row { display: flex; gap: 8px; }
.voucher-claim input {
    flex: 1;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 12px;
    text-transform: uppercase;
    font-weight: 700;
    background: #fff;
    color: var(--text-body);
}
html[data-theme="dark"] .voucher-claim input { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); color: #e5e7eb; }
.voucher-claim .vc-msg { margin-top: 8px; font-size: .85rem; font-weight: 600; }
.voucher-claim .vc-msg.ok  { color: var(--success, #10b981); }
.voucher-claim .vc-msg.err { color: var(--danger, #ef4444); }
.voucher-claim .vc-applied {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 8px; padding: 6px 10px; border-radius: 8px;
    background: rgba(16, 185, 129, .12); color: var(--success, #10b981);
    font-weight: 700; font-size: .82rem;
}

/* modal sticky footer with live price */
.product-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 18px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(13, 62, 154, .08);
}
html[data-theme="dark"] .product-modal-footer { border-top-color: rgba(255, 255, 255, .08); }
.product-modal-footer .mf-price { display: flex; flex-direction: column; }
.product-modal-footer .mf-price .mf-label { font-size: .72rem; color: var(--text-light); text-transform: uppercase; letter-spacing: .4px; }
.product-modal-footer .mf-price .mf-value { font-size: 1.35rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
html[data-theme="dark"] .product-modal-footer .mf-value { color: #93c5fd; }
.product-modal-footer .mf-actions { display: flex; gap: 8px; }

/* ---------- 4. SINGLE PRODUCT PAGE — commerce detail ---------- */
.product-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}
@media (max-width: 900px) { .product-detail-layout { grid-template-columns: 1fr; gap: 28px; } }

.product-gallery .gallery-main {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    background: rgba(0, 0, 0, .02);
    display: flex; align-items: center; justify-content: center;
}
html[data-theme="dark"] .product-gallery .gallery-main { background: rgba(255, 255, 255, .03); border-color: rgba(255, 255, 255, .08); }
.product-gallery .gallery-main img { width: 100%; height: 100%; object-fit: cover; }

/* Nút mũi tên chuyển ảnh trái/phải trên ảnh lớn (hiện khi có từ 2 ảnh) */
.gallery-main .gal-nav {
    position: absolute; top: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border: 0; border-radius: 999px;
    background: rgba(255, 255, 255, .92); color: #0f172a; cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .18);
    opacity: 0; transform: translateY(-50%);
    transition: opacity .18s ease, background .15s ease, transform .12s ease;
    z-index: 3;
}
.gallery-main:hover .gal-nav, .gallery-main .gal-nav:focus-visible { opacity: 1; }
.gallery-main .gal-nav:hover { background: #fff; color: var(--primary, #0d3e9a); }
.gallery-main .gal-nav:active { transform: translateY(-50%) scale(.92); }
.gallery-main .gal-prev { left: 12px; }
.gallery-main .gal-next { right: 12px; }
html[data-theme="dark"] .gallery-main .gal-nav { background: rgba(17, 24, 39, .85); color: #e5edf8; }
html[data-theme="dark"] .gallery-main .gal-nav:hover { background: #1f2937; color: #8bb5ff; }
@media (max-width: 900px) { .gallery-main .gal-nav { opacity: 1; width: 36px; height: 36px; } }

.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery-thumbs .gt {
    width: 74px; height: 74px; border-radius: 12px; overflow: hidden;
    border: 2px solid transparent; cursor: pointer; background: rgba(0,0,0,.03);
    display: flex; align-items: center; justify-content: center;
}
.gallery-thumbs .gt img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs .gt.is-active { border-color: var(--primary); }
html[data-theme="dark"] .gallery-thumbs .gt { background: rgba(255, 255, 255, .05); }

/* buy box */
.buy-box {
    position: sticky;
    top: 96px;
    border: 1px solid rgba(13, 62, 154, .1);
    border-radius: 18px;
    padding: 22px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
html[data-theme="dark"] .buy-box { background: #111827; border-color: rgba(255, 255, 255, .08); }
.buy-box .bb-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.buy-box .bb-price-now { font-size: 1.9rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
html[data-theme="dark"] .buy-box .bb-price-now { color: #93c5fd; }
.buy-box .bb-price-old { font-size: 1rem; color: var(--text-light); text-decoration: line-through; }
.buy-box .bb-discount {
    display: inline-flex; align-items: center; background: var(--danger, #ef4444);
    color: #fff; font-weight: 800; font-size: .78rem; padding: 4px 9px; border-radius: 6px;
}
.buy-box .bb-variant-label { font-size: .85rem; color: var(--text-light); font-weight: 700; margin: 16px 0 8px; }
.buy-box .bb-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.buy-box .bb-actions .btn { width: 100%; justify-content: center; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.trust-badge {
    display: flex; align-items: center; gap: 8px;
    font-size: .82rem; color: var(--text-body);
    background: rgba(13, 62, 154, .04);
    border: 1px solid rgba(13, 62, 154, .08);
    padding: 8px 12px; border-radius: 10px;
}
.trust-badge svg { color: var(--primary); flex-shrink: 0; }
html[data-theme="dark"] .trust-badge { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .08); color: #cbd5e1; }
html[data-theme="dark"] .trust-badge svg { color: #93c5fd; }

/* sticky buy bar on scroll */
.sticky-buybar {
    position: fixed; left: 0; right: 0; bottom: 0;
    background: #fff;
    border-top: 1px solid rgba(13, 62, 154, .12);
    box-shadow: 0 -8px 24px rgba(15, 23, 42, .1);
    padding: 12px 16px;
    display: none; align-items: center; justify-content: space-between;
    gap: 14px; z-index: 60;
    transform: translateY(100%); transition: transform .25s ease;
}
.sticky-buybar.is-visible { display: flex; transform: translateY(0); }
.sticky-buybar .sb-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sticky-buybar .sb-info img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.sticky-buybar .sb-title { font-weight: 700; color: var(--text-main); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buybar .sb-price { color: var(--primary); font-weight: 800; }
html[data-theme="dark"] .sticky-buybar { background: #0b1220; border-color: rgba(255, 255, 255, .1); }
html[data-theme="dark"] .sticky-buybar .sb-title { color: #f3f4f6; }
html[data-theme="dark"] .sticky-buybar .sb-price { color: #93c5fd; }

/* related products */
.related-products { margin-top: 64px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.related-card {
    border: 1px solid rgba(13, 62, 154, .08);
    border-radius: 16px; overflow: hidden; background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(15, 23, 42, .1); }
.related-card img, .related-card .rc-ph { width: 100%; height: 150px; object-fit: cover; }
.related-card .rc-ph { background: var(--vibe-gradient); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; }
.related-card .rc-body { padding: 14px; }
.related-card .rc-title { font-weight: 700; color: var(--text-main); font-size: .95rem; margin: 0 0 6px; }
.related-card .rc-price { color: var(--primary); font-weight: 800; }
html[data-theme="dark"] .related-card { background: #111827; border-color: rgba(255, 255, 255, .08); }
html[data-theme="dark"] .related-card .rc-title { color: #f3f4f6; }

/* FAQ mini */
.product-faq { margin-top: 40px; }
.product-faq details {
    border: 1px solid rgba(13, 62, 154, .1);
    border-radius: 12px; padding: 14px 16px; margin-bottom: 10px;
    background: #fff;
}
html[data-theme="dark"] .product-faq details { background: #111827; border-color: rgba(255, 255, 255, .08); }
.product-faq summary { font-weight: 700; color: var(--text-main); cursor: pointer; }
html[data-theme="dark"] .product-faq summary { color: #f3f4f6; }
.product-faq p { margin: 10px 0 0; color: var(--text-light); line-height: 1.7; }
html[data-theme="dark"] .product-faq p { color: rgba(255, 255, 255, .6); }

/* utility */
.mv-spinner {
    width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff;
    display: inline-block; animation: mv-spin .7s linear infinite; vertical-align: middle;
}
@keyframes mv-spin { to { transform: rotate(360deg); } }

/* ---------- 5. SINGLE PRODUCT PAGE base ---------- */
.product-single-page { padding: 100px 0 80px; }
.product-single-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.product-single-card {
    background: #fff;
    border: 1px solid rgba(13, 62, 154, .08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, .05);
}
html[data-theme="dark"] .product-single-card {
    background: #111827;
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .2);
}
.product-single-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 800;
    color: var(--text-main);
    margin: 0 0 12px;
    line-height: 1.3;
}
html[data-theme="dark"] .product-single-title { color: #f3f4f6; }
.product-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
    align-items: center;
}
.product-single-body {
    border-top: 1px solid rgba(13, 62, 154, .08);
    padding-top: 28px;
    margin-top: 32px;
}
html[data-theme="dark"] .product-single-body { border-top-color: rgba(255, 255, 255, .08); }
.product-single-body h4 { font-size: 16px; font-weight: 700; color: var(--text-main); margin: 0 0 14px; }
html[data-theme="dark"] .product-single-body h4 { color: #f3f4f6; }
.product-single-desc { font-size: 15px; color: rgba(0, 0, 0, .7); line-height: 1.8; }
.product-single-desc p { margin-bottom: 16px; }
html[data-theme="dark"] .product-single-desc { color: rgba(255, 255, 255, .7); }

/* === PRODUCT CATEGORY TAXONOMY (extracted from taxonomy-myvibe_product_cat.php) === */
.cat-card{display:block;padding:20px;background:#fff;border:1px solid var(--border);border-radius:16px;text-align:center;transition:all .2s;text-decoration:none;color:var(--text-main);}
.cat-card:hover{border-color:var(--primary);transform:translateY(-2px);box-shadow:0 8px 24px rgba(13,62,154,.08);}
html[data-theme="dark"] .cat-card{background:#111827;border-color:rgba(255,255,255,.08);}
.cat-card-icon{width:56px;height:56px;margin:0 auto 12px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6c2ee7,#ed09a4);border-radius:14px;color:#fff;}
.cat-card-name{font-weight:700;font-size:15px;margin-bottom:4px;}
.cat-card-count{font-size:12px;color:var(--text-light);}
.empty-state-box{background:#f8fafc;border-radius:16px;border:1px dashed var(--border);}
html[data-theme="dark"] .empty-state-box{background:rgba(255,255,255,.03);border-color:rgba(255,255,255,.1);}
