/*
 Theme Name:   Prixfair Child Theme
 Theme URI:    https://prixfair.com
 Description:  REHub child theme for Prixfair – price comparison for fashion & beauty
 Author:       Prixfair
 Author URI:   https://prixfair.com
 Template:     rehub-theme
 Version:      1.4.3
 Text Domain:  prisfare
*/

/* ============================================
   PrisFare Design System v3 – Premium / editorial
   ============================================ */

:root {
    /* Prixfair palette: cream / black / muted gold (premium magazine).
       --pf-primary is the ACCENT (links, highlights): dark bronze for contrast.
       CTAs are near-black via --pf-cta. */
    --pf-primary: #8a6a38;
    --pf-primary-light: #a8834b;
    --pf-secondary: #6f5429;
    --pf-accent: #8a6a38;
    --pf-cta: #141414;
    --pf-cta-hover: #2e2e2e;
    --pf-star: #9a8b78;
    --pf-bg: #f7f4ee;
    --pf-bg-white: #ffffff;
    --pf-bg-subtle: #faf7f1;
    --pf-text: #1a1a1a;
    --pf-text-light: #5c5c5c;
    --pf-muted: #8a8a8a;
    --pf-border: #e8e3d8;
    --pf-border-strong: #d9d1c2;
    --pf-dark: #1c1c22;
    --pf-dark-lighter: #2a2a32;
    --pf-charcoal: #34343c;
    --pf-charcoal-hover: #2a2a32;
    /* Hero: darker gray → near-black (editorial, matches photo edge) */
    --pf-hero-bg: linear-gradient(
        90deg,
        #4f4f5a 0%,
        #42424c 14%,
        #35353e 30%,
        #26262e 48%,
        #151518 65%,
        #070708 82%,
        #000000 100%
    );
    /* Newsletter block: balanced diagonal (not tied to side image) */
    --pf-newsletter-bg: linear-gradient(122deg, #2b2b33 0%, #222228 42%, #1e2420 100%);
    --pf-radius: 14px;
    --pf-radius-sm: 10px;
    --pf-radius-lg: 20px;
    --pf-hero-radius: 22px;
    --pf-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    --pf-shadow-hover: 0 6px 24px rgba(0, 0, 0, 0.06);
    --pf-transition: 0.2s ease;
    --pf-section-space: 2.5rem;
}

/* ---- Base ---- */
html {
    overflow-x: clip;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--pf-text);
    background-color: var(--pf-bg);
    font-size: 15px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

*, *::before, *::after {
    box-sizing: border-box;
}

a { color: var(--pf-primary); transition: color var(--pf-transition); }
a:hover { color: var(--pf-secondary); }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    letter-spacing: -0.005em;
    color: var(--pf-text);
}

/* ============================================
   HEADER – Two-row Chanel-style layout
   Row 1 (sticky): [Lang/Hamburger] [LOGO centered] [User]
   Row 2 (collapse): [Category links] ... [Search]
   ============================================ */

#main_header,
.pf-header-bar {
    background: #ffffff !important;
    border: none !important;
}

#main_header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

.pf-header-bar {
    background: #fff;
    width: 100%;
    padding: 0;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* --- Row 1: Top bar --- */
.pf-header-top {
    border-bottom: 1px solid #eee;
    position: relative;
    z-index: 200;
}

.pf-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    box-sizing: border-box;
}

.pf-top-left,
.pf-top-right {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    z-index: 1;
    min-width: 60px;
}

.pf-top-right {
    margin-right: -28px;
}

.pf-header-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.pf-header-logo img {
    /* Prixfair wordmark is wide+short (800x101) — 24px tall ≈ 190px wide */
    height: 24px;
    width: auto;
    display: block;
}

.pf-text-logo {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--pf-text);
}

.pf-top-right .pf-login-trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    color: var(--pf-text);
    transition: color var(--pf-transition);
}

.pf-top-right .pf-login-trigger:hover {
    color: var(--pf-primary);
}

.pf-top-right .pf-icon {
    display: flex;
    color: inherit;
}

.pf-top-right .pf-icon svg {
    width: 24px;
    height: 24px;
}

/* --- Row 2: Sub-navigation (categories + search) --- */
.pf-header-subnav {
    border-bottom: 1px solid #eee;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.2s ease;
    will-change: transform;
    position: relative;
    z-index: 100;
}

.pf-header-subnav.pf-subnav-hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    width: 100%;
    left: 0;
}

.pf-subnav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.pf-subnav-cats {
    display: flex;
    align-items: center;
    gap: 24px;
    align-self: stretch;
}

.pf-subnav-home {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.pf-subnav-home svg {
    flex-shrink: 0;
    position: relative;
    top: -1px;
}

.pf-subnav-cats a {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pf-text);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, color 0.15s ease;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.pf-subnav-cats a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--pf-text, #2d2d2d);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.pf-subnav-cats a:hover {
    opacity: 0.6;
}

.pf-subnav-cats a.pf-subnav-active {
    opacity: 1;
}

.pf-subnav-cats a.pf-subnav-active::after {
    transform: scaleX(1);
}

/* --- Subnav dropdown menus --- */
.pf-subnav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.pf-subnav-parent {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--pf-text);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.15s ease, color 0.15s ease;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    align-self: stretch;
    gap: 4px;
}

.pf-subnav-parent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--pf-text, #2d2d2d);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.pf-subnav-parent:hover {
    opacity: 0.6;
}

.pf-subnav-parent.pf-subnav-active::after {
    transform: scaleX(1);
}

.pf-subnav-chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.pf-subnav-dropdown:hover .pf-subnav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.pf-subnav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    min-width: 200px;
    background: #fff;
    border: 1px solid var(--pf-border, #e8e8e8);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 1000;
}

.pf-subnav-dropdown:hover .pf-subnav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.pf-subnav-cats .pf-subnav-dropdown-menu a {
    display: block !important;
    padding: 10px 22px !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
    color: var(--pf-text, #2d2d2d) !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    white-space: nowrap;
    position: static !important;
    align-self: auto !important;
    opacity: 1 !important;
    transition: background 0.15s ease, color 0.15s ease;
    border-bottom: 1px solid var(--pf-border, #e8e8e8);
}

.pf-subnav-cats .pf-subnav-dropdown-menu a::after {
    display: none !important;
}

.pf-subnav-cats .pf-subnav-dropdown-menu a:last-child {
    border-bottom: none;
}

.pf-subnav-cats .pf-subnav-dropdown-menu a:hover {
    background: #f5f5f5 !important;
    opacity: 1 !important;
}

.pf-subnav-cats .pf-subnav-dropdown-menu a.pf-subnav-active {
    font-weight: 600 !important;
}

/* Subnav search */
.pf-subnav-search {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.pf-subnav-search-form {
    display: flex;
    align-items: center;
    position: relative;
}

.pf-subnav-search-form input[type="text"] {
    background: var(--pf-bg-subtle);
    border: 1px solid var(--pf-border);
    border-radius: 999px;
    padding: 6px 38px 6px 14px;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    color: var(--pf-text);
    width: 190px;
    height: 30px;
    box-sizing: border-box;
    outline: none;
    transition: border-color var(--pf-transition), box-shadow var(--pf-transition);
}

.pf-subnav-search-form input[type="text"]:focus {
    border-color: var(--pf-border-strong);
    box-shadow: 0 0 0 3px rgba(21, 107, 40, 0.12);
}

.pf-subnav-search-form input[type="text"]::placeholder {
    color: var(--pf-muted);
}

.pf-subnav-search-form button {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(21, 107, 40, 0.28);
    border-radius: 999px;
    width: 24px;
    height: 24px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--pf-transition), border-color var(--pf-transition);
    box-sizing: border-box;
}

.pf-subnav-search-form button:hover {
    background: rgba(21, 107, 40, 0.07);
    border-color: rgba(21, 107, 40, 0.5);
}

.pf-subnav-search-form button .pf-icon {
    display: block;
    color: var(--pf-primary);
}

.pf-subnav-search-form button .pf-icon svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: translateY(0.5px);
}

/* Mobile search icon in subnav (hidden on desktop) */
.pf-subnav-search-toggle {
    display: none;
}

/* Mobile hamburger hidden on desktop */
.pf-mobile-hamburger {
    display: none;
}

/* Mobile search bar (expandable, below header) */
.pf-mobile-search {
    display: none;
}

#dl-menu svg line {
    stroke: var(--pf-text);
}

/* Hide top bar and all REHub built-in extra logos */
.header_topline_wrap,
#logo_mobile_wrapper,
a.logo_image_mobile,
a.logo_image_insticky,
.logo_insticky_enabled .logo_image_insticky {
    display: none !important;
}

/* REHub: mobile menu logo strip bg override */
#rhmobtoppnl,
#mobtopheaderpnl,
li#mobtopheaderpnl {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
}

/* ============================================
   MOBILE SLIDE-OUT MENU  (#slide-menu-mobile)
   Clean override — REHub JS clones nav here,
   prepends logo li, appends close-menu li.
   ============================================ */

#slide-menu-mobile > ul.menu {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none;
}

/* Logo row at top of mobile menu */
#slide-menu-mobile > ul.menu > li.pf-mob-logo {
    padding: 14px 20px 12px !important;
    border-bottom: 1px solid #eee !important;
    background: #fff !important;
}

/* Logo/header row (prepended by REHub): compact or hide */
#slide-menu-mobile > ul.menu > li#mobtopheaderpnl {
    display: none !important;
}

/* Menu items */
#slide-menu-mobile > ul.menu > li {
    background: #fff !important;
    border-bottom: 1px solid var(--pf-border) !important;
}

#slide-menu-mobile > ul.menu > li > a {
    display: block;
    padding: 14px 20px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--pf-text) !important;
    text-decoration: none !important;
    background: #fff !important;
}

#slide-menu-mobile > ul.menu > li > a:hover {
    background: var(--pf-bg) !important;
}

/* Close button: absolute top-right corner */
#slide-menu-mobile > ul.menu > li.close-menu {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    z-index: 100 !important;
    border: none !important;
    background: transparent !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#slide-menu-mobile > ul.menu > li.close-menu span {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

#slide-menu-mobile > ul.menu > li.close-menu i {
    font-size: 20px !important;
    color: var(--pf-text) !important;
}

/* Language header row */
#slide-menu-mobile > ul.menu > li.pf-mobilelang-header {
    border-bottom: none !important;
}

/* Overlay backdrop */
.offsetnav-overlay {
    background: rgba(0, 0, 0, 0.45) !important;
}

/* Ensure no ancestor breaks position:sticky or clips dropdowns */
.rh-outer-wrap,
.header_wrap,
#main_header {
    overflow: visible !important;
}

.pf-header-bar,
.pf-header-top,
.pf-header-top-inner {
    overflow: visible !important;
}

