/* Project-specific overrides (loaded after site.css) */

/* ── Articles (Kā audzēt) ─────────────────────────────────── */
/* Index cards */
.article-card{
  display:block;
  background:#fff;
  border:1px solid #eee;
  border-radius:4px;
  overflow:hidden;
  height:100%;
  color:inherit;
  text-decoration:none;
  transition:box-shadow .15s ease;
}
.article-card:hover{ box-shadow:0 6px 16px rgba(0,0,0,.10); color:inherit; }
.article-card-img{ aspect-ratio:3/2; overflow:hidden; background:#f5f5f5; }
.article-card-img img{ width:100%; height:100%; object-fit:cover; }
.article-card-title{ padding:.75rem 1rem 1rem; font-weight:600; line-height:1.3; }

/* Article body: the imported HTML keeps the old site's bootstrap wrappers
   (container/row/col-*) — neutralize them so the content is full-width here. */
.article-content{
  padding:1.5rem;
  border:1px solid #eee;
  border-radius:4px;
  line-height:1.65;
}
.article-content .container{ width:auto; max-width:none; margin:0; padding:0; }
.article-content .row{ margin-left:0; margin-right:0; }
/* Text blocks were wrapped in col-md-6 etc. — make those full width.
   The photo gallery uses a real col-md-3 grid (4 per row), so leave its columns alone. */
.article-content .wysiwyg[class*="col-"]{ width:100%; max-width:100%; flex:0 0 100%; }
.article-content img{ max-width:100%; height:auto; border-radius:3px; }

/* Photo gallery tiles (portfolio-block in a col grid) */
.article-content .portfolio-block{ display:block; margin-bottom:1.5rem; }
.article-content .portfolio-block img{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.article-content h2{ font-size:1.4rem; margin:1.4rem 0 .6rem; }
.article-content h3{ font-size:1.2rem; margin:1.2rem 0 .5rem; }
.article-content p{ margin:0 0 1rem; }
.article-content ul,
.article-content ol{ margin:0 0 1rem 1.25rem; }
.article-content a[href]{ cursor:pointer; }

/* Lightbox overlay */
.lightbox-overlay{
  position:fixed; inset:0; z-index:2000;
  display:none; align-items:center; justify-content:center;
  background:rgba(0,0,0,.85);
}
.lightbox-overlay.open{ display:flex; }
.lightbox-overlay .lightbox-img{
  max-width:92vw; max-height:88vh; object-fit:contain;
  box-shadow:0 4px 30px rgba(0,0,0,.5); background:#fff;
}
.lightbox-overlay .lightbox-close,
.lightbox-overlay .lightbox-prev,
.lightbox-overlay .lightbox-next{
  position:absolute; top:50%; transform:translateY(-50%);
  background:rgba(255,255,255,.15); color:#fff; border:none;
  font-size:2.2rem; line-height:1; width:48px; height:64px; cursor:pointer;
}
.lightbox-overlay .lightbox-prev{ left:12px; }
.lightbox-overlay .lightbox-next{ right:12px; }
.lightbox-overlay .lightbox-close{ top:14px; right:14px; transform:none; width:48px; height:48px; border-radius:50%; }
.lightbox-overlay button:hover{ background:rgba(255,255,255,.3); }

/* ── Header live-search suggestions dropdown ──────────────── */
.search-box.typeahead{ position:relative; }
.clues_container{
  position:absolute;
  top:100%;
  left:0;
  right:0;
  z-index:1050;
  background:#fff;
  border:1px solid #e0e0e0;
  border-top:none;
  max-height:70vh;
  overflow-y:auto;
  box-shadow:0 6px 16px rgba(0,0,0,.12);
}
.clues_container .clue-item{
  display:flex;
  align-items:center;
  gap:.6rem;
  padding:.5rem .75rem;
  border-bottom:1px solid #f0f0f0;
  color:#333;
  text-decoration:none;
}
.clues_container .clue-item:last-child{ border-bottom:none; }
.clues_container .clue-item:hover{ background:#f7f7f7; }
.clues_container .clue-img{
  width:40px;
  height:40px;
  flex:0 0 40px;
  object-fit:cover;
  border-radius:3px;
}
.clues_container .clue-name{
  flex:1 1 auto;
  font-size:.85rem;
  line-height:1.25;
}
.clues_container .clue-price{
  flex:0 0 auto;
  font-weight:700;
  font-size:.85rem;
  white-space:nowrap;
}

/* Stock-remainder text styled as a badge, matching .availability-tag, but kept in
   the original muted text colour for a more cohesive look. text-transform stays
   none (site.css capitalizes; we keep Latvian “kā” lowercase). */
.product-block-status{
  display:inline-block;
  margin:0 .5rem .35rem 0;
  padding:3px 9px;
  border:1px solid #e3b9b9;
  border-radius:3px;
  background:#fff;
  color:#7a7a7a;
  font-size:11px;
  font-weight:600;
  letter-spacing:.5px;
  line-height:1.25;
  text-transform:none !important;
  white-space:nowrap;
}

/* Availability + stock-count labels on one row (availability first, then count).
   Wraps on narrow product tiles; gap handles spacing, so reset the tags' margins. */
.product-labels-row{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.4rem;
}
.product-labels-row .availability-tag,
.product-labels-row .product-block-status{
  margin:0;
}

/* ── Discount / special price ─────────────────────────────
   Special price in red, the regular price struck through next to it. */
.price-special{ color:#d8202a; font-weight:700; }
.price-old{
  color:#7a7a7a;
  font-weight:400;
  text-decoration:line-through;
  margin-left:.5rem;
  font-size:.85em;
}

/* ── Larger price font ────────────────────────────────────
   Price text sits directly in .product-block-price (no .price child),
   so it falls back to body size. Bump it in the product list and make
   the single-product card price a touch larger still. */
.product-block-price{ font-size:1.25rem; line-height:1.3; }
.product-block-price.product-detail-price{ font-size:1.75rem; }

/* ── Cart icon (header) ───────────────────────────────────
   Neither ElegantIcons (not bundled) nor the Font Awesome webfont
   render reliably here, so the cart uses an inline SVG instead — no
   font dependency, centers cleanly. Styled as a dark-green circle to
   match the floating cart button. */
/* Selector is scoped to .right-nav so it outranks the theme's
   `.nav a { display:block }` (which would otherwise kill the flex
   centering and push the icon to the top-left corner). */
.right-nav .shopping-cart-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:46px;
  margin-top:0;
  border-radius:50%;
  background:#133332;
  color:#fff !important;
}

.right-nav .shopping-cart-icon:hover,
.right-nav .shopping-cart-icon:focus{
  background:#1c4a48;
  color:#fff !important;
}

/* Inline cart SVG (shared by header + floating button) */
.cart-svg{
  display:block;
  width:22px;
  height:22px;
}

.floating-cart .cart-svg{
  width:26px;
  height:26px;
}

/* ── Floating cart button (sticky on scroll) ──────────────
   Fixed top-right shortcut to the cart. cart.js adds .is-visible
   once the page is scrolled and the cart is not empty. */
.floating-cart{
  position:fixed;
  top:48px;
  right:18px;
  z-index:1050;
  width:56px;
  height:56px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#133332;
  color:#fff;
  font-size:24px;
  text-decoration:none;
  box-shadow:0 4px 14px rgba(0,0,0,.25);
  opacity:0;
  visibility:hidden;
  transform:translateY(-12px);
  transition:opacity .2s ease, transform .2s ease, visibility .2s;
}

.floating-cart.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.floating-cart:hover,
.floating-cart:focus{
  background:#1c4a48;
  color:#fff;
}

.floating-cart__count{
  position:absolute;
  top:-4px;
  right:-4px;
  min-width:20px;
  height:20px;
  padding:0 5px;
  border-radius:10px;
  background:#f7b500;
  color:#fff;
  font-size:.7rem;
  font-weight:700;
  line-height:20px;
  text-align:center;
}

.category-entry-header{
  background-color:#133332;
  background-image:url("/images/branding/fahumyculo.jpg");
  background-repeat:no-repeat;
  background-position:center;
  background-size:cover;
  padding:70px 0;
}

.category-entry-header .entry-title{
  color:#fff;
  margin:0;
  font-family:"Merriweather",serif;
  font-weight:700;
  font-size:50px;
  line-height:1.1;
}

@media (max-width: 991.98px){
  .category-entry-header .entry-title{font-size:38px;}
  .category-entry-header{padding:56px 0;}
}

@media (max-width: 575.98px){
  .category-entry-header .entry-title{font-size:30px;}
  .category-entry-header{padding:44px 0;}
}

.gdoc-article{
  padding:24px 0;
}

/* Keep non-gallery images (e.g., the first vertical photo) responsive without cropping. */
.gdoc-article .doc-content img{
  max-width:100%;
  height:auto;
}

/* Google Docs published HTML often includes a “page” wrapper inside .doc-content
   with fixed max-width and large padding (e.g. .c4{max-width:451pt;padding:72pt}).
   Override it so the article can use our layout width responsively. */
.gdoc-article .doc-content{
  max-width:100% !important;
  padding:0 !important;
  box-sizing:border-box;
}

/* Google Doc gallery table (2nd table in Par mums): render images as uniform 5:3 thumbnails + open full-size in popup */
.gdoc-article .gdoc-gallery-table{
  /* Convert the Google table into a simple wrapped gallery layout. */
  display:block;
  width:100% !important;
  border-collapse:separate;
  border-spacing:0;
}

.gdoc-article .gdoc-gallery-table tbody{
  display:block;
}

.gdoc-article .gdoc-gallery-table tr{
  display:block;
}

.gdoc-article .gdoc-gallery-table td,
.gdoc-article .gdoc-gallery-table th{
  border:0 !important;
  padding:0 !important;
  vertical-align:top;
  display:inline-block;
  margin:0 16px 16px 0;
}

/* Prevent the gallery from being clipped/overlapped by external styles.
   Some Google Doc class rules can set max-heights/overflows that collapse layout. */
.gdoc-article .gdoc-gallery-table,
.gdoc-article .gdoc-gallery-table tbody,
.gdoc-article .gdoc-gallery-table tr,
.gdoc-article .gdoc-gallery-table td,
.gdoc-article .gdoc-gallery-table th{
  overflow:visible !important;
  max-height:none !important;
  height:auto !important;
}

.gdoc-article{
  overflow:visible;
}

.gdoc-article a.gdoc-lightbox{
  display:block;
  cursor:zoom-in;
}

.gdoc-article .gdoc-thumb-frame{
  display:block;
  /* Fixed thumbnail size so the gallery looks tidy (roughly 1.5x smaller than full-width cards). */
  width:240px;
  aspect-ratio:5 / 3;
  overflow:hidden;
  max-width:100%;
}

.gdoc-article .gdoc-thumb-frame img{
  display:block;
  width:100% !important;
  height:100% !important;
  object-fit:cover;
}

@media (max-width: 575.98px){
  .gdoc-article .gdoc-gallery-table td,
  .gdoc-article .gdoc-gallery-table th{
    display:block;
    width:100% !important;
    margin:0 0 12px 0;
  }

  .gdoc-article .gdoc-thumb-frame{
    width:100%;
  }
}

/* Minimal Bootstrap-style modal CSS for the Google Doc image popup.
   We only style our modal id + the shared backdrop class used by Bootstrap JS. */
body.modal-open{overflow:hidden;}

#gdocImageModal{
  position:fixed;
  inset:0;
  z-index:1055;
  display:none;
  width:100%;
  height:100%;
  overflow-x:hidden;
  overflow-y:auto;
  outline:0;
}

#gdocImageModal.show{display:block;}

#gdocImageModal .modal-dialog{
  position:relative;
  width:auto;
  margin:1rem auto;
  pointer-events:none;
  display:flex;
  justify-content:center;
}

#gdocImageModal .modal-dialog.modal-xl{
  max-width:720px;
}

