/* Almureed web standards: skip link, heading size classes, accordion buttons, reduced motion. */

.alm-skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100000;
  padding: 12px 20px;
  border-radius: 999px;
  background: #0D3E22;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  transform: translateY(-200%);
}
.alm-skip-link:focus,
.alm-skip-link:focus-visible {
  transform: none;
  color: #FFFFFF;
  outline: 3px solid #C7DC49;
  outline-offset: 2px;
}
main#main-content:focus { outline: none; }

.screen-reader-text:not(:focus):not(:focus-within) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Item headings rendered as h3 keep the size they had as h4 / h5. */
:is(h1, h2, h3, h4, h5, h6, p, div).alm-h4 { font-size: 24px; line-height: 1.4; }
:is(h1, h2, h3, h4, h5, h6, p, div).alm-h5 { font-size: 20px; line-height: 1.4; }
:is(h1, h2, h3, h4, h5, h6).alm-h3 { font-size: var(--h3-font-size); }
:is(h1, h2, h3, h4, h5, h6).alm-h6 { font-size: 16px; line-height: 1.4; }
.tm-page-title-elementor p.alm-banner-title {
  margin-top: 12px;
  font-family: var(--heading-font-family, "Gallery", serif);
  font-size: var(--h1-font-size);
  font-weight: 500;
  line-height: 1.3;
  font-variant-ligatures: none;
}
#respond .comment-form :is(label[for="comment"], label[for="author"], label[for="email"], label[for="url"]) {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #212621;
}
:is(p, div).alm-h4,
:is(p, div).alm-h5 {
  font-family: var(--heading-font-family, "Gallery", serif);
  font-weight: 500;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0, "calt" 0, "swsh" 0;
}

