
/* Hide theme-generated title/meta on single wine pages.
   The plugin renders its own title and content. */
.oenio-single-wine .entry-title,
.oenio-single-wine .entry-meta,
.oenio-single-wine .post-meta,
.oenio-single-wine .et_post_meta_wrapper,
.oenio-single-wine .et_pb_title_meta_container,
.oenio-single-wine .et_pb_post_title .entry-title,
.oenio-single-wine .et_pb_post_title .et_pb_title_meta_container{
    display:none!important
}

/* Make the wine content start near the top instead of leaving a theme title gap. */
.oenio-single-wine #main-content .container,
.oenio-single-wine .et-l--post .et_builder_inner_content{
    padding-top:0!important
}

.oenio-wine-card{
    display:block;
    max-width:1000px;
    margin:0 auto 40px;
    padding:0 30px 32px;
    border:1px solid rgba(0,0,0,.10);
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 28px rgba(0,0,0,.06);
    overflow:hidden
}

.oenio-wine-card__media{
    margin:0 -30px 30px;
}
.oenio-wine-card__media img{
    width:100%;
    height:auto;
    max-height:none;
    object-fit:contain;
    display:block;
    border-radius:0;
    background:#f7f7f7
}
.oenio-placeholder{
    min-height:360px;
    display:grid;
    place-items:center;
    background:#f6f6f6;
    font-size:76px
}
.oenio-kicker{
    font-size:.78rem;
    letter-spacing:.15em;
    font-weight:700;
    opacity:.7;
    margin-bottom:8px
}
.oenio-wine-card h1{
    font-size:clamp(2rem,4vw,3rem);
    line-height:1.05;
    margin:0 0 28px
}

/* Clearly labelled wine facts */
.oenio-facts-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:0 24px;
    margin:0 0 28px
}
.oenio-fact{
    padding:14px 0;
    border-bottom:1px solid rgba(0,0,0,.09)
}
.oenio-fact-label{
    display:block;
    margin-bottom:4px;
    font-size:.76rem;
    font-weight:800;
    letter-spacing:.06em;
    text-transform:uppercase;
    color:#4d0a84
}
.oenio-fact-value{
    display:block;
    font-size:1rem;
    line-height:1.35
}
.oenio-facts-grid--secondary{
    margin-bottom:18px
}

.oenio-rating{
    margin:22px 0;
    padding:18px 20px;
    border-left:4px solid #8E57D3;
    background:#faf8fd
}
.oenio-rating small,.oenio-rating strong{display:block}
.oenio-rating strong{font-size:1.4rem;margin-top:4px}

.oenio-profile{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px 24px;
    margin:26px 0
}
.oenio-meter{
    display:grid;
    grid-template-columns:110px 1fr;
    align-items:center;
    gap:12px
}
.oenio-dots{display:flex;gap:7px}
.oenio-dots i{
    width:14px;height:14px;border-radius:50%;
    display:block;border:1px solid #bbb;background:#fff
}
.oenio-dots i.on{background:#8E57D3;border-color:#8E57D3}
.oenio-tags{display:flex;gap:8px;flex-wrap:wrap}
.oenio-tags span{
    padding:7px 10px;
    border-radius:999px;
    background:#f5f5f5
}
.oenio-review{margin-top:28px;line-height:1.7}
.oenio-systembolaget{margin-top:30px;padding-top:22px;border-top:1px solid #e6e6e6}
.oenio-button{
    display:inline-block;
    margin-top:10px;
    padding:12px 18px;
    border-radius:7px;
    background:#111;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:700
}
.oenio-small{font-size:.85rem;opacity:.68;margin-top:7px}

/* Dedicated /vin archive */
.oenio-archive-page{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;
    padding:54px 0 70px
}
.oenio-archive-header{
    max-width:760px;
    margin:0 auto 38px;
    text-align:center
}
.oenio-archive-header h1{
    margin:0 0 10px;
    font-size:clamp(2rem,4vw,3.2rem)
}
.oenio-archive-header p{margin:0;font-size:1.05rem;opacity:.72}
.oenio-archive-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:26px
}
.oenio-archive-card{
    display:block;
    padding:20px;
    border:1px solid rgba(0,0,0,.1);
    border-radius:16px;
    background:#fff;
    box-shadow:0 6px 22px rgba(0,0,0,.05)
}
.oenio-archive-image{display:block;margin-bottom:18px}
.oenio-archive-image img{
    width:100%;
    aspect-ratio:16/10;
    object-fit:contain;
    display:block;
    border-radius:12px;
    background:#f7f7f7
}
.oenio-archive-placeholder{
    aspect-ratio:16/10;
    display:grid;
    place-items:center;
    background:#f6f6f6;
    border-radius:12px;
    font-size:64px
}
.oenio-archive-body h2{margin:0 0 12px;font-size:1.45rem;line-height:1.2}
.oenio-archive-body h2 a{text-decoration:none;color:inherit}
.oenio-archive-meta{display:flex;gap:8px;flex-wrap:wrap}
.oenio-archive-meta span{padding:7px 10px;border-radius:999px;background:#f5f5f5}
.oenio-archive-rating{font-weight:700;margin-top:14px}
.oenio-archive-price{font-size:1.2rem;font-weight:800;margin-top:8px}
.oenio-read-more{
    display:inline-block;
    margin-top:14px;
    padding:12px 18px;
    border-radius:7px;
    background:#111;
    color:#fff!important;
    text-decoration:none!important;
    font-weight:700
}
.oenio-pagination{margin-top:36px;text-align:center}
.oenio-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}
.oenio-pagination .page-numbers{
    padding:8px 12px;
    border:1px solid rgba(0,0,0,.12);
    border-radius:6px;
    text-decoration:none
}

@media(max-width:900px){
    .oenio-facts-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
    .oenio-wine-card{padding:0 20px 24px}
    .oenio-wine-card__media{margin:0 -20px 24px}
    .oenio-profile{grid-template-columns:1fr}
    .oenio-archive-page{width:min(100% - 28px,1180px);padding-top:34px}
    .oenio-archive-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
    .oenio-facts-grid{grid-template-columns:1fr}
}


/* v0.2.5 – Mobile width fix for Divi */
@media (max-width: 767px) {
    .oenio-single-wine #main-content .container,
    .oenio-single-wine #main-content .container.et_menu_container,
    .oenio-single-wine #left-area,
    .oenio-single-wine .et_pb_row,
    .oenio-single-wine .et-l--post .et_builder_inner_content,
    .oenio-single-wine article.oenio_wine,
    .oenio-single-wine .entry-content {
        width: 100% !important;
        max-width: 100% !important;
    }

    .oenio-single-wine #main-content .container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .oenio-single-wine #left-area {
        padding-right: 0 !important;
    }

    .oenio-single-wine .oenio-wine-card {
        box-sizing: border-box;
        width: calc(100% - 28px) !important;
        max-width: none !important;
        margin-left: 14px !important;
        margin-right: 14px !important;
    }
}


/* v0.2.6 – Systembolaget-link buttons */
.oenio-systembolaget-cta--before-review{
    margin:28px 0 30px;
}