#gdocImageModal .modal-dialog.modal-dialog-centered{
  display:flex;
  align-items:center;
  min-height:calc(100% - 3.5rem);
}

#gdocImageModal .modal-content{
  position:relative;
  display:flex;
  flex-direction:column;
  width:fit-content;
  max-width:100%;
  pointer-events:auto;
  background:transparent;
  border:0;
  box-shadow:none;
}

#gdocImageModal .modal-body{
  position:relative;
  flex:1 1 auto;
  padding:0;
  display:block;
}

/* Wrap the image so the close button can be positioned relative to the actual photo box */
#gdocImageModal .gdoc-modal-media{
  position:relative;
  display:inline-block;
  max-width:100%;
}

/* Keep the image fully visible (no huge originals), and let the dialog shrink to it */
#gdocImageModalImg{
  display:block;
  width:auto;
  height:auto;
  max-width:calc(100vw - 2rem);
  max-height:calc(100vh - 2rem);
}

/* Cart notification strip (no Bootstrap CSS dependency). */
.cart-notice{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1080;
  pointer-events:none;
  opacity:0;
  transform:translateY(-110%);
  transition:transform 160ms ease, opacity 160ms ease;
}

.cart-notice.show{
  opacity:1;
  transform:translateY(0);
}

.cart-notice__body{
  display:block;
  width:100%;
  text-align:center;
  text-transform:none;
  letter-spacing:0;
  border:0;
  padding:.5rem 1rem;
}

