/* ==========================================================================
   Wellness Portal – modern lifestyle layer
   Sits on top of style.css. Keeps the brand palette:
   green #0a4d3c · amber #ffa300 · ink #2c241b · cream #f8f6f4
   ========================================================================== */
:root {
    --lw-green: #0a4d3c;
    --lw-green-700: #083d30;
    --lw-green-600: #0d6550;
    --lw-green-50: #e9f2ef;
    --lw-amber: #ffa300;
    --lw-amber-600: #f59b00;
    --lw-amber-50: #fff5e0;
    --lw-ink: #2c241b;
    --lw-text: #52565b;
    --lw-muted: #7a7e83;
    --lw-cream: #f8f6f4;
    --lw-sand: #efe9e3;
    --lw-line: #e8e3de;
    --lw-white: #fff;
    --lw-radius: 18px;
    --lw-radius-sm: 12px;
    --lw-shadow: 0 1px 2px rgba(44, 36, 27, .04), 0 10px 30px rgba(44, 36, 27, .07);
    --lw-shadow-lg: 0 20px 50px rgba(44, 36, 27, .14);
    --lw-gutter: clamp(16px, 4vw, 72px);
    --lw-max: 1920px;
    --lw-serif: "Playfair Display", Georgia, serif;
    --lw-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- full width layout with comfortable side margins ---------- */
.container,
.lw-container {
    width: 100%;
    max-width: var(--lw-max) !important;
    padding-left: var(--lw-gutter);
    padding-right: var(--lw-gutter);
    margin-left: auto;
    margin-right: auto;
}
.header-main > .container-fluid,
.header-main > .lw-container { padding-left: var(--lw-gutter); padding-right: var(--lw-gutter); }

html.lw-locked { overflow: hidden; }
body { background: #fff; color: var(--lw-text); text-rendering: optimizeLegibility; }
::selection { background: var(--lw-amber); color: var(--lw-ink); }
img { max-width: 100%; }
a { transition: color .15s ease; }
:focus-visible { outline: 3px solid rgba(255, 163, 0, .55); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { border-radius: 999px; font-weight: 600; letter-spacing: .01em; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover, .btn-secondary:hover { box-shadow: 0 8px 22px rgba(10, 77, 60, .18); }

/* ---------- header ---------- */
.header-main { background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid rgba(232, 227, 222, .7); padding: 12px 0; }
.header-main.sticky { box-shadow: 0 6px 24px rgba(44, 36, 27, .08); }
.site-header .header-wrapper { gap: 20px; }
.site-header .header-logo { flex-shrink: 0; }
.site-nav { display: none; align-items: center; gap: clamp(14px, 1.6vw, 28px); margin-right: auto; margin-left: clamp(12px, 2vw, 36px); }
.site-nav a { color: var(--lw-ink); font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--lw-amber); transition: right .2s ease; border-radius: 2px; }
.site-nav a:hover { color: var(--lw-green); }
.site-nav a:hover::after { right: 0; }
@media (min-width: 1280px) { .site-nav { display: flex; } }
.site-header .header-toggle { display: flex; align-items: center; gap: 10px; }
.site-header .header-toggle .btn { height: 42px; line-height: 40px; padding: 0 22px; font-size: 15px; margin: 0 !important; }
.lw-search-trigger { position: relative; display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 14px; border-radius: 999px; background: var(--lw-cream); border: 1px solid var(--lw-line); color: var(--lw-muted); width: clamp(180px, 22vw, 340px); cursor: text; margin: 0; transition: border-color .15s, background .15s; }
.lw-search-trigger:hover { border-color: #d8d0c8; background: #fff; }
.lw-search-trigger input { border: 0; background: transparent; outline: none; flex: 1; min-width: 0; font-size: 14px; color: var(--lw-ink); height: 100%; padding: 0; }
.lw-search-trigger kbd { font: 600 11px/1 var(--lw-sans); color: var(--lw-muted); background: #fff; border: 1px solid var(--lw-line); border-radius: 6px; padding: 4px 7px; }
@media (max-width: 991px) {
    .lw-search-trigger { width: 42px; padding: 0; justify-content: center; cursor: pointer; }
    .lw-search-trigger input, .lw-search-trigger kbd { display: none; }
    .site-header .header-cta--shop { display: none; }
}
@media (max-width: 480px) {
    .site-header .header-toggle .btn { padding: 0 14px; font-size: 14px; height: 38px; line-height: 36px; }
    .site-header .header-wrapper { gap: 8px; }
}
.mobile-menu { border-radius: 0 20px 20px 0; }

/* ---------- generic theme refresh ---------- */
.section-title .main-title { letter-spacing: -.01em; }
.section-title .sub-title { letter-spacing: .14em; }
.single-blog, .single-courses-02 { border-radius: var(--lw-radius); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.single-courses-02:hover, .single-blog:hover { transform: translateY(-3px); box-shadow: var(--lw-shadow); }
.single-courses-02 .courses-images img { border-radius: var(--lw-radius-sm); }
.page-banner-section { border-radius: 0 0 28px 28px; overflow: hidden; }
.sidebar-widget, .widget-category { border-radius: var(--lw-radius-sm); }
.whatsapp-chat img { filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .15)); }
.form-control, .nice-select { border-radius: 12px; }

/* ==========================================================================
   Lifestyle & Wellness (blog)
   ========================================================================== */
.lw-hero { position: relative; padding: 118px 0 0; background:
    radial-gradient(900px 300px at 85% 0%, rgba(255, 163, 0, .14), transparent 60%),
    radial-gradient(700px 300px at 0% 100%, rgba(10, 77, 60, .10), transparent 60%),
    var(--lw-cream); border-bottom: 1px solid var(--lw-line); }
.lw-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 13px; color: var(--lw-muted); }
.lw-breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .5; }
.lw-breadcrumb a { color: var(--lw-muted); }
.lw-breadcrumb a:hover { color: var(--lw-green); }
.lw-hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-bottom: 28px; }
.lw-hero__title { font-family: var(--lw-serif); font-size: clamp(34px, 5vw, 64px); line-height: 1.05; color: var(--lw-ink); margin: 0; font-weight: 600; letter-spacing: -.015em; }
.lw-hero__sub { margin: 12px 0 0; font-size: clamp(15px, 1.3vw, 18px); color: var(--lw-text); max-width: 640px; }
.lw-hero__search { display: flex; align-items: center; background: #fff; border: 1px solid var(--lw-line); border-radius: 999px; padding: 5px 5px 5px 18px; width: min(420px, 100%); box-shadow: var(--lw-shadow); }
.lw-hero__search input { flex: 1; border: 0; outline: none; background: transparent; font-size: 15px; min-width: 0; height: 40px; }
.lw-hero__search button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--lw-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lw-hero__search button:hover { background: var(--lw-green-600); }

/* category menu at the bottom of the intro header */
.lw-catbar { position: relative; margin: 0 calc(var(--lw-gutter) * -1); padding: 0 var(--lw-gutter); border-top: 1px solid var(--lw-line); }
.lw-catbar__track { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 14px 0; scroll-snap-type: x proximity; }
.lw-catbar__track::-webkit-scrollbar { display: none; }
.lw-catbar__item { flex-shrink: 0; scroll-snap-align: start; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--lw-ink); background: rgba(255, 255, 255, .7); border: 1px solid var(--lw-line); white-space: nowrap; transition: all .15s ease; display: inline-flex; align-items: center; gap: 8px; }
.lw-catbar__item:hover { border-color: var(--lw-green); color: var(--lw-green); background: #fff; }
.lw-catbar__item.is-active { background: var(--lw-green); border-color: var(--lw-green); color: #fff; }
.lw-catbar__item .lw-count { background: rgba(0, 0, 0, .08); }
.lw-catbar__item.is-active .lw-count { background: rgba(255, 255, 255, .2); color: #fff; }

.lw-section { padding: clamp(36px, 5vw, 72px) 0; float: left; width: 100%; }
.lw-section--tight { padding-bottom: 0; }
.lw-section--alt { background: var(--lw-cream); }
.lw-chip { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-green); background: var(--lw-green-50); padding: 5px 11px; border-radius: 999px; margin-bottom: 12px; }
.lw-chip:hover { background: var(--lw-green); color: #fff; }
.lw-meta { display: inline-flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--lw-muted); }
.lw-count { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 22px; padding: 0 7px; border-radius: 999px; background: var(--lw-sand); font-size: 12px; font-weight: 600; color: var(--lw-ink); }

/* cards */
.lw-grid { display: grid; gap: clamp(18px, 2vw, 32px); }
.lw-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lw-grid--2xl3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1500px) { .lw-grid--2xl3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 991px) { .lw-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .lw-grid--3, .lw-grid--2xl3 { grid-template-columns: 1fr; } }

.lw-card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--lw-radius); overflow: hidden; border: 1px solid #f0ebe6; transition: transform .25s ease, box-shadow .25s ease; height: 100%; }
.lw-card:hover { transform: translateY(-4px); box-shadow: var(--lw-shadow-lg); }
.lw-card__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--lw-sand); }
.lw-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lw-card:hover .lw-card__img img { transform: scale(1.04); }
.lw-card__body { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 22px 22px; flex: 1; }
.lw-card__title { font-family: var(--lw-serif); font-size: 21px; line-height: 1.3; font-weight: 600; margin: 0 0 10px; color: var(--lw-ink); }
.lw-card__title a { color: inherit; background-image: linear-gradient(var(--lw-amber), var(--lw-amber)); background-size: 0 2px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .3s ease; }
.lw-card__title a:hover { color: var(--lw-ink); background-size: 100% 2px; }
.lw-card__title a::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.lw-card .lw-chip { position: relative; z-index: 1; }
.lw-card__excerpt { font-size: 14.5px; line-height: 1.65; color: var(--lw-text); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lw-card .lw-meta { margin-top: auto; }

.lw-card--feature { border: 0; background: var(--lw-ink); color: #fff; min-height: 520px; }
.lw-card--feature .lw-card__img { position: absolute; inset: 0; aspect-ratio: auto; }
.lw-card--feature .lw-card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 12, 0) 30%, rgba(20, 16, 12, .85) 100%); }
.lw-card--feature .lw-card__body { position: relative; margin-top: auto; padding: clamp(22px, 3vw, 40px); flex: 0; }
.lw-card--feature .lw-card__title { color: #fff; font-size: clamp(26px, 3vw, 42px); line-height: 1.15; }
.lw-card--feature .lw-card__title a:hover { color: #fff; }
.lw-card--feature .lw-card__excerpt { color: rgba(255, 255, 255, .85); font-size: 16px; max-width: 720px; }
.lw-card--feature .lw-meta { color: rgba(255, 255, 255, .75); }
.lw-card--feature .lw-chip { background: var(--lw-amber); color: var(--lw-ink); }

.lw-card--wide { flex-direction: row; align-items: stretch; }
.lw-card--wide .lw-card__img { width: 42%; flex-shrink: 0; aspect-ratio: auto; min-height: 150px; }
.lw-card--wide .lw-card__body { padding: 16px 18px; }
.lw-card--wide .lw-card__title { font-size: 18px; }
.lw-card--wide .lw-card__excerpt { -webkit-line-clamp: 2; font-size: 13.5px; margin-bottom: 10px; }

.lw-featured { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(18px, 2vw, 28px); }
.lw-featured__side { display: grid; grid-template-rows: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
@media (max-width: 1100px) {
    .lw-featured { grid-template-columns: 1fr; }
    .lw-card--feature { min-height: 420px; }
    .lw-featured__side { grid-template-rows: none; }
}
@media (max-width: 520px) {
    .lw-card--wide { flex-direction: column; }
    .lw-card--wide .lw-card__img { width: 100%; aspect-ratio: 16/9; min-height: 0; }
    .lw-card--feature { min-height: 380px; }
}

.lw-mini { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; }
.lw-mini__img { display: block; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--lw-sand); }
.lw-mini__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lw-mini:hover .lw-mini__img img { transform: scale(1.06); }
.lw-mini__title { font-family: var(--lw-sans); font-size: 14px; line-height: 1.4; font-weight: 600; margin: 0 0 4px; }
.lw-mini__title a { color: var(--lw-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lw-mini__title a:hover { color: var(--lw-green); }
.lw-minilist { display: flex; flex-direction: column; gap: 16px; }

/* blog home: vertical category rail + category sections */
.lw-browse { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.lw-rail { position: sticky; top: 96px; }
.lw-rail__title { font-family: var(--lw-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lw-muted); margin: 0 0 12px; }
.lw-rail ul { list-style: none; margin: 0 0 24px; padding: 0; border-left: 2px solid var(--lw-line); }
.lw-rail li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; margin-left: -2px; border-left: 2px solid transparent; font-weight: 600; font-size: 15px; color: var(--lw-ink); transition: all .15s ease; }
.lw-rail li a:hover, .lw-rail li a.is-active { color: var(--lw-green); border-left-color: var(--lw-amber); background: linear-gradient(90deg, var(--lw-amber-50), transparent); }
.lw-browse__sections { display: flex; flex-direction: column; gap: clamp(40px, 5vw, 72px); }
.lw-catsection { scroll-margin-top: 100px; }
.lw-catsection__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--lw-line); }
.lw-catsection__head h2 { font-family: var(--lw-serif); font-size: clamp(24px, 2.4vw, 34px); margin: 0; font-weight: 600; }
.lw-catsection__head h2 a { color: var(--lw-ink); }
.lw-catsection__head h2 a:hover { color: var(--lw-green); }
.lw-more { font-weight: 600; font-size: 14px; color: var(--lw-green); white-space: nowrap; }
.lw-more:hover { color: var(--lw-amber-600); }
@media (max-width: 991px) {
    .lw-browse { grid-template-columns: 1fr; }
    .lw-rail { position: static; }
    .lw-rail ul { display: flex; overflow-x: auto; border-left: 0; gap: 6px; scrollbar-width: none; }
    .lw-rail li a { border: 1px solid var(--lw-line); border-radius: 999px; margin: 0; white-space: nowrap; }
    .lw-rail .lw-newsletter { display: none; }
}

/* archive / article layout with sidebar */
.lw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (max-width: 1100px) { .lw-layout { grid-template-columns: 1fr; } }
.lw-sidebar { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
@media (max-width: 1100px) { .lw-sidebar { position: static; } }
.lw-widget { background: #fff; border: 1px solid var(--lw-line); border-radius: var(--lw-radius); padding: 22px; }
.lw-widget__title { font-family: var(--lw-serif); font-size: 20px; margin: 0 0 16px; color: var(--lw-ink); font-weight: 600; }
.lw-catlist { list-style: none; margin: 0; padding: 0; }
.lw-catlist a { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--lw-line); color: var(--lw-ink); font-weight: 500; font-size: 15px; }
.lw-catlist li:last-child a { border-bottom: 0; }
.lw-catlist a:hover, .lw-catlist a.is-active { color: var(--lw-green); }
.lw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lw-tags a { font-size: 13px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--lw-cream); color: var(--lw-ink); border: 1px solid var(--lw-line); }
.lw-tags a:hover { background: var(--lw-green); border-color: var(--lw-green); color: #fff; }
.lw-newsletter { background: linear-gradient(150deg, var(--lw-green), #0f6a53); border: 0; color: rgba(255, 255, 255, .88); }
.lw-newsletter .lw-widget__title { color: #fff; }
.lw-newsletter p { font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
.lw-newsletter form, .site-footer__form, .lw-subform { display: flex; flex-wrap: wrap; gap: 8px; }
.lw-newsletter input, .site-footer__form input, .lw-subform input { flex: 1 1 180px; min-width: 0; height: 44px; border-radius: 999px; border: 1px solid transparent; padding: 0 18px; font-size: 14px; background: #fff; color: var(--lw-ink); }
.lw-newsletter button, .site-footer__form button, .lw-subform button { height: 44px; padding: 0 22px; border-radius: 999px; border: 0; background: var(--lw-amber); color: var(--lw-ink); font-weight: 700; font-size: 14px; transition: background .15s; }
.lw-newsletter button:hover, .site-footer__form button:hover, .lw-subform button:hover { background: var(--lw-amber-600); }
.js-subscribe-msg { flex-basis: 100%; margin: 4px 0 0 !important; font-size: 13px; min-height: 0; }
.js-subscribe-msg:empty { display: none; }
.js-subscribe-msg.is-ok { color: #b8f0d6; }
.js-subscribe-msg.is-error { color: #ffd2c7; }
.lw-modal .js-subscribe-msg.is-ok { color: var(--lw-green); }
.lw-modal .js-subscribe-msg.is-error { color: #c0392b; }

.lw-empty { text-align: center; padding: 30px 0; }
.lw-empty h2 { font-family: var(--lw-serif); margin-bottom: 8px; }
.lw-empty > p { margin-bottom: 30px; }
.lw-empty .lw-grid { text-align: left; }

.lw-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 44px; }
.lw-pagination a, .lw-pagination span { min-width: 42px; height: 42px; padding: 0 14px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; font-weight: 600; font-size: 14px; border: 1px solid var(--lw-line); color: var(--lw-ink); }
.lw-pagination a:hover { border-color: var(--lw-green); color: var(--lw-green); }
.lw-pagination span[aria-current] { background: var(--lw-green); border-color: var(--lw-green); color: #fff; }
.lw-pagination .lw-gap { border: 0; min-width: 0; padding: 0 4px; }

/* article page */
.lw-page--article .lw-hero__row { padding-bottom: 18px; }
.lw-page--article .lw-hero__title { font-size: clamp(28px, 3.4vw, 44px); }
.lw-preview-bar { position: relative; z-index: 5; margin-top: 74px; background: var(--lw-amber); color: var(--lw-ink); text-align: center; padding: 10px 16px; font-size: 14px; float: left; width: 100%; }
.lw-preview-bar + .lw-hero { padding-top: 32px; }
.lw-article { max-width: 860px; }
.lw-article__head { margin-bottom: 28px; }
.lw-article__title { font-family: var(--lw-serif); font-size: clamp(30px, 3.6vw, 52px); line-height: 1.12; color: var(--lw-ink); margin: 0 0 16px; font-weight: 600; letter-spacing: -.01em; }
.lw-article__dek { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.6; color: var(--lw-text); margin: 0 0 18px; }
.lw-article__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--lw-muted); }
.lw-article__meta strong { color: var(--lw-ink); }
.lw-article__cover { margin: 0 0 36px; border-radius: 22px; overflow: hidden; background: var(--lw-sand); }
.lw-article__cover img { width: 100%; max-height: 640px; object-fit: cover; display: block; }
.lw-article__foot { margin-top: 44px; display: flex; flex-direction: column; gap: 22px; }
.lw-article__tags { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.lw-article__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lw-muted); }
.lw-sharebar { margin: 0; }
.lw-adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lw-adjacent__item { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid var(--lw-line); border-radius: var(--lw-radius-sm); color: var(--lw-ink); transition: border-color .15s, box-shadow .15s; }
.lw-adjacent__item span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lw-muted); }
.lw-adjacent__item strong { font-family: var(--lw-serif); font-weight: 600; font-size: 17px; line-height: 1.35; }
.lw-adjacent__item:hover { border-color: var(--lw-green); box-shadow: var(--lw-shadow); color: var(--lw-green); }
.lw-adjacent__item--next { text-align: right; }
@media (max-width: 600px) { .lw-adjacent { grid-template-columns: 1fr; } .lw-adjacent__item--next { text-align: left; } }

/* ==========================================================================
   Search
   ========================================================================== */
.so { position: fixed; inset: 0; z-index: 100000; background: rgba(28, 24, 20, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding: clamp(0px, 6vh, 80px) 16px 16px; }
.so.is-open { display: flex; animation: lwFade .15s ease-out; }
.so__panel { width: min(860px, 100%); max-height: calc(100vh - 12vh); background: #fff; border-radius: 22px; box-shadow: var(--lw-shadow-lg); display: flex; flex-direction: column; overflow: hidden; }
.so__form { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--lw-line); color: var(--lw-muted); margin: 0; }
.so__form input { flex: 1; border: 0; outline: none; font-size: 19px; color: var(--lw-ink); background: transparent; height: 44px; min-width: 0; }
.so__close { border: 1px solid var(--lw-line); background: var(--lw-cream); border-radius: 8px; font-size: 12px; font-weight: 600; padding: 6px 10px; color: var(--lw-muted); }
.so__results { overflow-y: auto; padding: 8px 20px 20px; transition: opacity .15s; }
.so__results.is-loading { opacity: .55; }
.so-hint { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lw-muted); margin: 14px 0 0; }
.so-group { margin-top: 18px; }
.so-group__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.so-group__head h3 { font-family: var(--lw-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lw-muted); margin: 0; }
.so-group__head a { font-size: 13px; font-weight: 600; color: var(--lw-green); }
.so-empty { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: var(--lw-amber-50); display: flex; flex-direction: column; gap: 4px; color: var(--lw-ink); }
.so-empty span { font-size: 14px; color: var(--lw-text); }
.so-all { display: block; text-align: center; margin-top: 18px; padding: 12px; border-radius: 12px; background: var(--lw-green); color: #fff !important; font-weight: 600; }
.so-all:hover, .so-all.is-active { background: var(--lw-green-600); }
@media (max-width: 600px) { .so { padding: 0; } .so__panel { border-radius: 0; max-height: 100vh; height: 100%; } }

.sr-list { display: grid; grid-template-columns: 1fr; gap: 4px; }
.sr-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sr-list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sr-list--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .sr-list--3, .sr-list--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .sr-list--2, .sr-list--3, .sr-list--4 { grid-template-columns: 1fr; } }
.sr-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; color: var(--lw-ink); transition: background .12s; }
.sr-item:hover, .sr-item.is-active { background: var(--lw-cream); color: var(--lw-ink); }
.sr-item__img { width: 60px; height: 60px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--lw-sand); display: block; }
.sr-item__img img { width: 100%; height: 100%; object-fit: cover; }
.sr-item__img.is-blank { background: var(--lw-green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230a4d3c' opacity='.5'%3E%3Cpath d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10zm0 2c-4.4 0-8 2.2-8 5v3h16v-3c0-2.8-3.6-5-8-5z'/%3E%3C/svg%3E") center/26px no-repeat; }
.sr-item__body { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.sr-item__type { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lw-amber-600); }
.sr-item__title { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-item__text { font-size: 13px; color: var(--lw-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item__price { font-size: 14px; font-weight: 700; color: var(--lw-green); }

.lw-hero--search { padding-bottom: 0; }
.lw-hero--search .lw-hero__sub { margin-bottom: 22px; }
.sr-bigsearch { display: flex; gap: 8px; background: #fff; border: 1px solid var(--lw-line); border-radius: 999px; padding: 6px; max-width: 760px; box-shadow: var(--lw-shadow); margin-bottom: 26px; }
.sr-bigsearch input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 18px; font-size: 17px; background: transparent; }
.sr-bigsearch button { border: 0; border-radius: 999px; background: var(--lw-green); color: #fff; font-weight: 600; padding: 0 26px; height: 48px; }
.sr-bigsearch button:hover { background: var(--lw-green-600); }
.sr-tabs { border-top: 1px solid var(--lw-line); }
.sr-block { margin-bottom: clamp(36px, 4vw, 60px); }
.sr-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.sr-chips a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--lw-cream); border: 1px solid var(--lw-line); color: var(--lw-ink); font-weight: 600; font-size: 14px; }
.sr-chips a small { font-weight: 600; font-size: 11px; color: var(--lw-muted); text-transform: uppercase; letter-spacing: .06em; }
.sr-chips a:hover { border-color: var(--lw-green); color: var(--lw-green); }
.sr-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.sr-product { display: flex; flex-direction: column; gap: 4px; color: var(--lw-ink); }
.sr-product__img { aspect-ratio: 1; border-radius: var(--lw-radius); overflow: hidden; background: var(--lw-cream); margin-bottom: 8px; }
.sr-product__img img { width: 100%; height: 100%; object-fit: contain; padding: 12px; transition: transform .4s ease; mix-blend-mode: multiply; }
.sr-product:hover .sr-product__img img { transform: scale(1.05); }
.sr-product__vendor { font-size: 12px; color: var(--lw-green); font-weight: 600; }
.sr-product__title { font-weight: 600; font-size: 15px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sr-product__price { font-weight: 700; color: var(--lw-ink); }
.sr-product__price s { font-weight: 400; color: var(--lw-muted); margin-left: 6px; font-size: 13px; }
.sr-product:hover .sr-product__title { color: var(--lw-green); }

/* modals */
.sr-modal, .lw-modal { position: fixed; inset: 0; z-index: 100001; background: rgba(28, 24, 20, .55); display: none; align-items: center; justify-content: center; padding: 16px; }
.sr-modal.is-open, .lw-modal.is-open { display: flex; animation: lwFade .18s ease-out; }
.sr-modal__panel, .lw-modal__panel { position: relative; width: min(720px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: clamp(22px, 3vw, 36px); box-shadow: var(--lw-shadow-lg); }
.lw-modal__panel { width: min(520px, 100%); text-align: left; }
.sr-modal__panel h2, .lw-modal__panel h2 { font-family: var(--lw-serif); font-size: clamp(24px, 2.6vw, 32px); margin: 0 0 8px; color: var(--lw-ink); padding-right: 30px; }
.sr-modal__panel h3 { font-family: var(--lw-sans); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lw-muted); margin: 22px 0 6px; }
.sr-modal__close { position: absolute; top: 14px; right: 16px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--lw-cream); font-size: 24px; line-height: 1; color: var(--lw-ink); }
.sr-modal__close:hover { background: var(--lw-sand); }
.sr-modal__foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; justify-content: flex-end; }
.lw-modal__eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lw-amber-600); margin-bottom: 8px; }
.lw-subform { margin-top: 18px; }
.lw-subform input { border: 1px solid var(--lw-line); background: var(--lw-cream); }
.lw-btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 22px; border-radius: 999px; background: var(--lw-green); color: #fff !important; font-weight: 600; font-size: 14px; border: 1px solid transparent; }
.lw-btn:hover { background: var(--lw-green-600); }
.lw-btn--amber { background: var(--lw-amber); color: var(--lw-ink) !important; }
.lw-btn--amber:hover { background: var(--lw-amber-600); }
.lw-btn--ghost { background: #fff; color: var(--lw-ink) !important; border-color: var(--lw-line); }
.lw-btn--ghost:hover { background: var(--lw-cream); border-color: var(--lw-green); }
@keyframes lwFade { from { opacity: 0; } to { opacity: 1; } }

.lw-toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 100002; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.lw-toast { background: var(--lw-ink); color: #fff; padding: 11px 18px; border-radius: 999px; font-size: 14px; box-shadow: var(--lw-shadow-lg); transition: opacity .3s, transform .3s; }
.lw-toast.is-out { opacity: 0; transform: translateY(8px); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--lw-green-700); color: rgba(255, 255, 255, .78); padding: clamp(48px, 6vw, 88px) 0 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 163, 0, .18), transparent 65%); pointer-events: none; }
.site-footer__grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr .8fr 1.4fr; gap: clamp(28px, 4vw, 64px); padding-bottom: clamp(36px, 4vw, 56px); }
@media (max-width: 1100px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; } }
.site-footer__logo img { max-width: 170px; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 16px; }
.site-footer__brand p { font-size: 14px; line-height: 1.7; max-width: 360px; }
.site-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.site-footer__social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 17px; transition: background .15s, color .15s; }
.site-footer__social a:hover { background: var(--lw-amber); color: var(--lw-ink); }
.site-footer h3 { font-family: var(--lw-serif); color: #fff; font-size: 19px; margin: 0 0 16px; font-weight: 600; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: rgba(255, 255, 255, .78); font-size: 14.5px; width: fit-content; }
.site-footer__col a:hover { color: var(--lw-amber); }
.site-footer__news p { font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.site-footer__contact { display: flex; flex-direction: column; gap: 4px; margin-top: 18px !important; }
.site-footer__contact a { color: #fff; }
.site-footer__contact a:hover { color: var(--lw-amber); }
.site-footer__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; }
.site-footer__bottom p { margin: 0; display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer__bottom a { color: rgba(255, 255, 255, .78); }
.site-footer__bottom a:hover, .site-footer__bottom span { color: var(--lw-amber); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- overrides for theme-wide input styling inside new components ---------- */
.lw-search-trigger input,
.lw-hero__search input,
.sr-bigsearch input,
.so__form input {
    border: 0 !important; box-shadow: none !important; background: transparent !important; border-radius: 0 !important;
    width: auto !important; height: 100% !important; padding-top: 0 !important; padding-bottom: 0 !important; margin: 0 !important; line-height: normal !important;
}
.lw-hero__search input, .sr-bigsearch input { height: 44px !important; padding-left: 0 !important; }
.sr-bigsearch input { padding-left: 14px !important; }
.lw-newsletter input, .site-footer__form input, .lw-subform input {
    border-radius: 999px !important; height: 46px !important; padding: 0 18px !important; margin: 0 !important; width: auto !important; box-shadow: none !important;
}
.lw-newsletter input, .site-footer__form input { border: 1px solid transparent !important; }
.lw-subform input { border: 1px solid var(--lw-line) !important; }
.lw-newsletter button, .site-footer__form button, .lw-subform button { height: 46px; }
.lw-search-trigger { width: clamp(160px, 15vw, 340px); }
@media (min-width: 1280px) and (max-width: 1599px) { .site-nav { gap: 16px; margin-left: 18px; } .site-nav a { font-size: 14px; } .site-header .header-toggle .btn { padding: 0 18px; } }
.site-footer__logo { display: inline-flex; background: #fff; border-radius: 16px; padding: 12px 18px; margin-bottom: 18px; }
.site-footer__logo img { filter: none; opacity: 1; margin: 0; max-width: 150px; }
.lw-search-trigger input, .lw-hero__search input, .sr-bigsearch input, .so__form input,
.lw-newsletter input, .site-footer__form input, .lw-subform input { color: var(--lw-ink) !important; font-size: 15px !important; }
.so__form input { font-size: 19px !important; }
.lw-search-trigger input { font-size: 14px !important; }
.lw-search-trigger input { padding-left: 0 !important; padding-right: 0 !important; }
.site-footer__bottom p { display: block; }
.site-footer__bottom p:last-child { display: flex; gap: 18px; }
.sr-list { grid-template-columns: minmax(0, 1fr); }
.sr-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sr-item { min-width: 0; }
@media (max-width: 991px) {
    .lw-search-trigger { width: 42px; padding: 0; justify-content: center; }
}
@media (max-width: 560px) {
    .sr-list--2 { grid-template-columns: minmax(0, 1fr); }
    .site-header .header-logo img { max-width: 112px !important; }
    .site-header .header-toggle { gap: 6px; }
    .lw-search-trigger { width: 38px; height: 38px; }
}
