/* Refreshed layout (visual trial): one-row header, page title on a photo or a light band, photo +
   text sections, tinted bands, cards, contact beside the form, footer in columns.
   Brand stays: logo, #e39a31 gold, #2a2a2a graphite, Lato headings, Crimson Text italics.
   Loaded last (app/root.tsx), so it wins over the theme at equal specificity. */
:root {
    --rf-gold: #e39a31;
    --rf-gold-dark: #c27f1d;
    --rf-graphite: #2a2a2a;
    --rf-cream: #f6f1e9;
    --rf-line: #e8e0d3;
    --rf-text: #3d3934;
    --rf-muted: #7a736a;
    --rf-footer-text: #cfc9bf;
    --rf-heading: "Lato", sans-serif;
    --rf-serif: "Crimson Text", Georgia, serif;
    --rf-wrap: 1180px;
}

/* Subpage header (.with_featured_image; the home page has its own): logo and menu in one row from
   1200px, a short stack below that. The fixed-menu placeholder follows the new height. */
@media (min-width: 960px) {
    header.top_panel.with_featured_image { padding-top: 0 !important; }
    .with_featured_image .top_panel_navi { margin-top: 0; padding-top: 0; padding-bottom: 0; border-bottom: 1px solid var(--rf-line); }
    .with_featured_image .top_panel_navi .menu_main_wrap .wrap { padding: 16px 0 12px; }
    .with_featured_image .top_panel_navi .logo { margin: 0 auto !important; }
    .with_featured_image .top_panel_navi .logo .logo_main { height: 64px; width: auto; }
    .with_featured_image .top_panel_navi .menu_main_nav_area { margin-top: 10px; }
    .with_featured_image .top_panel_fixed_wrap { height: 142px !important; }
}
@media (min-width: 1200px) {
    .with_featured_image .top_panel_navi .menu_main_wrap .wrap { display: flex; align-items: center; justify-content: space-between;
        width: auto; max-width: var(--rf-wrap); margin: 0 auto; padding: 14px 32px; box-sizing: border-box; }
    .with_featured_image .top_panel_navi .menu_main_wrap .wrap::before,
    .with_featured_image .top_panel_navi .menu_main_wrap .wrap::after { display: none; }
    .with_featured_image .top_panel_navi .logo { margin: 0 !important; flex: none; }
    .with_featured_image .top_panel_navi .logo .logo_main { height: 60px; }
    .with_featured_image .top_panel_navi .menu_main_nav_area { margin-top: 0; padding-right: 0; }
    .with_featured_image .top_panel_navi .menu_main_nav { white-space: nowrap; }
    .with_featured_image .top_panel_fixed_wrap { height: 89px !important; }
}