@media (max-width: 575.98px){
  #gdocImageModal .modal-dialog{
    margin:.5rem;
  }
  #gdocImageModal .modal-dialog.modal-xl{
    max-width:calc(100% - 1rem);
  }
}

#gdocImageModal .btn-close{
  appearance:none;
  border:0;
  background:rgba(255,255,255,.9);
  width:40px;
  height:40px;
  border-radius:999px;
  padding:.25rem;
  line-height:1;
  cursor:pointer;
  opacity:.7;
}

/* Place close button over the image (works for both portrait & landscape). */
#gdocImageModal .gdoc-modal-close{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
}

/* On landscape images the button can look a bit too inset; nudge it closer to the edge. */
#gdocImageModal .gdoc-modal-media.is-landscape .gdoc-modal-close{
  right:2px;
  top:6px;
}

#gdocImageModal .btn-close:hover{opacity:1;}

#gdocImageModal .btn-close::before{
  content:"×";
  font-size:1.5rem;
}

.modal-backdrop{
  position:fixed;
  inset:0;
  z-index:1050;
  background-color:#000;
}

.modal-backdrop.show{opacity:.5;}

/* Google Docs pages inject their own CSS which may override global <a> colors.
   Keep footer navigation links consistently white across all pages. */
.page-footer,
.page-footer a,
.page-footer a:visited,
.page-footer a:hover,
.page-footer a:active,
.page-footer a:focus{
  color:#fff !important;
}

