/* ==========================================================================
   BrewBite — Snacks & Coffee Template (Template 42)
   Design: Espresso brown + caramel amber on warm cream, cozy cafe warmth,
           rounded cards with Lora serif headings
   Markup: Magento Luma-style hierarchy (panel wrapper, page-header,
           nav-segment, page-main, page-footer, BEM blocks)
   Fonts: Lora (headings) + Open Sans (body)
   CSS Prefix: brew42-
   Note: cart / list / page / product templates carry their own inline
         styles; this file covers variables, shared chrome (header, nav,
         footer) and the homepage blocks.
   ========================================================================== */

:root {
    --brew42-primary: #4A2C17;        /* Espresso brown */
    --brew42-primary-dark: #351F10;
    --brew42-accent: #C97E3D;         /* Caramel amber */
    --brew42-accent-dark: #A96428;
    --brew42-accent-light: #E8B984;
    --brew42-cream: #FBF6EC;          /* Warm cream base */
    --brew42-cream-light: #F7EFE2;    /* Pale latte wash */
    --brew42-white: #ffffff;
    --brew42-text: #33231A;           /* Roasted bean charcoal */
    --brew42-text-muted: #8A7462;
    --brew42-border: #E3D5C2;
    --brew42-border-light: #EFE4D2;
    --brew42-bg: #ffffff;
    --brew42-bg-light: #F7EFE2;
    --brew42-accent-hover: #A96428;
    --brew42-sale: #D93025;          /* Bright sale red */
    --brew42-success: #3E7C4F;
    --brew42-danger: #C0392B;
    --brew42-footer-bg: #2B1A0E;      /* Deep roast footer */
    --brew42-radius: 10px;
    --brew42-radius-lg: 16px;
    --brew42-radius-xl: 22px;
    --brew42-font-heading: 'Lora', Georgia, 'Times New Roman', serif;
    --brew42-font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --brew42-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --brew42-shadow-sm: 0 2px 10px rgba(74, 44, 23, 0.07);
    --brew42-shadow-md: 0 8px 26px rgba(74, 44, 23, 0.11);
    --brew42-shadow-lg: 0 16px 44px rgba(53, 31, 16, 0.16);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip;
}

body.brew42-theme {
    font-family: var(--brew42-font-body);
    color: var(--brew42-text);
    background-color: var(--brew42-cream);
    line-height: 1.7;
    font-weight: 400;
    text-transform: none;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body.brew42-theme main#MainContent.brew42-main {
    flex: 1 0 auto;
}

body.brew42-theme h1,
body.brew42-theme h2,
body.brew42-theme h3,
body.brew42-theme h4,
body.brew42-theme h5 {
    font-family: var(--brew42-font-heading);
    font-weight: 600;
    text-transform: none;
}

body.brew42-theme img {
    max-width: 100%;
}

.shopify-section {
    scroll-margin-top: 90px;
}

/* ==========================================================================
   Page Shell
   ========================================================================== */

.brew42-page-width {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.brew42-skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 3000;
    background: var(--brew42-primary-dark);
    color: #fff;
    padding: 12px 20px;
    font-weight: 700;
    text-decoration: none;
}

.brew42-skip:focus {
    left: 12px;
    top: 12px;
    border-radius: var(--brew42-radius);
}

/* ==========================================================================
   Top Panel Strip (Magento panel.wrapper)
   ========================================================================== */

.panel.wrapper.brew42-topbar {
    background: var(--brew42-footer-bg);
    color: #fff;
    font-size: 13px;
}

.brew42-topbar .panel.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 42px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

.brew42-topbar .welcome {
    color: rgba(255, 255, 255, 0.92);
    font-family: var(--brew42-font-body);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: none;
}

.brew42-topbar .welcome i {
    color: var(--brew42-accent-light);
    font-size: 13px;
}

ul.brew42-toplinks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brew42-toplinks a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: var(--brew42-font-body);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color var(--brew42-transition);
}

.brew42-toplinks a:hover {
    color: var(--brew42-accent-light);
}

.brew42-toplinks a.brew42-toplinks__signin {
    background: rgba(255, 255, 255, 0.13);
    padding: 6px 16px;
    border-radius: 999px;
}

.brew42-toplinks a.brew42-toplinks__signin:hover {
    background: var(--brew42-accent);
    color: #fff;
}

/* ==========================================================================
   Page Header (sticky, persistent search on desktop)
   ========================================================================== */

header.page-header.brew42-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brew42-border-light);
    box-shadow: 0 1px 0 rgba(74, 44, 23, 0.04);
}

.brew42-header__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 74px;
    gap: 18px;
}

/* Icon buttons */
.brew42-icon-btn {
    background: none;
    border: none;
    width: 42px;
    height: 42px;
    padding: 0;
    font-size: 17px;
    color: var(--brew42-primary);
    cursor: pointer;
    border-radius: 50%;
    transition: background-color var(--brew42-transition), color var(--brew42-transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.brew42-icon-btn:hover {
    background-color: var(--brew42-cream-light);
    color: var(--brew42-accent-dark);
}

.brew42-cart-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 19px;
    height: 19px;
    padding: 0 5px;
    background-color: var(--brew42-accent);
    color: var(--brew42-white);
    font-size: 10.5px;
    font-family: var(--brew42-font-body);
    font-weight: 800;
    border-radius: 10px;
    border: 2px solid #fff;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Logo — Lora serif with mug-hot mark */
a.brew42-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--brew42-font-heading);
    font-size: 27px;
    font-weight: 700;
    color: var(--brew42-primary);
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
}