/* Mobile menu language items: visually hidden on desktop only */
@media (min-width: 992px) {
.pf-mobilelang {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
}

/* --- Responsive: mobile layout --- */
@media (max-width: 991px) {
    #main_header,
    .header_wrap,
    .sticky-wrapper,
    .pf-header-bar {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .pf-desktop-only {
        display: none !important;
    }

    .pf-header-top-inner {
        padding: 0 16px;
    }

    .pf-top-left {
        margin-left: -6px;
    }

    .pf-top-right {
        margin-right: -4px;
    }

    .pf-top-right .pf-login-trigger {
        width: 28px;
        height: 28px;
    }

    .pf-mobile-hamburger {
        display: flex !important;
        align-items: center;
        flex: 0 0 auto;
    }

    .pf-mobile-hamburger .responsive_nav_wrap {
        display: flex;
        align-items: center;
        position: relative;
    }

    .pf-mobile-hamburger .responsive_nav_wrap > *:not(#dl-menu) {
        position: absolute;
        pointer-events: none;
        opacity: 0;
    }

    .pf-mobile-hamburger #dl-menu {
        margin: 0;
        display: flex;
        align-items: center;
    }

    .pf-mobile-hamburger .dl-trigger {
        width: 44px;
        height: 44px;
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
    }

    /* Show language and category items in mobile slide-out */
    #slide-menu-mobile .pf-mobilelang,
    #slide-menu-mobile .pf-mob-cat {
        position: static !important;
        width: auto !important;
        height: auto !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: normal !important;
    }

    /* Hide subnav category links on mobile */
    .pf-subnav-cats {
        display: none !important;
    }

    /* Hide the search toggle icon – search bar is always visible */
    .pf-subnav-search-toggle {
        display: none !important;
    }

    /* Show inline search form in subnav row */
    .pf-subnav-search {
        flex: 1;
        margin-left: 0;
    }

    .pf-subnav-search .pf-subnav-search-form {
        display: flex !important;
        width: 100%;
    }

    .pf-subnav-search .pf-subnav-search-form input[type="text"] {
        width: 100%;
        font-size: 14px;
        padding: 6px 42px 6px 14px;
        height: 34px;
    }

    .pf-subnav-search .pf-subnav-search-form button {
        width: 28px;
        height: 28px;
        right: 5px;
    }

    .pf-subnav-search .pf-subnav-search-form button .pf-icon svg {
        width: 13px;
        height: 13px;
    }

    .pf-subnav-inner {
        justify-content: stretch;
        height: 42px;
        padding: 0 16px;
    }

    /* Reduce gap between header and first content section */
    .pf-fullwidth-page > div:first-of-type {
        margin-top: 22px !important;
    }

    /* Hide the separate expandable mobile search bar – no longer needed */
    .pf-mobile-search {
        display: none !important;
    }

    .pf-mobile-search form {
        display: flex;
        align-items: center;
        position: relative;
    }

    .pf-mobile-search input[type="text"] {
        flex: 1;
        background: var(--pf-bg);
        border: 1px solid var(--pf-border);
        border-radius: 20px;
        padding: 8px 40px 8px 14px;
        font-size: 16px;
        font-family: 'Inter', sans-serif;
        color: var(--pf-text);
        height: 38px;
        box-sizing: border-box;
        outline: none;
    }

    .pf-mobile-search input[type="text"]:focus {
        border-color: var(--pf-primary);
    }

    .pf-mobile-search button {
        position: absolute;
        right: 2px;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(255, 255, 255, 0.98);
        border: 1px solid rgba(21, 107, 40, 0.28);
        border-radius: 50%;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-sizing: border-box;
        transition: background var(--pf-transition), border-color var(--pf-transition);
    }

    .pf-mobile-search button:hover {
        background: rgba(21, 107, 40, 0.07);
        border-color: rgba(21, 107, 40, 0.5);
    }

    .pf-mobile-search button .pf-icon {
        color: var(--pf-primary);
    }

    .pf-mobile-search button .pf-icon svg {
        width: 15px;
        height: 15px;
        stroke: currentColor;
        stroke-width: 2;
        transform: translateY(2px);
    }
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */

.pf-lang-switcher {
    position: relative;
    display: flex;
    align-items: center;
}

.pf-lang-switcher .pf-lang-current {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em;
    padding: 5px 10px !important;
    border: 1px solid var(--pf-border);
    border-radius: 6px;
    cursor: pointer;
    transition: border-color var(--pf-transition), color var(--pf-transition);
    user-select: none;
    line-height: 1;
    white-space: nowrap;
}

.pf-lang-switcher .pf-lang-current:hover {
    border-color: var(--pf-primary) !important;
    color: var(--pf-primary) !important;
}

.pf-lang-switcher .pf-lang-dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius-sm);
    min-width: 120px;
    padding: 4px 0;
    box-shadow: var(--pf-shadow);
    display: none;
    z-index: 99999;
    list-style: none;
    margin: 4px 0 0;
}

.pf-lang-switcher:hover .pf-lang-dropdown,
.pf-lang-switcher.open .pf-lang-dropdown {
    display: block;
}

.pf-lang-switcher .pf-lang-dropdown li a {
    display: block;
    padding: 8px 16px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px !important;
    color: var(--pf-text) !important;
    text-decoration: none;
    white-space: nowrap;
}

.pf-lang-switcher .pf-lang-dropdown li a:hover {
    background: var(--pf-bg);
    color: var(--pf-primary) !important;
}

.pf-lang-switcher .pf-lang-dropdown li.current-lang a {
    font-weight: 600;
    color: var(--pf-primary) !important;
}

/* ============================================
   HERO – Contained premium block (not edge-to-edge)
   ============================================ */
.pf-hero-section {
    background: var(--pf-bg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 30px 6px;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

.pf-hero-inner {
    display: flex;
    align-items: stretch;
    max-width: 100%;
    margin: 0 auto;
    padding: 34px 48px;
    gap: 40px;
    background: var(--pf-hero-bg);
    border-radius: var(--pf-hero-radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
}

.pf-hero-content {
    flex: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 0 8px;
    min-width: 0;
}

.pf-hero-content h1 {
    color: #ffffff;
    font-size: clamp(1.5rem, 2.65vw, 2.05rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin: 0 0 16px;
}

.pf-hero-content p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.62;
    margin: 0 0 16px;
    max-width: 32em;
    font-weight: 400;
}

.pf-hero-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 999px;
    padding: 2px 6px 2px 16px;
    max-width: 400px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
    min-height: 42px;
    box-sizing: border-box;
}

.pf-hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 13px;
    background: transparent;
    color: var(--pf-text);
    font-family: 'Inter', sans-serif;
    min-width: 0;
    padding: 9px 0;
}

.pf-hero-search input::placeholder {
    color: var(--pf-muted);
}

.pf-hero-search button {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(21, 107, 40, 0.28);
    border-radius: 999px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--pf-transition), border-color var(--pf-transition), box-shadow var(--pf-transition);
    flex-shrink: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.pf-hero-search button:hover {
    background: rgba(21, 107, 40, 0.07);
    border-color: rgba(21, 107, 40, 0.5);
}

.pf-hero-search button svg {
    width: 16px;
    height: 16px;
    stroke: var(--pf-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Bleed to hero-inner edges so image fills row height; right radius matches box */
.pf-hero-image {
    flex: 0 0 clamp(260px, 34vw, 380px);
    z-index: 2;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    align-self: stretch;
    position: relative;
    /* Pull to inner edges of .pf-hero-inner (incl. 1px border) to remove top/bottom gap */
    margin: calc(-34px - 1px) calc(-48px - 1px) calc(-34px - 1px) 0;
    border-radius: 0 var(--pf-hero-radius) var(--pf-hero-radius) 0;
    min-height: 0;
}

/* Soft editorial blend: gradient meets photo without a hard seam */
.pf-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(36, 36, 44, 0.5) 0%,
        rgba(36, 36, 44, 0.22) 28%,
        rgba(36, 36, 44, 0.06) 52%,
        transparent 74%
    );
}

.pf-hero-image img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: 58% 14%;
    display: block;
    position: relative;
    z-index: 0;
}

/* ============================================
   CATEGORY ROW – monochrome icon system
   ============================================ */
.pf-categories-bar {
    background: var(--pf-bg-white);
    padding: 12px 0 14px;
    border-bottom: 1px solid var(--pf-border);
}

.pf-categories-list {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    list-style: none;
}

.pf-categories-list li {
    text-align: center;
}

.pf-categories-list a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1px;
    color: var(--pf-text);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding: 4px 14px;
    border-radius: var(--pf-radius-sm);
    border: 1px solid transparent;
    transition: color var(--pf-transition), border-color var(--pf-transition), background var(--pf-transition);
}

.pf-categories-list a:hover {
    color: var(--pf-primary);
    border-color: var(--pf-border);
    background: var(--pf-bg-subtle);
}

.pf-categories-list .pf-cat-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 0;
    flex-shrink: 0;
}

.pf-categories-list .pf-cat-icon-svg {
    color: var(--pf-text);
}

.pf-categories-list .pf-cat-icon-svg svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pf-categories-list a:hover .pf-cat-icon-svg {
    color: var(--pf-primary);
}

/* Homepage vertical rhythm between major blocks */
body.home .entry-content > div[style*="max-width:1200px"] {
    margin-top: var(--pf-section-space) !important;
    margin-bottom: var(--pf-section-space) !important;
}

body.home .entry-content > div.pf-newsletter {
    margin-top: calc(var(--pf-section-space) * 1.1) !important;
}

/* Wide screens: the homepage sections default to 30px side padding, leaving a big
   empty gutter between the grid and the ad rails. Trim it so the content fills to
   ~25px of the rails (matching the article layout). Narrower screens keep their
   larger gutters via the media queries further down. */
@media (min-width: 1280px) {
    body.home div[style*="max-width:1200px"],
    body.home div[style*="max-width: 1200px"],
    body.home .pf-section-header {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
}

/* ============================================
   SECTION HEADINGS
   ============================================ */
.pf-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    margin-top: 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 30px;
}

.pf-section-header h2 {
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin: 0;
}

.pf-section-header a {
    color: var(--pf-text-light);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.pf-section-header a:hover {
    color: var(--pf-primary);
    text-decoration: none;
}

/* Inline homepage section headers (WordPress post content) */
body.home .entry-content div[style*="justify-content:space-between"] h2 {
    font-weight: 600 !important;
    letter-spacing: -0.02em !important;
}

body.home .entry-content div[style*="justify-content:space-between"] a {
    color: var(--pf-text-light) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
}

body.home .entry-content div[style*="justify-content:space-between"] a:hover {
    color: var(--pf-primary) !important;
}

/* Homepage inline “see all” links: match design token green */
body.home .entry-content a[style*="color:#1b7a2b"],
body.home .entry-content a[style*="color: #1b7a2b"] {
    color: var(--pf-primary) !important;
}

/* ============================================
   PRODUCT GRID – 4 columns instead of 3
   ============================================ */
.col_wrap_three.rh-flex-eq-height.grid_woo {
    margin: 0 0 20px !important;
    gap: 12px;
}
.col_wrap_three.rh-flex-eq-height.grid_woo > .col_item {
    width: calc(25% - 9px) !important;
    margin: 0 !important;
    float: none !important;
}
.col_wrap_three.rh-flex-eq-height.grid_woo > .col_item:nth-child(3n+1) {
    clear: none !important;
}

/* Tighter product card vertical spacing */
.woo_grid_compact .cat_for_grid {
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
}
.woo_grid_compact h3 {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}
.woo_grid_compact figure.mb15 {
    margin-bottom: 8px !important;
}
.woo_grid_compact .border-top.pt10.pb10 {
    padding-top: 6px !important;
    padding-bottom: 6px !important;
}

/* ============================================
   PRODUCT CARDS – Clean, modern
   ============================================ */
.content_constructor .grid_onsale,
.woo_grid_compact,
.deal-item,
.product-card,
.rh-cartbox,
li.product .product-inner,
.woocommerce ul.products li.product {
    border-radius: var(--pf-radius);
    border: 1px solid var(--pf-border);
    background: var(--pf-bg-white);
    transition: box-shadow var(--pf-transition), transform var(--pf-transition);
    overflow: hidden;
}

.content_constructor .grid_onsale:hover,
.woo_grid_compact:hover,
.deal-item:hover,
.product-card:hover,
.rh-cartbox:hover,
li.product .product-inner:hover {
    box-shadow: var(--pf-shadow-hover);
    transform: translateY(-1px);
    border-color: var(--pf-border-strong);
}

/* Product image area */
.rh-cartbox .rh-cartbox-image,
.product-card .product-image {
    position: relative;
    overflow: hidden;
    background: #fafafa;
}

/* Sale / discount badges – quiet, editorial */
.sale_a_proc,
.rehub-label-discount,
.discount-badge,
.pf-sale-badge,
span.onsale.discount-badge {
    background: rgba(21, 107, 40, 0.07) !important;
    color: #3d5c45 !important;
    border-radius: 4px;
    font-weight: 500;
    font-size: 10px;
    padding: 3px 7px;
    letter-spacing: 0.06em;
    text-transform: none;
    border: 1px solid rgba(21, 107, 40, 0.12);
}

/* Product title */
.rh-cartbox h3,
.product-card h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px;
    font-weight: 600;
    color: var(--pf-text);
    line-height: 1.42;
    letter-spacing: -0.015em;
    margin: 10px 0 8px;
}

/* Product price */
.rh-deal-price,
.price ins,
.rehub-main-font.font110,
.price-old-new .price-new,
.woocommerce ul.products li.product .price {
    color: var(--pf-text);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: -0.01em;
    margin-top: 2px;
}

.rh-deal-price-old,
.price del,
.price-old-new .price-old {
    color: var(--pf-muted);
    text-decoration: line-through;
    font-size: 12px;
    font-weight: 400;
}

