/**
 * Lausnir – Display Styles
 *
 * Minimal styles that work alongside WooCommerce's default product grid.
 */

/* ── Hero Image ── */
.lausnir-hero {
    width: 100%;
    overflow: hidden;
    max-height: 500px;
    line-height: 0;
    margin: 0;
    padding: 0;
    position: relative;
}

.lausnir-hero__image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Dark overlay */
.lausnir-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

/* Centered title + breadcrumbs */
.lausnir-hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    line-height: 1.4;
    width: 90%;
    max-width: 800px;
}

.lausnir-hero__title {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0 0 0.6rem 0;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.lausnir-hero__breadcrumbs {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.9;
}

.lausnir-hero__breadcrumbs a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s;
}

.lausnir-hero__breadcrumbs a:hover {
    opacity: 0.7;
}

.lausnir-hero__separator {
    margin: 0 0.4em;
    opacity: 0.6;
}

.lausnir-hero__current {
    opacity: 0.75;
}

/*
 * Hide theme's default post meta and title on Lausn single pages.
 * The title and breadcrumbs are rendered inside the hero instead.
 *
 * The duplicate H1 is primarily removed via PHP (Blocksy filter) and
 * JS (DOM removal). This CSS is the visual fallback for other themes.
 */
.single-lausn .entry-title,
.single-lausn .page-title,
.single-lausn .post-title,
.single-lausn .entry-meta,
.single-lausn .post-meta,
.single-lausn .posted-on,
.single-lausn .byline,
.single-lausn .cat-links,
.single-lausn .author-avatar,
.single-lausn .post__meta,
.single-lausn .entry-header .post-author,
.single-lausn .entry-header .post-date {
    display: none !important;
}

/* ── Product Grid ── */
.lausnir-products {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
}

.lausnir-products__heading {
    margin-bottom: 1.5rem;
    font-size: 1.5em;
}

/*
 * Product link on single product page.
 * Uses .lausnir_wrapper (same pattern as WooCommerce's .sku_wrapper,
 * .posted_in, .tagged_as) so theme styles apply automatically.
 */