.brew42-logo__mark {
    color: var(--brew42-accent);
    font-size: 25px;
    line-height: 1;
}

a.brew42-logo:hover {
    color: var(--brew42-accent-dark);
}

a.brew42-logo:hover .brew42-logo__mark {
    color: var(--brew42-accent-dark);
}

.header.actions.brew42-header__actions,
.brew42-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

/* ==========================================================================
   Search — mobile reveal / desktop persistent
   ========================================================================== */

.block.block-search.brew42-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--brew42-border-light);
    box-shadow: var(--brew42-shadow-md);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    z-index: 940;
}

.block.block-search.brew42-search.is-open {
    max-height: 130px;
    opacity: 1;
}

.brew42-search__form {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 32px;
}

.brew42-search__control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.brew42-search__control > i {
    font-size: 17px;
    color: var(--brew42-accent-dark);
}

.brew42-search__input {
    flex: 1;
    min-width: 0;
    border: none;
    border-bottom: 2px solid var(--brew42-border);
    background: transparent;
    padding: 10px 4px;
    font-size: 15px;
    font-family: var(--brew42-font-body);
    font-weight: 600;
    color: var(--brew42-text);
    outline: none;
    transition: border-color var(--brew42-transition);
}

.brew42-search__input:focus {
    border-bottom-color: var(--brew42-accent);
}

.brew42-search__input::placeholder {
    color: var(--brew42-text-muted);
    font-weight: 400;
}

.brew42-search__submit {
    padding: 11px 26px;
    border: none;
    border-radius: 999px;
    background: var(--brew42-primary);
    color: #fff;
    font-family: var(--brew42-font-body);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--brew42-transition);
}

.brew42-search__submit:hover {
    background: var(--brew42-accent-dark);
}

.brew42-search__close {
    border: none;
    background: var(--brew42-cream-light);
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 50%;
    color: var(--brew42-primary);
    cursor: pointer;
    font-size: 15px;
}

/* ==========================================================================
   Nav Segment — caramel-brown catalog bar (Magento .nav-segment)
   ========================================================================== */

.sections.nav-segment.brew42-nav-segment {
    background: var(--brew42-primary);
    box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 900;
}

.sections.nav-segment.brew42-nav-segment .section-items.nav-sections-items {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    width: 100%;
}

nav.navigation.brew42-navigation {
    display: block;
}

ul.brew42-primary-nav__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.brew42-primary-nav__item {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

a.brew42-primary-nav__link,
a.brew42-primary-nav__link:link,
a.brew42-primary-nav__link:visited {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 14px 15px;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--brew42-font-body);
    color: #fff;
    text-decoration: none;
    text-transform: none;
    border-radius: 8px 8px 0 0;
    transition: color var(--brew42-transition), background var(--brew42-transition);
    white-space: nowrap;
}

.brew42-primary-nav__chevron {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.75);
    transition: transform var(--brew42-transition);
}

a.brew42-primary-nav__link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.brew42-primary-nav__item.active > a.brew42-primary-nav__link {
    color: #fff;
    background: var(--brew42-accent-dark);
}

.brew42-primary-nav__item.parent:hover > a.brew42-primary-nav__link .brew42-primary-nav__chevron,
.brew42-primary-nav__item.parent:focus-within > a.brew42-primary-nav__link .brew42-primary-nav__chevron {
    transform: rotate(180deg);
}

/* Invisible hover bridge — kills the gap between bar and dropdown panel */
.brew42-primary-nav__item.parent::after,
.brew42-primary-nav__more::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 8px;
    background: transparent;
}

/* Dropdown panels */
ul.brew42-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    margin: 0;
    min-width: 230px;
    background: #fff;
    border: 1px solid var(--brew42-border-light);
    border-radius: var(--brew42-radius-lg);
    box-shadow: var(--brew42-shadow-lg);
    padding: 8px;
    list-style: none;
    display: none;
    z-index: 99999;
}

.brew42-primary-nav__item.parent:hover > ul.brew42-dropdown,
.brew42-primary-nav__item.parent:focus-within > ul.brew42-dropdown {
    display: block;
}

li.brew42-dropdown__item {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

li.brew42-dropdown__item > a,
li.brew42-dropdown__item > a:link,
li.brew42-dropdown__item > a:visited {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 14px;
    color: var(--brew42-text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    font-family: var(--brew42-font-body);
    border-radius: var(--brew42-radius);
    transition: background var(--brew42-transition), color var(--brew42-transition);
}

li.brew42-dropdown__item > a:hover {
    background: var(--brew42-cream-light);
    color: var(--brew42-accent-dark);
}

li.brew42-dropdown__item > a i {
    font-size: 9px;
    color: var(--brew42-text-muted);
    flex-shrink: 0;
}

/* Flyout second-level panels */
ul.brew42-dropdown__submenu {
    position: absolute;
    top: -9px;
    left: 100%;
    margin-left: 4px;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--brew42-border-light);
    border-radius: var(--brew42-radius-lg);
    box-shadow: var(--brew42-shadow-lg);
    padding: 8px;
    list-style: none;
    display: none;
    z-index: 100000;
}

li.brew42-dropdown__item.has-submenu:hover > ul.brew42-dropdown__submenu,
li.brew42-dropdown__item.has-submenu:focus-within > ul.brew42-dropdown__submenu {
    display: block;
}

ul.brew42-dropdown__submenu > li {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.brew42-dropdown__submenu > li > a,
a.brew42-dropdown__subitem,
a.brew42-dropdown__subitem:link,
a.brew42-dropdown__subitem:visited {
    display: block;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--brew42-font-body);
    color: var(--brew42-text);
    text-decoration: none;
    border-radius: var(--brew42-radius);
    transition: background var(--brew42-transition), color var(--brew42-transition);
}

ul.brew42-dropdown__submenu > li > a:hover,
a.brew42-dropdown__subitem:hover {
    background: var(--brew42-cream-light);
    color: var(--brew42-accent-dark);
}

/* "More" overflow item: panel aligns right edge; flyouts open LEFTWARD */
.brew42-primary-nav__more > ul.brew42-dropdown {
    left: auto;
    right: 0;
}

.brew42-primary-nav__more ul.brew42-dropdown__submenu {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 4px;
}

/* ==========================================================================
   Mobile Drawer
   ========================================================================== */

.brew42-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(43, 26, 14, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1100;
    backdrop-filter: blur(3px);
}

.brew42-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.brew42-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 330px;
    max-width: 86vw;
    background: #fff;
    z-index: 1200;
    transform: translateX(-105%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: var(--brew42-shadow-lg);
}

.brew42-drawer.is-open {
    transform: translateX(0);
}

.brew42-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid var(--brew42-border-light);
}