/* Product meta / attributes – inline editorial line, not a bullet list */
.woo_code_zone_loop .border-top.mb10,
.woo_code_zone_loop .border-top.mt15 {
    border-top-color: rgba(0, 0, 0, 0.06) !important;
    opacity: 1;
}

.woo_code_zone_loop .pf-product-attrs,
li.product ul.pf-product-attrs {
    display: block !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 6px 0 0 !important;
}

.woo_code_zone_loop .pf-product-attrs li,
li.product ul.pf-product-attrs li {
    list-style: none !important;
    margin: 0 !important;
    margin-left: 0 !important;
    padding: 0 !important;
    display: inline;
    font-size: 11px !important;
    line-height: 1.45 !important;
    font-weight: 400 !important;
    color: #9c9c98 !important;
}

.woo_code_zone_loop .pf-product-attrs li + li::before,
li.product ul.pf-product-attrs li + li::before {
    content: '·';
    display: inline;
    margin: 0 0.5em 0 0;
    color: #c8c8c4;
    font-weight: 400;
}

.woo_code_zone_loop .pf-product-attrs li span:first-child,
li.product ul.pf-product-attrs li span:first-child {
    font-weight: 500 !important;
    color: #a8a8a3 !important;
    margin-right: 0.2em;
}

.woo_code_zone_loop .pf-product-attrs,
li.product .rehub-main-font.font80,
li.product .woo_loop_desc {
    color: #9c9c98 !important;
}

/* Rating stars */
.star-rating span::before,
.rated_stars span {
    color: var(--pf-star);
}

/* Loop action icons (wishlist, compare, quick view) – recessive */
li.product .rehub_woo_loop_actions a,
li.product .button_action a,
li.product .icons_col a,
li.product a.actloopact {
    opacity: 0.48 !important;
    transition: opacity var(--pf-transition), color var(--pf-transition) !important;
}

li.product .rehub_woo_loop_actions a .rhicon,
li.product .button_action a .rhicon,
li.product .icons_col a .rhicon,
li.product a.actloopact .rhicon {
    font-size: 13px !important;
}

li.product .rehub_woo_loop_actions a:hover,
li.product .button_action a:hover,
li.product .icons_col a:hover,
li.product a.actloopact:hover {
    opacity: 0.88 !important;
    color: var(--pf-text-light) !important;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn_offer_block,
.rh-deal-compact-btn a,
.wpsm-button.rehub_main_btn,
.re_track_btn,
.elementor-button {
    background: var(--pf-primary) !important;
    color: #fff !important;
    border: none;
    border-radius: var(--pf-radius-sm);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 22px;
    letter-spacing: 0.03em;
    transition: background var(--pf-transition), opacity var(--pf-transition);
    cursor: pointer;
    box-shadow: none !important;
}

.btn_offer_block:hover,
.rh-deal-compact-btn a:hover,
.wpsm-button.rehub_main_btn:hover,
.re_track_btn:hover,
.elementor-button:hover {
    background: var(--pf-secondary) !important;
    color: #fff !important;
    opacity: 0.96;
}

/* (Removed: legacy charcoal loop-CTA block — superseded by the Prixfair
   redesign's grid-card outline buttons further down.) */

/* Sign in button style */
.pf-btn-signin {
    background: transparent;
    border: 1px solid var(--pf-border-strong);
    color: var(--pf-text);
    border-radius: var(--pf-radius-sm);
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: border-color var(--pf-transition), color var(--pf-transition), background var(--pf-transition);
}

.pf-btn-signin:hover {
    background: var(--pf-primary);
    color: #ffffff;
    border-color: var(--pf-primary);
}

/* ============================================
   NEWSLETTER – quiet CTA strip
   ============================================ */
.pf-newsletter {
    background: var(--pf-newsletter-bg);
    padding: 44px 24px;
    text-align: center;
    border-radius: var(--pf-hero-radius);
    max-width: 1160px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-newsletter h3 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
}

.pf-newsletter p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    line-height: 1.55;
    margin: 0 auto 22px;
    max-width: 460px;
}

.pf-newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pf-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 12px 18px;
    border: none;
    font-size: 14px;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.pf-newsletter-form button {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(21, 107, 40, 0.3);
    border-left: none;
    padding: 11px 16px;
    cursor: pointer;
    color: var(--pf-primary);
    transition: background var(--pf-transition), border-color var(--pf-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.pf-newsletter-form button:hover {
    background: rgba(21, 107, 40, 0.1);
    border-color: rgba(21, 107, 40, 0.45);
}

.pf-newsletter-form button svg {
    stroke: var(--pf-primary);
    stroke-width: 2;
}

/* ============================================
   SINGLE POST – Clean up article pages
   ============================================ */
.single-post .top_share {
    display: none !important;
}

/* Tables in article content: compact, content-sized columns (all screen sizes).
   The content container in this theme's post layouts is .post-inner. Gutenberg's
   .has-fixed-layout (table-layout:fixed) forces equal columns — so the "#" column
   ends up as wide as a text column, wasting space and forcing horizontal scroll.
   We override to auto everywhere so narrow columns stay narrow; the figure wrapper
   scrolls horizontally only when a table is genuinely wider than the screen. */
.post-inner figure.wp-block-table,
.post-inner .wp-block-table,
.rh-post-wrapper figure.wp-block-table,
.entry-content figure.wp-block-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}
.post-inner .wp-block-table > table,
.rh-post-wrapper .wp-block-table > table,
.entry-content .wp-block-table > table {
    table-layout: auto !important;   /* was fixed → equal, crushed columns */
    width: 100%;                     /* fill the column; auto-layout spreads width across columns */
    max-width: none !important;
}
.post-inner .wp-block-table > table th,
.post-inner .wp-block-table > table td,
.rh-post-wrapper .wp-block-table > table th,
.rh-post-wrapper .wp-block-table > table td,
.entry-content .wp-block-table > table th,
.entry-content .wp-block-table > table td {
    padding: 7px 9px !important;     /* was 7px 14px — trim horizontal padding */
    min-width: 0 !important;
    overflow-wrap: normal;           /* never break a word mid-way (e.g. "Korvstrogan-off") */
    word-break: normal;
    hyphens: none;
}
/* Index / "#" column: short numbers must never wrap ("10", not "1" / "0"). */
.post-inner .wp-block-table > table th:first-child,
.post-inner .wp-block-table > table td:first-child,
.rh-post-wrapper .wp-block-table > table th:first-child,
.rh-post-wrapper .wp-block-table > table td:first-child,
.entry-content .wp-block-table > table th:first-child,
.entry-content .wp-block-table > table td:first-child {
    white-space: nowrap;
    text-align: center;
    padding-left: 6px !important;
    padding-right: 6px !important;
}
@media (max-width: 767px) {
    .post-inner .wp-block-table > table th,
    .post-inner .wp-block-table > table td,
    .rh-post-wrapper .wp-block-table > table th,
    .rh-post-wrapper .wp-block-table > table td,
    .entry-content .wp-block-table > table th,
    .entry-content .wp-block-table > table td {
        padding: 6px 8px !important;
        font-size: 14px;
    }
}

/* ============================================
   FOOTER – Light, airy, premium quiet
   ============================================ */
footer.suspended_footer,
.bottom_more_footer,
.rh-footer,
#rh_suspended_footer,
.suspended_footer_area {
    background: var(--pf-bg-subtle) !important;
    color: var(--pf-text-light) !important;
    border-top: 1px solid var(--pf-border) !important;
}

.rh-footer .widget-title,
footer .widget-title,
.suspended_footer_area .widget-title {
    color: var(--pf-text) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 18px !important;
}

footer a,
.rh-footer a,
.suspended_footer_area a {
    color: var(--pf-muted) !important;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

footer a:hover,
.rh-footer a:hover,
.suspended_footer_area a:hover,
.footer-bottom.dark_style .footer_widget a:hover,
.footer-bottom.dark_style .footer_widget ul li a:hover {
    color: #dccfb8 !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(220, 207, 184, 0.85) !important;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

/* Share buttons: REHub labels the X/Twitter button "XTwitter" via a CSS
   pseudo-element (row_social_inpost span.tw:after). Use just the brand "X". */
.row_social_inpost span.tw:after {
    content: "X" !important;
}

/* Footer social icons: single horizontal row (flex gap, no reliance on
   whitespace/<br>), consistent icon sizing for both rhicon and inline SVG. */
.pf-footer-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
}
.pf-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* a11y target-size: keep a comfortable >=36px touch target on mobile */
    min-width: 36px;
    min-height: 36px;
    color: var(--pf-muted) !important;
    line-height: 1;
}
.pf-footer-social a svg {
    width: 19px;
    height: 19px;
}
.pf-footer-social a .rhicon {
    font-size: 20px;
    line-height: 1;
}

/* Icon links: no underline, slight brighten */
.pf-footer-social a:hover,
.suspended_footer_area .pf-footer-social a:hover,
footer .pf-footer-social a:hover,
.footer-bottom.dark_style .widget.social_link a:hover,
.footer-bottom.dark_style .social_icon a:hover {
    text-decoration: none !important;
    color: #ffffff !important;
    opacity: 0.95;
}

.rh-footer .footer-bottom,
.footer_style_suspended,
.footer_bottom_part {
    border-top: 1px solid var(--pf-border) !important;
    color: var(--pf-muted) !important;
    font-size: 12px;
    padding-top: 1.25rem !important;
}

/*
 * REHub footer: bg image is anchored bottom — large padding-top + solid #000 reads as an empty band.
 * Keep padding modest; extend image coverage so the strip above columns is not a flat void.
 */
.footer-bottom.dark_style {
    position: relative;
    padding-top: 28px !important;
    padding-bottom: 48px !important;
    background-size: cover !important;
    background-position: center 42% !important;
    background-repeat: no-repeat !important;
}

.footer-bottom.dark_style > .rh-container {
    position: relative;
    z-index: 1;
}

.footer-bottom.dark_style .footer_widget .title,
.footer-bottom.dark_style .footer_widget h2 {
    font-weight: 500 !important;
    letter-spacing: 0.12em !important;
}

footer.suspended_footer p,
footer.suspended_footer li,
.suspended_footer_area p,
.suspended_footer_area li,
.rh-footer .widget p,
.rh-footer .widget li {
    color: var(--pf-text-light) !important;
}

/* Footer newsletter widget (readable on dark / image footers) */
.pf-footer-newsletter-wrap {
    max-width: 100%;
}

.pf-footer-nl-title {
    color: rgba(255, 255, 255, 0.96) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin: 8px 0 12px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.pf-footer-nl-desc {
    color: rgba(255, 255, 255, 0.78) !important;
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 20px !important;
    font-weight: 400;
    max-width: 28em;
    text-shadow: none;
}

.pf-footer-nl-form {
    display: flex;
    gap: 0;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.14);
    max-width: 400px;
    background: rgba(0, 0, 0, 0.15);
}

.pf-footer-nl-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 11px 16px;
    border: none;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.96);
    color: var(--pf-text);
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: box-shadow 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.pf-footer-nl-form input[type="email"]::placeholder {
    color: var(--pf-muted);
}

.pf-footer-nl-form input[type="email"]:focus {
    box-shadow: inset 0 0 0 1px rgba(21, 107, 40, 0.35);
}

.pf-footer-nl-form button {
    flex-shrink: 0;
    padding: 11px 22px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0;
    font-size: 12px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.pf-footer-nl-form button:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* Footer newsletter inside mobile slide-out (narrow panel, any viewport width) */
#dl-menu .pf-footer-nl-form,
.dl-menuwrapper .pf-footer-nl-form,
.responsive_nav_wrap .pf-footer-nl-form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    border: none;
    overflow: visible;
    border-radius: 0;
    max-width: 100%;
}

#dl-menu .pf-footer-nl-form input[type="email"],
.dl-menuwrapper .pf-footer-nl-form input[type="email"],
.responsive_nav_wrap .pf-footer-nl-form input[type="email"] {
    width: 100%;
    max-width: 100%;
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius-sm);
}

#dl-menu .pf-footer-nl-form input[type="email"]:focus,
.dl-menuwrapper .pf-footer-nl-form input[type="email"]:focus,
.responsive_nav_wrap .pf-footer-nl-form input[type="email"]:focus {
    box-shadow: 0 0 0 2px rgba(21, 107, 40, 0.2);
}