.oenio-systembolaget-button,
.oenio-systembolaget-button:visited{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-sizing:border-box;
    min-height:48px;
    padding:13px 22px;
    border:2px solid #406a56;
    border-radius:7px;
    background:#406a56;
    color:#fce243 !important;
    font-weight:800;
    line-height:1.25;
    text-decoration:none !important;
    transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.oenio-systembolaget-button:hover,
.oenio-systembolaget-button:focus-visible{
    background:#29493b;
    border-color:#29493b;
    color:#fff !important;
    transform:translateY(-1px);
    box-shadow:0 5px 14px rgba(0,0,0,.16);
}

.oenio-systembolaget-button:focus-visible{
    outline:3px solid rgba(252,226,67,.55);
    outline-offset:3px;
}

@media (max-width:520px){
    .oenio-systembolaget-button{
        width:100%;
        text-align:center;
    }
}

/* v0.3.0 Vinagenten */
.oenio-vinagent{margin:0 0 40px;padding:32px;border:1px solid #ddd;border-radius:18px;background:#fff;box-shadow:0 8px 28px rgba(0,0,0,.06)}.oenio-vinagent__heading{text-align:center;margin-bottom:26px}.oenio-vinagent__heading h1{font-size:clamp(2.2rem,5vw,3.6rem);margin:0}.oenio-vinagent__heading p{margin:5px 0 0;opacity:.7}.oenio-vinagent__form{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.oenio-filter label{display:block;margin-bottom:6px;font-size:.78rem;font-weight:800;text-transform:uppercase;color:#4d0a84}.oenio-filter select,.oenio-filter input{box-sizing:border-box;width:100%;height:46px;padding:0 12px;border:1px solid #ccc;border-radius:7px;background:#fff;font:inherit}.oenio-price-input{position:relative}.oenio-price-input input{padding-right:36px}.oenio-price-input span{position:absolute;right:12px;top:12px;opacity:.6}.oenio-vinagent__actions{grid-column:1/-1;display:flex;justify-content:center;gap:12px}.oenio-vinagent__actions button{padding:12px 24px;border-radius:7px;font-weight:800;cursor:pointer}.oenio-vinagent__actions button:first-child{background:#111;color:#fff;border:2px solid #111}.oenio-vinagent__actions button:last-child{background:#fff;color:#222;border:1px solid #bbb}#oenio-vinagent-status{text-align:center;min-height:20px;margin-top:10px;font-weight:600}.oenio-results-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.oenio-results-heading h2,.oenio-results-heading p{margin:0}.oenio-archive-grid.is-loading{opacity:.35;pointer-events:none}.oenio-no-results{grid-column:1/-1;padding:40px;text-align:center}@media(max-width:980px){.oenio-vinagent__form{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.oenio-vinagent{padding:20px 16px}.oenio-vinagent__form{grid-template-columns:1fr}.oenio-vinagent__actions{flex-direction:column}.oenio-vinagent__actions button{width:100%}.oenio-results-heading{display:block}.oenio-results-heading p{margin-top:5px}}


/* v0.3.1 – navigation between wine review and Vinagenten */
.oenio-vinagent-anchor{
    scroll-margin-top:110px;
}

.oenio-wine-back--top{
    margin:0 -30px;
    padding:14px 30px;
    border-bottom:1px solid rgba(0,0,0,.08);
    background:#fafafa;
}

.oenio-wine-back--top a{
    color:#4d0a84 !important;
    font-size:.92rem;
    font-weight:750;
    text-decoration:none !important;
}

.oenio-wine-back--top a:hover{
    text-decoration:underline !important;
}

.oenio-wine-back--bottom{
    margin-top:34px;
    padding-top:24px;
    border-top:1px solid rgba(0,0,0,.10);
    text-align:center;
}

.oenio-wine-back--bottom a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:46px;
    padding:11px 20px;
    border:2px solid #4d0a84;
    border-radius:7px;
    background:#fff;
    color:#4d0a84 !important;
    font-weight:800;
    text-decoration:none !important;
    transition:background-color .2s ease,color .2s ease,transform .2s ease;
}

.oenio-wine-back--bottom a:hover,
.oenio-wine-back--bottom a:focus-visible{
    background:#4d0a84;
    color:#fff !important;
    transform:translateY(-1px);
}

@media(max-width:760px){
    .oenio-wine-back--top{
        margin:0 -20px;
        padding:13px 20px;
    }
}

@media(max-width:520px){
    .oenio-wine-back--bottom a{
        width:100%;
        box-sizing:border-box;
    }
}

/* v0.3.6 dynamic Vinagent facets */
.oenio-filter option:disabled,.oenio-filter option.oenio-zero-option{color:#999}
.oenio-archive-grid.is-loading{opacity:.42;pointer-events:none;transition:opacity .16s ease}
#oenio-vinagent-status{font-size:.9rem;color:#555}

/* v0.4.0 – Vinagenten recommendations */
.oenio-agent-tabs{display:flex;justify-content:center;gap:8px;margin:0 0 26px;padding:5px;background:#f3f1f5;border-radius:10px}
.oenio-agent-tab{flex:1;max-width:320px;padding:11px 16px;border:0;border-radius:7px;background:transparent;color:#444;font-weight:800;cursor:pointer}
.oenio-agent-tab.is-active{background:#4d0a84;color:#fff;box-shadow:0 2px 8px rgba(0,0,0,.12)}
.oenio-agent-panel{display:none}.oenio-agent-panel.is-active{display:block}
.oenio-recommend-form{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}
.oenio-recommend-form .oenio-vinagent__actions{grid-column:1/-1}
.oenio-recommend-status{text-align:center;margin:16px 0;font-weight:700}
.oenio-recommend-results{display:grid;gap:18px}.oenio-recommend-results.is-loading{opacity:.4;pointer-events:none}
.oenio-recommend-card{position:relative;display:grid;grid-template-columns:180px 1fr;gap:22px;padding:20px;border:1px solid #ddd;border-radius:14px;background:#fff;box-shadow:0 5px 20px rgba(0,0,0,.05)}
.oenio-recommend-image img{width:100%;height:180px;object-fit:contain;border-radius:10px;background:#fafafa}
.oenio-recommend-rank{position:absolute;top:14px;left:14px;z-index:2;padding:7px 10px;border-radius:8px;background:#4d0a84;color:#fff;text-align:center;box-shadow:0 3px 10px rgba(0,0,0,.15)}
.oenio-recommend-rank strong,.oenio-recommend-rank span{display:block}.oenio-recommend-rank strong{font-size:1.1rem}.oenio-recommend-rank span{font-size:.68rem;text-transform:uppercase}
.oenio-recommend-body h3{margin:0 0 5px;font-size:1.35rem}.oenio-recommend-meta{opacity:.7;margin-bottom:6px}.oenio-recommend-rating{font-weight:800;color:#4d0a84;margin-bottom:12px}
.oenio-recommend-body p{margin:10px 0 16px}.oenio-recommend-actions{display:flex;flex-wrap:wrap;gap:10px}.oenio-recommend-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:2px solid #4d0a84;border-radius:7px;color:#4d0a84!important;font-weight:800;text-decoration:none!important}
.oenio-recommend-actions>a:first-child:hover{background:#4d0a84;color:#fff!important}
@media(max-width:980px){.oenio-recommend-form{grid-template-columns:repeat(2,1fr)}}@media(max-width:650px){.oenio-agent-tabs{display:grid}.oenio-agent-tab{max-width:none}.oenio-recommend-form{grid-template-columns:1fr}.oenio-recommend-card{grid-template-columns:1fr}.oenio-recommend-image img{height:220px}.oenio-recommend-actions>a{width:100%;box-sizing:border-box}}

/* v0.4.1 – Systembolaget button text override */
.oenio-systembolaget-button,
.oenio-systembolaget-button:link,
.oenio-systembolaget-button:visited,
.oenio-recommend-actions > a.oenio-systembolaget-button,
.oenio-recommend-actions > a.oenio-systembolaget-button:link,
.oenio-recommend-actions > a.oenio-systembolaget-button:visited{
    color:#ffdc00 !important;
}

.oenio-systembolaget-button:hover,
.oenio-systembolaget-button:focus-visible,
.oenio-recommend-actions > a.oenio-systembolaget-button:hover,
.oenio-recommend-actions > a.oenio-systembolaget-button:focus-visible{
    color:#ffdc00 !important;
}

/* v0.4.2 – OENIO angled Systembolaget link button */
.oenio-systembolaget-button,
.oenio-recommend-actions > a.oenio-systembolaget-button{
    border-radius:0 !important;
    clip-path:polygon(
        9px 0,
        100% 0,
        100% calc(100% - 9px),
        calc(100% - 9px) 100%,
        0 100%,
        0 9px
    );
    -webkit-clip-path:polygon(
        9px 0,
        100% 0,
        100% calc(100% - 9px),
        calc(100% - 9px) 100%,
        0 100%,
        0 9px
    );
}

/* v0.4.3 shortcode + clearer choice */
.oenio-agent-tabs{align-items:center}.oenio-agent-or{flex:0 0 auto;padding:0 5px;color:#666;font-size:.88rem;font-style:italic;font-weight:700}
.oenio-vinagent--compact{padding:22px}.oenio-vinagent--compact .oenio-vinagent__heading{margin-bottom:18px}.oenio-vinagent--compact .oenio-vinagent__heading h1{font-size:clamp(1.8rem,4vw,2.7rem)}
@media(max-width:650px){.oenio-agent-or{text-align:center;padding:2px 0}}


/* v0.4.5 – shortcode search result container */
.oenio-shortcode-results{
    margin-top:28px;
}
.oenio-shortcode-results .oenio-results-heading{
    margin-bottom:18px;
}


/* v0.4.8 – hide inactive shortcode result section reliably */
.oenio-shortcode-results[hidden]{
    display:none !important;
}

/* v0.4.9 – clearer two-choice tabs */
.oenio-agent-tab{
    border:1px solid rgba(82, 10, 135, .38) !important;
    box-shadow:0 1px 2px rgba(0,0,0,.035);
    transition:border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.oenio-agent-tab:not(.is-active){
    background:#fff !important;
    color:#3d3d3d !important;
}
.oenio-agent-tab:not(.is-active):hover,
.oenio-agent-tab:not(.is-active):focus-visible{
    border-color:#520a87 !important;
    background:#faf7fc !important;
    box-shadow:0 3px 10px rgba(82,10,135,.10);
}
.oenio-agent-tab.is-active{
    border-color:#520a87 !important;
}

/* v0.5.2 – catalog / reviewed status */
.oenio-wine-status{
	display:inline-flex;
	align-items:center;
	width:max-content;
	max-width:100%;
	margin:0 0 10px;
	padding:5px 9px;
	border-radius:999px;
	font-size:.68rem;
	line-height:1;
	font-weight:800;
	letter-spacing:.055em;
}
.oenio-wine-status--catalog{
	border:1px solid rgba(82,10,135,.25);
	background:#faf7fc;
	color:#520a87;
}
.oenio-wine-status--tested{
	background:#520a87;
	color:#fff;
}


/* v0.5.7 – clearer empty recommendation state */
.oenio-recommend-no-results{
    grid-column:1 / -1;
    margin:22px auto 0;
    max-width:760px;
    padding:28px 32px !important;
    border:1px solid rgba(82,10,135,.22) !important;
    border-left:5px solid #520a87 !important;
    border-radius:14px !important;
    background:linear-gradient(135deg,#fbf8fd 0%,#f4ecf9 100%) !important;
    box-shadow:0 8px 24px rgba(82,10,135,.08);
    text-align:left !important;
}
.oenio-recommend-no-results .oenio-empty-icon{
    float:left;
    width:46px;
    height:46px;
    margin:0 16px 8px 0;
    display:grid;
    place-items:center;
    border-radius:50%;
    background:#520a87;
    font-size:22px;
}
.oenio-recommend-no-results h2{
    margin:0 0 8px !important;
    color:#520a87;
    font-size:clamp(1.35rem,2.2vw,1.8rem);
    line-height:1.2;
}
.oenio-recommend-no-results p{
    margin:0 !important;
    font-size:1rem;
    line-height:1.55;
    color:#444;
}
@media(max-width:600px){
    .oenio-recommend-no-results{
        padding:22px 20px !important;
    }
    .oenio-recommend-no-results .oenio-empty-icon{
        float:none;
        margin:0 0 12px;
    }
}

/* v0.6.6 katalogvin */
.oenio-read-more--catalog{background:#fff!important;color:#6f42a8!important;border:1px solid #8E57D3!important;box-shadow:none!important}
.oenio-read-more--catalog:hover{background:#f4eefb!important;color:#4f287f!important;border-color:#6f42a8!important}
.oenio-recommend-actions .oenio-recommend-info{background:#fff!important;color:#6f42a8!important;border:1px solid #8E57D3!important}
.oenio-recommend-actions .oenio-recommend-info:hover{background:#f4eefb!important;color:#4f287f!important}
.oenio-catalog-intro{margin:18px 0 26px;padding:18px 20px;background:#f7f4fb;border:1px solid #ded1ed;border-left:4px solid #8E57D3;border-radius:8px}
.oenio-catalog-intro strong{display:block;margin-bottom:5px;font-size:1.08em;color:#5d337f}
.oenio-catalog-intro p{margin:0;line-height:1.65}


/* v0.6.7 – recensionsknapp + OM VINET */
.oenio-read-more:not(.oenio-read-more--catalog){
	background:#520a87 !important;
	color:#fff !important;
	border:1px solid #520a87 !important;
}
.oenio-read-more:not(.oenio-read-more--catalog):hover{
	background:#6f2aa8 !important;
	color:#fff !important;
	border-color:#6f2aa8 !important;
}

.oenio-archive-about{
	margin:18px 0 12px;
}
.oenio-archive-about-title{
	margin-bottom:9px;
	font-size:.72rem;
	line-height:1;
	font-weight:800;
	letter-spacing:.12em;
	color:#520a87;
}
.oenio-archive-meta{
	display:flex;
	flex-wrap:wrap;
	gap:8px;
}
.oenio-archive-meta > span{
	display:flex;
	flex-direction:column;
	gap:2px;
	padding:8px 12px;
	border-radius:999px;
	background:#f7f7f7;
	line-height:1.15;
}
.oenio-archive-meta > span small{
	display:block;
	font-size:.62rem;
	font-weight:700;
	letter-spacing:.04em;
	text-transform:uppercase;
	color:#777;
}
@media(max-width:600px){
	.oenio-archive-meta > span{
		padding:7px 10px;
	}
}


/* v0.7.5 – katalogknappens hover */
.oenio-read-more--catalog:hover,
.oenio-read-more--catalog:focus,
.oenio-recommend-actions .oenio-recommend-info:hover,
.oenio-recommend-actions .oenio-recommend-info:focus{
	background:#f4eefb !important;
	color:#6f42a8 !important;
	border-color:#6f42a8 !important;
}
.oenio-read-more--catalog:hover *,
.oenio-read-more--catalog:focus *,
.oenio-recommend-actions .oenio-recommend-info:hover *,
.oenio-recommend-actions .oenio-recommend-info:focus *{
	color:#6f42a8 !important;
}


/* v0.7.6 – hårdare hover-fix för katalogknappen i rekommendationer */
.oenio-agent .oenio-recommend-actions a.oenio-recommend-info,
.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:link,
.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:visited{
	color:#6f42a8 !important;
	background:#fff !important;
	border-color:#8E57D3 !important;
}

.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:hover,
.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:focus,
.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:active{
	color:#6f42a8 !important;
	background:#f4eefb !important;
	border-color:#6f42a8 !important;
}

.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:hover *,
.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:focus *,
.oenio-agent .oenio-recommend-actions a.oenio-recommend-info:active *{
	color:#6f42a8 !important;
}

/* Fallback om Divi applicerar globala länk-hover-regler */
body .oenio-recommend-actions .oenio-recommend-info:hover,
body .oenio-recommend-actions .oenio-recommend-info:focus{
	color:#6f42a8 !important;
}

/* v0.7.8 – fritextsökning */
.oenio-filter--query{grid-column:1 / -1}
.oenio-filter--query input[type="search"]{
	width:100%;min-height:46px;padding:10px 13px;border:1px solid #d7d7d7;border-radius:8px;background:#fff;color:#222;font:inherit
}
.oenio-filter--query input[type="search"]:focus{
	outline:none;border-color:#8E57D3;box-shadow:0 0 0 2px rgba(142,87,211,.12)
}

/* v0.8.0 */
.oenio-assortment-badge{display:inline-block;margin:8px 0 4px;padding:5px 9px;border-radius:999px;background:#f4eef8;color:#520a87;font-size:12px;font-weight:700}
.oenio-sommelier{margin:14px 0;padding:14px 16px;border-left:3px solid #8e57d3;background:#faf8fc;border-radius:8px}
.oenio-sommelier>strong{font-size:1.05em}
.oenio-sommelier p{margin:9px 0}
.oenio-mini-scales{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}
.oenio-mini-scales span{padding:5px 8px;border-radius:6px;background:#fff;border:1px solid #e4dced;font-size:12px}


/* v0.8.0 – pagination för Vinagentens sökresultat */
.oenio-pagination{
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	align-items:center;
	gap:8px;
	width:100%;
	margin:30px 0 8px;
}
.oenio-page-btn{
	appearance:none;
	border:1px solid #8E57D3;
	background:#fff;
	color:#6f3daa;
	border-radius:8px;
	min-width:42px;
	height:42px;
	padding:0 13px;
	font:inherit;
	font-weight:600;
	cursor:pointer;
	transition:background .18s ease,color .18s ease,border-color .18s ease,transform .18s ease;
}
.oenio-page-btn:hover:not(:disabled),
.oenio-page-btn:focus-visible{
	background:#8E57D3;
	color:#fff;
	border-color:#8E57D3;
}
.oenio-page-btn.is-current{
	background:#8E57D3;
	color:#fff;
	border-color:#8E57D3;
	cursor:default;
}
.oenio-page-btn:disabled{
	opacity:.42;
	cursor:not-allowed;
}
.oenio-page-dots{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:24px;
	height:42px;
	color:#666;
}
@media (max-width:600px){
	.oenio-pagination{gap:6px;margin-top:22px}
	.oenio-page-btn{min-width:38px;height:38px;padding:0 10px}
}

/* Diskret upplysning för importerade katalogviner */
.oenio-catalog-data-note{
	margin:0 0 10px;
	font-size:.88rem;
	line-height:1.45;
	color:#666;
}

/* OENIO v0.9.0 – Min vinprofil */
.oenio-personal-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0}
.oenio-personal-btn{appearance:none;border:1px solid #ddd;background:#fff;border-radius:999px;padding:8px 12px;cursor:pointer;font:inherit;font-size:.88rem;line-height:1.2;transition:.15s ease}
.oenio-personal-btn:hover{border-color:#8E57D3}
.oenio-personal-btn.is-active{border-color:#8E57D3;box-shadow:inset 0 0 0 1px #8E57D3;font-weight:600}
.oenio-favorite.is-active{color:#8E57D3}
.oenio-personal-panel{margin:16px 0 8px;padding:14px 16px;border:1px solid #e6e0ee;border-radius:10px;background:#faf8fc}
.oenio-personal-panel__head{display:flex;align-items:center;justify-content:space-between;gap:15px}
.oenio-personal-panel__head strong{font-size:1rem}
.oenio-personal-summary{margin:6px 0 0;color:#666;font-size:.9rem;line-height:1.45}
.oenio-forget-profile{appearance:none;border:0;background:transparent;padding:2px;color:#777;text-decoration:underline;cursor:pointer;font-size:.78rem}
.oenio-personal-actions--card{margin:10px 0}
.oenio-personal-actions--card .oenio-personal-btn{padding:6px 9px;font-size:.78rem}
@media(max-width:600px){
 .oenio-personal-panel__head{align-items:flex-start;flex-direction:column;gap:5px}
 .oenio-personal-actions{gap:6px}
 .oenio-personal-btn{padding:7px 9px;font-size:.8rem}
}

/* OENIO v0.9.2 – tydligare Min vinprofil */
.oenio-vinagent__heading-row{display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.oenio-profile-toggle{appearance:none;border:0;border-radius:9px;background:#8E57D3;color:#fff;padding:11px 17px;font:inherit;font-weight:700;cursor:pointer;white-space:nowrap;box-shadow:0 4px 14px rgba(0,0,0,.10)}
.oenio-profile-toggle:hover{filter:brightness(.96)}
.oenio-profile-drawer{margin-top:18px;padding:20px;border:1px solid #ded3eb;border-radius:12px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,.08)}
.oenio-profile-drawer__head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}
.oenio-profile-drawer__head span,.oenio-personal-panel__eyebrow{display:block;font-size:.72rem;letter-spacing:.08em;font-weight:700;color:#8E57D3;margin-bottom:3px}
.oenio-profile-drawer__head strong{display:block;font-size:1.2rem}
.oenio-profile-close{appearance:none;border:0;background:transparent;font-size:1.6rem;line-height:1;cursor:pointer;color:#777}
.oenio-profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0}
.oenio-profile-stats>div{padding:12px;border-radius:9px;background:#faf8fc;text-align:center}
.oenio-profile-stats strong{display:block;font-size:1.25rem;color:#333}
.oenio-profile-stats span{display:block;margin-top:2px;font-size:.76rem;color:#777}
.oenio-forget-profile--button{appearance:none;border:1px solid #cfc3dc!important;background:#fff!important;color:#5f3d82!important;border-radius:8px;padding:8px 12px!important;text-decoration:none!important;font-size:.82rem!important;font-weight:600;cursor:pointer}
.oenio-forget-profile--button:hover{border-color:#8E57D3!important}
.oenio-personal-panel{border:2px solid #ded3eb;box-shadow:0 7px 20px rgba(0,0,0,.055);background:#fcfaff}
.oenio-personal-panel__head strong{font-size:1.15rem}
.oenio-personal-panel .oenio-forget-profile{appearance:none;border:1px solid #cfc3dc;background:#fff;border-radius:8px;padding:8px 11px;color:#5f3d82;text-decoration:none;font-weight:600}
@media(max-width:700px){
 .oenio-vinagent__heading-row{align-items:stretch;flex-direction:column}
 .oenio-profile-toggle{align-self:flex-start}
 .oenio-profile-stats{grid-template-columns:1fr 1fr 1fr}
}

/* OENIO v0.9.3 – synliga listor i Min vinprofil */
.oenio-profile-local-note{margin:7px 0 0;font-size:.78rem;color:#888}
.oenio-profile-tabs{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0 12px;border-bottom:1px solid #eee;padding-bottom:10px}
.oenio-profile-tab{appearance:none;border:1px solid #ded3eb;background:#fff;color:#5c486e;border-radius:999px;padding:7px 12px;font:inherit;font-size:.82rem;font-weight:600;cursor:pointer}
.oenio-profile-tab.is-active{background:#8E57D3;border-color:#8E57D3;color:#fff}
.oenio-profile-lists{margin:4px 0 16px}
.oenio-profile-list[hidden]{display:none!important}
.oenio-profile-empty{padding:14px;border:1px dashed #ded3eb;border-radius:9px;color:#777;background:#fcfbfd;font-size:.88rem}
.oenio-profile-wine{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-bottom:1px solid #eee}
.oenio-profile-wine:last-child{border-bottom:0}
.oenio-profile-wine__main{min-width:0}
.oenio-profile-wine__main strong{display:block;font-size:.95rem;color:#333}
.oenio-profile-wine__main span{display:block;margin-top:2px;color:#777;font-size:.8rem}
.oenio-profile-wine__actions{display:flex;gap:7px;align-items:center;flex-shrink:0}
.oenio-profile-wine__actions a,.oenio-profile-wine__actions button{font:inherit;font-size:.76rem;font-weight:600;border-radius:7px;padding:6px 9px}
.oenio-profile-wine__actions a{background:#8E57D3;color:#fff;text-decoration:none}
.oenio-profile-wine__actions button{appearance:none;border:1px solid #ddd;background:#fff;color:#666;cursor:pointer}
.oenio-profile-wine__actions button:hover{border-color:#8E57D3;color:#5f3d82}
@media(max-width:650px){
 .oenio-profile-wine{align-items:flex-start;flex-direction:column}
 .oenio-profile-wine__actions{width:100%}
}

/* OENIO v0.9.5 – miniatyrbilder i vinprofilens listor */
.oenio-profile-wine__thumb{width:68px;height:68px;flex:0 0 68px;border-radius:9px;overflow:hidden;background:#f6f3f8;display:block}
.oenio-profile-wine__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.oenio-profile-wine__main{flex:1}
@media(max-width:650px){
 .oenio-profile-wine{display:grid;grid-template-columns:58px 1fr;gap:10px 12px}
 .oenio-profile-wine__thumb{width:58px;height:58px;grid-column:1;grid-row:1}
 .oenio-profile-wine__main{grid-column:2;grid-row:1}
 .oenio-profile-wine__actions{grid-column:1 / -1}
}

/* OENIO v0.9.7 – Min vinprofil layout: 16:9-bild + vänsterställd mittkolumn */
.oenio-profile-wine{
	display:grid;
	grid-template-columns:160px minmax(0,1fr) auto;
	align-items:center;
	gap:24px;
	padding:18px 0;
}

.oenio-profile-wine__thumb{
	width:160px;
	height:auto;
	aspect-ratio:16 / 9;
	flex:none;
	border-radius:9px;
	overflow:hidden;
	background:#f6f3f8;
	display:block;
}

.oenio-profile-wine__thumb img{
	width:100%;
	height:100%;
	object-fit:contain;
	display:block;
	background:#f7f7f7;
}

.oenio-profile-wine__main{
	min-width:0;
	text-align:left !important;
	justify-self:stretch;
}

.oenio-profile-wine__main strong{
	display:block;
	text-align:left !important;
	margin:0;
}

.oenio-profile-wine__main span{
	display:block;
	text-align:left !important;
	margin-top:4px;
}

.oenio-profile-wine__actions{
	display:flex;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
	flex-shrink:0;
}

@media(max-width:900px){
	.oenio-profile-wine{
		grid-template-columns:140px minmax(0,1fr);
		gap:16px;
	}
	.oenio-profile-wine__thumb{
		width:140px;
	}
	.oenio-profile-wine__actions{
		grid-column:2;
		justify-content:flex-start;
	}
}

@media(max-width:650px){
	.oenio-profile-wine{
		grid-template-columns:110px minmax(0,1fr);
		gap:12px;
	}
	.oenio-profile-wine__thumb{
		width:110px;
		height:auto;
		aspect-ratio:16 / 9;
		grid-column:1;
		grid-row:1;
	}
	.oenio-profile-wine__main{
		grid-column:2;
		grid-row:1;
	}
	.oenio-profile-wine__actions{
		grid-column:1 / -1;
		width:100%;
		justify-content:flex-start;
	}
}

/* OENIO v0.9.8 – tydligare färgkodning i Min vinprofil */
.oenio-profile-tab{
	transition:background-color .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.oenio-profile-tab:hover{
	transform:translateY(-1px);
}

/* Sparade – OENIO-lila */
.oenio-profile-tab[data-oenio-profile-tab="favorites"].is-active{
	background:#8E57D3;
	border-color:#8E57D3;
	color:#fff;
	box-shadow:0 4px 12px rgba(142,87,211,.22);
}

/* Gillar – tydlig men elegant grön */
.oenio-profile-tab[data-oenio-profile-tab="likes"].is-active{
	background:#2F8F5B;
	border-color:#2F8F5B;
	color:#fff;
	box-shadow:0 4px 12px rgba(47,143,91,.20);
}

/* Inte för mig – varm, tydlig röd */
.oenio-profile-tab[data-oenio-profile-tab="dislikes"].is-active{
	background:#C94B4B;
	border-color:#C94B4B;
	color:#fff;
	box-shadow:0 4px 12px rgba(201,75,75,.20);
}

/* Diskret färgkoppling även i sammanfattningsrutorna */
.oenio-profile-stats>div:nth-child(1){border-top:3px solid #2F8F5B}
.oenio-profile-stats>div:nth-child(2){border-top:3px solid #C94B4B}
.oenio-profile-stats>div:nth-child(3){border-top:3px solid #8E57D3}

.oenio-profile-stats>div:nth-child(1) strong{color:#2F8F5B}
.oenio-profile-stats>div:nth-child(2) strong{color:#C94B4B}
.oenio-profile-stats>div:nth-child(3) strong{color:#8E57D3}

/* Samma visuella språk på vinets personliga knappar */
.oenio-personal-btn.oenio-like.is-active{
	border-color:#2F8F5B;
	box-shadow:inset 0 0 0 1px #2F8F5B;
	color:#246F47;
	background:#F3FAF6;
}
.oenio-personal-btn.oenio-dislike.is-active{
	border-color:#C94B4B;
	box-shadow:inset 0 0 0 1px #C94B4B;
	color:#A53D3D;
	background:#FFF6F6;
}
.oenio-personal-btn.oenio-favorite.is-active{
	border-color:#8E57D3;
	box-shadow:inset 0 0 0 1px #8E57D3;
	color:#7442B3;
	background:#FAF7FD;
}

/* OENIO v0.9.8 – profilflikar med ikoner, antal och diskret vald bakgrund */
.oenio-profile-tab-count{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:20px;
	height:20px;
	margin-left:5px;
	padding:0 6px;
	border-radius:999px;
	background:rgba(0,0,0,.07);
	font-size:.72rem;
	font-weight:700;
	line-height:1;
}
.oenio-profile-tab.is-active .oenio-profile-tab-count{
	background:rgba(255,255,255,.22);
	color:#fff;
}
.oenio-profile-drawer:has(.oenio-profile-tab[data-oenio-profile-tab="favorites"].is-active) .oenio-profile-lists{
	background:rgba(142,87,211,.035);
}
.oenio-profile-drawer:has(.oenio-profile-tab[data-oenio-profile-tab="likes"].is-active) .oenio-profile-lists{
	background:rgba(47,143,91,.035);
}
.oenio-profile-drawer:has(.oenio-profile-tab[data-oenio-profile-tab="dislikes"].is-active) .oenio-profile-lists{
	background:rgba(201,75,75,.035);
}
.oenio-profile-lists{
	border-radius:10px;
	padding:0 12px;
	transition:background-color .18s ease;
}

/* OENIO v0.9.8 – diskret produktsignatur för Vinagenten */
.oenio-vinagent-signature{
	margin-top:28px;
	padding-top:16px;
	border-top:1px solid rgba(35,25,45,.10);
	text-align:center;
	line-height:1.35;
}
.oenio-vinagent-signature__name{
	display:block;
	color:#8E57D3;
	font-size:.92rem;
	font-weight:700;
	letter-spacing:.01em;
}
.oenio-vinagent-signature__by{
	display:block;
	margin-top:2px;
	color:#77717b;
	font-size:.76rem;
	font-weight:500;
}
@media(max-width:650px){
	.oenio-vinagent-signature{
		margin-top:22px;
		padding-top:14px;
	}
}

/* OENIO v0.9.8 – Vinagentens signatur nere till höger */
.oenio-vinagent-signature{
	margin-top:28px;
	padding-top:14px;
	border-top:1px solid rgba(35,25,45,.10);
	text-align:right;
	line-height:1.3;
}
.oenio-vinagent-signature__name{
	display:block;
	color:#8E57D3;
	font-size:.88rem;
	font-weight:700;
	letter-spacing:.01em;
}
.oenio-vinagent-signature__by{
	display:block;
	margin-top:2px;
	color:#77717b;
	font-size:.72rem;
	font-weight:500;
}
@media(max-width:650px){
	.oenio-vinagent-signature{
		text-align:center;
		margin-top:22px;
	}
}

/* OENIO v0.9.8 – centrerad Vinagent-rubrik och profilknapp i navigeringen */
.oenio-vinagent__heading-row{
	display:block;
	text-align:center;
}
.oenio-vinagent__heading-copy{
	width:100%;
	text-align:center;
}
.oenio-vinagent__heading-copy h1,
.oenio-vinagent__heading-copy p{
	text-align:center;
}
.oenio-vinagent__heading-copy p{
	margin-left:auto;
	margin-right:auto;
}
.oenio-agent-tabs{
	align-items:center;
	flex-wrap:wrap;
}
.oenio-profile-toggle--tab{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	flex:0 0 auto;
	min-height:43px;
	padding:11px 16px;
	box-shadow:none;
}
.oenio-profile-toggle__icon{
	font-size:1rem;
	line-height:1;
}
.oenio-profile-single-toggle{
	display:flex;
	justify-content:center;
	margin:0 0 22px;
}
@media(max-width:780px){
	.oenio-agent-tabs{
		display:grid;
		grid-template-columns:1fr;
	}
	.oenio-agent-or{
		text-align:center;
	}
	.oenio-agent-tab,
	.oenio-profile-toggle--tab{
		width:100%;
		max-width:none;
	}
}

.oenio-vinagent__developed{
 margin:2px 0 9px;text-align:center;color:#77717b;font-size:.78rem;font-weight:500;letter-spacing:.015em;
}

/* OENIO v0.9.9 – personlig smakprofil */
.oenio-taste-profile{margin:18px 0 20px;padding:18px;border:1px solid #e5dced;border-radius:12px;background:linear-gradient(135deg,#fbf9fd 0%,#fff 72%)}
.oenio-taste-profile__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:8px}
.oenio-taste-profile__eyebrow{display:block;margin-bottom:2px;color:#8E57D3;font-size:.68rem;font-weight:800;letter-spacing:.08em}
.oenio-taste-profile__head strong{font-size:1rem}.oenio-taste-profile__confidence{flex:none;padding:5px 9px;border-radius:999px;background:#f0e8f8;color:#7442B3;font-size:.7rem;font-weight:800}
.oenio-taste-profile__summary{margin:0 0 12px;color:#4d4850;line-height:1.55}.oenio-taste-profile__chips{display:flex;flex-wrap:wrap;gap:7px}.oenio-taste-profile__chips:empty{display:none}
.oenio-taste-profile__chips span{padding:6px 9px;border:1px solid #dfd1ed;border-radius:999px;background:#fff;color:#63319a;font-size:.75rem;font-weight:700}
.oenio-taste-profile__details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:12px}.oenio-taste-profile__details:empty{display:none}
.oenio-taste-profile__details div{padding:9px 10px;border-radius:8px;background:#fff;border:1px solid #eee8f2}.oenio-taste-profile__details span{display:block;color:#77717b;font-size:.68rem}.oenio-taste-profile__details strong{display:block;margin-top:1px;font-size:.82rem}
.oenio-taste-profile__note{margin:12px 0 0;color:#89838b;font-size:.69rem;line-height:1.45}
@media(max-width:650px){.oenio-taste-profile{padding:15px}.oenio-taste-profile__head{display:block}.oenio-taste-profile__confidence{display:inline-block;margin-top:7px}.oenio-taste-profile__details{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* OENIO v0.9.9 – vänsterställda profilrubriker och fylligare tolkning */
.oenio-profile-drawer__head{
	text-align:left !important;
}
.oenio-profile-drawer__head > div,
.oenio-profile-drawer__head span,
.oenio-profile-drawer__head strong{
	text-align:left !important;
}
.oenio-taste-profile__head{
	text-align:left !important;
}
.oenio-taste-profile__head > div,
.oenio-taste-profile__eyebrow,
.oenio-taste-profile__head strong{
	text-align:left !important;
}
.oenio-taste-profile__summary{
	max-width:1120px;
	margin-left:0;
	margin-right:0;
	text-align:left !important;
}

/* OENIO v0.9.9 – renare profilöversikt och vänsterställd sammanfattning */
.oenio-personal-summary{
	text-align:left !important;
	margin-left:0 !important;
	margin-right:0 !important;
	max-width:none !important;
}

/* OENIO v0.9.9 – tre jämbördiga huvudvyer */
.oenio-agent-tabs{
	display:grid !important;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:10px;
	align-items:stretch;
}
.oenio-agent-tab{
	width:100%;
	max-width:none !important;
	min-height:48px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:7px;
	text-align:center;
}
.oenio-agent-tab--profile{
	background:#f7f1fc;
	border:1px solid #d8c2ec;
	color:#6f35a8;
}
.oenio-agent-tab--profile:hover{
	background:#f0e5fa;
	border-color:#b78bdb;
}
.oenio-agent-tab--profile.is-active{
	background:#8E57D3 !important;
	border-color:#8E57D3 !important;
	color:#fff !important;
	box-shadow:0 4px 14px rgba(142,87,211,.22) !important;
}
.oenio-agent-tab--profile .oenio-profile-toggle__icon{
	font-size:1.05rem;
}

/* Profilen är nu en egen huvudvy och skjuter inte ner sökningen. */
.oenio-profile-drawer{
	margin-top:0;
}

/* Tydlig, men säker, destruktiv profilåtgärd */
.oenio-forget-profile--button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	margin-top:24px;
	padding:11px 16px;
	border:1px solid #c94b4b !important;
	border-radius:8px;
	background:#fff6f6 !important;
	color:#a53d3d !important;
	font-weight:800;
	box-shadow:none !important;
	transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}
.oenio-forget-profile--button:hover{
	background:#c94b4b !important;
	border-color:#c94b4b !important;
	color:#fff !important;
}

@media(max-width:780px){
	.oenio-agent-tabs{
		grid-template-columns:1fr !important;
	}
	.oenio-agent-tab{
		min-height:46px;
	}
}

/* OENIO v0.9.9 – samla profilåtgärderna på samma rad */
.oenio-profile-tabs{
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	gap:9px;
}
.oenio-forget-profile--inline{
	margin-top:0 !important;
	margin-left:auto;
	min-height:42px;
	padding:9px 14px;
}
@media(max-width:650px){
	.oenio-forget-profile--inline{
		margin-left:0;
	}
}


/* OENIO v0.9.9 – otillgängliga filterval */
.oenio-filter select option:disabled{
	color:#9a9a9a;
}


/* v0.9.9 – sortimentsbadgar i klartext */
.oenio-assortment-row{margin:8px 0 10px}
.oenio-systembolaget-assortment{margin:0 0 10px}
.oenio-assortment-badge{
	display:inline-flex;
	align-items:center;
	width:auto;
	max-width:100%;
	padding:5px 10px;
	border-radius:999px;
	font-size:12px;
	font-weight:750;
	line-height:1.25;
	letter-spacing:.01em;
	border:1px solid transparent;
	vertical-align:middle;
}
.oenio-assortment-badge--fs{background:#e8f4ec;color:#246b43;border-color:#b9dcc7}
.oenio-assortment-badge--bs{background:#f3ecfa;color:#6d36a3;border-color:#d8c2eb}
.oenio-assortment-badge--tse{background:#fff1dc;color:#8a5413;border-color:#efd0a2}
.oenio-assortment-badge--tsv{background:#e9f2fb;color:#315f8a;border-color:#bfd4e8}
.oenio-assortment-badge--tsls{background:#edf5e5;color:#4e6f2f;border-color:#cbdcb9}
.oenio-assortment-badge--fsn{background:#e7f5f3;color:#276b64;border-color:#b9ddd8}
.oenio-assortment-badge--fsb{background:#eef0f8;color:#4c5680;border-color:#cbd0e3}
.oenio-assortment-badge--tss{background:#f9eaf0;color:#8a3e5b;border-color:#e8c0cf}
.oenio-assortment-badge--other{background:#f1f1f1;color:#555;border-color:#d4d4d4}
.oenio-fact-value .oenio-assortment-badge{margin-top:2px}


/* v0.9.9 – tydlig laddningsstatus för resultatantal */
.oenio-result-count.is-loading{
	display:inline-flex;
	align-items:center;
	gap:9px;
	font-weight:600;
}
.oenio-count-spinner{
	display:inline-block;
	width:16px;
	height:16px;
	flex:0 0 16px;
	border:2px solid currentColor;
	border-right-color:transparent;
	border-radius:50%;
	animation:oenio-count-spin .7s linear infinite;
	opacity:.75;
}
@keyframes oenio-count-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){
	.oenio-count-spinner{animation:none;border-right-color:currentColor;opacity:.45}
}

#oenio-recommend-status.is-loading{
	display:inline-flex;
	align-items:center;
	gap:9px;
	font-weight:600;
}

/* v0.9.9 – fler rekommendationer med kvalitetsgräns */
.oenio-more-recommendations{
  margin:22px 0 8px;
  text-align:center;
}
.oenio-more-recommendations p{
  margin:0 0 10px;
  font-weight:600;
}
.oenio-show-more-recommendations{
  appearance:none;
  border:2px solid #8E57D3;
  border-radius:8px;
  background:#fff;
  color:#6f3fb4;
  padding:10px 16px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.oenio-show-more-recommendations:hover,
.oenio-show-more-recommendations:focus-visible{
  background:#8E57D3;
  color:#fff;
}
.oenio-recommend-hint{
  margin:20px 0 8px;
  padding:16px 18px;
  border:1px solid #d8d8d8;
  border-radius:10px;
  background:#fafafa;
}
.oenio-recommend-hint strong{display:block;margin-bottom:4px}
.oenio-recommend-hint p{margin:0}

/* v0.10.0 – Personlig Vinagent */
.oenio-profile-recommend-option{grid-column:1/-1;padding:14px 16px;border:1px solid rgba(142,87,211,.28);border-radius:10px;background:#fbf9fd}
.oenio-profile-recommend-option label{display:flex;align-items:center;gap:9px;font-weight:800;cursor:pointer}
.oenio-profile-recommend-option input{width:18px;height:18px}
.oenio-profile-recommend-option small{display:block;margin:5px 0 0 27px;color:#666}
.oenio-profile-match{margin:12px 0;padding:11px 13px;border-left:4px solid #8E57D3;border-radius:8px;background:#f8f4fc}
.oenio-profile-match strong{display:block;color:#5f2d98}
.oenio-profile-match span{display:block;margin-top:2px;font-size:.88em;color:#666}
.oenio-profile-match p{margin:6px 0 0}

/* v0.10.0 – toggle för personlig vinprofil */
.oenio-profile-switch-row{display:flex!important;align-items:center;gap:12px;cursor:pointer}
.oenio-profile-switch-input{position:absolute;opacity:0;pointer-events:none}
.oenio-profile-switch{position:relative;width:50px;height:28px;flex:0 0 50px;border-radius:999px;background:#b7b7b7;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08);transition:background .18s ease,box-shadow .18s ease}
.oenio-profile-switch-knob{position:absolute;top:4px;left:4px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.25);transition:transform .18s ease}
.oenio-profile-switch-input:checked + .oenio-profile-switch{background:#2F8F5B}
.oenio-profile-switch-input:checked + .oenio-profile-switch .oenio-profile-switch-knob{transform:translateX(22px)}
.oenio-profile-switch-input:focus-visible + .oenio-profile-switch{box-shadow:0 0 0 3px rgba(47,143,91,.2)}
.oenio-profile-switch-input:disabled + .oenio-profile-switch{opacity:.45;cursor:not-allowed}
.oenio-profile-switch-copy{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.oenio-profile-switch-copy strong{font-weight:800}
.oenio-profile-switch-state{display:inline-flex;align-items:center;justify-content:center;min-width:34px;padding:2px 7px;border-radius:999px;background:#ececec;color:#666;font-size:.82em;font-weight:800;line-height:1.4}
.oenio-profile-switch-input:checked ~ .oenio-profile-switch-copy .oenio-profile-switch-state{background:#e3f2e9;color:#237347}

/* v0.10.0 – lättläst smakprofil: plus och minus i separata stycken */
[data-oenio-taste-summary]{white-space:pre-line}

/* v0.10.0 – PÅ/AV inuti switchen */
.oenio-profile-switch{width:64px;flex-basis:64px}
.oenio-profile-switch-knob{z-index:3}
.oenio-profile-switch-input:checked + .oenio-profile-switch .oenio-profile-switch-knob{transform:translateX(36px)}
.oenio-profile-switch-label{position:absolute;top:50%;z-index:2;transform:translateY(-50%);font-size:10px;font-weight:900;line-height:1;letter-spacing:.04em;color:#fff;user-select:none;pointer-events:none}
.oenio-profile-switch-label--off{right:8px;opacity:1}
.oenio-profile-switch-label--on{left:8px;opacity:0}
.oenio-profile-switch-input:checked + .oenio-profile-switch .oenio-profile-switch-label--off{opacity:0}
.oenio-profile-switch-input:checked + .oenio-profile-switch .oenio-profile-switch-label--on{opacity:1}
.oenio-profile-switch-state{display:none!important}


/* v0.10.0 – hjälp och guide */
.oenio-vinagent__heading-row{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}
.oenio-help-open{flex:0 0 auto;border:1px solid rgba(82,10,135,.28);border-radius:999px;background:#fff;color:#520a87;padding:9px 13px;font-weight:800;cursor:pointer}
.oenio-help-open:hover,.oenio-help-open:focus-visible{background:#f8f4fc;border-color:#520a87}
.oenio-help-intro{position:relative;margin:12px 0 18px;padding:12px 42px 12px 14px;border:1px solid rgba(142,87,211,.24);border-radius:10px;background:#faf7fd;color:#444}
.oenio-help-intro button:not(.oenio-help-intro-close){border:0;background:none;color:#6b35a5;font-weight:800;text-decoration:underline;cursor:pointer;padding:0 3px}
.oenio-help-intro-close{position:absolute;right:10px;top:8px;border:0;background:transparent;font-size:20px;cursor:pointer;color:#777}
.oenio-help-modal[hidden]{display:none!important}
.oenio-help-modal{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:22px}
.oenio-help-modal__backdrop{position:absolute;inset:0;background:rgba(18,13,22,.58);backdrop-filter:blur(2px)}
.oenio-help-modal__dialog{position:relative;width:min(760px,100%);max-height:min(88vh,850px);overflow:auto;border-radius:18px;background:#fff;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.28);outline:none}
.oenio-help-modal__close{position:absolute;right:16px;top:12px;width:38px;height:38px;border:0;border-radius:50%;background:#f1eef4;color:#4d0a84;font-size:26px;line-height:1;cursor:pointer}
.oenio-help-modal__head{padding-right:42px}
.oenio-help-modal__head>span{display:block;color:#8E57D3;font-size:12px;font-weight:900;letter-spacing:.1em}
.oenio-help-modal__head h2{margin:4px 0 7px;font-size:28px}
.oenio-help-modal__head p{margin:0;color:#5b5b5b}
.oenio-help-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0}
.oenio-help-step{padding:16px;border:1px solid #e7e1eb;border-radius:12px;background:#fff;transition:box-shadow .2s,border-color .2s}
.oenio-help-step__icon{font-size:24px;margin-bottom:8px}
.oenio-help-step h3,.oenio-help-explain h3{margin:0 0 7px;font-size:17px}
.oenio-help-step p,.oenio-help-tip p,.oenio-help-explain p{margin:0;color:#555;line-height:1.55}
.oenio-help-tip{margin:14px 0;padding:15px 16px;border-left:4px solid #2F8F5B;border-radius:9px;background:#f2faf5}
.oenio-help-tip strong{display:block;margin-bottom:4px;color:#237347}
.oenio-help-explain{margin:14px 0;padding:16px;border-radius:10px;background:#f8f4fc}
.oenio-help-trust{margin:17px 0 0;padding-top:14px;border-top:1px solid #e8e8e8;color:#666;font-size:.93em}
.oenio-inline-help{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-left:3px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;font-size:14px;cursor:pointer;vertical-align:middle;opacity:.76}
.oenio-inline-help:hover,.oenio-inline-help:focus-visible{opacity:1;background:rgba(142,87,211,.12)}
.is-help-highlight{border-color:#8E57D3!important;box-shadow:0 0 0 3px rgba(142,87,211,.14)!important}
html.oenio-help-is-open{overflow:hidden}
@media(max-width:760px){
  .oenio-vinagent__heading-row{display:block}
  .oenio-help-open{margin-top:10px}
  .oenio-help-modal{padding:0;place-items:end center}
  .oenio-help-modal__dialog{width:100%;max-height:94vh;border-radius:18px 18px 0 0;padding:22px 18px 28px}
  .oenio-help-steps{grid-template-columns:1fr}
  .oenio-help-modal__head h2{font-size:24px}
}

/* v0.10.0 – Spara till senare är en separat bokmärkesfunktion */
.oenio-personal-actions .oenio-favorite{
  margin-left:8px;
  position:relative;
}
.oenio-personal-actions .oenio-favorite::before{
  content:"";
  position:absolute;
  left:-9px;
  top:18%;
  width:1px;
  height:64%;
  background:rgba(0,0,0,.14);
}
.oenio-personal-actions .oenio-favorite{
  border-style:dashed;
}
.oenio-personal-actions .oenio-favorite.is-active{
  border-style:solid;
}
@media (max-width:680px){
  .oenio-personal-actions .oenio-favorite{
    margin-left:0;
  }
  .oenio-personal-actions .oenio-favorite::before{
    display:none;
  }
}


/* v0.10.0 – Vinrecensioner */
.oenio-reviews{max-width:1240px;margin:0 auto;padding:18px 0 42px}
.oenio-reviews__head{margin:0 0 24px}
.oenio-reviews__eyebrow{display:block;font-size:12px;font-weight:800;letter-spacing:.12em;color:#8E57D3;margin-bottom:6px}
.oenio-reviews__head h1{margin:0 0 8px;font-size:clamp(30px,4vw,46px);line-height:1.05}
.oenio-reviews__head p{max-width:800px;margin:0;color:#555;font-size:17px;line-height:1.6}
.oenio-reviews-filter{display:grid;grid-template-columns:repeat(5,minmax(140px,1fr)) auto;gap:12px;align-items:end;padding:18px;border:1px solid #e7e2eb;border-radius:16px;background:#fff;box-shadow:0 8px 24px rgba(31,24,36,.06);margin-bottom:16px}
.oenio-reviews-filter label{display:block;font-size:12px;font-weight:800;margin:0 0 6px;color:#4b4650}
.oenio-reviews-filter select{width:100%;min-height:44px;border:1px solid #d8d2dc;border-radius:10px;background:#fff;padding:0 34px 0 11px}
.oenio-reviews-filter__actions{display:flex;gap:8px;align-items:center}
.oenio-reviews-filter__actions button{min-height:44px;border:0;border-radius:10px;background:#8E57D3;color:#fff;font-weight:800;padding:0 17px;cursor:pointer}
.oenio-reviews-filter__actions a{min-height:44px;display:inline-flex;align-items:center;padding:0 10px;color:#5e5663;text-decoration:none;font-weight:700}
.oenio-reviews__bar{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:12px 0 18px;padding:0 2px}
.oenio-reviews__bar a{color:#7150a2;font-weight:700;text-decoration:none}
.oenio-reviews-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.oenio-review-card{overflow:hidden;border:1px solid #e7e2eb;border-radius:16px;background:#fff;box-shadow:0 7px 22px rgba(31,24,36,.06);display:flex;flex-direction:column}
.oenio-review-card__image{display:block;aspect-ratio:16/10;overflow:hidden;background:#f4f1f5}
.oenio-review-card__image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s ease}
.oenio-review-card:hover .oenio-review-card__image img{transform:scale(1.025)}
.oenio-review-card__body{padding:18px;display:flex;flex:1;flex-direction:column}
.oenio-review-card__kicker{font-size:11px;font-weight:900;letter-spacing:.09em;color:#8E57D3;margin-bottom:7px}
.oenio-review-card h2{font-size:22px;line-height:1.18;margin:0 0 9px}
.oenio-review-card h2 a{color:inherit;text-decoration:none}
.oenio-review-card__meta{display:flex;flex-wrap:wrap;gap:6px 10px;font-size:13px;color:#6b6570;margin-bottom:12px}
.oenio-review-card__meta span+span:before{content:"·";margin-right:10px;color:#b5aeb8}
.oenio-review-card__excerpt{font-size:14px;line-height:1.55;color:#57515b;margin:0 0 16px}
.oenio-review-card__foot{margin-top:auto;padding-top:13px;border-top:1px solid #eee9f0;display:flex;justify-content:space-between;gap:12px;align-items:end}
.oenio-review-card__foot>div{display:flex;flex-direction:column;gap:4px}
.oenio-review-card__rating{font-size:15px}
.oenio-review-card__price{font-size:13px;color:#68616b}
.oenio-review-card__link{display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:#8E57D3;color:#fff!important;text-decoration:none!important;font-weight:800;padding:9px 12px;white-space:nowrap}
.oenio-reviews-empty{padding:32px;border:1px dashed #cfc6d4;border-radius:14px;text-align:center;background:#faf9fb}
.oenio-reviews-pagination{display:flex;justify-content:center;align-items:center;gap:20px;margin-top:28px}
.oenio-reviews-pagination a{color:#714ca5;font-weight:800;text-decoration:none}
@media(max-width:1050px){.oenio-reviews-filter{grid-template-columns:repeat(3,minmax(0,1fr))}.oenio-reviews-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.oenio-reviews{padding-left:4px;padding-right:4px}.oenio-reviews-filter{grid-template-columns:1fr}.oenio-reviews-grid{grid-template-columns:1fr}.oenio-reviews__bar{align-items:flex-start;flex-direction:column}.oenio-review-card__foot{align-items:stretch;flex-direction:column}.oenio-review-card__link{width:100%}}

/* v0.10.0 – Vinrecensioner: bredare layout och ett vin per rad */
.oenio-reviews{
  width:min(1400px,calc(100vw - 48px));
  max-width:1400px;
}
.oenio-reviews-filter{
  grid-template-columns:repeat(5,minmax(130px,1fr)) minmax(150px,auto);
}
.oenio-reviews-filter__actions{
  min-width:150px;
  flex-wrap:nowrap;
}
.oenio-reviews-filter__actions a{
  white-space:nowrap;
}
.oenio-reviews-grid{
  grid-template-columns:1fr;
  gap:18px;
}
.oenio-review-card{
  display:grid;
  grid-template-columns:minmax(260px,34%) 1fr;
  min-height:260px;
}
.oenio-review-card__image{
  aspect-ratio:auto;
  height:100%;
  min-height:260px;
}
.oenio-review-card__body{
  padding:24px 26px;
}
.oenio-review-card h2{
  font-size:26px;
}
.oenio-review-card__excerpt{
  max-width:850px;
  font-size:15px;
}
@media(max-width:1100px){
  .oenio-reviews-filter{grid-template-columns:repeat(3,minmax(0,1fr))}
  .oenio-reviews-filter__actions{min-width:0}
}
@media(max-width:760px){
  .oenio-reviews{width:calc(100vw - 28px)}
  .oenio-reviews-filter{grid-template-columns:1fr}
  .oenio-review-card{display:flex;min-height:0}
  .oenio-review-card__image{aspect-ratio:16/9;min-height:0;height:auto}
  .oenio-review-card__body{padding:18px}
  .oenio-review-card h2{font-size:22px}
}

/* v0.10.0 – Vinrecensioner: korrigerad bredd, Divi-kompatibel layout och äkta 16:9 */
.oenio-reviews{
  width:100%;
  max-width:1180px;
  margin-left:auto;
  margin-right:auto;
}
.oenio-reviews-filter{
  grid-template-columns:repeat(5,minmax(0,1fr)) auto;
}
.oenio-reviews-filter__actions{
  min-width:0;
}
.oenio-reviews-grid{
  grid-template-columns:1fr;
}
.oenio-review-card{
  display:grid;
  grid-template-columns:minmax(300px,38%) minmax(0,1fr);
  min-height:0;
}
.oenio-review-card__image{
  width:100%;
  height:auto;
  min-height:0;
  aspect-ratio:16/9;
  align-self:start;
}
.oenio-review-card__image img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.oenio-review-card__body{
  min-width:0;
  padding:22px 24px;
}
@media(max-width:1080px){
  .oenio-reviews-filter{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:760px){
  .oenio-reviews{width:100%;max-width:100%}
  .oenio-reviews-filter{grid-template-columns:1fr}
  .oenio-review-card{display:flex;flex-direction:column}
  .oenio-review-card__image{aspect-ratio:16/9}
}


/* v0.10.0 – navigeringsknappar på full vinrecension */
.oenio-review-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  width:100%;
}
.oenio-review-nav--top{
  margin:0 0 18px;
}
.oenio-review-nav--bottom{
  margin:28px 0 2px;
  padding-top:20px;
  border-top:1px solid #ece7ef;
}
.oenio-review-nav__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 16px;
  border-radius:10px;
  font-weight:800;
  line-height:1.2;
  text-decoration:none!important;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.oenio-review-nav__button:hover{
  transform:translateY(-1px);
}
.oenio-review-nav__button--agent{
  background:#8E57D3;
  color:#fff!important;
  box-shadow:0 5px 14px rgba(142,87,211,.18);
}
.oenio-review-nav__button--reviews{
  background:#fff;
  color:#6f3fa6!important;
  border:1px solid #8E57D3;
}
@media(max-width:600px){
  .oenio-review-nav{
    flex-direction:column;
    align-items:stretch;
  }
  .oenio-review-nav__button{
    width:100%;
  }
}


/* v0.10.0 – egen layout för fullständig vinrecension/informationssida.
   Frikopplar innehållet från Divis post/sidebar-layout. */
.oenio-single-page{
  width:100%;
  margin:0;
  padding:42px 24px 56px;
}
.oenio-single-page__inner{
  width:100%;
  max-width:1080px;
  margin:0 auto;
}
.oenio-single-page .oenio-wine-card{
  width:100%;
  max-width:none;
  margin:0;
}
body.oenio-single-wine #sidebar,
body.oenio-single-wine .et_right_sidebar #sidebar,
body.oenio-single-wine .et_left_sidebar #sidebar{
  display:none!important;
}
@media(max-width:760px){
  .oenio-single-page{
    padding:24px 16px 40px;
  }
}


/* v0.10.0 – finslipning av recensionsnavigering */
.oenio-review-nav--top{
  padding-top:18px;
}
.oenio-review-nav__button--reviews{
  background:rgba(142,87,211,.08);
  border-color:rgba(142,87,211,.72);
}
.oenio-review-nav__button--reviews:hover{
  background:rgba(142,87,211,.14);
}


/* v0.10.0 – kompakt smakprofil på Vinrecensioner */
.oenio-review-card__taste{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px 14px;
  margin:16px 0 14px;
  padding:13px 0;
  border-top:1px solid #eee9f2;
  border-bottom:1px solid #eee9f2;
}
.oenio-review-taste{
  min-width:0;
}
.oenio-review-taste__label{
  display:block;
  margin-bottom:6px;
  font-size:12px;
  line-height:1.2;
  font-weight:700;
  color:#555;
}
.oenio-review-taste__dots{
  display:flex;
  gap:4px;
  align-items:center;
}
.oenio-review-taste__dots i{
  display:block;
  width:8px;
  height:8px;
  flex:0 0 8px;
  border-radius:50%;
  background:#e7dfef;
}
.oenio-review-taste__dots i.is-active{
  background:#8E57D3;
}
@media(max-width:900px){
  .oenio-review-card__taste{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:520px){
  .oenio-review-card__taste{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}


/* v0.10.0 – större och mer lättanvända filterfält på mobil */
@media(max-width:760px){
  .oenio-reviews-filter select{
    width:100%;
    min-height:52px;
    height:52px;
    padding:0 44px 0 16px;
    border-radius:12px;
    font-size:16px;
    line-height:52px;
  }
  .oenio-reviews-filter label{
    margin-bottom:8px;
  }
  .oenio-reviews-filter > div{
    width:100%;
  }
  .oenio-reviews-filter__actions{
    display:flex;
    align-items:center;
    gap:18px;
    margin-top:4px;
  }
  .oenio-reviews-filter__actions button{
    min-height:50px;
    padding:0 22px;
  }
}


/* v0.10.0 – utnyttja mer av mobilskärmens bredd på Vinrecensioner */
@media(max-width:760px){
  .oenio-reviews{
    width:100%;
    max-width:none;
    padding-left:12px;
    padding-right:12px;
  }
  .oenio-reviews-filter{
    margin-left:0;
    margin-right:0;
    padding-left:18px;
    padding-right:18px;
  }
}


/* v0.10.0 – bryt ur Divis smalare innehållskolumn på mobil.
   Vinrecensioner använder nästan hela viewportens bredd. */
@media(max-width:760px){
  .oenio-reviews{
    box-sizing:border-box;
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw + 12px)!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  .oenio-reviews-filter{
    width:100%;
    box-sizing:border-box;
  }
}


/* v0.10.0 – Vinrecensioner layout enligt godkänd mockup */
.oenio-reviews__head{
  margin:0 0 24px;
}
.oenio-reviews__head h1{
  margin:0;
}
.oenio-reviews-filter{
  border:1px solid rgba(142,87,211,.22);
  box-shadow:0 8px 24px rgba(56,34,78,.04);
}
.oenio-reviews-filter__intro{
  grid-column:1/-1;
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:2px 2px 10px;
}
.oenio-reviews-filter__intro p{
  margin:0;
  font-size:16px;
  line-height:1.55;
  color:#555;
}
.oenio-reviews-filter__icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 28px;
  width:28px;
  height:28px;
  margin-top:1px;
  font-size:25px;
  line-height:1;
  color:#8E57D3;
}
@media(max-width:760px){
  .oenio-reviews__head{
    margin-bottom:18px;
  }
  .oenio-reviews-filter__intro{
    gap:10px;
    padding-bottom:8px;
  }
  .oenio-reviews-filter__intro p{
    font-size:15px;
  }
  .oenio-reviews-filter__icon{
    flex-basis:24px;
    width:24px;
    height:24px;
    font-size:22px;
  }
}


/* v0.10.0 – sidans egna WordPress/Divi-titel används som enda rubrik */
.oenio-reviews__head{
  display:none!important;
}


/* v0.10.0 – personlig introduktion och intern länk till vinprovningar */
.oenio-reviews-filter__intro-text{
  min-width:0;
}
.oenio-reviews-filter__intro-text p{
  margin:0;
}
.oenio-reviews-filter__tastings-link{
  display:inline-block;
  margin-top:7px;
  color:#7b43bc!important;
  font-weight:700;
  text-decoration:none!important;
}
.oenio-reviews-filter__tastings-link:hover{
  text-decoration:underline!important;
}


/* v0.10.0 – generell OENIO sidhero */
.oenio-page-hero{
  position:relative;
  width:100%;
  max-width:1180px;
  margin:0 auto 30px;
  overflow:hidden;
  border-radius:0;
  background:#f2eef5;
}
.oenio-page-hero--low{aspect-ratio:4/1;}
.oenio-page-hero--standard{aspect-ratio:3/1;}
.oenio-page-hero--large{aspect-ratio:16/6;}
.oenio-page-hero img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.oenio-page-hero.has-overlay:after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(20,10,28,.50),rgba(20,10,28,.12));
  pointer-events:none;
}
.oenio-page-hero__copy{
  position:absolute;
  z-index:2;
  left:6%;
  right:6%;
  top:50%;
  transform:translateY(-50%);
  color:#fff;
  text-shadow:0 2px 12px rgba(0,0,0,.28);
}
.oenio-page-hero--center .oenio-page-hero__copy{text-align:center;}
.oenio-page-hero--right .oenio-page-hero__copy{text-align:right;}
.oenio-page-hero__copy h2{
  margin:0 0 8px;
  color:inherit;
  font-size:clamp(30px,4vw,58px);
  line-height:1.05;
}
.oenio-page-hero__copy p{
  margin:0;
  color:inherit;
  font-size:clamp(16px,1.7vw,23px);
  line-height:1.4;
}
@media(max-width:760px){
  .oenio-page-hero{
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    margin-left:calc(50% - 50vw + 12px)!important;
    margin-right:0!important;
    margin-bottom:22px;
    border-radius:0;
  }
  .oenio-page-hero--low{aspect-ratio:2.4/1;}
  .oenio-page-hero--standard{aspect-ratio:2/1;}
  .oenio-page-hero--large{aspect-ratio:16/9;}
  .oenio-page-hero__copy{left:7%;right:7%;}
}


/* v0.10.0 – OENIO Sidbild: visa alltid hela originalbilden, aldrig beskärning */
.oenio-page-hero,
.oenio-page-hero--low,
.oenio-page-hero--standard,
.oenio-page-hero--large{
  aspect-ratio:auto!important;
  height:auto!important;
  min-height:0!important;
}
.oenio-page-hero img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center!important;
}
@media(max-width:760px){
  .oenio-page-hero--low,
  .oenio-page-hero--standard,
  .oenio-page-hero--large{
    aspect-ratio:auto!important;
    height:auto!important;
  }
}


/* v0.10.0 – mindre luft ovanför OENIO sidhero */
.oenio-page-hero{
  margin-top:-24px!important;
}
@media(max-width:760px){
  .oenio-page-hero{
    margin-top:-52px!important;
  }
}


/* v0.10.0 – mobil: visa hela hero-bilden från överkanten */
@media(max-width:760px){
  .oenio-page-hero{
    margin-top:0!important;
  }
}

/* Desktop behåller en försiktig uppflyttning utan att påverka mobil */
@media(min-width:761px){
  .oenio-page-hero{
    margin-top:-24px!important;
  }
}


/* v0.10.0 – ENHETLIG OENIO HERO
   Samma princip på alla OENIO-sidor:
   liten luft ovanför, hela bilden synlig, inga fasta bildproportioner. */
.oenio-page-hero,
.oenio-page-hero--low,
.oenio-page-hero--standard,
.oenio-page-hero--large{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1180px!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  margin-top:0!important;
  margin-right:auto!important;
  margin-bottom:24px!important;
  margin-left:auto!important;
  overflow:visible!important;
  background:transparent!important;
}
.oenio-page-hero img{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
}

/* Vinagentens pluginarkiv har annars stor inbyggd topp-padding. */
.oenio-archive-page:has(> .oenio-page-hero){
  padding-top:12px!important;
}

/* OENIO-heron på vanliga WordPress/Divi-sidor ska också börja nära sidhuvudet.
   Reglerna påverkar endast den sektion/rad som faktiskt innehåller en OENIO-hero. */
body.page .et_pb_section:has(.oenio-page-hero){
  padding-top:12px!important;
}
body.page .et_pb_row:has(.oenio-page-hero){
  padding-top:0!important;
  margin-top:0!important;
}
body.page .et_pb_column:has(.oenio-page-hero),
body.page .et_pb_text_inner:has(> .oenio-page-hero),
body.page .entry-content:has(> .oenio-page-hero){
  padding-top:0!important;
  margin-top:0!important;
}

@media(max-width:760px){
  .oenio-page-hero,
  .oenio-page-hero--low,
  .oenio-page-hero--standard,
  .oenio-page-hero--large{
    width:calc(100vw - 24px)!important;
    max-width:none!important;
    height:auto!important;
    aspect-ratio:auto!important;
    margin-top:0!important;
    margin-left:calc(50% - 50vw + 12px)!important;
    margin-right:0!important;
    margin-bottom:20px!important;
  }
  .oenio-page-hero img{
    width:100%!important;
    height:auto!important;
    object-fit:contain!important;
  }
  .oenio-archive-page:has(> .oenio-page-hero){
    padding-top:10px!important;
  }
  body.page .et_pb_section:has(.oenio-page-hero){
    padding-top:10px!important;
  }
}