a.brew42-logo--drawer {
    font-size: 23px;
}

a.brew42-logo--drawer .brew42-logo__mark {
    font-size: 21px;
}

nav.brew42-drawer__body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 14px 28px;
}

ul.brew42-drawer__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.brew42-drawer__list > li {
    border-bottom: 1px solid var(--brew42-border-light);
}

.brew42-drawer__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 15px 10px;
    font-size: 15.5px;
    font-weight: 700;
    font-family: var(--brew42-font-body);
    color: var(--brew42-text);
    text-decoration: none;
}

.brew42-drawer__link-text {
    color: inherit;
    text-decoration: none;
    flex: 1;
    min-width: 0;
}

.brew42-drawer__link-text:hover {
    color: var(--brew42-accent-dark);
}

.brew42-drawer__toggle {
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border: none;
    background: var(--brew42-cream-light);
    border-radius: 50%;
    color: var(--brew42-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brew42-drawer__chevron {
    font-size: 10px;
    transition: transform var(--brew42-transition);
}

.brew42-drawer__link.open .brew42-drawer__chevron {
    transform: rotate(180deg);
    color: var(--brew42-accent-dark);
}

ul.brew42-drawer__submenu {
    list-style: none;
    margin: 0;
    padding: 0 0 6px 14px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

ul.brew42-drawer__submenu.is-open {
    max-height: 1200px;
}

ul.brew42-drawer__submenu > li > a {
    display: block;
    padding: 9px 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--brew42-text-muted);
    text-decoration: none;
}

ul.brew42-drawer__submenu > li > a:hover {
    color: var(--brew42-accent-dark);
}

ul.brew42-drawer__sub-submenu {
    padding-left: 12px;
}

/* ==========================================================================
   Buttons — explicit :link/:visited to beat global link styles
   ========================================================================== */

a.brew42-btn,
a.brew42-btn:link,
a.brew42-btn:visited,
button.brew42-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 15px 34px;
    border-radius: 999px;
    font-family: var(--brew42-font-body);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    border: 2px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background var(--brew42-transition), color var(--brew42-transition), border-color var(--brew42-transition);
}

a.brew42-btn--primary,
a.brew42-btn--primary:link,
a.brew42-btn--primary:visited {
    background: linear-gradient(135deg, var(--brew42-accent) 0%, var(--brew42-accent-dark) 100%);
    color: #fff;
    box-shadow: 0 10px 24px rgba(169, 100, 40, 0.32);
}

a.brew42-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(169, 100, 40, 0.42);
}

a.brew42-btn--outline,
a.brew42-btn--outline:link,
a.brew42-btn--outline:visited {
    background: rgba(255, 255, 255, 0.72);
    color: var(--brew42-primary);
    border-color: var(--brew42-border);
    backdrop-filter: blur(6px);
}

a.brew42-btn--outline:hover {
    background: var(--brew42-primary);
    color: #fff;
    border-color: var(--brew42-primary);
    transform: translateY(-2px);
}

a.brew42-btn--sm,
a.brew42-btn--sm:link,
a.brew42-btn--sm:visited {
    padding: 11px 24px;
    font-size: 13.5px;
    background: var(--brew42-primary);
    color: #fff;
    border-color: var(--brew42-primary);
}

a.brew42-btn--sm:hover {
    background: var(--brew42-accent-dark);
    border-color: var(--brew42-accent-dark);
    color: #fff;
    transform: translateY(-2px);
}

a.brew42-btn--dark,
a.brew42-btn--dark:link,
a.brew42-btn--dark:visited {
    background: var(--brew42-primary);
    color: #fff;
}

a.brew42-btn--dark:hover {
    background: var(--brew42-primary-dark);
    color: #fff;
    transform: translateY(-2px);
}

a.brew42-btn--accent,
a.brew42-btn--accent:link,
a.brew42-btn--accent:visited {
    background: var(--brew42-accent);
    color: #fff;
    border-color: var(--brew42-accent);
}

a.brew42-btn--accent:hover {
    background: var(--brew42-accent-dark);
    border-color: var(--brew42-accent-dark);
    color: #fff;
}

/* ==========================================================================
   Marquee — deep roast strip
   ========================================================================== */

