/* Exotica Tropicals — main stylesheet.
   Tokens decoded from the live original's Headway cache CSS (headway.css/leafs.css)
   + 2x screenshots, during the 2026-06-01 fidelity pass. Desktop target = the
   original fixed 960px layout; narrow viewports stack. */

:root {
    /* Frame / wrapper */
    --exo-page-frame:  #2b2a15;   /* body: dark olive page background */
    --exo-wrap-bg:     #d7e0da;   /* #wrapper background (light sage) */
    --exo-wrap-border: #288511;   /* #wrapper 2px border (green) */

    /* Text + links (content) */
    --exo-text:        #080108;   /* entry-content color */
    --exo-link:        #2c7507;   /* content link (bold, no underline) */
    --exo-link-hover:  #3bd61c;   /* content link hover */

    /* Navigation */
    --exo-nav-cont:    #99cc99;   /* navigation-container strip */
    --exo-nav-bar:     #4b612a;   /* navigation bar */
    --exo-nav-item:    #9cb36b;   /* nav link background */
    --exo-nav-text:    #2a542a;   /* nav link text */
    --exo-nav-sep:     #36400c;   /* nav item border-right */
    --exo-nav-hover:   #b1c77f;   /* nav link hover bg */
    --exo-nav-hovertx: #1e3618;   /* nav link hover text */
    --exo-nav-cur:     #60cc46;   /* current nav item bg */
    --exo-nav-curtx:   #000e00;   /* current nav item text */

    /* Sidebar / widgets */
    --exo-side-bg:     #2e3816;   /* sidebar widget background (dark green) */
    --exo-side-text:   #e1eddf;   /* sidebar widget text (pale) */
    --exo-side-title:  #425714;   /* widget title (Arial Black) */

    /* Titles */
    --exo-page-title:  #6b6b38;   /* .page-title (pages) */
    --exo-post-title:  #42421a;   /* .entry-title (posts) */

    /* Footer */
    --exo-foot-bg:     #7c8a4e;
    --exo-foot-top:    #0a3002;
    --exo-foot-text:   #102903;

    --exo-border:      #cccccc;

    --exo-font-body:    Verdana, Geneva, sans-serif;
    --exo-font-heading: "Arial Black", Gadget, sans-serif;
    --exo-font-nav:     "Trebuchet MS", "Segoe UI", sans-serif;
    --exo-font-size:    13px;

    --exo-site-max:     960px;
    --exo-main-w:       635px;
    --exo-sidebar-w:    244px;
}

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    color: var(--exo-text);
    background: var(--exo-page-frame);
    font: var(--exo-font-size)/1.5 var(--exo-font-body);
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.2; font-family: var(--exo-font-heading); }
a { color: var(--exo-link); }
a:hover, a:focus { color: var(--exo-link-hover); }
.exo-skiplink { position: absolute; left: -9999px; }
.exo-skiplink:focus { left: 0; top: 0; background: var(--exo-nav-cur); color: #fff; padding: 0.5rem 1rem; z-index: 1000; }

/* Site frame (= Headway #wrapper) */
.exo-site {
    max-width: var(--exo-site-max);
    margin: 0 auto;
    background: var(--exo-wrap-bg);
    border: 2px solid var(--exo-wrap-border);
}

/* Header — full-width banner image flush to the frame */
.exo-site-header { padding: 0; background: #ffffff; line-height: 0; }
.exo-logo { display: block; }
.exo-logo img { display: block; width: 100%; height: auto; }

/* ---- Navigation (Headway nav) ---- */
.exo-nav { background: var(--exo-nav-cont); border-bottom: 2px solid #222222; line-height: normal; }
.exo-nav__list {
    display: flex; flex-wrap: wrap;
    list-style: none; padding: 0; margin: 0;
    background: var(--exo-nav-bar);
    border-bottom: 2px solid #3d3d07;
}
.exo-nav__list li { position: relative; margin: 0; }
.exo-nav__list a {
    display: block;
    padding: 10px;
    text-decoration: none;
    text-transform: uppercase;
    font: bold 16px/1.2 var(--exo-font-nav);
    background: var(--exo-nav-item);
    color: var(--exo-nav-text);
    border-right: 2px solid var(--exo-nav-sep);
}
.exo-nav__list a:hover,
.exo-nav__list a:focus {
    background: var(--exo-nav-hover);
    color: var(--exo-nav-hovertx);
    text-decoration: underline;
}
.exo-nav__list .current-menu-item > a,
.exo-nav__list .current_page_item > a,
.exo-nav__list .current-menu-ancestor > a {
    background: var(--exo-nav-cur);
    color: var(--exo-nav-curtx);
    text-decoration: none;
}
/* Sub-menus */
.exo-nav__list .sub-menu {
    display: none; position: absolute; left: 0; top: 100%;
    list-style: none; padding: 0; margin: 0;
    width: 250px; z-index: 10002;
}
.exo-nav__list li:hover > .sub-menu,
.exo-nav__list li:focus-within > .sub-menu { display: block; }
.exo-nav__list .sub-menu a { border-right: 0; }

/* ---- Layout: sidebar LEFT (184) + main RIGHT (635) ---- */
.exo-layout {
    max-width: var(--exo-site-max);
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
.exo-main { min-width: 0; padding: 14px; }
.exo-main--full { padding: 14px; }

/* Page / post titles */
.exo-article__title {
    font-family: var(--exo-font-heading);
    font-weight: normal;
    font-size: 24px;
    line-height: 1;
    color: var(--exo-page-title);
    margin: 0 0 20px;
}
.exo-single .exo-article__title { color: var(--exo-post-title); }

/* Content body — entry-content tokens */
.exo-article__body {
    font-size: 13px;
    line-height: 170%;
    color: var(--exo-text);
}
.exo-article__body a { color: var(--exo-link); font-weight: bold; text-decoration: none; }
.exo-article__body a:hover { color: var(--exo-link-hover); font-weight: bold; text-decoration: none; }
.exo-article__body h1 { font-family: var(--exo-font-body); font-size: 24px; color: var(--exo-page-title); line-height: 1; }
.exo-article__body h2, .exo-article__body h3, .exo-article__body h4 { margin: 10px 0; color: var(--exo-post-title); }
/* WP alignment helpers (import bodies use these) */
.exo-article__body .alignleft { float: left; margin: 0 1em 0.5em 0; }
.exo-article__body .alignright { float: right; margin: 0 0 0.5em 1em; }
.exo-article__body .aligncenter { display: block; margin: 0.5em auto; }
.exo-article__body::after { content: ""; display: table; clear: both; }

/* ---- Sidebar widgets (Headway sidebar leaf) ---- */
.exo-widget {
    background: var(--exo-side-bg);
    color: var(--exo-side-text);
    padding: 12px;
    margin-bottom: 16px;
    font-size: 13px;
    line-height: 160%;
}
.exo-widget__title {
    font-family: var(--exo-font-heading);
    font-weight: normal;
    font-size: 18px;
    line-height: 130%;
    letter-spacing: 1px;
    color: var(--exo-side-title);
    background: #ffffff;
    margin: -12px -12px 10px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--exo-border);
}
.exo-widget a { color: #caefab; text-decoration: underline; }
.exo-widget a:hover { color: #ffffff; text-decoration: none; }
.exo-widget--contact .exo-widget__phone { font-size: 1.15em; font-weight: bold; margin: 0.25em 0; }
.exo-widget--contact .exo-widget__phone a { color: #caefab; text-decoration: none; }
.exo-widget--contact .exo-widget__area { margin: 0.25em 0 0; }

/* ---- Sidebar: dark-green column (Headway leafs-column-1) ---- */
.exo-sidebar { background: var(--exo-side-bg); padding: 8px; }
.exo-side-fb { display: block; margin: 0 auto 10px; text-align: center; }
.exo-side-fb img { display: block; margin: 0 auto; max-width: 100%; height: auto; }

/* Black MailChimp box (original #mc_embed_signup): lime-green blurb, white email
   field, green button overhanging the bottom edge of the black box. */
.exo-side-subscribe { background: #000000; padding: 12px 10px 0; margin: 0 0 26px; text-align: center; }
.exo-side-subscribe__blurb { margin: 0 0 10px; color: #ccff66; font: bold 16px/1.25 Helvetica, Arial, sans-serif; }
.exo-mc-form { margin: 0; }
.exo-mc-form input[type="email"] { width: 90%; padding: 7px 5px; margin: 0 0 12px; border: 1px solid #999; box-sizing: border-box; }
/* Green gradient subscribe button (ported from the original) */
.subscribebutton {
    -webkit-appearance: none; appearance: none; cursor: pointer;
    display: inline-block;
    background: #77d42a;
    background: linear-gradient(to bottom, #77d42a 5%, #5cb811 100%);
    box-shadow: inset 0 1px 8px 0 #caefab;
    border: 1px solid #268a16;
    border-radius: 15px;
    color: #27470d;
    font: bold 16px arial, sans-serif;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 1px 1px 0 #aade7c;
    /* Overhang the bottom edge of the black box (matches original) */
    position: relative;
    z-index: 2;
    margin-bottom: -15px;
}
.subscribebutton:hover { background: linear-gradient(to bottom, #5cb811 5%, #77d42a 100%); }
.subscribebutton:active { top: 1px; }

.exo-side-cats { text-align: center; }
.exo-side-cat { display: block; margin: 0 auto 16px; text-decoration: none; }
.exo-side-cat img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.exo-side-cat__label {
    display: block; margin-top: 3px;
    font: bold 16px var(--exo-font-nav);
    color: #ccff66; text-decoration: none;
}
.exo-side-cat:hover .exo-side-cat__label { color: #996600; }

/* ---- Catalog listing (page-catalog.php) — matches the original archive ---- */
.exo-catalog-intro { margin-bottom: 16px; }
.exo-catalog-item { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--exo-border); }
.exo-catalog-item__title { margin: 0 0 6px; font-family: var(--exo-font-heading); font-weight: normal; font-size: 24px; line-height: 1.05; }
.exo-catalog-item__title a { color: var(--exo-post-title); text-decoration: none; }
.exo-catalog-item__title a:hover { color: var(--exo-link-hover); }
.exo-catalog-item__body { font-size: 13px; line-height: 170%; color: var(--exo-text); }
.exo-catalog-item__body p { margin: 0 0 0.5em; }
.exo-catalog-item__thumb { float: right; margin: 0 0 8px 14px; max-width: 200px; }
.exo-catalog-item__thumb img { display: block; width: 100%; height: auto; }
.exo-catalog-item__more { margin: 6px 0 0; clear: both; }

/* Carousel (dormant) */
.exo-carousel-wrap { max-width: var(--exo-site-max); margin: 0 auto; padding: 0; }
.exo-carousel__img { width: 100%; height: auto; display: block; }

/* Plant photos / galleries (lightbox) */
.exo-gallery-page .gallery,
.exo-gallery-page .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.5rem; list-style: none; padding: 0; }
.exo-gallery-page .gallery br { display: none; }
.exo-gallery-page .gallery .gallery-item { margin: 0; }
.exo-gallery-page .gallery img, .exo-gallery-page .wp-block-gallery img { width: 100%; height: auto; cursor: zoom-in; }

/* Blog list (home/category) */
.exo-post-summary { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--exo-border); font-size: 13px; line-height: 170%; }
.exo-post-summary__title { margin: 0 0 0.25em; font-family: var(--exo-font-heading); font-weight: normal; font-size: 24px; line-height: 1; }
.exo-post-summary__title a { color: var(--exo-post-title); text-decoration: none; }
.exo-post-summary__title a:hover { color: var(--exo-link-hover); }
.exo-post-summary__meta, .exo-single__meta { color: #555; font-size: 11px; margin: 0 0 0.5em; }
.exo-readmore { font-weight: bold; text-decoration: none; color: var(--exo-link); }
.exo-pagination { margin-top: 1rem; }

/* ---- Footer (Headway #footer) ---- */
.exo-site-footer {
    text-align: center;
    padding: 16px;
    margin-top: 0;
    background: var(--exo-foot-bg);
    border-top: 2px solid var(--exo-foot-top);
    color: var(--exo-foot-text);
    font-size: 12px;
    line-height: 130%;
}
.exo-site-footer a { color: #222222; text-decoration: underline; }
.exo-site-footer a:hover { text-decoration: none; }
.exo-footer-table { width: 100%; border-collapse: collapse; }
.exo-footer-table__pad { width: 80px; }
.exo-footer-table__copy { text-align: center; }
.exo-footer-table__sitemap { width: 80px; text-align: center; white-space: nowrap; }

/* Homepage feed: first N posts full, then excerpts */
.exo-home-intro { margin-bottom: 16px; }
.exo-home-post { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--exo-border); }
.exo-home-post .exo-article__title { color: var(--exo-post-title); margin-bottom: 12px; }

/* ---- Desktop: original two-column 960 layout ---- */
@media (min-width: 768px) {
    .exo-layout {
        grid-template-columns: var(--exo-sidebar-w) 1fr;
        align-items: stretch;   /* dark-green sidebar fills full wrapper height */
        gap: 0;
    }
    .exo-sidebar { grid-column: 1; }
    .exo-main    { grid-column: 2; padding: 14px 14px 14px 16px; }
}

/* Mobile/stacked view: show main content BEFORE the sidebar. Source order
   puts the sidebar first, which otherwise pushes content below the fold on
   phones/small tablets. Added 2026-07-24 (theme 1.5.5). Desktop 2-col layout
   (>=768px) is unaffected because that media query places items by grid-column. */
@media (max-width: 767.98px) {
    .exo-main    { order: 1; }
    .exo-sidebar { order: 2; }
}

/* =========================================================================
   Phone nav (<=768px): show the first 2 top-level items + an inline "More"
   toggle as the third cell (one row). The rest collapse below "More".
   Progressive enhancement via nav.js (.exo-nav--mobile); JS off = normal
   wrapping bar. Desktop & tablet (>=768px) unaffected. Theme 1.5.7. */
.exo-nav__more-li { display: none; }   /* injected "More" cell: phone-only */

@media (max-width: 767.98px) {
    /* top row = first 2 items + the More cell => three equal thirds */
    .exo-nav--mobile .exo-nav__list > li:not(.exo-nav__overflow):not(.exo-nav__more-li),
    .exo-nav--mobile .exo-nav__more-li { flex: 1 1 auto; }   /* all three cells grow equally => even side padding, full width */
    .exo-nav--mobile .exo-nav__list > li:not(.exo-nav__overflow):not(.exo-nav__more-li) > a {
        text-align: center; padding: 12px 5px; font-size: 15px; white-space: nowrap;
    }

    /* the "More" toggle, styled to match the nav cells */
    .exo-nav--mobile .exo-nav__more-li { display: block; }
    .exo-nav--mobile .exo-nav__more {
        display: block; width: 100%; height: 100%; margin: 0; cursor: pointer;
        text-align: center; text-transform: uppercase;
        font: bold 15px/1.2 var(--exo-font-nav); padding: 12px 5px; white-space: nowrap;
        background: var(--exo-nav-item); color: var(--exo-nav-text); border: 0;
    }
    .exo-nav--mobile .exo-nav__more:hover,
    .exo-nav--mobile .exo-nav__more:focus {
        background: var(--exo-nav-hover); color: var(--exo-nav-hovertx);
    }
    .exo-nav__more-arrow { display: inline-block; transition: transform 0.2s ease; }
    .exo-nav--mobile.is-open .exo-nav__more-arrow { transform: rotate(180deg); }

    /* overflow items: hidden until opened, then stacked full-width below */
    .exo-nav--mobile .exo-nav__list > li.exo-nav__overflow { display: none; flex-basis: 100%; }
    .exo-nav--mobile.is-open .exo-nav__list > li.exo-nav__overflow { display: block; }
    .exo-nav--mobile.is-open .exo-nav__list > li.exo-nav__overflow > a { border-right: 0; }

    /* revealed submenu (e.g. under "More..") stacked + indented (no hover) */
    .exo-nav--mobile.is-open .exo-nav__list .sub-menu {
        display: block; position: static; width: 100%;
    }
    .exo-nav--mobile.is-open .exo-nav__list .sub-menu a { padding-left: 28px; border-right: 0; }
}

@media print { .exo-nav, .exo-carousel-wrap, .exo-sidebar { display: none; } }

/* =========================================================================
   Fast Etsy Listings - product-title tweaks on the Buy Online grid
   Added 2026-07-24 (theme 1.5.4). Scoped to .exo-article__body so it only
   affects the Etsy listings area. Tune the variables below.
   ========================================================================= */
.exo-article__body {
    --fel-title-size:   14px;   /* title text size under each thumbnail */
    --fel-title-color:  #111;   /* title color (near-black) */
    --fel-title-weight: bold;   /* bold | normal | 600 */
    --fel-title-gap:    2px;    /* space between thumbnail and title */
    --fel-title-lh:     1.3;    /* line spacing within a multi-line title */
    --fel-row-rule:     2px solid var(--exo-page-title);  /* divider: header color #6b6b38 */
    --fel-row-gap:      10px;               /* space above/below the divider */
}
.exo-article__body .fu_etsy_title {
    font-size: var(--fel-title-size);
    line-height: var(--fel-title-lh);
    margin: var(--fel-title-gap) 0 4px;
}
/* Release the slideshow 2-line container cap so the plugin Max Title Lines
   setting (its -webkit-line-clamp on the link) actually governs truncation. */
.exo-article__body .fu_etsy_title.fu_etsy_maxtwolines {
    max-height: none;
}
.exo-article__body .fu_etsy_title a,
.exo-article__body .fu_etsy_title a:link,
.exo-article__body .fu_etsy_title a:visited,
.exo-article__body .fu_etsy_title a:hover,
.exo-article__body .fu_etsy_title a:focus,
.exo-article__body .fu_etsy_title a:active {
    color: var(--fel-title-color);
    font-weight: var(--fel-title-weight);
}
/* Thin horizontal rule BETWEEN rows of thumbnails (not above the first row
   or below the last). Overrides the plugin default 2px top border. */
.exo-article__body .fu_etsy_results_row { border-top: 0; }
.exo-article__body .fu_etsy_results_row + .fu_etsy_results_row {
    border-top: var(--fel-row-rule);
    margin-top: var(--fel-row-gap);
    padding-top: var(--fel-row-gap);
}