#dl-menu .pf-footer-nl-form button,
.dl-menuwrapper .pf-footer-nl-form button,
.responsive_nav_wrap .pf-footer-nl-form button {
    width: 100%;
    max-width: 100%;
    justify-content: center;
    border-radius: var(--pf-radius-sm);
}

/* ============================================
   CATEGORY FILTER PILLS
   ============================================ */
.pf-cat-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.pf-cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--pf-text, #2d2d2d);
    background: var(--pf-bg-soft, #f5f5f5);
    border: 1px solid var(--pf-border, #e5e5e5);
    border-radius: 20px;
    cursor: pointer;
    transition: background .15s, color .15s, border-color .15s;
    white-space: nowrap;
    font-family: inherit;
    text-decoration: none;
}
a.pf-cat-pill:hover {
    color: var(--pf-text, #2d2d2d);
    text-decoration: none;
}
a.pf-cat-pill.active {
    color: #fff;
}
.pf-cat-pill:hover {
    background: #eaeaea;
    border-color: #ccc;
}
.pf-cat-pill.active {
    background: var(--pf-primary, #2d2d2d);
    color: #fff;
    border-color: var(--pf-primary, #2d2d2d);
}
.pf-filter-hidden {
    display: none !important;
}

/* ============================================
   FEATURED POSTS – magazine-style hero grid
   Layout: large left | medium top-right
                       | 2 small bottom-right
   ============================================ */
.pf-featured-grid {
    display: grid;
    grid-template-columns: 55% 1fr 1fr;
    grid-template-rows: 55% 1fr;
    gap: 5px;
    border-radius: var(--pf-radius);
    overflow: hidden;
    height: 500px;
}

.pf-featured-main,
.pf-featured-side-item {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #2a2a3a;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
}

/* Large left – spans full height */
.pf-featured-main {
    grid-column: 1;
    grid-row: 1 / -1;
}

/* Medium top-right – spans both right columns */
.pf-featured-side-item:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1;
}

/* Two small bottom-right – one per column */
.pf-featured-side-item:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.pf-featured-side-item:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.pf-featured-main::before,
.pf-featured-side-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
    transition: background var(--pf-transition);
}

.pf-featured-main:hover::before,
.pf-featured-side-item:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.28) 55%, rgba(0,0,0,0.05) 100%);
}

.pf-featured-overlay {
    position: relative;
    z-index: 1;
    padding: 22px;
    width: 100%;
}

.pf-featured-cat {
    display: inline-block;
    background: var(--pf-primary);
    color: #fff;
    font-size: 9.5px;               /* was 10.5px — smaller tag so overlay text fits */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 8px;               /* was 3px 10px */
    border-radius: 3px;
    margin-bottom: 6px;             /* was 10px */
}

.pf-featured-main .pf-featured-overlay h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px;
    color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

.pf-featured-side-item .pf-featured-overlay h3 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 5px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

/* The medium top-right gets slightly larger text */
.pf-featured-side-item:nth-child(2) .pf-featured-overlay h3 {
    font-size: 1.1rem;
}

.pf-featured-meta {
    font-size: 12px;
    color: rgba(255,255,255,0.78);
}

.pf-featured-main .pf-featured-meta {
    font-size: 13px;
}

/* Bottom-right small items: tighter padding so long titles fit without clipping */
.pf-featured-side-item:nth-child(3) .pf-featured-overlay,
.pf-featured-side-item:nth-child(4) .pf-featured-overlay {
    padding: 12px;
}

/* --- Mirrored variant: large image on RIGHT --- */
.pf-featured-grid--right {
    grid-template-columns: 1fr 1fr 55%;
}
.pf-featured-grid--right .pf-featured-main {
    grid-column: 3;
    grid-row: 1 / -1;
}
.pf-featured-grid--right .pf-featured-side-item:nth-child(2) {
    grid-column: 1 / 3;
    grid-row: 1;
}
.pf-featured-grid--right .pf-featured-side-item:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
}
.pf-featured-grid--right .pf-featured-side-item:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
}

/* Spacing between repeating featured blocks in the archive flow */
.pf-blog-archive .pf-featured-grid {
    margin: 12px 0;
}

@media (max-width: 768px) {
    .pf-featured-grid,
    .pf-featured-grid--right {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 260px 180px;
        height: auto;
    }
    .pf-featured-main,
    .pf-featured-grid--right .pf-featured-main {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    .pf-featured-side-item:nth-child(2),
    .pf-featured-grid--right .pf-featured-side-item:nth-child(2) {
        display: none;
    }
    .pf-featured-side-item:nth-child(3),
    .pf-featured-grid--right .pf-featured-side-item:nth-child(3) {
        grid-column: 1;
        grid-row: 2;
    }
    .pf-featured-side-item:nth-child(4),
    .pf-featured-grid--right .pf-featured-side-item:nth-child(4) {
        grid-column: 2;
        grid-row: 2;
    }
    .pf-featured-main .pf-featured-overlay h3 {
        font-size: 1.15rem;
    }
}

/* ============================================
   BLOG / INSPIRATION – editorial cards
   ============================================ */
.pf-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.pf-blog-card {
    display: block;
    border-radius: var(--pf-radius);
    overflow: hidden;
    background: var(--pf-bg-white);
    border: 1px solid var(--pf-border);
    text-decoration: none;
    color: var(--pf-text);
    transition: box-shadow var(--pf-transition), transform var(--pf-transition), border-color var(--pf-transition);
}

.pf-blog-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--pf-shadow-hover);
    border-color: var(--pf-border-strong);
    color: var(--pf-text);
}

.pf-blog-card-img {
    height: 190px;
    overflow: hidden;
    background: linear-gradient(145deg, #eceae6 0%, #e8ebe8 40%, #e5e8e4 100%);
}

.pf-blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pf-blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #eceae6 0%, #e2e6e1 50%, #dde3dd 100%);
}

.pf-blog-card-body {
    padding: 18px 18px 20px;
}

.pf-blog-card-body h3 {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
    line-height: 1.35;
}

.pf-blog-card-meta {
    font-size: 11px;
    color: var(--pf-muted);
    display: block;
    margin-bottom: 10px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pf-blog-card-body p {
    font-size: 13px;
    color: var(--pf-text-light);
    line-height: 1.55;
    margin: 0;
}

/* --- Row 3: Subcategory bar (category archive pages) --- */
.pf-header-subcats {
    background: #fff;
    border-bottom: 1px solid #eee;
    overflow: hidden;
    position: relative;
    z-index: 50;
}
.pf-subcats-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    height: 42px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #d0d0d0 transparent;
}
.pf-subcats-inner::-webkit-scrollbar {
    height: 3px;
}
.pf-subcats-inner::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 2px;
}
.pf-subcats-link {
    white-space: nowrap;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--pf-text, #2d2d2d);
    text-decoration: none;
    padding: 6px 10px;
    position: relative;
    transition: opacity 0.15s ease;
}
.pf-subcats-link:hover {
    opacity: 0.6;
}
.pf-subcats-link.pf-subcats-active {
    opacity: 1;
}
.pf-subcats-link.pf-subcats-active::after {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 0;
    height: 2px;
    background: var(--pf-text, #2d2d2d);
}

/* Blog archive page */
.pf-blog-archive-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

.pf-blog-pagination {
    margin-top: 40px;
    text-align: center;
}

.pf-blog-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pf-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    color: var(--pf-text);
    text-decoration: none;
    border: 1px solid var(--pf-border);
    transition: all var(--pf-transition);
}

.pf-blog-pagination .page-numbers.current {
    background: var(--pf-primary);
    color: #fff;
    border-color: var(--pf-primary);
}

.pf-blog-pagination .page-numbers:hover:not(.current) {
    border-color: var(--pf-primary);
    color: var(--pf-primary);
}

/* ============================================
   PRICE COMPARISON TABLE
   ============================================ */
.rehub-price-table,
.table_view_block {
    border-radius: var(--pf-radius);
    overflow: hidden;
    border: 1px solid var(--pf-border);
    background: var(--pf-bg-white);
}

.rehub-price-table tr:hover,
.table_view_block tr:hover {
    background-color: rgba(21, 107, 40, 0.04);
}

.best_price_row,
.best-deal-highlight {
    background: linear-gradient(135deg, rgba(21, 107, 40, 0.07), rgba(21, 107, 40, 0.02));
    border-left: 2px solid var(--pf-primary);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumb,
.woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--pf-muted);
    padding: 12px 0;
}

/* Single post: hide view count until site has meaningful traffic */
.postview_meta {
    display: none !important;
}

/* Single post: tighten breadcrumb → cat badges → H1 spacing */
.title_single_area .breadcrumb {
    padding-bottom: 2px;
}
.title_single_area .rh-cat-list-title {
    margin-bottom: 2px;
}
.title_single_area h1 {
    font-size: 2.25rem;
}

/* Article body: clear heading hierarchy (H1 2.25 → H2 1.7 → H3 1.32 → H4 1.1).
   Scoped to the post body so widget/sidebar headings are unaffected.
   Headings inherit the global Playfair Display family. */
body.single-post .post-inner h2 {
    font-size: 1.7rem;
    line-height: 1.25;
    margin: 1.6em 0 0.5em;
}
body.single-post .post-inner h3 {
    font-size: 1.32rem;
    line-height: 1.3;
    margin: 1.4em 0 0.4em;
}
body.single-post .post-inner h4 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 1.2em 0 0.4em;
    font-weight: 600;
}

/* Article BODY headings render in normal case. The site-wide REHub option
   "uppercase headings" (rehub_headings_font_upper=1) stays on for article titles
   and section heads, but body copy — including intros some authors mistakenly
   mark up as headings — reads far better mixed-case. Scoped to the content
   wrapper so Related Articles card titles and the hero title are unaffected. */
body.single-post .post-inner-wrapper h2,
body.single-post .post-inner-wrapper h3,
body.single-post .post-inner-wrapper h4,
body.single-post .post-inner-wrapper h5,
body.single-post .post-inner-wrapper h6 {
    text-transform: none;
}

/* Fallback hero for posts with no featured image: a branded PrisFare gradient
   instead of an empty dark box. Body class pf-no-hero is added in inc/content.php.
   The hero container's existing min-height gives it full height. */
body.pf-no-hero #rh_post_layout_inimage {
    background-image:
        radial-gradient(circle at 78% 28%, rgba(168,131,75,0.32) 0%, rgba(168,131,75,0) 45%),
        linear-gradient(135deg, #2b2620 0%, #1c1a16 42%, #0f0f10 100%) !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Related Articles grid: Playfair Display renders larger/wider than the old
   Inter, so the uppercase card titles were wrapping to 3–4 lines. Scale down
   to fit the narrow columns cleanly. */
/* Related-articles card titles. Specificity must beat the article-body
   heading-hierarchy rule (body.single-post .post-inner h2 = 1.7rem, 0-2-2),
   because the related grid lives INSIDE .post-inner. Hence the longer selector. */
body.single-post .post-inner .related_articles .columned_grid_module h2,
.related_articles .columned_grid_module h2 {
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
    font-weight: 600;
    margin: 0 0 12px;
}
.related_articles .columned_grid_module h2 a {
    font-weight: 600;
}

/* Article hero (fullimage layout): magazine style — anchor the title + meta
   to the BOTTOM of the hero image instead of vertically centering it.
   REHub's .rh-flex-center-align sets align-items:center; we override to
   flex-end and give the container a fixed tall height so the text drops down. */
body.single #rh_post_layout_inimage .rh-container.rh-flex-center-align {
    align-items: flex-end;
    min-height: 60vh;
    padding-bottom: 46px;
}
/* Bottom-weighted gradient so text stays legible over the lower part of the
   image (the layout already has a full .darkbg dim; this adds contrast low). */