.brew42-marquee {
    background: var(--brew42-footer-bg);
    padding: 0;
    overflow: hidden;
}

.brew42-marquee-track {
    display: flex;
    width: max-content;
    padding: 13px 0;
    animation: brew42Marquee 32s linear infinite;
}

.brew42-marquee-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 32px;
    white-space: nowrap;
    color: #E8D9C4;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: none;
}

.brew42-marquee-item i {
    color: var(--brew42-accent-light);
}

@keyframes brew42Marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
   Hero — floating rounded card over warm cream
   ========================================================================== */

.brew42-hero {
    position: relative;
    padding: 36px 0 64px;
    background: linear-gradient(180deg, var(--brew42-cream-light) 0%, #F3E9D6 55%, var(--brew42-cream) 100%);
    overflow: clip;
}

/* Coffee-steam glow decorations */
.brew42-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(201, 126, 61, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.brew42-hero::after {
    content: '';
    position: absolute;
    bottom: -140px;
    left: -60px;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(74, 44, 23, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.brew42-hero-card {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--brew42-radius-xl);
    overflow: hidden;
    box-shadow: var(--brew42-shadow-lg);
    background-color: var(--brew42-white);
}

.brew42-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.brew42-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(112deg, rgba(251, 246, 236, 0.92) 0%, rgba(251, 246, 236, 0.68) 46%, rgba(247, 239, 226, 0.34) 100%);
}

.brew42-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 64px 40px;
    max-width: 760px;
}

.brew42-hero-tag {
    display: inline-block;
    padding: 8px 22px;
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--brew42-accent-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 999px;
    margin-bottom: 24px;
    border: 1px solid rgba(201, 126, 61, 0.35);
    backdrop-filter: blur(8px);
    text-transform: none;
}

.brew42-hero-inner h1 {
    font-family: var(--brew42-font-heading);
    font-size: 58px;
    font-weight: 700;
    color: var(--brew42-primary);
    margin-bottom: 18px;
    line-height: 1.12;
    text-transform: none;
}

.brew42-hero-inner p {
    font-size: 18px;
    color: var(--brew42-text-muted);
    margin-bottom: 34px;
    line-height: 1.7;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.brew42-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ==========================================================================
   Wave Divider
   ========================================================================== */

.brew42-wave-divider {
    display: block;
    width: 100%;
    height: 60px;
    line-height: 0;
    margin-top: -1px;
}

.brew42-wave-divider svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ==========================================================================
   Banners
   ========================================================================== */

.brew42-banner-single {
    width: 100%;
    padding: 24px 0 64px;
    background: var(--brew42-white);
}

.brew42-banner-single-inner {
    display: flex;
    align-items: center;
    gap: 48px;
    padding: 48px;
    background-color: var(--brew42-cream);
    border: 1px solid var(--brew42-border-light);
    border-radius: var(--brew42-radius-xl);
    box-shadow: var(--brew42-shadow-sm);
}

.brew42-banner-single-text {
    flex: 1;
    min-width: 280px;
}

.brew42-banner-tag {
    display: inline-block;
    padding: 7px 18px;
    background: var(--brew42-cream-light);
    color: var(--brew42-accent-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: 999px;
    border: 1px solid var(--brew42-border);
    margin-bottom: 18px;
    text-transform: none;
}

.brew42-banner-single-text h2 {
    font-family: var(--brew42-font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--brew42-primary);
    margin-bottom: 16px;
    text-transform: none;
}

.brew42-banner-single-text p {
    font-size: 16px;
    color: var(--brew42-text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.brew42-banner-single-img {
    flex: 1;
    min-width: 280px;
}

.brew42-banner-single-img img {
    width: 100%;
    height: auto;
    border-radius: var(--brew42-radius-lg);
    object-fit: cover;
}

.brew42-banner-two {
    width: 100%;
    padding: 48px 0;
    background: var(--brew42-white);
}

.brew42-banner-two-grid {
    display: flex;
    gap: 24px;
}

.brew42-banner-two-item {
    flex: 1;
    background-color: var(--brew42-cream);
    border-radius: var(--brew42-radius-lg);
    padding: 14px;
    border: 1px solid var(--brew42-border-light);
    box-shadow: var(--brew42-shadow-sm);
    transition: transform var(--brew42-transition), box-shadow var(--brew42-transition);
}

.brew42-banner-two-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--brew42-shadow-md);
}

.brew42-banner-two-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s;
}

.brew42-banner-two-item:hover img {
    transform: scale(1.04);
}

.brew42-banner-two-text {
    position: static;
    padding: 18px 8px 10px;
    background: none;
    color: var(--brew42-text);
}

.brew42-banner-two-text h3 {
    font-family: var(--brew42-font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--brew42-primary);
    text-transform: none;
}

.brew42-banner-two-text p {
    font-size: 13px;
    color: var(--brew42-text-muted);
    margin-bottom: 12px;
}

.brew42-banner-fullwidth {
    width: 100%;
    padding: 56px 0;
    background: linear-gradient(180deg, var(--brew42-cream) 0%, var(--brew42-cream-light) 100%);
}

.brew42-banner-fullwidth-card {
    min-height: 420px;
    border-radius: var(--brew42-radius-xl);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--brew42-shadow-lg);
}

.brew42-banner-fullwidth-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(110deg, rgba(43, 26, 14, 0.68) 0%, rgba(74, 44, 23, 0.42) 60%, rgba(201, 126, 61, 0.22) 100%);
}

.brew42-banner-fullwidth-text {
    position: relative;
    z-index: 1;
    color: var(--brew42-white);
    padding: 40px 32px;
    max-width: 640px;
}

