/* ============================================================
   Valhalla Peptides — Homepage CSS (CC#2)
   Tokens: bg #0A0A0A | gold #D4AF37 / #C9A055 | text #F5F5F5 / #999
   Fonts:  Cormorant Garamond (headings) / Inter (body)
   Targets: .vp-featured (Bestsellery), .vp-usp (Záväzok ku kvalite)
   ============================================================ */

/* ---------- Bestsellery ---------- */

/* Duplicate white H2 — overtitle is being promoted to primary heading */
.vp-featured .vp-section-title {
    display: none !important;
}

.vp-featured .vp-section-overtitle {
    font-family: 'Fraunces', serif !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #D4AF37 !important;
    text-align: center;
    margin: 0 auto 2.5rem !important;
}

/* Full-bleed product thumbnails inside square card top */
.vp-featured .vp-product-card .vp-product-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #0A0A0A;
    border-radius: 4px 4px 0 0;
}

.vp-featured .vp-product-card .vp-product-img-wrap img,
.vp-featured .vp-product-card .vp-product-img-wrap a img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
}

/* Keep RUO badge floating over the now-full-bleed image */
.vp-featured .vp-product-card .vp-product-img-wrap .vp-product-ruo {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

/* Card itself: keep image flush, info section gets the gold rim */
.vp-featured .vp-product-card {
    border-radius: 4px;
    overflow: hidden;
}


/* ---------- Záväzok ku kvalite (USP) ---------- */

.vp-usp .vp-section-title {
    display: none !important;
}

.vp-usp .vp-section-overtitle {
    font-family: 'Fraunces', serif !important;
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    line-height: 1.1 !important;
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    color: #D4AF37 !important;
    text-align: center;
    margin: 0 auto 2.5rem !important;
}

.vp-usp .vp-usp-card {
    padding: 2.5rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.015);
    transition: border-color 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
}

.vp-usp .vp-usp-card:hover {
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-4px);
    background: rgba(212, 175, 55, 0.03);
}

.vp-usp .vp-usp-card svg {
    width: 48px;
    height: 48px;
    stroke: #D4AF37;
    fill: none;
    margin-bottom: 1.25rem;
}

.vp-usp .vp-usp-card h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #D4AF37;
    margin: 0 0 0.75rem;
    line-height: 1.25;
}

.vp-usp .vp-usp-card p {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #B0B0B0;
    margin: 0;
}


/* ---------- Phase 4A — Product card grid polish (desktop) ---------- */

/* RUO badge — corner pill, not full-width overlay.
   Targets the homepage Bestsellery markup AND WooCommerce shop defaults. */
.vp-featured .vp-product-card .vp-product-img-wrap .vp-product-ruo,
.woocommerce ul.products li.product .vp-product-ruo,
.woocommerce ul.products li.product .vp-research-use-only,
.product .vp-research-use-only {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    right: auto !important;
    bottom: auto !important;
    font-size: 10px !important;
    padding: 4px 8px !important;
    background: rgba(0, 0, 0, 0.65) !important;
    color: #C9A055 !important;
    border: 1px solid rgba(201, 160, 85, 0.3) !important;
    border-radius: 2px !important;
    z-index: 2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Reduce card internal padding ~30% on WooCommerce shop cards.
   Homepage card padding lives on .vp-product-info / .vp-product-img-wrap. */
.woocommerce ul.products li.product {
    padding: 20px 16px !important;
}

.vp-featured .vp-product-card .vp-product-info {
    padding: 14px 16px !important;
}

/* Larger gold prices. Homepage is already 20px; WC defaults were ~14px. */
.vp-featured .vp-product-card .vp-product-price,
.woocommerce ul.products li.product .price,
.vp-product-price {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #C9A055 !important;
    margin-bottom: 12px !important;
}

/* ============================================================
   úprava-3 (2026-05-27) — Categories visibility pass.
   Override style.css duplicate `.vp-cat-name` rules that cap the
   font at 13 px. homepage.css loads AFTER style.css in the cascade
   AND has filemtime cache busting (style.css is hardcoded ver=1.0.2).
   ============================================================ */
.vp-categories .vp-cat-item {
    padding: 36px 28px !important;
    gap: 28px !important;
}

.vp-categories .vp-cat-icon {
    width: 76px !important;
    height: 76px !important;
}

.vp-categories .vp-cat-icon svg {
    stroke-width: 1.4 !important;
    filter: drop-shadow(0 0 6px rgba(201,160,85,0.18));
}

.vp-categories .vp-cat-overtitle {
    font-size: 12px !important;
    letter-spacing: 0.22em !important;
    color: #999 !important;
    margin-bottom: 8px !important;
}

.vp-categories .vp-cat-name {
    font-size: 22px !important;
    letter-spacing: 0.08em !important;
    line-height: 1.25 !important;
}

@media (max-width: 768px) {
    .vp-categories .vp-cat-item {
        padding: 24px 18px !important;
        gap: 18px !important;
    }
    .vp-categories .vp-cat-icon {
        width: 56px !important;
        height: 56px !important;
    }
    .vp-categories .vp-cat-name {
        font-size: 18px !important;
    }
    .vp-categories .vp-cat-overtitle {
        font-size: 11px !important;
    }
}
