:root {
    --helleny-background: #fbfaf7;
    --helleny-surface: #fff;
    --helleny-text: #241b16;
    --helleny-muted: #786f68;
    --helleny-brown: #7b4c26;
    --helleny-brown-hover: #a8642a;
    --helleny-beige: #f6efe5;
    --helleny-border: #e8ded1;
    --helleny-success: #2f8f46;
}

body.helleny-global-navigation #masthead { display: none !important; }
body.helleny-global-navigation { background: var(--helleny-background); color: var(--helleny-text); }
html, body.helleny-global-navigation { max-width: 100%; overflow-x: clip; }
body.helleny-global-navigation #page,
body.helleny-global-navigation .site,
body.helleny-global-navigation .site-main { background: var(--helleny-background); }
.helleny-global-navigation .content-area { margin-top: 0; margin-bottom: 0; }
.helleny-global-navigation .content-container { width: min(1440px, calc(100% - 40px)); max-width: 1440px; }
.helleny-global-navigation .entry-content-wrap,
.helleny-global-navigation .content-bg { border-radius: 14px; background: var(--helleny-surface); box-shadow: none; }
.helleny-global-navigation .entry-hero-container-inner { background: var(--helleny-beige); }
.helleny-global-navigation .entry-hero .entry-header { min-height: 150px; padding: 36px 20px; }
.helleny-global-navigation .entry-title { color: var(--helleny-text); font-family: Georgia, "Times New Roman", serif; letter-spacing: -.02em; }
.helleny-global-navigation .entry-content h1,
.helleny-global-navigation .entry-content h2,
.helleny-global-navigation .entry-content h3 { color: var(--helleny-text); }
.helleny-global-navigation .entry-content a:not(.button):not(.wp-element-button) { color: var(--helleny-brown); }
.helleny-global-navigation .entry-content a:not(.button):not(.wp-element-button):hover { color: var(--helleny-brown-hover); }
.helleny-global-navigation hr { border-color: var(--helleny-border); }
.helleny-global-navigation input:not([type="checkbox"]):not([type="radio"]),
.helleny-global-navigation select,
.helleny-global-navigation textarea { border-color: var(--helleny-border); border-radius: 10px; background: #fff; color: var(--helleny-text); }
.helleny-global-navigation input:focus,
.helleny-global-navigation select:focus,
.helleny-global-navigation textarea:focus { border-color: var(--helleny-brown); outline: 3px solid rgba(123,76,38,.12); box-shadow: none; }
.helleny-global-navigation button:not(.helleny-header-action):not(.helleny-menu-toggle):not(.helleny-drawer-close):not(.helleny-card-action):not(.helleny-youtube-button):not(.helleny-mobile-cart),
.helleny-global-navigation .button,
.helleny-global-navigation .wp-element-button,
.helleny-global-navigation .wc-block-components-button { border-color: var(--helleny-brown); border-radius: 10px; background: var(--helleny-brown); color: #fff; box-shadow: none; }
.helleny-global-navigation button:not(.helleny-header-action):not(.helleny-menu-toggle):not(.helleny-drawer-close):not(.helleny-card-action):not(.helleny-youtube-button):not(.helleny-mobile-cart):hover,
.helleny-global-navigation .button:hover,
.helleny-global-navigation .wp-element-button:hover,
.helleny-global-navigation .wc-block-components-button:hover { border-color: var(--helleny-brown-hover); background: var(--helleny-brown-hover); color: #fff; }
.helleny-global-navigation .woocommerce-message,
.helleny-global-navigation .woocommerce-info { border-color: var(--helleny-success); border-radius: 10px; background: #f2f8f3; color: var(--helleny-text); }
.helleny-global-navigation .woocommerce-error { border-radius: 10px; background: #fff5f2; color: var(--helleny-text); }
.helleny-global-navigation .woocommerce-MyAccount-navigation ul { overflow: hidden; margin: 0; padding: 6px; border: 1px solid var(--helleny-border); border-radius: 12px; background: #fff; list-style: none; }
.helleny-global-navigation .woocommerce-MyAccount-navigation a { display: flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 8px; color: var(--helleny-text); text-decoration: none; }
.helleny-global-navigation .woocommerce-MyAccount-navigation a:hover,
.helleny-global-navigation .woocommerce-MyAccount-navigation .is-active a { background: var(--helleny-beige); color: var(--helleny-brown); }
.helleny-global-navigation table.shop_table { overflow: hidden; border-color: var(--helleny-border); border-radius: 12px; background: #fff; }
.helleny-global-navigation table.shop_table th,
.helleny-global-navigation table.shop_table td { border-color: var(--helleny-border); }
.helleny-global-navigation .wc-block-cart,
.helleny-global-navigation .wc-block-checkout,
.helleny-global-navigation .woocommerce form.checkout,
.helleny-global-navigation .woocommerce form.login,
.helleny-global-navigation .woocommerce form.register { color: var(--helleny-text); }
.helleny-global-navigation .wc-block-components-sidebar,
.helleny-global-navigation .wc-block-components-totals-wrapper { border-color: var(--helleny-border); }
.helleny-global-navigation .site-footer { display: none !important; }
.helleny-site-header { position: sticky; z-index: 9990; top: 0; border-bottom: 1px solid var(--helleny-border); background: rgba(255,255,255,.98); color: var(--helleny-text); }
.admin-bar .helleny-site-header { top: 32px; }
.helleny-site-header__inner { display: grid; width: min(1440px, calc(100% - 40px)); min-height: 82px; grid-template-columns: 340px minmax(0,1fr) auto; align-items: center; gap: 20px; margin: auto; }
.helleny-site-brand { display: block; width: 330px; height: 66px; overflow: hidden; }
.helleny-site-brand picture, .helleny-site-brand img { display: block; width: 100%; height: 100%; }
.helleny-site-brand img { object-fit: cover; object-position: center; }
.helleny-primary-nav { justify-self: center; }
.helleny-menu { display: flex; align-items: center; gap: 3px; margin: 0; padding: 0; list-style: none; }
.helleny-menu li { position: relative; margin: 0; }
.helleny-menu a { display: flex; min-height: 44px; align-items: center; padding: 0 12px; border-radius: 9px; color: var(--helleny-text); font-size: 14px; font-weight: 500; text-decoration: none; transition: color .18s ease, background .18s ease; }
.helleny-menu a:hover, .helleny-menu a:focus-visible { background: var(--helleny-beige); color: var(--helleny-brown); }
.helleny-menu .current-menu-item > a, .helleny-menu .current_page_item > a { color: var(--helleny-brown); }
.helleny-menu .current-menu-item > a::after, .helleny-menu .current_page_item > a::after { content: ""; position: absolute; right: 12px; bottom: 4px; left: 12px; height: 2px; border-radius: 2px; background: var(--helleny-brown); }
.helleny-menu .sub-menu { position: absolute; top: calc(100% + 6px); left: 0; display: none; min-width: 220px; margin: 0; padding: 7px; border: 1px solid var(--helleny-border); border-radius: 13px; background: #fff; box-shadow: 0 12px 28px rgba(58,39,24,.09); list-style: none; }
.helleny-menu li:hover > .sub-menu, .helleny-menu li:focus-within > .sub-menu { display: block; }
.helleny-menu .sub-menu a { min-height: 42px; }
.helleny-header-actions { display: flex; align-items: center; gap: 3px; }
.helleny-header-action, .helleny-menu-toggle { position: relative; display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 0 9px; border: 0; border-radius: 10px; background: transparent; color: var(--helleny-text); text-decoration: none; }
.helleny-header-action:hover, .helleny-header-action:focus-visible, .helleny-menu-toggle:hover, .helleny-menu-toggle:focus-visible { background: var(--helleny-beige); color: var(--helleny-brown); }
.helleny-header-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.helleny-account-link span { white-space: nowrap; font-size: 13px; }
.helleny-cart-badge { position: absolute; top: 2px; right: 1px; display: grid; min-width: 18px; height: 18px; place-items: center; padding: 0 4px; border-radius: 999px; background: var(--helleny-brown); color: #fff; font-size: 10px; font-weight: 700; }
.helleny-menu-toggle { display: none; flex-direction: column; gap: 4px; }
.helleny-menu-toggle span { width: 20px; height: 2px; border-radius: 2px; background: currentColor; }
.helleny-header-search { border-top: 1px solid var(--helleny-border); background: #fff; }
.helleny-header-search form { position: relative; display: flex; width: min(720px, calc(100% - 40px)); min-height: 64px; align-items: center; gap: 8px; margin: auto; }
.helleny-header-search svg { position: absolute; left: 14px; width: 19px; fill: none; stroke: var(--helleny-brown); stroke-width: 1.7; }
.helleny-header-search input { width: 100%; height: 44px; padding: 0 42px; border: 1px solid var(--helleny-border); border-radius: 12px; background: #fff; color: var(--helleny-text); }
.helleny-header-search input:focus { border-color: var(--helleny-brown); outline: 3px solid rgba(123,76,38,.12); }
.helleny-header-search button { min-height: 44px; padding: 0 18px; border: 1px solid var(--helleny-brown); border-radius: 12px; background: var(--helleny-brown); color: #fff; }
.helleny-mobile-drawer, .helleny-drawer-overlay { display: none; }
.helleny-global-navigation :focus-visible { outline: 3px solid rgba(123,76,38,.28); outline-offset: 2px; }
.site-footer a { color: var(--helleny-text); }
.site-footer a:hover, .site-footer a:focus-visible { color: var(--helleny-brown); }
.helleny-brand-footer { margin-top: 32px; border-top: 1px solid var(--helleny-border); background: #fff; color: var(--helleny-text); }
.helleny-brand-footer__inner { display: grid; width: min(1400px, calc(100% - 40px)); grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; margin: auto; padding: 30px 0 22px; }
.helleny-brand-footer__nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.helleny-brand-footer__nav a { color: var(--helleny-text); font-size: 12px; text-decoration: none; }
.helleny-brand-footer__logo { display: block; width: 74px; height: 74px; }
.helleny-brand-footer__logo img { width: 100%; height: 100%; object-fit: contain; }
.helleny-brand-footer__social { display: flex; justify-content: flex-end; gap: 8px; }
.helleny-brand-footer__social a { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--helleny-border); border-radius: 50%; color: var(--helleny-brown); transition: background .18s ease, color .18s ease, transform .18s ease; }
.helleny-brand-footer__social a:hover, .helleny-brand-footer__social a:focus-visible { background: var(--helleny-beige); color: var(--helleny-text); transform: translateY(-2px); }
.helleny-brand-footer__social svg { width: 17px; height: 17px; fill: currentColor; }
.helleny-brand-footer__bottom { display: flex; width: min(1400px, calc(100% - 40px)); justify-content: space-between; gap: 20px; margin: auto; padding: 15px 0 22px; border-top: 1px solid var(--helleny-border); color: #756c65; font-size: 11px; }

@media (max-width: 1100px) {
    .helleny-site-header__inner { grid-template-columns: 270px minmax(0,1fr) auto; gap: 10px; }
    .helleny-site-brand { width: 260px; height: 56px; }
    .helleny-menu a { padding-inline: 8px; font-size: 12px; }
    .helleny-account-link span { display: none; }
}

@media (max-width: 900px) {
    .helleny-site-header__inner { width: calc(100% - 24px); min-height: 68px; grid-template-columns: 1fr auto; }
    .helleny-site-brand { width: 220px; height: 50px; }
    .helleny-primary-nav { display: none; }
    .helleny-menu-toggle { display: inline-flex; }
    .helleny-mobile-drawer { position: fixed; z-index: 10001; top: 0; right: 0; bottom: 0; display: block; width: min(380px, 88vw); padding: 18px; background: #fff; box-shadow: -16px 0 36px rgba(36,27,22,.12); transform: translateX(105%); transition: transform .2s ease; }
    .helleny-mobile-drawer.is-open { transform: none; }
    .helleny-mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-bottom: 14px; border-bottom: 1px solid var(--helleny-border); }
    .helleny-mobile-brand { display: block; width: 210px; height: 50px; overflow: hidden; }
    .helleny-mobile-brand img { width: 100%; height: 100%; object-fit: cover; }
    .helleny-drawer-close { width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--helleny-beige); color: var(--helleny-text); font-size: 26px; }
    .helleny-mobile-menu { margin: 14px 0; padding: 0; list-style: none; }
    .helleny-mobile-menu ul { margin: 0; padding-left: 14px; list-style: none; }
    .helleny-mobile-menu a { display: flex; min-height: 48px; align-items: center; padding: 0 12px; border-radius: 10px; color: var(--helleny-text); text-decoration: none; }
    .helleny-mobile-menu a:hover, .helleny-mobile-menu a:focus-visible, .helleny-mobile-menu .current-menu-item > a { background: var(--helleny-beige); color: var(--helleny-brown); }
    .helleny-mobile-drawer__actions { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--helleny-border); }
    .helleny-mobile-drawer__actions a { display: flex; min-height: 48px; align-items: center; justify-content: space-between; padding: 0 12px; border: 1px solid var(--helleny-border); border-radius: 10px; color: var(--helleny-text); text-decoration: none; }
    .helleny-drawer-overlay { position: fixed; z-index: 10000; inset: 0; background: rgba(36,27,22,.42); }
    .helleny-drawer-overlay.is-open { display: block; }
    body.helleny-menu-open { overflow: hidden; }
}

@media (max-width: 600px) {
    .admin-bar .helleny-site-header { top: 0; }
    .helleny-site-header__inner { width: calc(100% - 16px); grid-template-columns: minmax(0,1fr) auto; gap: 2px; }
    .helleny-site-brand { width: 145px; height: 46px; }
    .helleny-header-actions { min-width: 132px; justify-content: flex-end; gap: 0; }
    .helleny-header-action, .helleny-menu-toggle { min-width: 42px; width: 42px; padding: 0; }
    .helleny-account-link { display: none; }
    .helleny-global-navigation .content-container { width: calc(100% - 24px); }
    .helleny-global-navigation .entry-hero .entry-header { min-height: 105px; padding: 24px 12px; }
    .helleny-brand-footer { margin-top: 20px; padding-bottom: 78px; }
    .helleny-brand-footer__inner { width: calc(100% - 32px); grid-template-columns: 1fr; justify-items: center; gap: 18px; padding: 26px 0 18px; }
    .helleny-brand-footer__logo { grid-row: 1; width: 64px; height: 64px; }
    .helleny-brand-footer__nav, .helleny-brand-footer__social { justify-content: center; }
    .helleny-brand-footer__bottom { width: calc(100% - 32px); justify-content: center; text-align: center; }
    .helleny-brand-footer__bottom span:last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .helleny-site-header *, .helleny-mobile-drawer { scroll-behavior: auto !important; transition: none !important; }
}