.brew42-banner-fullwidth-text h2 {
    font-family: var(--brew42-font-heading);
    font-size: 42px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: none;
}

.brew42-banner-fullwidth-text p {
    font-size: 17px;
    opacity: 0.92;
    margin-bottom: 24px;
}

.brew42-banner-split {
    width: 100%;
    padding: 56px 0;
    background: linear-gradient(180deg, var(--brew42-cream) 0%, var(--brew42-cream-light) 100%);
}

.brew42-banner-split-inner {
    display: flex;
    align-items: center;
    gap: 56px;
}

.brew42-banner-split-img {
    flex: 1;
    min-width: 0;
}

.brew42-banner-split-img img {
    width: 100%;
    height: auto;
    border-radius: var(--brew42-radius-lg);
    object-fit: cover;
    box-shadow: var(--brew42-shadow-md);
}

.brew42-banner-split-text {
    flex: 1;
    min-width: 280px;
}

.brew42-banner-split-text h2 {
    font-family: var(--brew42-font-heading);
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--brew42-primary);
    line-height: 1.25;
    text-transform: none;
}

.brew42-banner-split-text p {
    font-size: 16px;
    color: var(--brew42-text-muted);
    line-height: 1.8;
    margin-bottom: 28px;
}

.brew42-banner-split--reverse .brew42-banner-split-inner {
    flex-direction: row-reverse;
}

/* ==========================================================================
   Page Title Block (list / non-home landing)
   ========================================================================== */

.brew42-page-title-block {
    background: var(--brew42-cream-light);
    padding: 8px 0 36px;
    border-bottom: 1px solid var(--brew42-border-light);
}

nav.breadcrumbs.brew42-breadcrumbs {
    padding: 20px 0 10px;
}

ul.items.brew42-breadcrumb {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

ul.items.brew42-breadcrumb li.item {
    display: inline-flex;
    align-items: center;
    font-family: var(--brew42-font-body);
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
}

ul.items.brew42-breadcrumb li.item a {
    color: var(--brew42-accent-dark);
    text-decoration: none;
    font-weight: 700;
}

ul.items.brew42-breadcrumb li.item a:hover {
    color: var(--brew42-primary);
}

ul.items.brew42-breadcrumb li.item.current {
    color: var(--brew42-text-muted);
}

ul.items.brew42-breadcrumb li.item + li.item::before {
    content: '/';
    margin-right: 8px;
    color: var(--brew42-border);
    font-weight: 700;
}

h1.page-title.brew42-page-title {
    font-family: var(--brew42-font-heading);
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    color: var(--brew42-primary);
    margin: 0;
    text-transform: none;
}

/* ==========================================================================
   Section Heads
   ========================================================================== */

.brew42-section {
    padding: 76px 0;
}

.brew42-section--white {
    background: var(--brew42-white);
}

.brew42-section--cream {
    background: var(--brew42-cream-light);
}

.brew42-section__head {
    margin-bottom: 42px;
}

.brew42-section__head--row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.brew42-section__eyebrow {
    display: inline-block;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--brew42-accent-dark);
    margin-bottom: 8px;
    text-transform: none;
}

.brew42-section__title {
    font-size: clamp(28px, 3.4vw, 40px);
    font-weight: 600;
    color: var(--brew42-primary);
    line-height: 1.2;
    text-transform: none;
}

.brew42-section__desc {
    max-width: 460px;
    font-size: 14.5px;
    color: var(--brew42-text-muted);
    line-height: 1.7;
}

.brew42-section__viewall {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--brew42-primary);
    text-decoration: none;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--brew42-border);
    transition: color var(--brew42-transition), border-color var(--brew42-transition);
}

.brew42-section__viewall:hover {
    color: var(--brew42-accent-dark);
    border-bottom-color: var(--brew42-accent);
}

.brew42-section__viewall i {
    font-size: 11px;
}

/* ==========================================================================
   Category Grid — round-tile cards
   ========================================================================== */

.product-categories.brew42-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

li.product-category.brew42-category-card {
    position: relative;
    background-color: var(--brew42-white);
    border-radius: var(--brew42-radius-lg);
    padding: 18px 18px 22px;
    list-style: none;
    box-shadow: var(--brew42-shadow-sm);
    border: 1px solid var(--brew42-border-light);
    transition: transform var(--brew42-transition), box-shadow var(--brew42-transition);
}

.brew42-category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--brew42-shadow-md);
}

a.brew42-category-card__link {
    display: block;
    text-decoration: none;
}

.brew42-category-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.5s ease;
    box-shadow: 0 0 0 1px var(--brew42-border-light);
    display: block;
}

.brew42-category-card:hover img {
    transform: scale(1.05);
}

.brew42-category-card__label {
    padding: 16px 4px 0;
    color: var(--brew42-text);
    text-align: center;
}

.brew42-category-card__label h3 {
    font-family: var(--brew42-font-heading);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--brew42-primary);
    text-transform: none;
}

.brew42-category-card__label span {
    font-size: 12px;
    font-weight: 700;
    color: var(--brew42-accent-dark);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 0.3px;
}

/* ==========================================================================
   Product Cards — Magento Luma product-item structure
   ========================================================================== */

ul.brew42-product-grid,
ol.brew42-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

li.brew42-product-card {
    list-style: none;
    margin: 0;
    padding: 0;
}