/* Category product list: fixed-size thumbnails independent of source aspect ratio. */
.products-list-section .product-block-img-wrapper.equal-img-size{
  width:100%;
  aspect-ratio:1 / 1;
  overflow:hidden;
}

.products-list-section .product-block-img-wrapper.equal-img-size img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* Mutual hover: keep title without underline and make it brand-yellow. */
.products-list-section .product-block .product-block-title a,
.products-list-section .product-block .product-block-title a:visited,
.products-list-section .product-block .product-block-title a:hover,
.products-list-section .product-block .product-block-title a:focus,
.products-list-section .product-block .product-block-title a:active{
  text-decoration:none !important;
}

.products-list-section .product-block:hover .product-block-title a{
  color:#f7b500 !important;
}

/* Cart table: keep product previews square and prevent overlap with total row. */
.cart-table .cart-item-thumb{
  width:70px;
  height:70px;
  overflow:hidden;
}

.cart-table .cart-item-thumb img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.cart-table .cart-remove-btn{
  color:#b54646;
  border:0;
  background:transparent;
  box-shadow:none;
  text-decoration:none;
}

.cart-table .cart-remove-btn:hover{
  color:#8f3535;
}

.cart-table .cart-remove-icon{
  width:1.2rem;
  height:1.2rem;
  display:inline-block;
  fill:currentColor;
  vertical-align:middle;
}

.cart-table .cart-qty-btn{
  border:0;
  background:#7fbe8b;
  box-shadow:none;
  color:#fff;
  width:1.7rem;
  height:1.7rem;
  padding:0;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:4px;
  transition:background-color .15s ease-in-out, transform .15s ease-in-out;
}

.cart-table .cart-qty-btn:hover{
  color:#fff;
  background:#5ea86d;
  transform:translateY(-1px);
}

.cart-table .cart-qty-btn:focus{
  outline:0;
}

.cart-table .cart-qty-icon{
  width:1rem;
  height:1rem;
  display:inline-block;
  fill:currentColor;
  vertical-align:middle;
}

.cart-table [data-cart-qty]{
  margin:0 .18rem;
}