/* Accordion titles: a real button inside the heading. */
.alm-acc-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: start;
  cursor: pointer;
}
.alm-acc-btn:focus-visible {
  outline: 3px solid #10551F;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Visible keyboard focus for theme links and buttons that only had hover states. */
:where(.main-content, .footer, #header) :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #10551F;
  outline-offset: 3px;
}
:where(.footer, .alm-phero, .alm-pcard--feature) :where(a, button, input):focus-visible { outline-color: #C7DC49; }

/* Entrance animations from Elementor, WOW.js and animate.css are skipped for
   people who ask for reduced motion; elements stay in their final, visible state. */
@media (prefers-reduced-motion: reduce) {
  .elementor-invisible { visibility: visible !important; }
  .elementor-element.animated,
  .wow,
  .wow.animated {
    visibility: visible !important;
    animation: none !important;
  }
}
/* Section-title eyebrows rendered as text instead of h6 keep the h6 look. */
.tm-sc-section-title .alm-eyebrow {
  margin: 0 0 10px;
  font-family: var(--body-font-family, "Manrope", sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: #0C2F25;
}

/* Contact form labels */
.wpcf7 .alm-cf-label {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: #212621;
}
.wpcf7 .alm-cf-label .wpcf7-form-control-wrap { display: block; margin-top: 6px; }

/* The mobile header is position: fixed and the theme sets the header's height
   with JavaScript after load, pushing the page down. Reserve the space up front. */
@media (max-width: 1023.98px) {
  #header.header { min-height: 84px; }
}

/* Top bar icons: Elementor draws them as inline SVG, which the theme's icon colour (set on <i>) never reaches. */
.tm-header-top-info li svg.e-font-icon-svg {
  flex: none;
  width: 1.05em;
  height: 1.05em;
  fill: #C7DC49;
  vertical-align: -0.15em;
}

/* Body copy contrast: override theme's #828282 (3.84:1 on white) with Almureed's #5E665F (5.85:1). */
:root {
  --text-color: #5E665F;
}

/* Theme pill buttons: keep balanced inline padding when no trailing .icon circle is rendered,
   and clip hover background with overflow: clip without establishing a scroll container. */
.theme-btn:is(.btn-style1, .btn-style2) {
  align-items: center;
  padding-inline: 30px;
  overflow: clip;
}
.theme-btn:is(.btn-style1, .btn-style2):has(> .icon) {
  gap: 16px;
  padding-inline-end: 6px;
}
.theme-btn:is(.btn-style1, .btn-style2) > .icon {
  flex: none;
  margin: 0;
}

/* Theme Isotope grids (shop archive, blog grid). Isotope places each card absolutely and leaves each its own height, so rows come out ragged. A CSS grid gives every card in a row the same height. Isotope's inline positions are overridden. */
:is(.isotope-layout.shop-archive, .tm-sc-blog-grid .isotope-layout) > .isotope-layout-inner {
  display: grid !important;
  grid-template-columns: repeat(var(--alm-iso-cols, 3), minmax(0, 1fr));
  gap: 28px 24px;
  height: auto !important;
}
.isotope-layout.shop-archive.grid-4 { --alm-iso-cols: 4; }
.tm-sc-blog-grid .isotope-layout.grid-3 { --alm-iso-cols: 3; }
@media (max-width: 1199.98px) { .isotope-layout.shop-archive.grid-4 { --alm-iso-cols: 3; } }
@media (max-width: 991.98px) { :is(.isotope-layout.shop-archive, .tm-sc-blog-grid .isotope-layout) { --alm-iso-cols: 2 !important; } }
@media (max-width: 575.98px) { :is(.isotope-layout.shop-archive, .tm-sc-blog-grid .isotope-layout) { --alm-iso-cols: 1 !important; } }
:is(.isotope-layout.shop-archive, .tm-sc-blog-grid .isotope-layout) > .isotope-layout-inner > .isotope-item {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  min-width: 0;
}
/* Each card fills its cell. */
.shop-archive .isotope-item > .tm-woo-product-item { display: flex; width: 100%; margin: 0; }
.shop-archive .tm-woo-product-item-inner { flex: 1; display: flex; flex-direction: column; }
.shop-archive .tm-woo-product-item-inner > .product-details { flex: 1; }
.tm-sc-blog-grid .isotope-item > .isotope-item-inner,
.tm-sc-blog-grid .isotope-item-inner > article,
.tm-sc-blog-grid article > .blog-item-current-style4 { display: flex; flex: 1; width: 100%; min-width: 0; margin: 0; }
.tm-sc-blog-grid .blog-item-current-style4 > .inner-box { display: flex; flex-direction: column; flex: 1; width: 100%; margin: 0; }
.tm-sc-blog-grid .inner-box > .entry-content { display: flex; flex-direction: column; flex: 1; }
.tm-sc-blog-grid .entry-content > .post-btn-readmore { margin-top: auto; }
/* Three lines of excerpt at most, so one long summary cannot stretch the whole row. */
.tm-sc-blog-grid .mascot-post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
/* Blog grid type matches the site's other cards. */
.tm-sc-blog-grid .entry-title.alm-h4 { font-size: 23px; line-height: 1.2; margin-bottom: 10px; }
.tm-sc-blog-grid .mascot-post-excerpt { font-size: 15px; line-height: 1.6; }

/* The theme pulls these grids out with negative margins to offset per-card padding; the grid gap replaces that padding, so the margins go too. */
:is(.isotope-layout.shop-archive, .tm-sc-blog-grid .isotope-layout), :is(.isotope-layout.shop-archive, .tm-sc-blog-grid .isotope-layout) > .isotope-layout-inner { margin-inline: 0 !important; width: auto !important; max-width: 100%; }

/* Footer social links (Elementor Social Icons, class alm-social): a soft ring on the green, lime when hovered or focused. */
.alm-social { margin-top: 28px; }
/* Elementor prints its own widget styles after this file, so these selectors carry an extra class. */
.alm-social.elementor-widget-social-icons .elementor-social-icons-wrapper { display: flex !important; flex-wrap: wrap; justify-content: flex-start; gap: 10px; margin: 0; }
.alm-social .elementor-grid-item { margin: 0 !important; }
.alm-social .elementor-icon.elementor-social-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 17px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: background-color 0.25s ease, border-color 0.25s ease, translate 0.25s ease;
}
.alm-social .elementor-social-icon svg { width: 17px; height: 17px; fill: #fff; transition: fill 0.25s ease; }
.alm-social .elementor-social-icon:is(:hover, :focus-visible) { background: #C7DC49; border-color: #C7DC49; }
.alm-social .elementor-social-icon:is(:hover, :focus-visible) svg { fill: #0C2F25; }
.alm-social .elementor-social-icon:focus-visible { outline: 2px solid #C7DC49; outline-offset: 3px; }
@media (prefers-reduced-motion: no-preference) { .alm-social .elementor-social-icon:hover { translate: 0 -2px; } }
/* Footer link icons: one per link, fixed width so the labels line up. */
.elementor-widget-tm-ele-navigation-menu .tm-sc-simple-nav-menu a > i.tm-nav-arrow-icon.alm-ico {
  display: inline-block;
  width: 1.25em;
  margin: 0 12px 0 0 !important;
  font-size: 15px !important;
  line-height: 1;
  text-align: center;
  vertical-align: -1px;
  color: #C7DC49;
  transform: none !important;
  position: static !important;
}
/* The theme pads each link for its floating dot; the icon now sits inline, so the padding goes and icons line up with the heading. */
.elementor-widget-tm-ele-navigation-menu .tm-sc-simple-nav-menu a:has(> .alm-ico) { display: inline-flex; align-items: center; padding-left: 0 !important; }
@media (prefers-reduced-motion: no-preference) {
  .elementor-widget-tm-ele-navigation-menu .tm-sc-simple-nav-menu a > .alm-ico { transition: translate 0.25s ease; }
  .elementor-widget-tm-ele-navigation-menu .tm-sc-simple-nav-menu a:hover > .alm-ico { translate: 2px 0; }
}

/* Header menu: seven items need about 680px but the menu column is narrower on laptop screens, so "Store" wrapped onto
   a second line. Tighter link padding (and a slightly smaller size on the narrowest desktops) keeps the menu on one line. */
@media (min-width: 1025px) and (max-width: 1439px) {
  .header .elementor-widget .menuzord-primary-nav.menuzord .menuzord-menu > li > a { padding-inline: 10px; }
}
@media (min-width: 1025px) and (max-width: 1299px) {
  .header .elementor-widget .menuzord-primary-nav.menuzord .menuzord-menu > li > a { font-size: 15px; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  .header .elementor-widget .menuzord-primary-nav.menuzord .menuzord-menu > li > a { padding-inline: 7px; font-size: 14px; }
}

/* Header call to action ("Become a Patron", main and sticky headers): keep the label and arrow on one line at narrower desktop widths. */
:is(.elementor-element-598e0a3, .elementor-element-sticky_btn_cac0458) .tm-sc-button .btn { white-space: nowrap; }
@media (min-width: 1025px) and (max-width: 1199px) {
  :is(.elementor-element-598e0a3, .elementor-element-sticky_btn_cac0458) .tm-sc-button .btn { padding-inline: 22px; }
}