body.single #rh_post_layout_inimage:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0));
    pointer-events: none;
    z-index: 1;
}
body.single #rh_post_layout_inimage .rh-container {
    position: relative;
    z-index: 2;
}
@media (min-width: 769px) {
    /* Desktop: nudge the hero overlay a little lower and tighten the row spacing
       (less important than mobile). REHub's mb30/mb25/mb20 utility margins are
       !important, so override in kind. */
    body.single #rh_post_layout_inimage .rh-container.rh-flex-center-align {
        padding-bottom: 18px;            /* was 46px — drop the overlay ~20px lower on the image */
    }
    body.single #rh_post_layout_inimage .title_single_area {
        margin-bottom: 12px !important;  /* was 25px */
    }
    body.single #rh_post_layout_inimage h1 {
        margin-bottom: 14px !important;  /* was 30px — gap to date */
    }
    body.single #rh_post_layout_inimage .date_big_meta {
        margin-bottom: 10px !important;  /* was 30px — gap to author row */
    }
    body.single #rh_post_layout_inimage .post-meta {
        margin-bottom: 8px !important;   /* was 20px */
    }
}
@media (max-width: 768px) {
    /* Mobile: drop the overlay text into the lower third and tighten the vertical
       rhythm. REHub's mb30/mb25/mb20 utility margins are !important, so the margin
       overrides must be too; the font-size overrides win on specificity alone. */
    body.single #rh_post_layout_inimage .rh-container.rh-flex-center-align {
        min-height: 56vh;               /* taller image; bottom-anchored text drops lower */
        padding-bottom: 16px;
    }
    body.single #rh_post_layout_inimage .title_single_area {
        margin-bottom: 6px !important;   /* was 25px — trailing dead space */
    }
    body.single #rh_post_layout_inimage h1 {
        font-size: 20px;                 /* was 24px — cover less of the photo */
        line-height: 1.22;
        margin-bottom: 10px !important;  /* was 30px — gap to date */
    }
    body.single #rh_post_layout_inimage .date_big_meta {
        display: inline;                 /* sit on the SAME row as the author line below */
        font-size: 13px;                 /* was 18px */
        line-height: 1.3;
        margin: 0 !important;
    }
    body.single #rh_post_layout_inimage .date_big_meta::after {
        content: "\00B7";                /* middle-dot separator between date and author */
        margin: 0 7px;
        opacity: 0.7;
    }
    body.single #rh_post_layout_inimage .post-meta {
        display: inline;                 /* flows right after the date → 3 rows, not 4 */
        font-size: 13px;                 /* author + categories — was ~15.75px */
        line-height: 1.55;
        margin-bottom: 4px !important;
    }
}

/* ============================================
   SIDEBAR SEARCH WIDGET (wp-block-search)
   ============================================ */
.widget_search .wp-block-search__label {
    display: none !important;
}
.widget_search .wp-block-search__button {
    border-radius: 8px !important;
}

/* Product pages: quieter trail (REHub woosingle.css uses 14px / near-black links) */
body.single-product nav.woocommerce-breadcrumb {
    font-size: 12px;
    line-height: 1.45;
    color: #a3a3a0;
    margin: 2px 0 28px;
    padding: 0;
}

body.single-product nav.woocommerce-breadcrumb a {
    color: #9a9a96;
    text-decoration: none;
}

body.single-product nav.woocommerce-breadcrumb a:hover {
    color: var(--pf-primary);
}

body.single-product nav.woocommerce-breadcrumb .delimiter,
body.single-product nav.woocommerce-breadcrumb span.delimiter {
    margin: 0 8px;
    color: #c8c8c4;
}

/* REHub woosingle: grey pill behind each crumb — too loud for PrisFare */
body.single-product nav.woocommerce-breadcrumb span.delimiter + a {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    background-color: transparent !important;
    border-radius: 0 !important;
    display: inline !important;
    line-height: inherit !important;
    color: inherit !important;
}

/* ============================================
   SINGLE PRODUCT – premium layout (default_with_sidebar & similar)
   ============================================ */
body.single-product .summary .product_title {
    margin-top: 0;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

body.single-product .summary .re_wooinner_title_compact .woo-button-actions-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 22px;
    margin-bottom: 1.15rem;
    padding: 0;
    overflow: visible;
}

body.single-product .summary .woo-button-actions-area .heart_thumb_wrap,
body.single-product .summary .woo-button-actions-area .wpsm-button.rhwoosinglecompare {
    float: none;
    margin: 0;
}

body.single-product .summary .woo-button-actions-area .heartplus,
body.single-product .summary .woo-button-actions-area .wpsm-button.rhwoosinglecompare {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    padding: 5px 2px;
    border: none !important;
    border-radius: 0;
    color: var(--pf-text-light) !important;
    background: transparent !important;
    box-shadow: none !important;
    transition: color 0.2s ease;
}

body.single-product .summary .woo-button-actions-area .heartplus:hover,
body.single-product .summary .woo-button-actions-area .wpsm-button.rhwoosinglecompare:hover {
    color: var(--pf-primary) !important;
    border: none !important;
    background: transparent !important;
}