/* ── Contacts page ─────────────────────────────────────────────────────────── */

.contacts-page{
  padding-top:48px;
  padding-bottom:72px;
}

/* Main heading "Sazinājieties ar mums!" */
.contacts-main-title{
  font-family:"Merriweather",serif;
  font-weight:700;
  font-size:2rem;
  color:#133332;
  margin-bottom:28px;
  line-height:1.2;
}

/* Company name shown as standalone bold line */
.contacts-details .contacts-company-name{
  font-weight:700;
  margin-bottom:4px;
}

.contacts-details p{
  margin-bottom:4px;
  font-size:.97rem;
  line-height:1.6;
}

/* Phone / email block – extra top gap */
.contacts-phones{
  margin-top:18px;
}

.contacts-phones p{
  margin-bottom:6px;
  font-size:.97rem;
  line-height:1.6;
}

/* Gold links for phones and email */
.contacts-phone-link,
.contacts-phone-link:visited{
  color:#f7b500;
  text-decoration:none;
}

.contacts-phone-link:hover{
  color:#d49b00;
  text-decoration:underline;
}

.contacts-social{
  display:flex;
  gap:16px;
  align-items:center;
}

.contacts-social-link{
  display:inline-flex;
  align-items:center;
  opacity:.85;
  transition:opacity .15s;
}

.contacts-social-link:hover{
  opacity:1;
}

/* ── Form column ── */
.contacts-form-col{
  padding-left:40px;
}

@media (max-width: 767.98px){
  .contacts-main-title{ font-size:1.5rem; }
  .contacts-form-col{
    padding-left:15px;
    margin-top:40px;
  }
}

.contacts-field{
  margin-bottom:20px;
}

.contacts-field > label:not(.contacts-file-btn){
  display:block;
  font-size:.88rem;
  color:#888;
  margin-bottom:6px;
  text-transform:none;
  letter-spacing:0;
}

.contacts-input{
  display:block;
  width:100%;
  border:1px solid #d8d8d8;
  border-radius:0;
  padding:12px 14px;
  font-size:1rem;
  background:#fff;
  color:#222;
  transition:border-color .15s;
}

/* Availability badge ("Pieejamība") — styled like the original plants4you.lv
   product-block-tag: a light pill with a thin border and red uppercase text. */
.product-block-tags{
  display:flex;
  flex-wrap:wrap;
  margin-bottom:.25rem;
}

.availability-tag{
  display:inline-block;
  margin:0 .5rem .35rem 0;
  padding:3px 9px;
  border:1px solid #e3b9b9;
  border-radius:3px;
  background:#fff;
  color:#d8202a;
  font-size:11px;
  font-weight:600;
  letter-spacing:.5px;
  line-height:1.25;
  text-transform:uppercase;
  white-space:nowrap;
}

/* Courier-only delivery tag (ERP field 18 "Tikai kurjerpiegāde"). */
.courier-tag{
  display:inline-block;
  margin:0 .5rem .35rem 0;
  padding:3px 9px;
  border:1px solid #bcd0ea;
  border-radius:3px;
  background:#fff;
  color:#2f6db3;
  font-size:11px;
  font-weight:600;
  letter-spacing:.5px;
  line-height:1.25;
  text-transform:uppercase;
  white-space:nowrap;
}
.product-labels-row .courier-tag{ margin:0; }

.contacts-input:focus{
  outline:0;
  border-color:#133332;
}

.contacts-textarea{
  resize:vertical;
  min-height:140px;
}

/* File button styled like brand button */
.contacts-file-btn{
  display:inline-block;
  cursor:pointer;
  font-size:.85rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:10px 22px;
}

.contacts-check{
  display:flex;
  flex-direction:row;
  flex-wrap:nowrap;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  font-size:.9rem;
  text-align:left;
}

.contacts-check input[type="checkbox"]{
  flex:0 0 auto;
  width:auto;
  margin:0;
}

/* Privacy consent label sits inline right after the checkbox.
   Overrides the block field-label rule above so it stays on one line,
   left-aligned next to the box (not pushed to its own row). */
.contacts-check > label{
  display:inline;
  width:auto;
  margin:0;
  color:inherit;
}

.contacts-submit{
  margin-top:4px;
  font-size:.85rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  padding:12px 32px;
}