/* Buttons and links */
.rf_actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.rf_page a.rf_btn { display: inline-block; padding: 15px 28px; border: 1px solid var(--rf-gold); background: var(--rf-gold);
    color: #fff; font: 700 12px/1 var(--rf-heading); letter-spacing: .18em; text-transform: uppercase; transition: background .2s, color .2s, border-color .2s; }
.rf_page a.rf_btn:hover, .rf_page a.rf_btn:focus-visible { background: var(--rf-gold-dark); border-color: var(--rf-gold-dark); color: #fff; }
.rf_page a.rf_btn_ghost { background: transparent; border-color: #fff; color: #fff; }
.rf_page a.rf_btn_ghost:hover, .rf_page a.rf_btn_ghost:focus-visible { background: #fff; border-color: #fff; color: var(--rf-graphite); }
.rf_page a.rf_btn_outline { background: transparent; border-color: var(--rf-graphite); color: var(--rf-graphite); }
.rf_page a.rf_btn_outline:hover, .rf_page a.rf_btn_outline:focus-visible { background: var(--rf-graphite); border-color: var(--rf-graphite); color: #fff; }
.rf_page .rf_more { color: var(--rf-gold); font: 700 12px/1.4 var(--rf-heading); letter-spacing: .18em; text-transform: uppercase; }

/* Shared text */
.rf_page .rf_eyebrow { margin: 0 0 12px; color: var(--rf-gold); font: 700 12px/1.4 var(--rf-heading); letter-spacing: .22em; text-transform: uppercase; }
.rf_page .rf_title { margin: 0 0 18px; color: var(--rf-graphite); font: 700 32px/1.2 var(--rf-heading); letter-spacing: .06em; text-transform: uppercase; }
.rf_page .rf_subtitle { margin: 0 0 18px; color: var(--rf-graphite); font: italic 21px/1.45 var(--rf-serif); }
.rf_page p, .rf_page li { color: var(--rf-text); }
.rf_page .rf_list { margin: 0 0 14px; padding-left: 1.2em; display: grid; gap: 8px; line-height: 1.7; }
.rf_page .rf_hours { padding: 14px 18px; background: var(--rf-cream); border-left: 3px solid var(--rf-gold); }
.rf_tinted { background: var(--rf-cream); }

/* Page title: on a photo, or on a light band when the page has no photo */
.rf_hero { position: relative; display: flex; align-items: flex-end; min-height: 460px;
    background-size: cover; background-position: center 60%; color: #fff; }
/* Shade only under the title (owner, 24.11.2026: the photos looked too dark); the upper half stays as
   taken, the text keeps a soft shadow for contrast. */
.rf_hero::before { content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(24, 21, 17, 0) 0%, rgba(24, 21, 17, 0) 35%, rgba(24, 21, 17, .5) 100%),
        linear-gradient(90deg, rgba(24, 21, 17, .4) 0%, rgba(24, 21, 17, .2) 40%, rgba(24, 21, 17, 0) 65%); }
.rf_hero h1.page_caption, .rf_hero .rf_breadcrumbs, .rf_hero .rf_lead { text-shadow: 0 1px 3px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .35); }
.rf_hero_plain h1.page_caption, .rf_hero_plain .rf_breadcrumbs, .rf_hero_plain .rf_lead { text-shadow: none; }
/* Kicker on a photo (e.g. the event date): white, the dark accent text colour disappears on photos. */
.rf_page.rf_hero:not(.rf_hero_plain) .rf_eyebrow { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 0 14px rgba(0, 0, 0, .4); }

/* Second UX review (25.11.2026). */
/* Archived event notice above the event content. */
.rf_page .rf_notice { width: calc(100% - 64px); max-width: calc(var(--rf-wrap) - 64px); margin: 32px auto 0; padding: 14px 24px; box-sizing: border-box;
    background: var(--rf-cream); border-left: 3px solid var(--rf-gold); font-size: 16.5px; line-height: 1.6; }
@media (max-width: 767px) { .rf_page .rf_notice { width: auto; margin: 24px 20px 0; padding: 12px 16px; } }
.rf_page .rf_notice a { color: var(--rf-accent-text); text-decoration: underline; }
/* Phone and e-mail next to the tasting calendar. */
.rf_page .rf_tasting_contact { margin: 18px 0 0; font-size: 16.5px; line-height: 1.7; }
.rf_page .rf_tasting_contact a { color: var(--rf-accent-text); white-space: nowrap; }
/* "Produkt niedostępny": brand colour instead of the template's pink error box. */
.rf_unavailable { color: var(--rf-accent-text); font: 700 13px/1.4 var(--rf-heading); letter-spacing: .14em; text-transform: uppercase; }
/* Phone menu: tap targets at least 44 px high; the submenu arrow fills the row height. */
#menu_mobile li > a.nav-link { display: flex; align-items: center; min-height: 44px; box-sizing: border-box; }
#menu_mobile li > a.nav-link .open_child_menu { width: 44px; height: 44px; padding: 0; line-height: 44px; top: 50%; margin-top: -22px; }
/* The home hotspot popup and the cookie banner in the site face (Lato), not the template's Arial. */
.tooltipster-content, .tooltipster-content p, .tooltipster-content a, .cookie_consent, .cookie_consent button { font-family: var(--rf-heading); }
/* Footer bottom bar: one line of the same size, wrapping as a whole on narrow screens. */
.rf_footer .rf_footer_bottom a, .rf_footer .rf_footer_bottom button { display: inline; font: inherit; margin: 0; color: inherit; white-space: nowrap; }
.rf_hero_inner { position: relative; width: 100%; max-width: var(--rf-wrap); margin: 0 auto; padding: 0 32px 56px; box-sizing: border-box; }
.rf_breadcrumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 10px; font: italic 17px/1.4 var(--rf-serif); color: rgba(255, 255, 255, .85); }
.rf_page .rf_breadcrumbs a { color: rgba(255, 255, 255, .85); }
.rf_page .rf_breadcrumbs a:hover { color: #fff; }
.rf_hero h1.page_caption { margin: 0 0 14px; color: #fff; font: 700 52px/1.1 var(--rf-heading); letter-spacing: .06em; text-transform: uppercase; }
.rf_page .rf_lead { max-width: 34em; margin: 0; color: rgba(255, 255, 255, .92); font: italic 22px/1.45 var(--rf-serif); }
.rf_hero_plain { min-height: 0; background: var(--rf-cream); color: var(--rf-graphite); }
.rf_hero_plain::before { display: none; }
.rf_hero_plain .rf_hero_inner { padding: 64px 32px 56px; }
.rf_hero_plain h1.page_caption { color: var(--rf-graphite); font-size: 44px; }
.rf_page.rf_hero_plain .rf_breadcrumbs, .rf_page.rf_hero_plain .rf_breadcrumbs a { color: var(--rf-muted); }
.rf_page.rf_hero_plain .rf_breadcrumbs a:hover { color: var(--rf-gold); }
.rf_page.rf_hero_plain .rf_lead { color: var(--rf-text); }

/* Photo + text */
.rf_split { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center;
    max-width: var(--rf-wrap); margin: 0 auto; padding: 96px 32px; box-sizing: border-box; }
.rf_split_reverse { grid-template-columns: 6fr 5fr; }
.rf_split_reverse .rf_split_media { order: 2; }
.rf_split_media img { display: block; width: 100%; aspect-ratio: 4 / 5; max-height: 560px; object-fit: cover; }
.rf_split_text p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; }

/* Tinted band: text beside a widget */
.rf_band { background: var(--rf-cream); }
/* Under the cream plain hero a cream band would merge with it into one empty block (/kup-voucher/). */
.rf_hero_plain ~ .page_content_wrap > .rf_band:first-child { background: #fff; }
.rf_hero_plain ~ .page_content_wrap > .rf_band:first-child .rf_band_aside > div { border: 1px solid var(--rf-line); }
.rf_band_inner { display: grid; grid-template-columns: 4fr 7fr; gap: 64px; align-items: start;
    max-width: var(--rf-wrap); margin: 0 auto; padding: 88px 32px; box-sizing: border-box; }
.rf_band_text { position: sticky; top: 120px; }
.rf_band_aside > div { max-width: none !important; margin: 0 !important; padding: 28px 28px 12px; background: #fff;
    box-shadow: 0 12px 32px rgba(42, 42, 42, .08); }
.rf_band_aside iframe { max-width: none !important; }
.rf_voucher { margin: 8px 0 0; }
.rf_voucher img { display: block; width: 100%; height: auto; box-shadow: 0 6px 24px rgba(0, 0, 0, .12); }
.rf_voucher figcaption { margin-top: 12px; color: var(--rf-text); font: italic 17px/1.45 var(--rf-serif); }
/* style.min.css pulls the caption up on hover (figure:hover figcaption { margin-bottom: -5em }). */
.rf_voucher:hover figcaption { margin-bottom: 0; }

/* Cards */
.rf_cards { max-width: var(--rf-wrap); margin: 0 auto; padding: 96px 32px; box-sizing: border-box; }
.rf_section_head { margin-bottom: 36px; max-width: 44em; }
.rf_card_grid { display: grid; gap: 32px; }
.rf_cols_2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rf_cols_3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.rf_cols_4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.rf_card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rf-line); }
.rf_card_media img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.rf_card_media_contain { background: var(--rf-cream); padding: 28px 0; }
.rf_card_media_contain img { aspect-ratio: auto; height: 240px; object-fit: contain; }
.rf_card_body { display: flex; flex-direction: column; flex: 1; padding: 28px 32px 32px; }
.rf_page .rf_card h3 { margin: 0 0 12px; color: var(--rf-graphite); font: 700 20px/1.25 var(--rf-heading); letter-spacing: .08em; text-transform: uppercase; }
.rf_page .rf_card .rf_subtitle { font-size: 18px; margin-bottom: 12px; }
.rf_card_body p { margin: 0 0 12px; line-height: 1.7; }
.rf_card_body .rf_more { margin-top: auto; padding-top: 8px; }
.rf_cols_4 .rf_card_body { padding: 22px 22px 24px; }
.rf_page .rf_cols_4 .rf_card h3 { font-size: 16px; }
.rf_card_linked { color: inherit; transition: box-shadow .2s, transform .2s; }
.rf_card_linked:hover, .rf_card_linked:focus-visible { box-shadow: 0 14px 34px rgba(42, 42, 42, .12); transform: translateY(-2px); }
.rf_tinted .rf_card { border-color: transparent; }

/* Empty state and 404 */
.rf_empty, .rf_notfound { max-width: var(--rf-wrap); margin: 0 auto; padding: 72px 32px; box-sizing: border-box; }
.rf_page .rf_empty_text { margin: 0 0 8px; color: var(--rf-graphite); font: 700 26px/1.3 var(--rf-heading); letter-spacing: .04em; }
.rf_notfound { padding: 120px 32px; text-align: center; }
.rf_page .rf_notfound_code { margin: 0; color: var(--rf-gold); font: 700 120px/1 var(--rf-heading); letter-spacing: .04em; }
.rf_notfound h1.page_caption { margin: 12px 0 8px; color: var(--rf-graphite); font: 700 36px/1.2 var(--rf-heading); text-transform: uppercase; letter-spacing: .06em; }
.rf_notfound .rf_actions { justify-content: center; }

/* Event */
.rf_event_description h2, .rf_event_description h3 { color: var(--rf-graphite); }
.rf_page .rf_event_description h2 { margin: 0 0 14px; font: 700 26px/1.25 var(--rf-heading); letter-spacing: .04em; text-transform: uppercase; }
.rf_page .rf_event_description h3 { margin: 22px 0 8px; font: 700 18px/1.35 var(--rf-heading); letter-spacing: .02em; }
.rf_page .rf_facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 4px 0 0; }
.rf_facts dt { color: var(--rf-gold); font: 700 11px/1.9 var(--rf-heading); letter-spacing: .18em; text-transform: uppercase; }
.rf_facts dd { margin: 0; color: var(--rf-text); line-height: 1.7; }
.rf_event_nav { display: flex; justify-content: space-between; gap: 16px; max-width: var(--rf-wrap); margin: 0 auto; padding: 40px 32px 72px; box-sizing: border-box; }

/* Contact beside the form, map below */
.rf_contact { background: var(--rf-cream); }
.rf_contact_inner { display: grid; grid-template-columns: 4fr 6fr; gap: 64px; align-items: start;
    max-width: var(--rf-wrap); margin: 0 auto; padding: 88px 32px; box-sizing: border-box; }
.rf_contact_noform { grid-template-columns: 1fr 1fr; align-items: center; }
.rf_contact dl { margin: 28px 0 0; display: grid; gap: 4px; }
.rf_contact_side dl { margin: 0; }
.rf_contact dt { color: var(--rf-gold); font: 700 11px/1.4 var(--rf-heading); letter-spacing: .2em; text-transform: uppercase; }
.rf_contact dd { margin: 0 0 16px; color: var(--rf-text); font-size: 16px; line-height: 1.7; }
.rf_contact dd a { display: block; color: var(--rf-text); }
.rf_page .rf_contact dd a:hover { color: var(--rf-gold); }
.rf_contact_form { padding: 36px 40px 28px; background: #fff; box-shadow: 0 12px 32px rgba(42, 42, 42, .08); }
.rf_contact_form form.sc_form_form { margin-top: 0 !important; }
.rf_contact_side { padding: 36px 40px; background: #fff; box-shadow: 0 12px 32px rgba(42, 42, 42, .08); }
.rf_contact_side .rf_actions { margin-top: 8px; }
.rf_contact_map .click_to_load_map_area { height: 360px; }

/* Wine list and wine page: bottle on a light background without a frame */
.page_content_wrap .post_type_product .images { background: var(--rf-cream); border: 0; }
.page_content_wrap .post_type_product .images img { mix-blend-mode: multiply; }
/* Wine page carousel: the bottle and the photo in the winery in one portrait 3:4 frame (the photos'
   shape), cross-fading; dots under the frame. Buttons reset the template's button colours. */
.page_content_wrap .post_type_product .images.rf_carousel { background: none; }
.rf_carousel .rf_carousel_frame { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--rf-cream); }
.page_content_wrap .post_type_product .images.rf_carousel .rf_carousel_slide { position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; border: 0; opacity: 0; transition: opacity .8s ease; }
.page_content_wrap .post_type_product .images.rf_carousel .rf_carousel_slide + .rf_carousel_slide { mix-blend-mode: normal; }
.page_content_wrap .post_type_product .images.rf_carousel .rf_carousel_slide.is_active { opacity: 1; }
.rf_carousel .rf_carousel_dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.rf_carousel .rf_carousel_dots button, .rf_carousel .rf_carousel_dots button:hover, .rf_carousel .rf_carousel_dots button:focus {
    width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none !important; box-shadow: none; cursor: pointer; }
.rf_carousel .rf_carousel_dots button:focus-visible { outline: 2px solid var(--rf-gold-dark); outline-offset: 0; }
.rf_carousel .rf_carousel_dots button::before { content: ""; display: block; width: 8px; height: 8px; margin: 8px; border-radius: 50%;
    background: #8f8577; transition: background-color .3s, width .3s; }
/* The active dot is also longer, so it does not differ by colour alone. */
.rf_carousel .rf_carousel_dots button[aria-current="true"] { width: 32px; }
.rf_carousel .rf_carousel_dots button[aria-current="true"]::before { width: 16px; border-radius: 4px; background: var(--rf-gold-dark); }
@media (prefers-reduced-motion: reduce) {
    .page_content_wrap .post_type_product .images.rf_carousel .rf_carousel_slide { transition: none; } }

/* Leftover template sections (home): smaller section icons */
.sc_promo.sc_promo_size_normal .sc_promo_icon, .sc_promo.sc_promo_size_large .sc_promo_icon { font-size: 3.5em; line-height: 1em; margin-bottom: .2em; }

/* Footer in columns */
.rf_footer { background: var(--rf-graphite); color: var(--rf-footer-text); }
.rf_footer_inner { display: grid; grid-template-columns: 1fr 1.3fr 1.7fr 1fr; gap: 48px;
    max-width: var(--rf-wrap); margin: 0 auto; padding: 64px 32px 48px; box-sizing: border-box; }
.rf_footer_logo { display: block; max-height: 150px; width: auto; }
.rf_footer h2 { margin: 0 0 18px; color: #fff; font: 700 12px/1.4 var(--rf-heading); letter-spacing: .22em; text-transform: uppercase; }
.rf_footer p { margin: 0 0 12px; color: var(--rf-footer-text); font-size: 15px; line-height: 1.7; }
.rf_footer a { display: block; color: var(--rf-footer-text); font-size: 15px; line-height: 1.7; }
.rf_footer a:hover, .rf_footer a:focus-visible { color: var(--rf-gold); }
.rf_footer_menu ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 32px; }
.rf_footer_menu li { margin: 0 0 6px; break-inside: avoid; }
.rf_footer .rf_footer_social { display: inline-flex; align-items: center; gap: 10px; }
.rf_footer_bottom { padding: 20px 32px; border-top: 1px solid rgba(255, 255, 255, .1); text-align: center;
    color: #9d978d; font: italic 15px/1.5 var(--rf-serif); }
/* "Ustawienia cookies" reopens the consent banner (app/winery/commons/Analytics/consent.ts); a button
   that looks like a link, with the template's button colours reset. */
.rf_footer_bottom .rf_footer_cookies, .rf_footer_bottom .rf_footer_cookies:hover, .rf_footer_bottom .rf_footer_cookies:focus {
    padding: 0; border: 0; background: none !important; color: inherit; font: inherit; letter-spacing: 0;
    text-transform: none; text-decoration: underline; cursor: pointer; }
.rf_footer_bottom .rf_footer_cookies:hover { color: #fff; }
.rf_footer_bottom .rf_footer_cookies:focus-visible { color: #fff; outline: 2px solid var(--rf-gold); outline-offset: 3px; }
.rf_footer_bottom .rf_footer_privacy { color: inherit; text-decoration: underline; }
.rf_footer_bottom .rf_footer_privacy:hover, .rf_footer_bottom .rf_footer_privacy:focus-visible { color: #fff; }

/* Privacy policy (/polityka-prywatnosci/): one readable text column. */
.rf_page .rf_prose { max-width: 780px; margin: 0 auto; padding: 72px 32px 96px; box-sizing: border-box; }
.rf_page .rf_prose h2 { margin: 40px 0 14px; color: var(--rf-graphite); font: 700 22px/1.3 var(--rf-heading); letter-spacing: .04em; text-transform: uppercase; }
.rf_page .rf_prose section:first-child h2 { margin-top: 0; }
.rf_page .rf_prose h3 { margin: 24px 0 8px; color: var(--rf-graphite); font: 700 17px/1.4 var(--rf-heading); }
.rf_page .rf_prose p { margin: 0 0 14px; }
.rf_page .rf_prose ul { margin: 0 0 14px; padding-left: 22px; }
.rf_page .rf_prose li { margin: 0 0 8px; }
@media (max-width: 767px) { .rf_page .rf_prose { padding: 48px 20px 64px; } }

@media (max-width: 1199px) {
    .rf_cols_4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
    .rf_split, .rf_band_inner, .rf_contact_inner { gap: 40px; }
    .rf_cols_3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rf_footer_inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
    .rf_hero { min-height: 420px; }
    .rf_hero::before { background: linear-gradient(180deg, rgba(24, 21, 17, 0) 0%, rgba(24, 21, 17, .2) 35%, rgba(24, 21, 17, .7) 100%); }
    .rf_hero_inner { padding: 0 20px 36px; }
    .rf_hero h1.page_caption { font-size: 32px; }
    .rf_hero_plain .rf_hero_inner { padding: 40px 20px 32px; }
    .rf_hero_plain h1.page_caption { font-size: 30px; }
    .rf_page .rf_lead { font-size: 19px; }
    .rf_split, .rf_split_reverse, .rf_band_inner, .rf_contact_inner, .rf_contact_noform { grid-template-columns: 1fr; gap: 28px; padding: 56px 20px; }
    .rf_split_reverse .rf_split_media { order: 0; }
    .rf_split_media img, .rf_card_media img { aspect-ratio: 16 / 10; }
    .rf_split_media_whole img { aspect-ratio: auto; }
    .rf_card_media_contain img { aspect-ratio: auto; height: 200px; }
    .rf_band_text { position: static; }
    .rf_band_aside > div { padding: 16px 12px 4px; }
    .rf_cards { padding: 56px 20px; }
    .rf_cols_2, .rf_cols_3, .rf_cols_4 { grid-template-columns: 1fr; gap: 24px; }
    .rf_card_body { padding: 22px 22px 24px; }
    .rf_page .rf_title { font-size: 26px; }
    .rf_page .rf_subtitle { font-size: 19px; }
    .rf_contact_form, .rf_contact_side { padding: 24px 20px 16px; }
    .rf_contact_map .click_to_load_map_area { height: 300px; }
    .rf_page .rf_facts { grid-template-columns: 1fr; gap: 0; }
    .rf_facts dd { margin-bottom: 10px; }
    .rf_empty, .rf_event_nav { padding-left: 20px; padding-right: 20px; }
    .rf_notfound { padding: 72px 20px; }
    .rf_page .rf_notfound_code { font-size: 88px; }
    .rf_footer_inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 36px; }
    .rf_footer_logo { max-height: 110px; }
}

.rf_sr_only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.rf_page .rf_facts .rf_facts_lead { grid-column: 1 / -1; color: var(--rf-graphite); font-weight: 700; }

/* The page title follows the header directly; template pages below it get room to breathe. */
header.top_panel.with_featured_image { margin-bottom: 0 !important; }
.rf_hero ~ .page_content_wrap:not(.rf_page) { padding-top: 56px; padding-bottom: 72px; }
.rf_voucher figcaption { position: static; padding: 0; background: none; text-align: left; }
@media (max-width: 767px) {
    .rf_card:has(.rf_card_media_contain) { flex-direction: row; }
    .rf_card .rf_card_media_contain { flex: 0 0 34%; display: flex; align-items: center; justify-content: center; padding: 16px 0; }
    .rf_card .rf_card_media_contain img { height: 170px; }
    .rf_card:has(.rf_card_media_contain) .rf_card_body { padding: 18px 18px 20px; }
    .rf_page .rf_card:has(.rf_card_media_contain) h3 { font-size: 16px; }
}
@media (max-width: 767px) {
    .rf_footer_inner { grid-template-columns: auto 1fr; gap: 28px 24px; }
    .rf_footer_menu, .rf_footer_inner > .rf_footer_col:last-child { grid-column: 1 / -1; }
    .rf_footer_logo { max-height: 96px; }
}
@media (max-width: 767px) {
    .rf_hero.rf_hero_plain { min-height: 0; }
}
.rf_page .rf_voucher figcaption { position: static !important; padding: 0 !important; background: none !important; color: var(--rf-text) !important; text-align: left; }

/* Landscape photo beside text, optionally with a second photo over its corner (awards). */
.rf_split_landscape { grid-template-columns: 6fr 5fr; }
.rf_split_landscape.rf_split_reverse { grid-template-columns: 5fr 6fr; }
.rf_split_landscape .rf_split_media img { aspect-ratio: 4 / 3; max-height: none; }
/* A graphic shown whole at its own proportions (e.g. the voucher on /voucher/). */
.rf_split_media_whole img, .rf_split_landscape .rf_split_media_whole img { aspect-ratio: auto; height: auto; max-height: none; object-fit: contain; }
.rf_split_media_duo { position: relative; padding-bottom: 72px; }
.rf_split_media_duo .rf_split_second { position: absolute; left: -28px; bottom: 0; width: 44%; aspect-ratio: 16 / 9;
    border: 6px solid #fff; box-shadow: 0 14px 34px rgba(42, 42, 42, .18); }
.rf_page .rf_quote { margin: 0 0 18px; padding: 4px 0 4px 20px; border-left: 3px solid var(--rf-gold);
    color: var(--rf-graphite); font: italic 21px/1.5 var(--rf-serif); }
@media (max-width: 767px) {
    .rf_split_landscape, .rf_split_landscape.rf_split_reverse { grid-template-columns: 1fr; }
    .rf_split_media_duo { padding-bottom: 48px; }
    .rf_split_media_duo .rf_split_second { left: -8px; width: 50%; border-width: 4px; }
    .rf_page .rf_quote { font-size: 19px; }
}
.rf_page .rf_quote::before, .rf_page .rf_quote::after { display: none; content: none; }

/* The subpage bar is fixed from the first scrolled pixel (ScrollContext.headerFixed); from 1200px it
   keeps the logo and its height, so the bar does not change while the page scrolls. */
@media (min-width: 1200px) {
    .top_panel_fixed .with_featured_image .top_panel_navi .logo { display: block; }
    .top_panel_fixed .with_featured_image .menu_main_wrap { padding: 0; }
}

/* ---- UX review (visual trial round 5) ---- */
:root { --rf-accent-text: #8a5a14; }  /* 5.9:1 on white, 5.3:1 on cream; #e39a31 stays for fills and icons */

/* Text in the accent colour uses the darker shade; gold buttons carry dark text (6.1:1). */
.rf_page .rf_eyebrow, .rf_page .rf_more, .rf_contact dt, .rf_facts dt, .rf_page .rf_buybox_title { color: var(--rf-accent-text); }
.rf_page a.rf_btn { color: var(--rf-graphite); }
.rf_page a.rf_btn:hover, .rf_page a.rf_btn:focus-visible { background: var(--rf-graphite); border-color: var(--rf-graphite); color: #fff; }
.rf_page a.rf_btn_ghost { color: #fff; }
.rf_page a.rf_btn_ghost:hover, .rf_page a.rf_btn_ghost:focus-visible { background: #fff; border-color: #fff; color: var(--rf-graphite); }
.rf_page a.rf_btn_outline { color: var(--rf-graphite); background: transparent; }
.rf_price, .post_type_product .price .amount, .post_type_product .price .amount * { color: var(--rf-accent-text) !important; }
.top_panel_navi .menu_main_nav li > a:hover, .top_panel_navi .menu_main_nav li.current-menu-item > a,
.top_panel_navi .menu_main_nav li.current-menu-ancestor > a, .top_panel_navi .menu_main_nav li.current-menu-parent > a { color: var(--rf-accent-text) !important; }

/* One text face: Lato for running text; Crimson Text italic only for the intro sentence. */
.rf_page p, .rf_page li, .rf_page dd, .rf_page .rf_text, .rf_footer p, .rf_footer a,
.post_type_product .summary p, .post_type_product .summary div { font-family: var(--rf-heading); }
.rf_split_text p, .rf_card_body p, .rf_page .rf_text { font-size: 16.5px; line-height: 1.7; }
.rf_page .rf_text { margin: 0 0 14px; color: var(--rf-text); }

/* Keyboard: visible focus everywhere and a skip link. */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
    outline: 2px solid var(--rf-accent-text); outline-offset: 3px; }
.rf_footer a:focus-visible, .rf_hero a:focus-visible, .rf_home_hero a:focus-visible { outline-color: var(--rf-gold); }
.rf_skip { position: absolute; left: -9999px; top: 8px; z-index: 100001; padding: 10px 16px; background: #fff;
    color: var(--rf-graphite); font: 700 14px/1.2 var(--rf-heading); box-shadow: 0 4px 16px rgba(0, 0, 0, .2); }
.rf_skip:focus { left: 16px; }
#tresc:focus { outline: none; }

/* Home page first screen: heading, address and hours, two actions. */
.rf_home_hero { padding: 0 16px; text-align: center; }
.rf_home_hero .rf_home_title { margin: 0 0 14px; color: #fff; font: 700 46px/1.15 var(--rf-heading); letter-spacing: .06em;
    text-transform: uppercase; text-shadow: 0 2px 14px rgba(0, 0, 0, .55); }
.rf_page.rf_home_hero .rf_home_sub { margin: 0; color: #fff; font: italic 21px/1.45 var(--rf-serif); text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }
.rf_home_hero .rf_actions { justify-content: center; }
/* Home heading on tablets: smaller, so long words ("częstochowskiej") do not break inside. */
@media (min-width: 768px) and (max-width: 1023px) {
    .rf_home_hero .rf_home_title { font-size: 34px; letter-spacing: .03em; }
}
.rf_home_hero .rf_btn { min-height: 48px; box-sizing: border-box; display: inline-flex !important; align-items: center; }
.menu_mobile_button.light_colors, .menu_mobile_button.light_colors::before, .menu_mobile_button.light_colors::after { border-color: #fff !important; }
.menu_mobile_button.light_colors { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
button.menu_mobile_button { background: transparent; padding: 0; cursor: pointer; border-left: 0; border-right: 0; }

/* Submenus as wide as their longest item. */
.top_panel_navi .menu_main_nav > li > ul { width: auto; min-width: 14em; }
.top_panel_navi .menu_main_nav > li > ul > li > a { white-space: nowrap; }

/* Wine page: where and when to buy, under the price. */
.rf_buybox { margin: 22px 0; padding: 18px 22px; background: var(--rf-cream); border-left: 3px solid var(--rf-gold); }
.rf_page .rf_buybox_title { margin: 0 0 8px; font: 700 12px/1.4 var(--rf-heading); letter-spacing: .18em; text-transform: uppercase; }
.rf_buybox p { margin: 0 0 8px; color: var(--rf-text); }
.rf_buybox .rf_actions { margin-top: 14px; }
.rf_hours_line { display: block; }
.rf_buybox .rf_hours_line { display: inline; }
.rf_back { margin-top: 28px; }
.rf_back a, .rf_page a.rf_directions { color: var(--rf-accent-text); font: 700 13px/1.6 var(--rf-heading); letter-spacing: .08em; }
.rf_page a.rf_directions { display: block; margin-top: 4px; }

/* Contact form labels readable (14px, sentence case). */
.rf_page .sc_form .sc_form_field label, .rf_page .sc_form .sc_form_field .sc_form_field_title, .rf_page .sc_form label {
    font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; }

/* Cards band followed by the contact band (both cream): one gap, not two. */
.rf_cards_wrap.rf_tinted + .rf_contact .rf_contact_inner { padding-top: 8px; }

/* Phone: compact header that stays at the top; smaller back-to-top button. */
@media (max-width: 959px) {
    header.top_panel.with_featured_image { position: sticky; top: 0; z-index: 1000; background: #fff; box-shadow: 0 1px 0 var(--rf-line); }
    .with_featured_image .top_panel_navi .logo .logo_main { height: 46px; width: auto; }
    .trx_addons_scroll_to_top { width: 40px !important; height: 40px !important; line-height: 40px !important; right: 16px !important; bottom: 16px !important; }
}
@media (max-width: 767px) {
    .rf_home_hero .rf_home_title { font-size: 30px; letter-spacing: .04em; }
    .rf_page.rf_home_hero .rf_home_sub { font-size: 18px; }
    .rf_home_hero .rf_actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-left: auto; margin-right: auto; }
    .rf_home_hero .rf_btn { justify-content: center; }
}
/* The home logo sits over the photo: the heading starts below it. */
.rf_home_hero { padding-top: 170px; }
@media (max-width: 767px) { .rf_home_hero { padding-top: 90px; } }
@media (max-width: 959px) {
    /* The template's body overflow (hidden/auto) makes body a scroll container, which stops sticky;
       clip still hides sideways overflow without creating one. */
    body.body_tag { overflow-x: clip; overflow-y: visible; }
    header.top_panel.with_featured_image .top_panel_navi .menu_main_wrap .wrap { padding-top: 8px; padding-bottom: 8px; }
}
/* Menu button: the old 2rem x 1.5rem icon, with a 44px tap area around it. */
button.menu_mobile_button { width: 2rem; height: 1.5rem; }
button.menu_mobile_button::after { content: ""; position: absolute; inset: -12px -8px; }
@media (max-width: 959px) {
    .with_featured_image .top_panel_navi { padding-top: 6px !important; padding-bottom: 6px !important; }
    header.top_panel.with_featured_image > .menu_mobile_button { top: 26px !important; right: 20px !important; }
}
.rf_page .sc_form .sc_form_field_hover .sc_form_field_content { font-size: 14px !important; text-transform: none !important; letter-spacing: .02em !important; }
/* Home page on phones: the header lies over the photo at the top and becomes the fixed white bar
   of the subpages after scrolling (Header adds rf_home_header_fixed). */
@media (max-width: 959px) {
    header.top_panel.rf_home_header { position: fixed; top: 0; left: 0; right: 0; z-index: 10000; transition: background-color .2s, box-shadow .2s; }
    header.top_panel.rf_home_header_fixed { background: #fff !important; box-shadow: 0 1px 0 var(--rf-line); }
    header.rf_home_header_fixed .top_panel_navi { padding-top: 6px !important; padding-bottom: 6px !important; }
    header.rf_home_header_fixed .top_panel_navi .menu_main_wrap .wrap { padding-top: 8px; padding-bottom: 8px; }
    header.rf_home_header_fixed .top_panel_navi .logo .logo_main { height: 46px; width: auto; }
    header.rf_home_header_fixed > .menu_mobile_button { top: 26px !important; right: 20px !important; }
}

/* Wine page on phones: the product image at most 320 px high, so price and "Zamów do odbioru" are on the
   first screen (.ai/specs/2026-11-25-wine-page-layout.md). */
@media (max-width: 767px) {
    .page_content_wrap .post_type_product .images.rf_carousel { max-width: 240px; margin-left: auto; margin-right: auto; }
    .page_content_wrap .post_type_product .images:not(.rf_carousel) img { max-height: 320px; width: auto; margin: 0 auto; display: block; }
    .rf_hero ~ .page_content_wrap.single-product { padding-top: 28px; }
}
/* The buy box text after the button (the button now comes first). */
.rf_buybox .rf_actions + p { margin-top: 12px; }

/* Rounded corners (visual trial, 25.11.2026): small on controls, larger on boxes and photos that sit on
   the page background. Full-width bands, the page title, the map and the footer stay square. */
:root { --rf-radius-sm: 4px; --rf-radius: 12px; }
.rf_page a.rf_btn, .rf_page .sc_form .sc_form_field_button button, .click_to_load_map_actions a,
.click_to_load_map_actions button, .cookie_consent .cookie_consent_actions button, .rf_skip { border-radius: var(--rf-radius-sm); }
.rf_card, .rf_band_aside > div, .rf_contact_form, .rf_contact_side, .cookie_consent { border-radius: var(--rf-radius); }
.rf_card { overflow: hidden; }
.rf_split_media img, .rf_voucher img, .rf_carousel .rf_carousel_frame,
.page_content_wrap .post_type_product .images { border-radius: var(--rf-radius); }
.rf_split_media_duo .rf_split_second { border-radius: 8px; }
/* Boxes with the gold bar on the left: only the right corners, so the bar stays straight. */
.rf_buybox, .rf_page .rf_notice, .rf_page .rf_hours { border-radius: 0 var(--rf-radius-sm) var(--rf-radius-sm) 0; }
/* Content as a sheet over the page title (visual trials 2 and 3, 25.11.2026): the content below the
   title rises over its lower edge with rounded top corners, on the photo and on the light band.
   `overflow: clip` keeps the sticky band text working. */
:root { --rf-sheet: 24px; }
@media (max-width: 767px) { :root { --rf-sheet: 20px; } }
.rf_hero .rf_hero_inner { padding-bottom: calc(56px + var(--rf-sheet)); }
@media (max-width: 767px) {
    .rf_hero .rf_hero_inner { padding-bottom: calc(36px + var(--rf-sheet)); }
    .rf_hero_plain .rf_hero_inner { padding-bottom: calc(32px + var(--rf-sheet)); }
}
/* `~`, not `+`: on phones the mobile menu overlay sits between the title and the content. `flow-root`
   keeps the first section's top margin inside the sheet (it would otherwise cancel the overlap).
   `/wina/` has no content wrapper: its card section follows the title directly. */
.rf_hero ~ .page_content_wrap, .rf_hero ~ .rf_cards_wrap { position: relative; z-index: 1; display: flow-root;
    margin-top: calc(-1 * var(--rf-sheet)); border-radius: var(--rf-sheet) var(--rf-sheet) 0 0; overflow: clip; background: #fff; }
/* Home page: the first section rises over the photo. Not a tab on the photo: the template row margins
   make the photo wider than the visible area (15 px past the left edge, under the side bar on the
   right), which cut the tab's corners. The section spans exactly the visible area and keeps its own
   colour (white, or cream for an active event). */
.custom-home-image + .rf_page { position: relative; z-index: 1; margin-top: calc(-1 * var(--rf-sheet));
    border-radius: var(--rf-sheet) var(--rf-sheet) 0 0; }
.custom-home-image + .rf_page:not(.rf_tinted) { background: #fff; }
/* "Handled by Mistrz Wina" (visual trial, 25.11.2026): a quiet line with the logo - in the footer
   bar and in the wine pickup box (the Mistrz Wina forms carry their own credit). Full colour on hover/focus. */
/* Text colour --rf-text: --rf-muted on the cream box is 4.16:1, under AA for 13 px. It wraps between the
   text and the logo on narrow phones (the page clips sideways overflow). */
.rf_page a.rf_mw_credit, .rf_footer a.rf_mw_credit { display: inline-flex; flex-wrap: wrap; justify-content: center;
    align-items: baseline; gap: 4px 8px; color: var(--rf-text); font-size: 13px; line-height: 1.4; text-decoration: none; }
/* `baseline`: an image's baseline is its bottom edge, where the wordmark's letters stand (the arrows
   rise above them), so the text sits on the same line as "mistrzwina". */
.rf_mw_credit img { display: block; width: auto; height: 18px; opacity: .8; transition: opacity .2s ease; }
.rf_mw_credit:hover img, .rf_mw_credit:focus-visible img { opacity: 1; }
.rf_buybox .rf_mw_credit_row { margin: 12px 0 0; }
.rf_footer_credit { margin-top: 10px; }
.rf_footer a.rf_mw_credit_dark { color: var(--rf-footer-text); font-size: 13px; }
.rf_footer a.rf_mw_credit_dark:hover, .rf_footer a.rf_mw_credit_dark:focus-visible { color: var(--rf-gold); }
.rf_footer .rf_mw_credit_dark img { height: 16px; opacity: .7; }
/* Phones: the scroll-to-top button sits over the bar's lower right; keep the credit clear of it. */
@media (max-width: 767px) { .rf_footer_bottom { padding-bottom: 76px; } }
/* Home hotspots (visual trial, 25.11.2026): lower, over the vine rows instead of beside the title.
   The hotspot strip sits in the middle of the photo (column centring); the photo fills the screen,
   so the shift is in vh. Phones hide the hotspots. */
.custom-home-image .cq-hotspots { transform: translateY(24vh); }
/* The scroll-to-top button with the same small radius as the other buttons (owner, 25.11.2026). */
.trx_addons_scroll_to_top { border-radius: var(--rf-radius-sm); }