.brew42-product-card .product-item-info {
    background-color: var(--brew42-white);
    border-radius: var(--brew42-radius-lg);
    padding: 14px;
    border: 1px solid var(--brew42-border-light);
    overflow: hidden;
    box-shadow: var(--brew42-shadow-sm);
    transition: transform var(--brew42-transition), box-shadow var(--brew42-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.brew42-product-card:hover .product-item-info {
    transform: translateY(-6px);
    box-shadow: var(--brew42-shadow-lg);
}

a.brew42-product-card-image {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    background-color: var(--brew42-cream-light);
    text-decoration: none;
}

.brew42-product-card-image .product-image-container {
    display: block;
    width: 100%;
    height: 100%;
}

.brew42-product-card-image img.product-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.brew42-product-card:hover .brew42-product-card-image img.product-image-photo {
    transform: scale(1.06);
}

.brew42-product-badge,
.brew42-product-card .onsale.brew42-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    background-color: var(--brew42-sale);
    color: var(--brew42-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    letter-spacing: 0.5px;
    z-index: 2;
    text-transform: none;
}

.brew42-hot-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 5px 12px;
    background-color: var(--brew42-accent-dark);
    color: var(--brew42-white);
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
    z-index: 2;
    text-transform: none;
}

.brew42-product-info.product-item-details {
    padding: 14px 8px 6px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

strong.product-item-name.brew42-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    font-weight: 600;
    color: var(--brew42-text);
    margin-bottom: 10px;
    line-height: 1.4;
    font-family: var(--brew42-font-body);
    text-transform: none;
}

.brew42-product-title a {
    color: inherit;
    text-decoration: none;
}

.brew42-product-title a:hover {
    color: var(--brew42-accent-dark);
}

span.brew42-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
}

.brew42-product-price .woocommerce-Price-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--brew42-primary);
    font-family: var(--brew42-font-heading);
}

.brew42-price-compare {
    font-size: 14px !important;
    color: var(--brew42-text-muted) !important;
    text-decoration: line-through;
    font-weight: 400 !important;
    font-family: var(--brew42-font-body) !important;
}

/* Special-offer red: current price lives inside <ins>, the sibling of struck <del> */
.brew42-product-price ins,
.brew42-product-price ins .woocommerce-Price-amount,
.brew42-product-price ins .woocommerce-Price-currencySymbol,
.brew42-product-price ins bdi {
    color: var(--brew42-sale) !important;
    text-decoration: none;
}

.product-item-actions {
    margin-top: 12px;
}

.product-item-actions a.action.primary.button.view_info_button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--brew42-border);
    background: transparent;
    color: var(--brew42-primary);
    font-family: var(--brew42-font-body);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: none;
    cursor: pointer;
    transition: all var(--brew42-transition);
}

.product-item-actions a.action.primary.button.view_info_button:hover {
    background: var(--brew42-accent);
    border-color: var(--brew42-accent);
    color: #fff;
}

/* ==========================================================================
   Brew Promises Tech Strip
   ========================================================================== */

.brew42-tech {
    background: linear-gradient(120deg, var(--brew42-primary-dark) 0%, var(--brew42-primary) 100%);
}

ul.brew42-tech__list {
    list-style: none;
    margin: 0;
    padding: 8px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.brew42-tech__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 30px 26px;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    list-style: none;
}

.brew42-tech__item:first-child {
    border-left: none;
    padding-left: 0;
}

.brew42-tech__item > i {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: var(--brew42-accent-light);
    font-size: 18px;
}

.brew42-tech__item strong {
    display: block;
    font-family: var(--brew42-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    line-height: 1.3;
    text-transform: none;
}

.brew42-tech__item span {
    display: block;
    font-size: 12.5px;
    color: rgba(232, 217, 196, 0.85);
    margin-top: 2px;
}

/* ==========================================================================
   Features (Why Choose Us)
   ========================================================================== */

.brew42-features {
    background-color: var(--brew42-cream);
    position: relative;
    overflow: clip;
}

.brew42-heading {
    font-family: var(--brew42-font-heading);
    font-size: 40px;
    font-weight: 600;
    color: var(--brew42-primary);
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.2;
    text-transform: none;
}

.brew42-subheading {
    font-size: 16px;
    color: var(--brew42-text-muted);
    text-align: center;
    margin-bottom: 52px;
    font-family: var(--brew42-font-body);
}

.brew42-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.brew42-feature-card {
    background-color: var(--brew42-white);
    border-radius: var(--brew42-radius-lg);
    padding: 34px 26px;
    text-align: center;
    border: 1px solid var(--brew42-border-light);
    box-shadow: var(--brew42-shadow-sm);
    transition: transform var(--brew42-transition), box-shadow var(--brew42-transition);
}

.brew42-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--brew42-shadow-md);
}

.brew42-feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--brew42-cream-light);
    color: var(--brew42-accent-dark);
    font-size: 24px;
    transition: background var(--brew42-transition), color var(--brew42-transition), transform var(--brew42-transition);
}

.brew42-feature-card:hover .brew42-feature-icon {
    background: var(--brew42-accent);
    color: #fff;
    transform: scale(1.08);
}

.brew42-feature-title {
    font-family: var(--brew42-font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--brew42-primary);
    margin-bottom: 10px;
    text-transform: none;
}