/* REHub .wpsm-button.white adds grey “chip” — keep row text-only */
body.single-product .summary .woo-button-actions-area .wpsm-button.wpsm-button-new-compare.white {
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

body.single-product .summary .woo-button-actions-area .wpsm-button.wpsm-button-new-compare.white:hover,
body.single-product .summary .woo-button-actions-area .wpsm-button.wpsm-button-new-compare.white:active {
    background-color: transparent !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

body.single-product .summary .woo-button-actions-area .heartplus:before {
    font-size: 15px;
    line-height: 1;
    margin-right: 0;
    vertical-align: -0.12em;
    opacity: 0.88;
}

body.single-product .summary .woo-button-actions-area .wpsm-button.rhwoosinglecompare i {
    font-size: 15px;
    line-height: 1;
    opacity: 0.88;
    margin: 0;
}

body.single-product .summary .woo-button-actions-area .wpsm-button.rhwoosinglecompare .comparelabel {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

body.single-product .summary div[itemprop="description"],
body.single-product .summary .woocommerce-product-details__short-description {
    margin-top: 0.35rem;
    margin-bottom: 1.35rem;
    font-size: 15px;
    line-height: 1.58;
    color: var(--pf-text-light);
}

body.single-product .summary .re_wooinner_cta_wrapper {
    margin-bottom: 1.5rem;
}

body.single-product .summary .re_wooinner_cta_wrapper .woo-price-area {
    margin-bottom: 1rem;
}

body.single-product .woocommerce div.product .summary .price {
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
    padding: 0 0 0.35rem;
    margin: 0 0 0.15rem;
    color: var(--pf-text);
}

body.single-product .woocommerce div.product .summary .price ins,
body.single-product .woocommerce div.product .summary .price ins .woocommerce-Price-amount,
body.single-product .woocommerce div.product .re_wooinner_cta_wrapper .price ins,
body.single-product .woocommerce div.product .re_wooinner_cta_wrapper .price ins .woocommerce-Price-amount {
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    line-height: 1.2;
}

body.single-product .woocommerce div.product .summary .price del,
body.single-product .woocommerce div.product .summary .price del .woocommerce-Price-amount,
body.single-product .woocommerce div.product .re_wooinner_cta_wrapper .price del,
body.single-product .woocommerce div.product .re_wooinner_cta_wrapper .price del .woocommerce-Price-amount {
    color: #6c6c67 !important;
    opacity: 1 !important;
    font-weight: 400 !important;
    font-size: 0.72em !important;
    margin-left: 0.35em;
    vertical-align: 0.05em;
    text-decoration: line-through !important;
    text-decoration-color: rgba(108, 108, 103, 0.55) !important;
    text-decoration-thickness: 1px !important;
    -webkit-text-fill-color: #6c6c67 !important;
}

body.single-product .woocommerce div.product .summary p.cart {
    margin: 0 0 1.35rem !important;
}

/* External CTA: inline !important on <a> — hover = wrapper lift/shadow + brightness on link */
body.single-product .woocommerce div.product .summary .pf-prisfare-cta-breathe {
    display: inline-block;
    width: 100%;
    max-width: min(100%, 280px);
    vertical-align: top;
    border-radius: 8px;
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

body.single-product .woocommerce div.product .summary .pf-prisfare-cta-breathe > a.single_add_to_cart_button {
    transition: filter 0.24s ease !important;
}

body.single-product .woocommerce div.product .summary .pf-prisfare-cta-breathe:hover {
    transform: translateY(-3px);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.14),
        0 6px 14px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(21, 107, 40, 0.22);
}

body.single-product .woocommerce div.product .summary .pf-prisfare-cta-breathe:hover > a.single_add_to_cart_button {
    filter: brightness(1.22) saturate(1.08);
}

body.single-product .woocommerce div.product .summary .pf-prisfare-cta-breathe:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

body.single-product .woocommerce div.product .summary .pf-prisfare-cta-breathe:active > a.single_add_to_cart_button {
    filter: brightness(1.08) saturate(1.02);
}

body.single-product .woocommerce div.product .summary a.single_add_to_cart_button {
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 14px 24px;
    max-width: 320px;
    cursor: pointer;
    transition: background-color 0.22s ease, color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.single-product .woocommerce div.product .summary a.single_add_to_cart_button:hover,
body.single-product .woocommerce div.product p.cart a.single_add_to_cart_button:hover {
    background-color: #3d4550 !important;
    color: #ffffff !important;
    border-color: rgba(21, 107, 40, 0.4) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(21, 107, 40, 0.12) !important;
    transform: translateY(-2px);
}

body.single-product .woocommerce div.product .summary a.single_add_to_cart_button:active,
body.single-product .woocommerce div.product p.cart a.single_add_to_cart_button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

body.single-product .woocommerce div.product .summary .product_meta {
    font-size: 13px;
    line-height: 1.55;
    color: var(--pf-text-light);
    margin-bottom: 1.35rem;
}

body.single-product .woocommerce div.product .summary .product_meta a,
body.single-product .woocommerce div.product .summary .posted_in a,
body.single-product .woocommerce div.product .summary .tagged_as a {
    color: var(--pf-primary) !important;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(21, 107, 40, 0.45);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 1px;
    border-bottom: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

body.single-product .woocommerce div.product .summary .product_meta a:hover,
body.single-product .woocommerce div.product .summary .posted_in a:hover,
body.single-product .woocommerce div.product .summary .tagged_as a:hover {
    color: var(--pf-secondary) !important;
    text-decoration-color: rgba(15, 82, 32, 0.75);
}

/* Top Offers / CE: breathing room below widget title (first deal row) */
body.single-product .sidebar .widget.top_offers .rh_deal_block > .deal_block_row:first-child,
body.single-product .sidebar .widget.cegg_widget_products .rh_deal_block > .deal_block_row:first-child {
    padding-top: 14px;
}

/* Content Egg prints widgettopoffers CSS after main stylesheet — footer CSS also forces this */
body.single-product .sidebar .widget.top_offers .title:before,
body.single-product .sidebar .widget.cegg_widget_products .title:before,
body.single-product .sidebar .widget.top_offers.rh_latest_compare_widget .title:before {
    color: #4a4a52 !important;
}

/* Social share – calmer, centered icons */
body.single-product .summary .post_share {
    margin-top: 0.25rem;
    margin-bottom: 0;
}

body.single-product .summary .row_social_inpost {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

body.single-product .summary .row_social_inpost span.share-link-image {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 10px !important;
    font-size: 15px !important;
    line-height: 1 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    border: 1px solid var(--pf-border) !important;
    background: var(--pf-bg-subtle) !important;
    color: var(--pf-charcoal) !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease !important;
}

body.single-product .summary .row_social_inpost span.share-link-image:hover {
    background: #fff !important;
    border-color: var(--pf-border-strong) !important;
    color: var(--pf-text) !important;
}

body.single-product .summary .row_social_inpost span.share-link-image i {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 15px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
    margin: 0 !important;
}

/* Sidebar on product pages – soften widget chrome */
body.single-product .sidebar .widget {
    background: var(--pf-bg-white);
    border: 1px solid var(--pf-border);
    border-radius: var(--pf-radius-sm);
    box-shadow: var(--pf-shadow);
    margin-bottom: 1.25rem;
    overflow: hidden;
}

body.single-product .sidebar .widget .title,
body.single-product .sidebar .widget > h2,
body.single-product .sidebar .widget > h3 {
    background: var(--pf-bg-subtle) !important;
    color: var(--pf-text) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 12px 16px !important;
    margin: 0 !important;
    border: none !important;
    border-bottom: 1px solid var(--pf-border) !important;
}

body.single-product .sidebar .widget .title:after,
body.single-product .sidebar .widget > h2:after,
body.single-product .sidebar .widget > h3:after {
    display: none !important;
}

body.single-product .sidebar .widget ul li a {
    color: var(--pf-charcoal);
}

body.single-product .sidebar .widget ul li a:hover {
    color: var(--pf-primary);
}

body.single-product .sidebar .wpsm-titlebox {
    border: 1px solid var(--pf-border) !important;
    background: var(--pf-bg-white) !important;
    border-radius: var(--pf-radius-sm) !important;
    box-shadow: var(--pf-shadow);
    margin-bottom: 1.25rem !important;
    padding: 0 !important;
}

body.single-product .sidebar .wpsm-titlebox > strong:first-child {
    position: static !important;
    float: none !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    left: auto !important;
    top: auto !important;
    background: var(--pf-bg-subtle) !important;
    color: var(--pf-text) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    border-bottom: 1px solid var(--pf-border) !important;
}

body.single-product .sidebar .price del,
body.single-product .sidebar del {
    color: #7a7a76 !important;
    opacity: 1 !important;
    text-decoration-color: rgba(122, 122, 118, 0.45) !important;
}

/* ============================================
   SCROLLBAR
   ============================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--pf-bg); }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }

/* ============================================
   STICKY HEADER
   Same template, just fixed to top with shadow
   ============================================ */
.sticky-wrapper,
div.sticky-wrapper {
    background: #ffffff !important;
}

#main_header {
    background: #ffffff !important;
}

.is-sticky .pf-header-bar,
.is-sticky .rh-stickme {
    background: #ffffff !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04) !important;
    border: none !important;
}

nav.top_menu > ul > li,
nav.top_menu > ul:not(.off-canvas) > li {
    border: none !important;
    border-right: none !important;
    box-shadow: none !important;
}

/* Strip parent-theme link decorations */
nav.top_menu > ul:not(.off-canvas) > li > a::before {
    display: none !important;
    content: none !important;
}

/* Hide REHub ::after on all desktop top_menu links (loaded after child CSS); PrisFare re-enables chevron below */
nav.top_menu > ul:not(.off-canvas) > li > a::after {
    display: none !important;
    content: none !important;
}

nav.top_menu,
nav.top_menu > ul,
.pf-header-bar,
.rh-stickme {
    box-shadow: none !important;
    text-shadow: none !important;
}

/* ============================================
   WP ADMIN BAR fix
   ============================================ */
.admin-bar .rh-stickme,
.admin-bar .rh-sticky-header {
    top: 32px !important;
}

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */
.elementor-section.elementor-section-full_width > .elementor-container {
    max-width: 100%;
}

.elementor h2.elementor-heading-title {
    font-family: 'Inter', sans-serif;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet (≤991px) --- */
@media (max-width: 991px) {
    .pf-hero-section {
        padding: 20px 16px 4px;
    }

    .pf-hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
        padding: 32px 24px;
    }

    .pf-hero-content {
        align-items: center;
    }

    .pf-hero-content p {
        max-width: 100%;
    }

    .pf-hero-content h1 {
        font-size: 1.75rem;
    }

    .pf-hero-search {
        margin: 0 auto;
        max-width: 100%;
    }

    .pf-hero-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        align-self: center;
        border-radius: var(--pf-radius);
    }

    .pf-hero-image::before {
        background: linear-gradient(
            180deg,
            rgba(36, 36, 44, 0.4) 0%,
            rgba(36, 36, 44, 0.12) 40%,
            transparent 70%
        );
    }

    .pf-categories-list {
        gap: 20px;
        flex-wrap: wrap;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Match hero outer gutter (16px) for inline homepage rails */
    div[style*="max-width:1200px"],
    div[style*="max-width: 1200px"] {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .pf-section-header {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {

    /* Prevent any horizontal overflow (use clip to not break position:sticky) */
    .rh-outer-wrap,
    .rh-container,
    .content,
    .main-side,
    .pf-hero-section,
    .pf-categories-bar,
    .elementor-section {
        max-width: 100vw !important;
        overflow-x: clip;
    }

    /* Inline homepage sections — match .pf-hero-section horizontal gutter (12px) */
    div[style*="max-width:1200px"],
    div[style*="max-width: 1200px"] {
        max-width: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Hero */
    .pf-hero-content h1 {
        font-size: 1.4rem;
        line-height: 1.3;
    }

    .pf-hero-content p {
        font-size: 13px;
    }

    .pf-hero-image {
        display: none;
    }

    .pf-hero-section {
        padding: 16px 12px 4px !important;
    }

    .pf-hero-section .pf-hero-inner {
        padding: 26px 18px !important;
        border-radius: 18px;
    }

    .pf-hero-search {
        max-width: 100%;
    }

    .pf-hero-search input[type="text"] {
        font-size: 16px;
    }

    /* Category icons – scrollable row on mobile */
    .pf-categories-bar {
        padding: 16px 0;
    }

    .pf-categories-list {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0;
        padding: 0 12px !important;
        justify-content: center;
        scrollbar-width: none;
    }

    .pf-categories-list::-webkit-scrollbar {
        display: none;
    }

    .pf-categories-list li {
        flex: 0 0 auto;
    }

    .pf-categories-list a {
        font-size: 11px;
        gap: 2px;
        line-height: 1.2;
        padding: 6px 14px;
        min-width: 60px;
    }

    .pf-categories-list .pf-cat-icon {
        width: 46px;
        height: 46px;
        font-size: 27px;
        line-height: 0;
    }

    .pf-categories-list .pf-cat-icon-svg svg {
        width: 28px;
        height: 28px;
        stroke-width: 1.5;
    }

    /* Product grid – 2 columns on mobile */
    .woocommerce ul.products,
    ul.products {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .woocommerce ul.products li.product,
    ul.products li.product {
        width: 48% !important;
        margin: 0 1% 16px !important;
        float: left;
    }

    .col_wrap_three.rh-flex-eq-height.grid_woo > .col_item {
        width: calc(50% - 6px) !important;
    }

    .woocommerce ul.products li.product .product-inner,
    ul.products li.product .product-inner {
        overflow: hidden;
        word-wrap: break-word;
    }

    /* Product card content overflow */
    li.product h2,
    li.product h3,
    li.product .woocommerce-loop-product__title,
    .woo_grid_compact h3,
    .woo_grid_compact .gird_heading h3,
    .grid_woo .col_item h3 {
        font-size: 12px !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    li.product .price,
    .woo_grid_compact .rh-flex-center-align .price,
    .grid_woo .col_item .price {
        font-size: 13px !important;
    }

    /* Hide product attributes that overflow on mobile */
    li.product .rehub-main-font.font80,
    li.product .compare-button-block {
        display: none !important;
    }

    /* Section headings — same 12px gutter as hero */
    .pf-section-header,
    div[style*="display:flex"][style*="justify-content:space-between"] {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    div[style*="display:flex"][style*="justify-content:space-between"] h2 {
        font-size: 1.1rem !important;
    }

    /* Blog cards */
    .pf-blog-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        /* No side padding: align blog cards to the same width as the featured
           cards above (the .pf-blog-archive gutter already insets both). */
    }

    .pf-blog-card-img {
        height: 140px;
    }

    .pf-blog-card-body h3 {
        font-size: 14px;
    }

    /* Footer */
    .footer-bottom .rh-container,
    .suspended_footer_area .rh-container,
    footer .rh-container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Footer newsletter: full-width stack (fixes narrow button vs input) */
    .pf-footer-nl-form {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        border: none;
        overflow: visible;
        border-radius: 0;
    }

    .pf-footer-nl-form input[type="email"] {
        width: 100%;
        max-width: 100%;
        border: 1px solid var(--pf-border);
        border-radius: var(--pf-radius-sm);
    }

    .pf-footer-nl-form input[type="email"]:focus {
        box-shadow: 0 0 0 2px rgba(21, 107, 40, 0.2);
    }

    .pf-footer-nl-form button {
        width: 100%;
        max-width: 100%;
        border-radius: var(--pf-radius-sm);
        justify-content: center;
    }

    /* Homepage newsletter block */
    .pf-newsletter {
        padding: 32px 18px;
        margin-left: 12px;
        margin-right: 12px;
    }

    .pf-newsletter-form {
        flex-direction: column;
        align-items: stretch;
        max-width: none;
        width: 100%;
        gap: 10px;
        border: none;
        overflow: visible;
        border-radius: 0;
    }

    .pf-newsletter-form input[type="email"] {
        width: 100%;
        border-radius: var(--pf-radius-sm);
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: #fff;
    }

    .pf-newsletter-form button {
        width: 100%;
        border-radius: var(--pf-radius-sm);
        justify-content: center;
    }

    /* WooCommerce shortcode containers */
    .woocommerce {
        max-width: 100% !important;
        overflow-x: hidden;
    }
}

/* Hide empty product attribute rows on cards */
.pf-product-attrs li:not(:has(.meta_v_value)) {
    display: none !important;
}
.woo_code_zone_loop .pf-product-attrs:empty,
.woo_code_zone_loop:has(.pf-product-attrs:empty) {
    display: none !important;
}

/* --- Small mobile (≤480px) --- */
@media (max-width: 480px) {

    .pf-hero-content h1 {
        font-size: 1.2rem;
    }

    .pf-categories-list a {
        font-size: 10px;
        gap: 2px;
        line-height: 1.2;
        padding: 6px 10px;
        min-width: 54px;
    }

    .pf-categories-list .pf-cat-icon {
        width: 44px;
        height: 44px;
        line-height: 0;
    }

    .pf-categories-list .pf-cat-icon-svg svg {
        width: 26px;
        height: 26px;
        stroke-width: 1.5;
    }

    /* Stack section headers vertically */
    div[style*="display:flex"][style*="justify-content:space-between"] {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px;
    }
}

/* ============================================
   SIDEBAR – refined styling
   ============================================ */

/* Sidebar links: dark green instead of red */
.sidebar .widget a,
#secondary .widget a,
.rhsidebar .widget a {
    color: var(--pf-primary) !important;
    text-decoration: none;
    transition: color var(--pf-transition);
}
.sidebar .widget a:hover,
#secondary .widget a:hover,
.rhsidebar .widget a:hover {
    color: var(--pf-secondary) !important;
    text-decoration: underline;
}

/* Search widget button */
.sidebar .widget .search-form .search-submit,
#secondary .widget .search-form .search-submit,
.rhsidebar .search-submit,
.sidebar .widget input[type="submit"],
#secondary .widget input[type="submit"] {
    background: var(--pf-primary) !important;
    border-color: var(--pf-primary) !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 8px 20px;
    font-weight: 600;
    transition: background 0.15s ease;
}
.sidebar .widget .search-form .search-submit:hover,
#secondary .widget .search-form .search-submit:hover,
.sidebar .widget input[type="submit"]:hover,
#secondary .widget input[type="submit"]:hover {
    background: var(--pf-secondary) !important;
}

/* Search widget input */
.sidebar .widget .search-field,
#secondary .widget .search-field,
.rhsidebar .search-field {
    border-radius: 10px !important;
    border: 1px solid var(--pf-border) !important;
    padding: 8px 14px !important;
}

/* "Most Popular This Month" heading – warm beige instead of black */
.widget .wpsm-bar-heading,
.widget .rehub_woo_top_heading,
.widget .tabs_head_wrap,
.widget .wpsm_pretty_colored,
.widget .re_woo_star_box .title,
.woocommerce .widget .wpsm-bar-heading,
.widget.top_offers .title,
.widget.cegg_widget_products .title,
.widget.widget_affegg_widget .title {
    background: #f5f0e8 !important;
    color: var(--pf-text) !important;
    border-radius: 10px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em;
    border: 1px solid #e8e0d0 !important;
    text-transform: none !important;
    box-shadow: none !important;
}
.widget .wpsm-bar-heading svg,
.widget .wpsm-bar-heading i,
.widget .rehub_woo_top_heading svg,
.widget .rehub_woo_top_heading i,
.widget .wpsm_pretty_colored svg,
.widget .wpsm_pretty_colored i,
.widget.top_offers .title:before,
.widget.cegg_widget_products .title:before,
.widget.widget_affegg_widget .title:before {
    color: var(--pf-primary) !important;
    fill: var(--pf-primary) !important;
}

/* Top offers widget container */
.widget.top_offers,
.widget.cegg_widget_products {
    border: 1px solid var(--pf-border) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    background: #fff !important;
}

/* Popular widget product titles – green links */
.widget .woocommerce ul.product_list_widget li a,
.widget .re_woo_star_box a {
    color: var(--pf-text) !important;
    font-weight: 500;
}
.widget .woocommerce ul.product_list_widget li a:hover,
.widget .re_woo_star_box a:hover {
    color: var(--pf-primary) !important;
}

/* Widget prices */
.widget .woocommerce ul.product_list_widget li .amount {
    color: var(--pf-primary) !important;
    font-weight: 600;
}

/* Widget headings */
.sidebar .widget > h2,
.sidebar .widget > h3,
.sidebar .widgettitle,
#secondary .widgettitle,
.rhsidebar .widgettitle {
    font-size: 15px;
    font-weight: 700;
    color: var(--pf-text);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pf-border);
}

/* ========================================
   Recent Posts with Thumbnails (sidebar)
   ======================================== */
.pf-rpt-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.pf-rpt-item {
    border-bottom: 1px solid var(--pf-border);
}
.pf-rpt-item:last-child {
    border-bottom: none;
}
.pf-rpt-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none !important;
}
.pf-rpt-link:hover {
    text-decoration: none !important;
}
.pf-rpt-title {
    flex: 1;
    min-width: 0;
    font-size: 16px;              /* was 13.5px — larger, no thumbnail competing */
    font-weight: 600;
    line-height: 1.4;
    color: var(--pf-text) !important;
    transition: color 0.15s ease;
}
.pf-rpt-link:hover .pf-rpt-title {
    color: var(--pf-primary) !important;
}
/* Thumbnails removed from this widget (per request) — no .pf-rpt-img output. */

/* ========================================
   My Account page
   ======================================== */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--pf-text);
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.15s, color 0.15s;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--pf-primary);
    color: #fff;
    text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-content {
    font-size: 15px;
    line-height: 1.6;
}

/* Wishlist on My Account */
.pf-wishlist-empty {
    padding: 40px 20px;
    text-align: center;
    color: #888;
    font-size: 15px;
}

.re-favorites-posts .rowdisplay {
    border-radius: 8px;
    margin-bottom: 8px;
}

.re-favorites-posts .rowdisplay:hover {
    background: #f9f9f9;
}

.pf-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.pf-wishlist-item {
    border: 1px solid var(--pf-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.pf-wishlist-item:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.pf-wishlist-item img {
    width: 100%;
    height: auto;
    display: block;
}

.pf-wishlist-meta {
    padding: 10px 12px;
}

.pf-wishlist-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--pf-text);
    margin-bottom: 4px;
}

.pf-wishlist-title:hover {
    color: var(--pf-primary);
}

.pf-wishlist-price {
    font-size: 14px;
    font-weight: 600;
    color: var(--pf-primary);
}

/* Wishlist section headings */
.pf-wishlist-heading {
    font-size: 17px;
    font-weight: 700;
    color: var(--pf-text);
    margin: 24px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pf-border);
}

.pf-wishlist-heading:first-child {
    margin-top: 0;
}

/* Saved articles list */
.pf-wishlist-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pf-wishlist-article {
    display: flex;
    gap: 14px;
    border: 1px solid var(--pf-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
}

.pf-wishlist-article:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.pf-wishlist-article-thumb {
    flex-shrink: 0;
    width: 120px;
}

.pf-wishlist-article-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-wishlist-article-body {
    padding: 12px 14px 12px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.pf-wishlist-article-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--pf-text);
    line-height: 1.3;
    margin-bottom: 4px;
}

.pf-wishlist-article-title:hover {
    color: var(--pf-primary);
}

.pf-wishlist-article-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 6px;
}

.pf-wishlist-article-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 567px) {
    .pf-wishlist-article {
        flex-direction: column;
    }
    .pf-wishlist-article-thumb {
        width: 100%;
        height: 160px;
    }
    .pf-wishlist-article-body {
        padding: 12px;
    }
}

/* ========================================
   Instagram & TikTok share buttons
   ======================================== */
.social_icon .ig.share-link-image,
.social_icon .tt.share-link-image {
    position: relative;
    cursor: pointer;
}

.social_icon .ig.share-link-image {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888) !important;
    color: #fff !important;
}

.social_icon .tt.share-link-image {
    background: #000 !important;
    color: #fff !important;
}

.social_icon .ig.share-link-image svg,
.social_icon .tt.share-link-image svg {
    vertical-align: middle;
}

.pf-copy-tooltip {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    animation: pf-tooltip-fade 1.8s ease forwards;
    z-index: 100;
}

.pf-copy-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #333;
}