/* ── Checkout: delivery radio buttons ─────────────────── */
/* The theme (site.css) visually hides the real <input> and renders the radio via
   the label's ::before (circle) and ::after (dot). Its base `+label:after` rule
   sets no width/height (those only exist inside form.new-form-view), so the dot is
   zero-sized and invisible here. We supply the dot size + selected colours so the
   selected state shows, working WITH the theme rather than overriding the input. */
.checkout-delivery .form-check input[type="radio"]+label:after,
.checkout-payment .form-check input[type="radio"]+label:after{
  width:11px;
  height:11px;
  left:4px;
  top:6px;
}

.checkout-delivery .form-check input[type="radio"]:checked+label:before,
.checkout-payment .form-check input[type="radio"]:checked+label:before{
  background-color:#fff;
  border-color:#5ea86d;
}

.checkout-delivery .form-check input[type="radio"]:checked+label:after,
.checkout-payment .form-check input[type="radio"]:checked+label:after{
  background:#5ea86d;
}

.checkout-delivery .form-check-label,
.checkout-payment .form-check-label{
  cursor:pointer;
  font-size:1rem;
}

/* ── Checkout: Omniva parcel-machine combobox (Select2-like) ── */
.omniva-combo{
  position:relative;
  max-width:520px;
}

.omniva-combo-trigger{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  padding:10px 14px;
  background:#fff;
  border:1px solid #d8d8d8;
  border-radius:0;
  font-size:1rem;
  color:#222;
  text-align:left;
  cursor:pointer;
}

.omniva-combo-trigger:focus{
  outline:none;
  border-color:#5ea86d;
}

.omniva-combo-text{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.omniva-combo-text.is-placeholder{
  color:#9a9a9a;
}

.omniva-combo-caret{
  flex-shrink:0;
  margin-left:10px;
  width:0;
  height:0;
  border:5px solid transparent;
  border-top-color:#777;
  border-bottom:0;
}

.omniva-combo-panel{
  position:absolute;
  z-index:1050;
  top:calc(100% + 2px);
  left:0;
  right:0;
  background:#fff;
  border:1px solid #d8d8d8;
  box-shadow:0 6px 18px rgba(0,0,0,.12);
}

.omniva-combo-search{
  display:block;
  width:100%;
  padding:9px 12px;
  border:0;
  border-bottom:1px solid #eee;
  font-size:.95rem;
  outline:none;
}

.omniva-combo-list{
  max-height:260px;
  overflow-y:auto;
}

.omniva-combo-group{
  position:sticky;
  top:0;
  padding:6px 12px;
  background:#f6f6f6;
  color:#7a7a7a;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.omniva-combo-option{
  padding:8px 14px;
  font-size:.95rem;
  cursor:pointer;
}

.omniva-combo-option:hover{
  background:#eef6f0;
}

.omniva-combo-option.is-selected{
  background:#5ea86d;
  color:#fff;
}

.omniva-combo-empty{
  padding:12px 14px;
  color:#9a9a9a;
  font-size:.92rem;
}

/* ── Footer developer logo (Capella) ──────────────────── */
.made-by .img-made-by img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* ── Mobile menu toggle ───────────────────────────────── */
@media (max-width: 991px) {
  .page-header .header-row-3 { display:none; }
  .page-header.mobile-menu-open .header-row-3 { display:block; }
  .page-header.mobile-menu-open .header-row-3 .nav { flex-direction:column; }
  .page-header.mobile-menu-open .header-row-3 .submenu { position:static; display:block; box-shadow:none; }
}

/* Clickable category name in the product page green header — keep the heading colour. */
.category-entry-header .category-entry-link { color: inherit; text-decoration: none; }
.category-entry-header .category-entry-link:hover { text-decoration: underline; }

/* site.css contains legacy FA4 rules that override FA5 icon content for shared
   class names (e.g. .fa-angle-down:before). Fix by re-asserting the correct FA5
   content + font using two-class selectors (.fas.fa-X) which beat site.css's
   single-class selectors (.fa-X) in specificity — no !important needed. */
.fas.fa-angle-down::before { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f107"; }
.fas.fa-search::before     { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f002"; }
.fas.fa-times::before      { font-family: "Font Awesome 5 Free"; font-weight: 900; content: "\f00d"; }