.brew42-feature-text {
    font-size: 14px;
    color: var(--brew42-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Newsletter (mid-page)
   ========================================================================== */

.brew42-newsletter {
    background: linear-gradient(120deg, var(--brew42-primary) 0%, var(--brew42-primary-dark) 100%);
    padding: 70px 0;
    text-align: center;
}

.brew42-newsletter .brew42-heading {
    color: #fff;
}

.brew42-newsletter-heading {
    margin-bottom: 10px;
}

.brew42-newsletter .brew42-subheading {
    color: rgba(232, 217, 196, 0.85);
    margin-bottom: 32px;
}

.brew42-newsletter-form {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 6px 6px 6px 24px;
    backdrop-filter: blur(6px);
}

.brew42-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 12px 0;
    color: #fff;
    font-size: 15px;
    font-family: var(--brew42-font-body);
    outline: none;
}

.brew42-newsletter-form input[type="email"]::placeholder {
    color: rgba(232, 217, 196, 0.7);
}

.brew42-newsletter-form .brew42-btn {
    flex: 0 0 auto;
    padding: 13px 30px;
}

/* ==========================================================================
   Footer — deep roast brown (Magento page-footer)
   ========================================================================== */

footer.page-footer.brew42-footer {
    background: var(--brew42-footer-bg);
    color: #C4AD93;
    padding-top: 68px;
    margin-top: auto;
    flex-shrink: 0;
}

footer.page-footer.brew42-footer .footer.content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

.brew42-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.5fr;
    gap: 48px;
    padding-bottom: 52px;
}

.brew42-footer__brand {
    min-width: 0;
}

a.brew42-logo--footer {
    color: #fff;
    margin-bottom: 18px;
}

a.brew42-logo--footer .brew42-logo__mark {
    color: var(--brew42-accent);
}

.brew42-footer__text {
    font-size: 14px;
    line-height: 1.75;
    color: #A98F72;
    margin-bottom: 20px;
    max-width: 320px;
}

.brew42-footer__social {
    display: flex;
    gap: 10px;
}

.brew42-footer__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    color: #E8D9C4;
    text-decoration: none;
    font-size: 14px;
    transition: all var(--brew42-transition);
}

.brew42-footer__social a:hover {
    background: var(--brew42-accent);
    color: #fff;
    transform: translateY(-3px);
}

.brew42-footer__col {
    min-width: 0;
}

.brew42-footer__heading {
    font-family: var(--brew42-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-transform: none;
}

ul.brew42-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.brew42-footer__links li {
    margin-bottom: 11px;
    list-style: none;
}

.brew42-footer__links a {
    font-size: 14px;
    font-weight: 600;
    color: #A98F72;
    text-decoration: none;
    transition: color var(--brew42-transition), padding var(--brew42-transition);
}

.brew42-footer__links a:hover {
    color: var(--brew42-accent-light);
    padding-left: 5px;
}

.brew42-footer__newsletter-block {
    min-width: 0;
}

.brew42-footer__newsletter {
    display: flex;
    margin-top: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px;
}

.brew42-footer__newsletter input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    padding: 10px 16px;
    color: #fff;
    font-size: 14px;
    font-family: var(--brew42-font-body);
    outline: none;
}

.brew42-footer__newsletter input::placeholder {
    color: #8A6E52;
}

.brew42-footer__newsletter button {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--brew42-accent);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background var(--brew42-transition), transform 0.2s ease;
}

.brew42-footer__newsletter button:hover {
    background: var(--brew42-accent-dark);
    transform: scale(1.06);
}

.brew42-footer__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.brew42-footer__copyright {
    font-size: 13px;
    color: #8A6E52;
    margin: 0;
}

.brew42-footer__payment {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: #8A6E52;
}

.brew42-footer__payment i {
    font-size: 22px;
    color: #C4AD93;
}

/* ==========================================================================
   Notification Toast
   ========================================================================== */

.brew42-notification {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2000;
    transform: translateY(140%);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
}

.brew42-notification.show {
    transform: translateY(0);
}

.brew42-notification__content {
    display: flex;
    align-items: center;
    gap: 11px;
    background: var(--brew42-footer-bg);
    color: #fff;
    padding: 15px 22px;
    border-radius: var(--brew42-radius-lg);
    box-shadow: 0 16px 40px rgba(43, 26, 14, 0.4);
    font-size: 14px;
    font-weight: 700;
}

.brew42-notification__content i {
    color: var(--brew42-accent-light);
    font-size: 18px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1200px) {
    .brew42-page-width {
        padding: 0 26px;
    }

    .brew42-topbar .panel.header {
        padding: 0 26px;
    }

    ul.brew42-tech__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .brew42-tech__item {
        padding: 24px 22px;
    }

    .brew42-tech__item:nth-child(3) {
        border-left: none;
    }

    ul.brew42-product-grid,
    ol.brew42-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-categories.brew42-category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .brew42-header__row {
        grid-template-columns: auto 1fr auto;
    }

    .brew42-nav-toggle {
        display: none;
    }

    .block.block-search.brew42-search {
        position: static;
        max-height: none;
        opacity: 1;
        overflow: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .brew42-search__form {
        padding: 0;
        display: block;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
    }

    .brew42-search__control {
        position: relative;
        display: block;
    }

    .brew42-search__control > i {
        position: absolute;
        left: 18px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--brew42-text-muted);
        font-size: 15px;
    }

    .brew42-search__input {
        width: 100%;
        box-sizing: border-box;
        border: 2px solid var(--brew42-border);
        border-bottom: 2px solid var(--brew42-border);
        border-radius: 999px;
        background: #fff;
        padding: 12px 44px;
        font-size: 14px;
    }

    .brew42-search__input:focus {
        border-color: var(--brew42-accent);
        background: #fff;
    }

    .brew42-search__submit,
    .brew42-search__close,
    .brew42-search-toggle {
        display: none;
    }
}