@keyframes pf-tooltip-fade {
    0%, 70% { opacity: 1; }
    100% { opacity: 0; }
}

/* ========================================
   Share wishlist button (My Account)
   ======================================== */
.pf-share-wishlist {
    margin-bottom: 20px;
}

.pf-share-wishlist-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--pf-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
}

.pf-share-wishlist-btn:hover {
    background: #d4a84e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.pf-share-wishlist-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.pf-share-wishlist-btn svg {
    flex-shrink: 0;
}

.pf-share-wishlist-url {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    max-width: 520px;
}

.pf-share-wishlist-url input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid var(--pf-border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--pf-text);
    background: #f9f9f9;
    min-width: 0;
}

.pf-share-wishlist-url button {
    padding: 9px 16px;
    background: var(--pf-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.pf-share-wishlist-url button:hover {
    background: #d4a84e;
}

.pf-share-wl-copied {
    position: absolute;
    right: 0;
    top: -28px;
    background: #333;
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    white-space: nowrap;
}

.pf-share-wl-copied.visible {
    opacity: 1;
}

/* ========================================
   Public shareable wishlist page
   ======================================== */
.pf-public-wishlist-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.pf-public-wishlist-header {
    text-align: center;
    margin-bottom: 32px;
}

.pf-public-wishlist-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--pf-text);
    margin: 0 0 8px 0;
}

.pf-public-wishlist-intro {
    font-size: 15px;
    color: #666;
    margin: 0;
}

.pf-public-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.pf-pub-wl-card {
    border: 1px solid var(--pf-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.pf-pub-wl-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.pf-pub-wl-img {
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    background: #f5f5f5;
}

.pf-pub-wl-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pf-pub-wl-noimg {
    display: block;
    width: 100%;
    height: 100%;
    background: #eee;
}

.pf-pub-wl-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pf-pub-wl-title {
    font-weight: 600;
    font-size: 15px;
    color: var(--pf-text);
    line-height: 1.3;
    margin-bottom: 6px;
    text-decoration: none;
}

.pf-pub-wl-title:hover {
    color: var(--pf-primary);
}

.pf-pub-wl-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--pf-primary);
    margin-bottom: 12px;
}

.pf-pub-wl-price del {
    color: #999;
    font-weight: 400;
    font-size: 13px;
}

.pf-pub-wl-price ins {
    text-decoration: none;
}

.pf-pub-wl-cta {
    display: inline-block;
    margin-top: auto;
    padding: 10px 20px;
    background: var(--pf-primary);
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
}

.pf-pub-wl-cta:hover {
    background: #d4a84e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

@media (max-width: 768px) {
    .pf-public-wishlist-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .pf-public-wishlist-header h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .pf-public-wishlist-grid {
        grid-template-columns: 1fr;
    }
    .pf-share-wishlist-url {
        flex-direction: column;
    }
    .pf-share-wishlist-url input {
        width: 100%;
    }
}

/* ============================================
   AD SLOTS – placeholder / real ads
   ============================================ */

/* Shared label */
.pf-ad__label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #595959; /* a11y: >=4.5:1 on white (was #999, ~2.85:1) */
    text-align: center;
    margin-bottom: 4px;
}
.pf-ad img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* --- Side rails (portrait ads, left + right) ---
   Anchored just outside the 1200px content area.
   Each rail holds 2 stacked ads in a flex column.
   Start absolute (scroll with page), become fixed when bottom ad
   would leave the viewport. JS controls the switch. */
.pf-ad-rails {
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 0;
    z-index: 90;
    display: none;
    /* Clip the horizontal overflow so a rail that extends past the viewport edge
       (on 1440–1646px screens) doesn't create a horizontal scrollbar; overflow-y
       stays visible so the tall rail still shows. */
    overflow-x: clip;
    overflow-y: visible;
}
.pf-ad-rails.pf-ad-rails--hidden {
    opacity: 0;
    pointer-events: none !important;
    transition: opacity 0.3s ease;
}
.pf-ad-rail {
    pointer-events: auto;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: opacity 0.3s ease;
}
/* Narrow the fullimage article hero to the 1200px content width so the rails can
   sit just ~23px outside the content — on articles AND the home page — without
   overlapping the (previously wider) hero. */
#rh_post_layout_inimage,
.rh_post_layout_fullimage {
    width: 1200px !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Inner edge 615px from centre = ~15px clear of the 1200px content: a tighter
   gutter to the ads, and more of each rail ad on-screen. Narrower viewports clip
   the outer part off-screen (Option C; the clip on .pf-ad-rails stops a scrollbar). */
.pf-ad-rail--left {
    right: calc(50% + 615px);
    left: auto;
}
.pf-ad-rail--right {
    left: calc(50% + 615px);
    right: auto;
}
.pf-ad-rail.pf-ad-rail--stuck {
    position: fixed;
    bottom: auto !important;
    /* `top` is set inline by JS to sit just below the header, so the "ANNONS"
       label + first ad stay visible; a rail taller than the viewport clips at
       the bottom instead of the top. */
}
.pf-ad-rails .pf-ad img {
    width: 200px;
    min-width: 200px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
/* Only show the rails once there's real gutter room (offset 650 + 200px wide
   needs a wide screen); below this they'd be mostly off-screen, so hide them. */
@media (min-width: 1440px) {
    .pf-ad-rails { display: block; }
}

/* --- Inline ads (horizontal, within content) --- */
.pf-ad--inline-leaderboard,
.pf-ad--inline-rectangle {
    text-align: center;
    margin: 32px auto;
    max-width: 728px;
}
.pf-ad--inline-leaderboard img,
.pf-ad--inline-rectangle img {
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    margin: 0 auto;
}

/* --- Sidebar banner ad --- */
.widget_prisfare_sidebar_ad {
    z-index: 10;
}
.pf-ad--sidebar-vanluxi {
    display: inline-block;
    margin: 20px 0;
}
.pf-ad--sidebar-vanluxi .pf-ad__label {
    text-align: center;
}
.pf-ad--sidebar-vanluxi img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.sidebar {
    overflow: visible !important;
}

/* ============================================
   ACCESSIBILITY (Lighthouse a11y)
   ============================================ */

/* link-in-text-block: links inside article body text must not rely on colour
   alone — add an underline so they're distinguishable. Scoped to paragraph and
   list-item links in the post body; button/CTA links stay clean. */
body.single-post .post-inner-wrapper p a:not(.button):not(.btn):not(.wp-block-button__link),
body.single-post .post-inner-wrapper li a:not(.button):not(.btn):not(.wp-block-button__link) {
    /* !important to beat WP global styles' :where(a){text-decoration:none!important} */
    text-decoration: underline !important;
    text-underline-offset: 2px;
}

/* ============================================
   PRIXFAIR REBRAND (Phase 1)
   ============================================ */

/* --- Editorial typography: sentence-case serif headings (per mockups) ---
   REHub force-uppercases every heading; the magazine look wants sentence case
   for editorial headings and reserves UPPERCASE for small labels/kickers. */
h1, h2, h3, h4, h5, h6,
.title h1, .title h5, .comment-respond h3 {
    text-transform: none !important;
}
/* Labels that stay small-caps: widget titles, related/comments headers */
.widget .title,
.related_articles .related_title,
#comments .title_comments {
    text-transform: uppercase !important;
    letter-spacing: 0.1em;
}
/* Homepage section headings ("Senaste artiklarna" etc): big sentence-case serif */
body.home .entry-content h2,
.pf-section-header h2 {
    font-size: 30px;
    letter-spacing: -0.01em;
    text-transform: none !important;
}
/* Featured grid: slightly larger main title, calmer side titles */
.pf-featured-main .pf-featured-overlay h3 {
    font-size: 1.7rem;
    letter-spacing: -0.01em;
}

/* --- Article top: magazine style (title ABOVE the image, not overlaid) --- */
.pf-article-head {
    padding: 10px 0 6px;   /* tight to the header — the tag sits just below the nav */
}
.pf-article-cat {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pf-primary) !important;
    text-decoration: none !important;
    margin-bottom: 12px;
}
.pf-article-title,
body.single-post .post-inner h1.pf-article-title {
    font-size: 42px;
    line-height: 1.14;
    letter-spacing: -0.01em;
    text-transform: none !important;   /* REHub uppercases h1 — mockup is sentence case */
    margin: 0 0 14px;
}
.pf-article-lead {
    font-size: 17px;
    line-height: 1.55;
    color: var(--pf-text-light);
    margin: 0 0 16px;
    max-width: 44em;
}
.pf-article-byline {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13.5px;
    color: var(--pf-text-light);
    padding-bottom: 18px;
    border-bottom: 1px solid var(--pf-border);
    margin-bottom: 22px;
}
.pf-byline-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}
.pf-article-byline .pf-byline-author {
    color: var(--pf-text) !important;
    font-weight: 600;
    text-decoration: none !important;
}
.pf-byline-sep { opacity: 0.55; }
.pf-article-hero {
    margin: 0 0 28px;
}
.pf-article-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}
@media (max-width: 768px) {
    .pf-article-head { padding: 4px 0 4px; }
    body.single .rh-content-wrap { padding-top: 8px !important; }  /* was 20px — tight to header */
    .pf-article-cat { margin-bottom: 7px; }                        /* was 12px — closer to the title */
    .pf-article-title,
    body.single-post .post-inner h1.pf-article-title { font-size: 26px; line-height: 1.2; }
    .pf-article-lead { font-size: 15px; }
    .pf-article-byline { font-size: 12.5px; padding-bottom: 14px; margin-bottom: 16px; }
    .pf-article-hero { margin-bottom: 20px; }
    .pf-article-hero img { border-radius: 8px; }
}

/* --- Product cards (Version B): white card, warm border, clean price row --- */
.woocommerce .grid_woo .product {
    background: var(--pf-bg-white);
    border: 1px solid var(--pf-border);
    border-radius: 10px !important;
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--pf-transition), transform var(--pf-transition);
}
/* Image: full-bleed to the card edges (mockup), heart overlays the photo */
.grid_woo .product figure {
    margin: 0 0 14px !important;
}
.grid_woo .product figure a { display: block; }
.grid_woo .product figure img {
    width: 100% !important;
    height: auto !important;
    display: block;
}
/* Text zone: consistent inner padding + room between title and price row */
.grid_woo .product .cat_for_grid,
.grid_woo .product h3.flowhidden {
    padding-left: 14px;
    padding-right: 14px;
}
.grid_woo .product h3.flowhidden {
    min-height: 2.7em;
    margin-bottom: 10px !important;
    font-size: 15px !important;
    line-height: 1.35;
}
.grid_woo .product .border-top.abposbot {
    /* REHub absolutely-positions this bar at the card bottom (over the content
       once the card's reserved padding is gone) — make it a normal flex child
       pinned to the bottom via margin-top:auto instead. */
    position: static !important;
    display: block !important;
    width: 100% !important;
    margin-top: auto !important;
    padding: 4px 14px 14px !important;
    border-top: none !important;
}
.woocommerce .grid_woo .product:hover {
    box-shadow: var(--pf-shadow-hover);
    transform: translateY(-2px);
}
/* Sale badge: black (REHub paints it green) */
body .woocommerce .onsale,
body .woocommerce span.onsale {
    background: var(--pf-cta) !important;
    color: #fff !important;
    border-radius: 3px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.04em;
}
/* Corner sale badge hidden on grid cards — the discount chip in the price row
   (prisfare_price_discount_chip) is its home there instead. */
.grid_woo .product > .pf-sale-badge { display: none !important; }

/* Wishlist heart: quiet, top-right, no counter (mockup) */
.grid_woo .product .button_action {
    left: auto !important;
    right: 8px !important;
    top: 8px !important;
    background: transparent !important;
    box-shadow: none !important;
}
.grid_woo .product .thumbscount { display: none !important; }

/* Price row: current price first (bold), struck original after, chip last */
.woocommerce .grid_woo .product .price {
    display: flex;
    flex-wrap: wrap;      /* narrow cards: chip wraps instead of overflowing */
    align-items: baseline;
    gap: 8px;
    color: var(--pf-text) !important;
}
.woocommerce .grid_woo .product .price ins {
    order: 1;
    text-decoration: none;
    font-size: 17px;
    font-weight: 700;
}
.woocommerce .grid_woo .product .price del {
    order: 2;
    color: var(--pf-muted) !important;
    font-weight: 400;
    font-size: 13px;
}
.woocommerce .grid_woo .product .price { width: 100%; }
.woocommerce .grid_woo .product .price .pf-price-chip {
    order: 3;
    margin-left: auto;   /* chip hugs the right edge (mockup) */
}
.pf-price-chip {
    background: #f1e9da;
    color: #6f5429;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 4px 7px;
    line-height: 1;
    white-space: nowrap;
}

/* Bottom of card: price row above a full-width outline CTA (mockup Version B) */
.grid_woo .product .border-top.abposbot { display: block !important; }
.grid_woo .product .price_for_grid {
    float: none !important;
    margin: 0 0 10px !important;
}
.grid_woo .product .btn_for_grid {
    float: none !important;
    width: 100%;
}
html body .woocommerce .grid_woo .product a.woo_loop_btn,
html body .woocommerce .grid_woo .product a.re_track_btn.woo_loop_btn {
    width: 100%;
    background: #ffffff none !important;
    background-color: #ffffff !important;
    color: var(--pf-text) !important;
    border: 1px solid var(--pf-border-strong) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 10px 12px;
}
html body .woocommerce .grid_woo .product a.woo_loop_btn:hover,
html body .woocommerce .grid_woo .product a.re_track_btn.woo_loop_btn:hover {
    background: var(--pf-cta) none !important;
    background-color: var(--pf-cta) !important;
    color: #ffffff !important;
    border-color: var(--pf-cta) !important;
}
.grid_woo .product a.woo_loop_btn svg { display: none; }
.grid_woo .product a.woo_loop_btn::after { content: "\2192"; margin-left: 8px; }

/* --- Article TOC ("Innehåll") — cream box with numbered jump links --- */
.pf-toc {
    background: #f7f2e9;
    border: 1px solid var(--pf-border);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 0 0 28px;
}
.pf-toc-title {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pf-text);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--pf-primary);
    width: fit-content;
}
.pf-toc ol {
    margin: 0;
    padding-left: 1.3em;
}
.pf-toc li {
    margin: 5px 0;
    font-size: 14.5px;
}
.pf-toc a {
    color: var(--pf-text) !important;
    text-decoration: none !important;
}
.pf-toc a:hover {
    color: var(--pf-primary) !important;
    text-decoration: underline !important;
}

/* --- Elegant ad frames: cream container + discreet ANNONS label (mockup) --- */
.pf-ad {
    background: #fbf8f2;
    border: 1px solid var(--pf-border);
    border-radius: 8px;
    padding: 10px 10px 12px;
}
.pf-ad__label {
    display: block;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #8a857b;
    margin-bottom: 8px;
}
.pf-ad img {
    display: block;
    border-radius: 4px;
}

/* --- Footer (mockup: Version B structure + Version A positioning line) ---
   Column 1's widget title ("Om PrisFare") becomes the white wordmark; the
   positioning line sits under it, above the social icons. */
.footer-bottom .footer_widget .widget .title {
    background: url('images/prixfair-wordmark-white.png') no-repeat left center / 176px 22px;
    height: 22px;
    overflow: hidden;
    text-indent: -9999px;
    margin-bottom: 16px !important;
}
.footer-bottom .footer_widget .widget .title::after { display: none !important; }
/* Positioning line (language-aware via html lang) above the social icons */
.footer-bottom .pf-footer-social::before {
    content: "The elegant price comparison service for fashion, beauty and lifestyle.";
    flex-basis: 100%;    /* full row — no max-width, or the first icon slips up beside the text */
    font-size: 12.5px;
    line-height: 1.55;
    letter-spacing: 0.02em;
    color: #b8b2a6;
    margin-bottom: 10px;
}
html[lang^="sv"] .footer-bottom .pf-footer-social::before {
    content: "Sveriges mest eleganta prisjämförelsetjänst för mode, skönhet och livsstil.";
}
html[lang^="es"] .footer-bottom .pf-footer-social::before {
    content: "El elegante comparador de precios de moda, belleza y estilo de vida.";
}
html[lang^="fr"] .footer-bottom .pf-footer-social::before {
    content: "Le comparateur de prix élégant pour la mode, la beauté et le lifestyle.";
}
html[lang^="zh"] .footer-bottom .pf-footer-social::before {
    content: "优雅的时尚、美妆与生活方式比价平台。";
}
/* Column headings: small caps, letter-spaced (beats the widgets' inline styles) */
.footer-bottom .textwidget h4,
.footer-bottom .pf-footer-nl-title {
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.16em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin: 0 0 16px !important;
}
.footer-bottom .textwidget ul li { margin: 0 0 9px; }
.footer-bottom .textwidget a { font-size: 13.5px !important; }
/* Newsletter form: input + button as a tidy row (mockup A) */
.footer-bottom .footer_widget form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    max-width: 420px;
}
.footer-bottom .footer_widget form input[type="email"],
.footer-bottom .footer_widget form input[type="text"] {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: 4px !important;
    color: #ffffff !important;
    font-size: 13.5px;
    padding: 12px 14px !important;
    box-shadow: none !important;
}
.footer-bottom .footer_widget form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}
/* Newsletter button: white, quiet, uppercase */
.footer-bottom form button,
.footer-bottom button[type="submit"] {
    background: #ffffff !important;
    color: #141414 !important;
    border: none !important;
    border-radius: 4px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 12px 18px !important;
    cursor: pointer;
}
.footer-bottom form button:hover,
.footer-bottom button[type="submit"]:hover {
    background: #dccfb8 !important;
}
/* Airier footer: more vertical room, even flex columns with a real gap */
.footer-bottom.dark_style {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}
.footer-bottom .col_wrap_three {
    display: flex !important;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}
.footer-bottom .col_wrap_three > .footer_widget {
    float: none !important;
    width: auto !important;
    flex: 1 1 260px;
    max-width: none !important;
}
.footer-bottom .textwidget ul li a,
.footer-bottom .footer_widget a {
    color: #b8b2a6 !important;
}
@media (max-width: 768px) {
    .footer-bottom .col_wrap_three { gap: 32px; }
}

/* CTAs: near-black (premium magazine) instead of REHub's gold option.
   Higher specificity than REHub's inline !important rules. */
body .woocommerce a.woo_loop_btn,
body .woocommerce a.add_to_cart_button,
body .woocommerce .single_add_to_cart_button,
body .woocommerce div.product form.cart .button,
body .priced_block .btn_offer_block,
body .priced_block .button,
body .rh-deal-compact-btn,
body .wpsm-button.rehub_main_btn,
body .wp-block-button .wp-block-button__link {
    background: var(--pf-cta) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    border-radius: 4px !important;
}
body .woocommerce a.woo_loop_btn:hover,
body .woocommerce a.add_to_cart_button:hover,
body .woocommerce .single_add_to_cart_button:hover,
body .woocommerce div.product form.cart .button:hover,
body .priced_block .btn_offer_block:hover,
body .priced_block .button:hover,
body .rh-deal-compact-btn:hover,
body .wpsm-button.rehub_main_btn:hover,
body .wp-block-button .wp-block-button__link:hover {
    background: var(--pf-cta-hover) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Category tags: black pill (was green) — matches the b/w editorial look. */
.pf-featured-cat {
    background: var(--pf-cta) !important;
}

/* ============================================
   PRODUCT GRID CARD TITLES
   ============================================ */
/* REHub renders grid product titles (h3.flowhidden) at 20px uppercase, which
   reads as heading-sized on the cards. Bring them down a notch so the product
   name sits clearly below true headings while staying readable. Applies to the
   homepage "Populära produkter" grid and the shop/category grids alike. */
.woocommerce .grid_woo .product h3.flowhidden,
.woocommerce .grid_woo .product h3.flowhidden a {
    font-size: 16px !important;
    line-height: 1.35;
}