@media (max-width: 1023px) {
    .block.block-search.brew42-search.is-open {
        max-height: 170px;
    }
}

@media (max-width: 900px) {
    .brew42-hero-card {
        min-height: 440px;
        border-radius: var(--brew42-radius-lg);
    }

    .brew42-hero-inner {
        padding: 44px 24px;
    }

    .brew42-hero-inner h1 {
        font-size: 40px;
    }

    .brew42-hero-inner p {
        font-size: 16px;
    }

    .brew42-banner-single-inner {
        flex-direction: column;
        text-align: center;
        padding: 36px 24px;
    }

    .brew42-banner-single-img {
        order: -1;
    }

    .brew42-banner-single-text h2 {
        font-size: 28px;
    }

    .brew42-banner-two-grid,
    .brew42-banner-split-inner,
    .brew42-banner-split--reverse .brew42-banner-split-inner {
        flex-direction: column;
        gap: 24px;
    }

    .brew42-banner-fullwidth-text h2 {
        font-size: 30px;
    }

    .brew42-section__head--row {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .brew42-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brew42-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px 32px;
    }

    .brew42-footer__brand {
        grid-column: 1 / -1;
    }

    .brew42-section {
        padding: 52px 0;
    }
}

@media (max-width: 767px) {
    .brew42-topbar .panel.header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    ul.brew42-toplinks {
        gap: 16px;
        flex-wrap: wrap;
    }

    .sections.nav-segment.brew42-nav-segment {
        background: #fff;
        box-shadow: none;
        border-bottom: 1px solid var(--brew42-border-light);
    }

    .sections.nav-segment.brew42-nav-segment .section-items.nav-sections-items {
        padding: 0 20px;
    }

    ul.brew42-primary-nav__list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    ul.brew42-primary-nav__list::-webkit-scrollbar {
        display: none;
    }

    a.brew42-primary-nav__link,
    a.brew42-primary-nav__link:link,
    a.brew42-primary-nav__link:visited {
        color: var(--brew42-text);
        padding: 12px 13px;
    }

    .brew42-primary-nav__chevron {
        color: var(--brew42-text-muted);
    }

    a.brew42-primary-nav__link:hover {
        color: var(--brew42-accent-dark);
        background: var(--brew42-cream-light);
    }

    .brew42-primary-nav__item.active > a.brew42-primary-nav__link {
        color: var(--brew42-accent-dark);
        background: transparent;
    }

    /* Dropdowns become static stacked lists under the scrollable bar */
    ul.brew42-dropdown,
    ul.brew42-dropdown__submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: none;
        padding: 0 0 8px;
        min-width: 0;
    }

    .brew42-primary-nav__item.parent:hover > ul.brew42-dropdown,
    .brew42-primary-nav__item.parent:focus-within > ul.brew42-dropdown {
        display: none;
    }

    .brew42-primary-nav__item.parent::after,
    .brew42-primary-nav__more::after {
        display: none;
    }

    .brew42-header__row {
        min-height: 64px;
        gap: 10px;
    }

    a.brew42-logo {
        font-size: 23px;
    }

    a.brew42-logo .brew42-logo__mark {
        font-size: 21px;
    }

    .brew42-hero {
        padding: 24px 0 44px;
    }

    .brew42-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .brew42-hero-actions .brew42-btn {
        width: 100%;
    }

    .brew42-banner-two-item img {
        height: 180px;
    }

    .brew42-banner-fullwidth-card {
        min-height: 340px;
    }

    .brew42-banner-fullwidth-text h2 {
        font-size: 26px;
    }

    .brew42-banner-split-text h2 {
        font-size: 25px;
    }

    .brew42-tech__item {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.14);
        padding: 20px 4px;
    }

    .brew42-tech__item:first-child {
        border-top: none;
    }

    ul.brew42-tech__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .brew42-page-width {
        padding: 0 18px;
    }

    .brew42-topbar .panel.header {
        padding: 10px 18px;
    }

    .brew42-heading {
        font-size: 30px;
    }

    .product-categories.brew42-category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .brew42-features-grid {
        grid-template-columns: 1fr;
    }

    .brew42-newsletter-form {
        flex-direction: column;
        border-radius: var(--brew42-radius-lg);
        padding: 14px;
        gap: 10px;
    }

    .brew42-newsletter-form input[type="email"] {
        width: 100%;
        text-align: center;
    }

    .brew42-newsletter-form .brew42-btn {
        width: 100%;
    }

    .brew42-notification {
        left: 16px;
        right: 16px;
        bottom: 16px;
    }

    .brew42-notification__content {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Phone grids stay TWO per row (project convention) */
    ul.brew42-product-grid,
    ol.brew42-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .brew42-product-card .product-item-info {
        padding: 10px;
    }

    .brew42-product-info.product-item-details {
        padding: 10px 4px 4px;
    }

    strong.product-item-name.brew42-product-title {
        font-size: 13.5px;
    }

    .brew42-product-price .woocommerce-Price-amount {
        font-size: 16px;
    }

    .brew42-price-compare {
        font-size: 12.5px !important;
    }

    .product-item-actions a.action.primary.button.view_info_button {
        padding: 9px 12px;
        font-size: 12px;
    }

    .brew42-hero-inner h1 {
        font-size: 32px;
    }

    .brew42-footer__grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .brew42-footer__bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .brew42-marquee-item {
        padding: 0 22px;
        font-size: 12.5px;
    }
}
