/* =====================================================================
   Aethon International storefront
   Design system: "distillery batch label"
   - Vetiver green for structure, amber glass for prices/badges only
   - Marcellus for headings, the device's own UI font for everything else
   - Product cards read like specimen labels; everything around them is quiet
   Classes are prefixed "ae-" so legacy Bootstrap/theme pages keep working.
   ===================================================================== */

:root {
  --ae-green: #1d4f9e;      /* logo royal blue (primary) */
  --ae-leaf: #0a7fc0;       /* logo sky blue (hover/active) */
  --ae-leaf-soft: #e8f1fb;
  --ae-amber: #9a5b13;
  --ae-amber-soft: #f6ecdf;
  --ae-mist: #f3f6fb;
  --ae-paper: #ffffff;
  --ae-ink: #16223a;
  --ae-muted: #55617a;
  --ae-line: #dbe3ee;
  --ae-sale: #b3261e;
  --ae-focus: #0a7fc0;

  --ae-font-display: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ae-font-ui: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --ae-step--1: 0.875rem;   /* 14 */
  --ae-step-0: 1rem;        /* 16 */
  --ae-step-1: 1.125rem;    /* 18 */
  --ae-step-2: 1.375rem;    /* 22 */
  --ae-step-3: 1.75rem;     /* 28 */
  --ae-step-4: 2.25rem;     /* 36 */
  --ae-step-5: 2.875rem;    /* 46 */

  --ae-radius-sm: 6px;
  --ae-radius: 10px;
  --ae-radius-lg: 16px;
  --ae-shadow: 0 1px 2px rgba(14, 36, 71, .06), 0 6px 18px rgba(14, 36, 71, .06);
  --ae-container: 1280px;
  --ae-gutter: 16px;
  --ae-header-h: 64px;
  --ae-tabbar-h: 62px;
  --ae-safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- Base ---------------------------------------------------- */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 120px; }
body.ae-site {
  margin: 0;
  font-family: var(--ae-font-ui);
  font-size: 1rem;   /* 16px body (Lexend reads large) */
  line-height: 1.6;
  font-weight: 400;
  color: var(--ae-ink);
  background: var(--ae-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(body.ae-site) img { max-width: 100%; height: auto; }
:where(body.ae-site) a { color: var(--ae-green); text-decoration: none; }
:where(body.ae-site) a:hover { color: var(--ae-leaf); text-decoration: underline; text-underline-offset: 3px; }
body.ae-site :focus-visible { outline: 2px solid var(--ae-focus); outline-offset: 2px; border-radius: 4px; }
body.ae-site h1, body.ae-site h2, body.ae-site h3, .ae-display {
  font-family: var(--ae-font-display);
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--ae-ink);
}
.ae-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ae-container { width: 100%; max-width: var(--ae-container); margin: 0 auto; padding: 0 var(--ae-gutter); }
.ae-tnum { font-variant-numeric: tabular-nums; }
.ae-icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ae-icon--sm { width: 18px; height: 18px; }
.ae-skip { position: absolute; left: 12px; top: -60px; z-index: 2000; background: var(--ae-green); color: #fff; padding: 10px 14px; border-radius: var(--ae-radius-sm); }
.ae-skip:focus { top: 12px; color: #fff; }

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

/* ---------- Buttons & forms ------------------------------------------ */
.ae-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 20px;
  font: 600 var(--ae-step-0)/1 var(--ae-font-ui);
  border-radius: var(--ae-radius-sm); border: 1px solid transparent;
  cursor: pointer; text-decoration: none !important; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.ae-btn--primary { background: var(--ae-green); color: #fff !important; }
.ae-btn--primary:hover { background: var(--ae-leaf); }
.ae-btn--ghost { background: transparent; color: var(--ae-green) !important; border-color: var(--ae-green); }
.ae-btn--ghost:hover { background: var(--ae-leaf-soft); }
.ae-btn--quiet { background: var(--ae-mist); color: var(--ae-ink) !important; }
.ae-btn--quiet:hover { background: var(--ae-leaf-soft); }
.ae-btn--block { width: 100%; }
.ae-btn[disabled], .ae-btn.is-disabled { opacity: .55; cursor: not-allowed; }

.ae-input, .ae-select {
  width: 100%; min-height: 46px; padding: 0 14px;
  font: 400 16px/1.2 var(--ae-font-ui); color: var(--ae-ink);
  background: #fff; border: 1px solid #c8d3e3; border-radius: var(--ae-radius-sm);
  -webkit-appearance: none; appearance: none;
}
.ae-select {
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235b6862' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.ae-input:focus, .ae-select:focus { outline: none; border-color: var(--ae-leaf); box-shadow: 0 0 0 3px var(--ae-leaf-soft); }

/* ---------- Utility bar ---------------------------------------------- */
.ae-utility { background: var(--ae-green); color: #e7efe9; font-size: var(--ae-step--1); }
.ae-utility .ae-container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.ae-site .ae-utility a { color: #fff; font-weight: 500; }
.ae-site .ae-utility a:hover { color: #fff; text-decoration: underline; }
.ae-utility__links { display: flex; align-items: center; gap: 18px; }
.ae-utility__links a { display: inline-flex; align-items: center; gap: 6px; }
.ae-currency { display: inline-flex; align-items: center; gap: 6px; }
.ae-currency select {
  background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 4px; padding: 2px 22px 2px 8px; font: 600 12px/1.6 var(--ae-font-ui);
  -webkit-appearance: none; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23fff' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center;
}
.ae-currency select option { color: var(--ae-ink); }

/* ---------- Header --------------------------------------------------- */
.ae-header { position: sticky; top: 0; z-index: 1020; background: #fff; border-bottom: 1px solid var(--ae-line); }
.ae-header__row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 76px; }
.ae-logo { display: inline-flex; align-items: center; }
.ae-logo img { display: block; height: 40px; width: auto; max-width: 230px; }
.ae-search { position: relative; display: flex; align-items: stretch; max-width: 720px; width: 100%; border: 1.5px solid var(--ae-green); border-radius: var(--ae-radius-sm); background: #fff; }
.ae-search select { border: 0; border-right: 1px solid var(--ae-line); background-color: var(--ae-mist); border-radius: 4px 0 0 4px; max-width: 190px; min-height: 44px; font-size: 14px; }
.ae-search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 16px; background: transparent; color: var(--ae-ink); }
.ae-search input:focus { outline: none; }
.ae-search button { border: 0; background: var(--ae-green); color: #fff; padding: 0 18px; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; }
.ae-search button:hover { background: var(--ae-leaf); }
.ae-actions { display: flex; align-items: center; gap: 4px; }
.ae-action {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  min-width: 56px; padding: 6px 8px; border-radius: var(--ae-radius-sm);
  color: var(--ae-ink) !important; font-size: 12px; line-height: 1.2; background: none; border: 0; cursor: pointer;
}
.ae-action:hover { background: var(--ae-mist); text-decoration: none !important; }
.ae-badge {
  position: absolute; top: 2px; right: 8px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--ae-amber); color: #fff; font: 700 11px/18px var(--ae-font-ui); text-align: center;
}

/* ---------- Category bar & mega menu --------------------------------- */
.ae-catbar { background: #fff; border-bottom: 1px solid var(--ae-line); }
.ae-catbar .ae-container { display: flex; align-items: center; gap: 6px; min-height: 48px; }
.ae-catbar__all {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  background: var(--ae-leaf-soft); color: var(--ae-green); border: 0; border-radius: var(--ae-radius-sm);
  font-weight: 700; font-size: 15px; cursor: pointer;
}
.ae-catbar__list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; flex: 1; }
.ae-catbar__list::-webkit-scrollbar { display: none; }
.ae-catbar__list a, .ae-pagesnav a {
  display: inline-flex; align-items: center; height: 38px; padding: 0 12px; border-radius: var(--ae-radius-sm);
  font-size: 15.5px; font-weight: 500; color: var(--ae-ink); white-space: nowrap;
}
.ae-catbar__list a:hover, .ae-pagesnav a:hover { background: var(--ae-mist); text-decoration: none; color: var(--ae-green); }
.ae-catbar__list a[aria-current="page"] { color: var(--ae-green); box-shadow: inset 0 -2px 0 var(--ae-green); border-radius: 0; }
.ae-pagesnav { display: flex; gap: 2px; margin-left: auto; }

.ae-mega {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 1010;
  background: #fff; border-bottom: 1px solid var(--ae-line); box-shadow: 0 18px 40px rgba(14, 36, 71, .12);
  display: none;
}
.ae-mega.is-open { display: block; }
.ae-mega__inner { display: grid; grid-template-columns: 260px 1fr; min-height: 340px; max-height: 70vh; }
.ae-mega__parents { margin: 0; padding: 12px 0; list-style: none; border-right: 1px solid var(--ae-line); overflow-y: auto; }
.ae-mega__parents button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
  padding: 10px 18px; background: none; border: 0; text-align: left; font-size: 15px; color: var(--ae-ink); cursor: pointer;
}
.ae-mega__parents button[aria-selected="true"], .ae-mega__parents button:hover { background: var(--ae-mist); color: var(--ae-green); }
.ae-mega__panel { padding: 22px 28px; overflow-y: auto; }
.ae-mega__panel[hidden] { display: none; }
.ae-mega__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.ae-mega__head h2 { font-size: var(--ae-step-2); margin: 0; }
.ae-mega__links { columns: 3 200px; column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.ae-mega__links li { break-inside: avoid; }
.ae-mega__links a { display: block; padding: 7px 0; color: var(--ae-ink); font-size: 16px; }
.ae-mega__links a:hover { color: var(--ae-green); }

/* ---------- Mobile header, drawer, tab bar ---------------------------- */
.ae-mbar { display: none; }
.ae-drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 1060; width: min(88vw, 380px);
  background: #fff; transform: translateX(-102%); transition: transform .22s ease;
  display: flex; flex-direction: column; box-shadow: 8px 0 30px rgba(0, 0, 0, .18);
}
.ae-drawer.is-open { transform: none; }
.ae-scrim { position: fixed; inset: 0; z-index: 1055; background: rgba(10, 22, 45, .5); opacity: 0; visibility: hidden; transition: opacity .2s; }
.ae-scrim.is-open { opacity: 1; visibility: visible; }
.ae-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--ae-line); }
.ae-drawer__head img { height: 36px; width: auto; }
.ae-drawer__body { overflow-y: auto; flex: 1; padding: 8px 0 24px; }
.ae-drawer__section { padding: 14px 16px 6px; font-size: 13px; font-weight: 700; color: var(--ae-muted); }
.ae-acc { border-bottom: 1px solid var(--ae-mist); }
.ae-acc > summary, .ae-drawer__link {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 13px 16px; list-style: none; cursor: pointer; color: var(--ae-ink); font-size: 16px;
}
.ae-acc > summary::-webkit-details-marker { display: none; }
.ae-acc > summary .ae-icon { transition: transform .2s; }
.ae-acc[open] > summary .ae-icon { transform: rotate(180deg); }
.ae-acc ul { list-style: none; margin: 0; padding: 0 0 8px 16px; }
.ae-acc ul a { display: block; padding: 9px 16px; color: var(--ae-muted); font-size: 15px; }
.ae-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: none; border: 0; color: var(--ae-ink); cursor: pointer; position: relative; }
.ae-iconbtn:hover { background: var(--ae-mist); }

.ae-tabbar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--ae-line);
  padding-bottom: var(--ae-safe-bottom);
  -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
}
.ae-tabbar ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; height: var(--ae-tabbar-h); }
.ae-tabbar a, .ae-tabbar button {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  height: 100%; width: 100%; background: none; border: 0; color: var(--ae-muted) !important;
  font: 500 11px/1 var(--ae-font-ui); text-decoration: none !important;
}
.ae-tabbar [aria-current="page"] { color: var(--ae-green) !important; }
.ae-tabbar [aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 30%; right: 30%; height: 2px; border-radius: 0 0 2px 2px; background: var(--ae-green); }
.ae-tabbar .ae-badge { top: 6px; right: calc(50% - 22px); }

.ae-wa {
  position: fixed; right: 16px; bottom: 24px; z-index: 1030;
  width: 54px; height: 54px; border-radius: 50%; background: #1f8f4e; color: #fff !important;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.ae-wa:hover { background: #18773f; text-decoration: none !important; }
.ae-wa svg { width: 28px; height: 28px; fill: currentColor; }

@media (max-width: 991.98px) {
  :root { --ae-gutter: 14px; }
  .ae-utility { display: none; }
  .ae-header__row { display: none; }
  .ae-catbar { display: none; }
  .ae-mbar { display: block; }
  .ae-mbar__row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px; min-height: var(--ae-header-h); }
  .ae-mbar__logo { justify-self: center; }
  .ae-mbar__logo img { height: 32px; width: auto; display: block; }
  .ae-mbar__actions { display: flex; }
  .ae-mbar .ae-search { margin-bottom: 10px; border-width: 1px; }
  .ae-mbar .ae-search select { display: none; }
  .ae-tabbar { display: block; }
  body.ae-site { padding-bottom: calc(var(--ae-tabbar-h) + var(--ae-safe-bottom)); }
  .ae-wa { bottom: calc(var(--ae-tabbar-h) + var(--ae-safe-bottom) + 14px); width: 50px; height: 50px; }
}

/* ---------- Sections ---------------------------------------------------- */
.ae-section { padding: 56px 0; }
.ae-section--mist { background: var(--ae-mist); }
.ae-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ae-section__head h2 { font-size: var(--ae-step-4); margin: 0; }
.ae-section__head p { margin: 6px 0 0; color: var(--ae-muted); max-width: 60ch; }
.ae-link-more { font-weight: 600; white-space: nowrap; }
@media (max-width: 767.98px) {
  .ae-section { padding: 36px 0; }
  .ae-section__head h2 { font-size: var(--ae-step-3); }
}

/* ---------- Breadcrumbs ------------------------------------------------- */
.ae-crumbs { padding: 14px 0; font-size: 14px; color: var(--ae-muted); }
.ae-crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ae-crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #a7b2ad; }
.ae-crumbs a { color: var(--ae-muted); }
.ae-crumbs [aria-current] { color: var(--ae-ink); }

/* ---------- Product card: the batch label ------------------------------ */
.ae-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.ae-grid--4 { grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); }
@media (max-width: 767.98px) { .ae-grid, .ae-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }

.ae-card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius);
  overflow: hidden;
}
.ae-card:hover { border-color: #a9bddb; }
.ae-card__media {
  position: relative; display: block; aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fbfcfe 0%, #eef3fa 100%);
}
.ae-card__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: contain; padding: 4%;

}
.ae-card__flag {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700;
  background: var(--ae-sale); color: #fff;
}
.ae-card__wish { position: absolute; top: 6px; right: 6px; z-index: 1; background: rgba(255, 255, 255, .9); }
.ae-card__label { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; border-top: 1px dashed #c8d3e3; flex: 1; }
.ae-card__cat { font-size: 14px; color: var(--ae-muted); line-height: 1.3; }
.ae-card__name {
  font-family: var(--ae-font-display); font-weight: 600; font-size: 17px; line-height: 1.35; color: var(--ae-ink) !important; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em;
}
.ae-card__name:hover { color: var(--ae-green) !important; }
.ae-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ae-price { font-weight: 700; font-size: 18px; color: var(--ae-amber); font-variant-numeric: tabular-nums; }
.ae-mrp { font-size: 13px; color: var(--ae-muted); text-decoration: line-through; font-variant-numeric: tabular-nums; }
.ae-card__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--ae-muted); }
.ae-card__cta { margin-top: 4px; }
.ae-card__cta .ae-btn { min-height: 40px; width: 100%; font-size: 14px; }
@media (max-width: 767.98px) {
  .ae-card__label { padding: 10px 10px 12px; gap: 6px; }
  .ae-card__name { font-size: 15px; }
  .ae-price { font-size: 15px; }
}

/* ---------- Category tiles ------------------------------------------- */
.ae-tiles { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.ae-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 16px 12px 14px;
  border-radius: var(--ae-radius); background: #fff; border: 1px solid var(--ae-line); color: var(--ae-ink) !important; text-align: center;
}
.ae-tile:hover { border-color: var(--ae-leaf); text-decoration: none !important; }
.ae-tile__img { width: 100%; aspect-ratio: 1 / 1; border-radius: 50%; background: var(--ae-mist); overflow: hidden; display: block; }
.ae-tile__img img { width: 100%; height: 100%; object-fit: cover; }
.ae-tile strong { font-family: var(--ae-font-display); font-weight: 600; font-size: 16px; line-height: 1.25; }
.ae-tile small { color: var(--ae-muted); font-size: 12px; }
@media (max-width: 575.98px) { .ae-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .ae-tile { padding: 10px 6px; } .ae-tile strong { font-size: 13px; } }

/* ---------- Category / listing page ------------------------------------ */
.ae-listing { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.ae-listing__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ae-listing__head h1 { font-size: var(--ae-step-4); margin: 0; }
.ae-count { color: var(--ae-muted); font-size: 14px; }
.ae-toolbar { display: flex; align-items: center; gap: 10px; }
.ae-toolbar .ae-select { min-height: 40px; width: auto; font-size: 14px; }
.ae-filters { position: sticky; top: 140px; max-height: calc(100vh - 160px); overflow-y: auto; padding-right: 4px; }
.ae-filter { border-bottom: 1px solid var(--ae-line); padding: 14px 0; }
.ae-filter h2 { font-family: var(--ae-font-ui); font-size: 15px; font-weight: 700; margin: 0 0 10px; }
.ae-filter ul { list-style: none; margin: 0; padding: 0; }
.ae-filter li a, .ae-check { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; color: var(--ae-ink); font-size: 16px; }
.ae-filter li a[aria-current="page"] { color: var(--ae-green); font-weight: 700; }
.ae-filter li a span { color: var(--ae-muted); font-size: 13px; }
.ae-range { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; align-items: center; }
.ae-range .ae-input { min-height: 40px; font-size: 15px; padding: 0 10px; }
.ae-range .ae-btn { min-height: 40px; padding: 0 12px; }
.ae-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ae-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ae-leaf-soft); color: var(--ae-green) !important; font-size: 13px; font-weight: 600; }
.ae-filter-toggle { display: none; }
.ae-pagination { display: flex; justify-content: center; margin: 32px 0 8px; }
.ae-pagination .pagination { gap: 6px; flex-wrap: wrap; justify-content: center; }
.ae-pagination .page-link { border-radius: var(--ae-radius-sm) !important; color: var(--ae-ink); border-color: var(--ae-line); min-width: 42px; text-align: center; }
.ae-pagination .active > .page-link, .ae-pagination .page-link.active { background: var(--ae-green); border-color: var(--ae-green); color: #fff; }
.ae-intro { color: var(--ae-muted); max-width: 75ch; margin: 0 0 20px; }
@media (max-width: 991.98px) {
  .ae-listing { grid-template-columns: 1fr; }
  .ae-filters {
    position: fixed; inset: auto 0 0 0; top: auto; z-index: 1065; max-height: 82vh; padding: 0 16px 24px;
    background: #fff; border-radius: 18px 18px 0 0; transform: translateY(105%); transition: transform .22s ease;
  }
  .ae-filters.is-open { transform: none; }
  .ae-filters__head { position: sticky; top: 0; background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--ae-line); z-index: 1; }
  .ae-filter-toggle { display: inline-flex; }
  .ae-listing__head h1 { font-size: var(--ae-step-3); }
}
@media (min-width: 992px) { .ae-filters__head { display: none; } }

/* ---------- Product detail ---------------------------------------------- */
.ae-pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.ae-gallery { position: sticky; top: 140px; display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; }
.ae-gallery__main {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--ae-radius-lg); overflow: hidden;
  background: linear-gradient(180deg, #fbfcfe 0%, #eef3fa 100%); border: 1px solid var(--ae-line);
}
.ae-gallery__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 3%; cursor: zoom-in; }
.ae-gallery__thumbs { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; max-height: 560px; overflow-y: auto; }
.ae-gallery__thumbs button { display: block; width: 76px; height: 76px; padding: 4px; border-radius: var(--ae-radius-sm); border: 1px solid var(--ae-line); background: #f5f7f6; cursor: pointer; }
.ae-gallery__thumbs button[aria-current="true"] { border-color: var(--ae-green); box-shadow: 0 0 0 1px var(--ae-green); }
.ae-gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.ae-buy h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); margin: 0 0 8px; }
.ae-buy__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--ae-muted); font-size: 14px; margin-bottom: 16px; }
.ae-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; padding: 16px 0; border-top: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line); margin-bottom: 18px; }
.ae-buy__price .ae-price { font-size: 30px; }
.ae-buy__price .ae-mrp { font-size: 16px; }
.ae-save { font-size: 13px; font-weight: 700; color: var(--ae-sale); }
.ae-tax { width: 100%; font-size: 13px; color: var(--ae-muted); }
.ae-opt { margin-bottom: 18px; }
.ae-opt__label { font-weight: 700; font-size: 15px; margin-bottom: 8px; display: block; }
.ae-sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.ae-size input { position: absolute; opacity: 0; pointer-events: none; }
.ae-size span {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 82px; min-height: 48px; padding: 6px 12px; border: 1px solid #c8d3e3; border-radius: var(--ae-radius-sm);
  font-weight: 600; font-size: 14px; cursor: pointer; background: #fff; line-height: 1.25;
}
.ae-size span small { font-weight: 500; color: var(--ae-muted); font-size: 12px; }
.ae-size input:checked + span { border-color: var(--ae-green); box-shadow: inset 0 0 0 1px var(--ae-green); background: var(--ae-leaf-soft); }
.ae-size input:focus-visible + span { outline: 2px solid var(--ae-focus); outline-offset: 2px; }
.ae-size input:disabled + span { opacity: .45; text-decoration: line-through; cursor: not-allowed; }
.ae-qty { display: inline-flex; align-items: center; border: 1px solid #c8d3e3; border-radius: var(--ae-radius-sm); height: 48px; }
.ae-qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; cursor: pointer; color: var(--ae-ink); }
.ae-qty input { width: 56px; height: 100%; border: 0; text-align: center; font-size: 16px; font-weight: 600; -moz-appearance: textfield; }
.ae-qty input::-webkit-outer-spin-button, .ae-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ae-buy__actions { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; align-items: stretch; margin-bottom: 14px; }
.ae-buy__actions .ae-btn { min-height: 48px; }
.ae-assure { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.ae-assure li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: var(--ae-radius-sm); background: var(--ae-mist); font-size: 13px; line-height: 1.4; }
.ae-assure strong { display: block; font-size: 14px; }
.ae-bulk { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 14px 16px; border: 1px dashed var(--ae-amber); border-radius: var(--ae-radius); background: var(--ae-amber-soft); font-size: 14px; }
.ae-tabs { margin-top: 48px; }
.ae-tabs [role="tablist"] { display: flex; gap: 4px; border-bottom: 1px solid var(--ae-line); overflow-x: auto; scrollbar-width: none; }
.ae-tabs [role="tab"] { padding: 12px 16px; background: none; border: 0; border-bottom: 2px solid transparent; font-weight: 600; color: var(--ae-muted); white-space: nowrap; cursor: pointer; }
.ae-tabs [role="tab"][aria-selected="true"] { color: var(--ae-green); border-bottom-color: var(--ae-green); }
.ae-tabs [role="tabpanel"] { padding: 24px 0; }
.ae-sticky-buy { display: none; }
@media (max-width: 991.98px) {
  .ae-pdp { grid-template-columns: 1fr; gap: 20px; }
  .ae-gallery { position: static; grid-template-columns: 1fr; }
  .ae-gallery__thumbs { flex-direction: row; order: 2; max-height: none; overflow-x: auto; }
  .ae-gallery__thumbs button { width: 64px; height: 64px; flex-shrink: 0; }
  .ae-assure { grid-template-columns: 1fr; }
  .ae-buy__actions { grid-template-columns: auto 1fr; }
  .ae-buy__actions .ae-btn--ghost { grid-column: 1 / -1; }
  .ae-sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: calc(var(--ae-tabbar-h) + var(--ae-safe-bottom)); z-index: 1035;
    gap: 10px; align-items: center; padding: 10px 14px; background: #fff; border-top: 1px solid var(--ae-line);
    box-shadow: 0 -6px 18px rgba(0, 0, 0, .06); transform: translateY(120%); transition: transform .2s;
  }
  .ae-sticky-buy.is-visible { transform: none; }
  .ae-sticky-buy .ae-btn { flex: 1; }
}

/* ---------- Rich text (CMS content) -------------------------------------- */
.ae-prose { max-width: 78ch; color: #2b3631; line-height: 1.75; }
.ae-prose h2 { font-size: var(--ae-step-3); margin: 1.6em 0 .5em; }
.ae-prose h3 { font-size: var(--ae-step-2); margin: 1.4em 0 .4em; }
.ae-prose h4 { font-size: var(--ae-step-1); margin: 1.2em 0 .4em; font-weight: 700; }
.ae-prose p, .ae-prose ul, .ae-prose ol { margin: 0 0 1em; }
.ae-prose img { border-radius: var(--ae-radius); height: auto !important; }
.ae-prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; display: block; overflow-x: auto; }
.ae-prose th, .ae-prose td { border: 1px solid var(--ae-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.ae-prose th { background: var(--ae-mist); }
.ae-prose a { text-decoration: underline; }

/* ---------- Footer (light, brand blue accents) ---------------------------- */
.ae-footer { background: #f4f7fc; color: var(--ae-ink); font-size: 16px; margin-top: 64px; border-top: 3px solid var(--ae-green); }
.ae-footer a { color: #2b3a55; }
.ae-footer a:hover { color: var(--ae-green); }
.ae-footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; padding: 52px 0 36px; }
.ae-footer h2 { font-family: var(--ae-font-ui); font-size: 16px; font-weight: 700; color: var(--ae-green); margin: 0 0 14px; }
.ae-footer ul { list-style: none; margin: 0; padding: 0; }
.ae-footer li { margin: 0 0 10px; }
.ae-footer__brand img { height: 40px; width: auto; }
.ae-footer__brand p { margin: 14px 0; max-width: 42ch; line-height: 1.65; color: var(--ae-muted); }
.ae-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ae-contact .ae-icon { margin-top: 3px; color: var(--ae-leaf); }
.ae-social { display: flex; gap: 8px; margin-top: 16px; }
.ae-social a { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid var(--ae-line); color: var(--ae-green); display: inline-flex; align-items: center; justify-content: center; }
.ae-social a:hover { background: var(--ae-green); color: #fff; border-color: var(--ae-green); }
.ae-social svg { width: 18px; height: 18px; fill: currentColor; }
.ae-footer__cats { border-top: 1px solid var(--ae-line); padding: 30px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 40px; }
.ae-footer__cats summary a { font-size: 15px; font-weight: 700; color: var(--ae-ink); }
.ae-footer__cats li { margin-bottom: 6px; font-size: 15px; }
.ae-footer__cats details ul { margin-top: 10px; }
.ae-footer__cats li a { color: var(--ae-muted); }
.ae-newsletter { display: flex; gap: 8px; margin-top: 8px; }
.ae-newsletter .ae-input { min-height: 44px; }
.ae-footer__quote .ae-btn { width: 100%; margin-bottom: 8px; }
.ae-footer__bottom-wrap { background: var(--ae-green); color: #dce8fa; }
.ae-footer__bottom { padding: 14px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; font-size: 14px; }
.ae-footer__bottom a { color: #fff; }
.ae-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ae-pay span { display: inline-flex; align-items: center; height: 26px; padding: 0 9px; border-radius: 4px; background: rgba(255, 255, 255, .14); font-size: 12.5px; font-weight: 600; color: #fff; }
@media (max-width: 991.98px) {
  .ae-footer__top { grid-template-columns: 1fr 1fr; gap: 28px; padding: 36px 0 24px; }
  .ae-footer__brand { grid-column: 1 / -1; }
  .ae-footer__cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575.98px) {
  .ae-footer__top { grid-template-columns: 1fr; }
  .ae-footer__cats { grid-template-columns: 1fr; gap: 0; }
  .ae-footer__cats details { border-bottom: 1px solid var(--ae-line); }
  .ae-footer__cats summary { padding: 13px 0; list-style: none; display: flex; justify-content: space-between; cursor: pointer; }
  .ae-footer__cats summary::-webkit-details-marker { display: none; }
  .ae-footer__cats details ul { padding-bottom: 10px; margin-top: 0; }
  .ae-footer__bottom { justify-content: center; text-align: center; }
}
@media (min-width: 576px) {
  .ae-footer__cats details > summary { list-style: none; }
  .ae-footer__cats details > summary::-webkit-details-marker { display: none; }
  .ae-footer__cats details > summary .ae-icon { display: none; }
}

/* ---------- Misc --------------------------------------------------------- */
.ae-empty { text-align: center; padding: 48px 16px; color: var(--ae-muted); }
.ae-empty h2 { color: var(--ae-ink); font-size: var(--ae-step-3); }
.ae-notice { padding: 12px 14px; border-radius: var(--ae-radius-sm); background: var(--ae-leaf-soft); color: var(--ae-green); font-size: 14px; }
.ae-scroller { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: thin; }
.ae-scroller > * { scroll-snap-align: start; }
@media (max-width: 767.98px) { .ae-scroller { grid-auto-columns: 46%; gap: 12px; } }

/* ---------- Home: hero slider ----------------------------------------------- */
.ae-hero { background: var(--ae-mist); }
.ae-hero .carousel-item { aspect-ratio: 1350 / 492; background: var(--ae-mist); }
.ae-hero .carousel-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ae-hero .carousel-indicators [data-bs-target] { width: 26px; height: 4px; border-radius: 2px; background: #fff; opacity: .6; border: 0; }
.ae-hero .carousel-indicators .active { opacity: 1; background: var(--ae-green); }
@media (max-width: 767.98px) { .ae-hero .carousel-control-prev, .ae-hero .carousel-control-next { display: none; } }

/* ---------- Home: trust strip -------------------------------------------------- */
.ae-trust { border-bottom: 1px solid var(--ae-line); background: #fff; }
.ae-trust ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.ae-trust li { display: flex; align-items: center; gap: 12px; padding: 18px 16px; }
.ae-trust li + li { border-left: 1px solid var(--ae-line); }
.ae-trust .ae-icon { width: 30px; height: 30px; color: var(--ae-green); stroke-width: 1.5; }
.ae-trust strong { display: block; font-size: 16px; color: var(--ae-ink); }
.ae-trust span { font-size: 14px; color: var(--ae-muted); }
@media (max-width: 991.98px) { .ae-trust ul { grid-template-columns: 1fr 1fr; } .ae-trust li:nth-child(3) { border-left: 0; } .ae-trust li:nth-child(n+3) { border-top: 1px solid var(--ae-line); } }
@media (max-width: 575.98px) { .ae-trust li { padding: 12px 8px; gap: 8px; } .ae-trust .ae-icon { width: 24px; height: 24px; } .ae-trust strong { font-size: 14px; } .ae-trust span { font-size: 12.5px; } }

/* ---------- Home: category bento ---------------------------------------------- */
.ae-bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 230px; gap: 16px; }
.ae-bento__item {
  position: relative; display: block; overflow: hidden; border-radius: var(--ae-radius-lg);
  background: #0e2447; color: #fff !important; text-decoration: none !important; isolation: isolate;
}
.ae-bento__item:nth-child(4n+1), .ae-bento__item:nth-child(4n+4) { grid-column: span 2; }
.ae-bento__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.ae-bento__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 30, 62, .85) 0%, rgba(10, 30, 62, .5) 45%, rgba(10, 30, 62, .05) 80%); }
.ae-bento__item:hover img { transform: scale(1.04); }
.ae-bento__body { position: absolute; left: 24px; bottom: 22px; right: 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ae-bento__body strong { font-family: var(--ae-font-display); font-weight: 600; font-size: 28px; line-height: 1.15; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.ae-bento__body small { font-size: 15px; color: #e6eefb; }
.ae-bento__cta { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; background: #fff; color: #1d4f9e; font-weight: 700; font-size: 14px; }
.ae-bento__item:hover .ae-bento__cta { background: #0a7fc0; color: #fff; }
.ae-more-cats { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.ae-more-cats a { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--ae-line); background: #fff; color: var(--ae-ink); font-weight: 600; font-size: 15px; }
.ae-more-cats a:hover { border-color: var(--ae-green); color: var(--ae-green); text-decoration: none; }
@media (max-width: 991.98px) { .ae-bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; } .ae-bento__item:nth-child(n) { grid-column: span 1; } .ae-bento__item:nth-child(3n+1) { grid-column: span 2; } }
@media (max-width: 575.98px) { .ae-bento { gap: 10px; grid-auto-rows: 150px; } .ae-bento__body { left: 14px; bottom: 12px; right: 14px; } .ae-bento__body strong { font-size: 20px; } .ae-bento__body small { font-size: 13px; } .ae-bento__cta { height: 32px; padding: 0 12px; font-size: 13px; margin-top: 6px; } }

/* ---------- Home: about + clients ---------------------------------------------- */
.ae-about { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ae-about__facts { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ae-about__facts li { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--ae-radius); background: #fff; border: 1px solid var(--ae-line); }
.ae-about__facts .ae-icon { color: var(--ae-green); width: 26px; height: 26px; }
.ae-about__facts strong { display: block; color: var(--ae-ink); }
.ae-about__facts span { color: var(--ae-muted); font-size: 15px; }
.ae-readmore { position: relative; max-height: 420px; overflow: hidden; }
.ae-readmore::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(rgba(243, 246, 251, 0), #f3f6fb); }
.ae-readmore.is-open { max-height: none; }
.ae-readmore.is-open::after { display: none; }
.ae-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 0; padding: 0; }
.ae-logos li { list-style: none; display: flex; align-items: center; justify-content: center; height: 86px; padding: 12px; background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); }
.ae-logos img { max-height: 58px; width: auto; object-fit: contain; }
@media (max-width: 991.98px) { .ae-about { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Home: bulk band ------------------------------------------------------ */
.ae-band { background: #1d4f9e; color: #fff; border-radius: var(--ae-radius-lg); padding: 36px 40px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.ae-band h2 { color: #fff !important; font-size: var(--ae-step-4); margin: 0 0 8px; }
.ae-band p { margin: 0; color: #e3ecfa; max-width: 62ch; }
.ae-band .ae-btn--primary { background: #fff; color: #1d4f9e !important; }
.ae-band .ae-btn--primary:hover { background: #e8f1fb; }
.ae-band .ae-btn--ghost { color: #fff !important; border-color: rgba(255, 255, 255, .65); }
.ae-band .ae-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 767.98px) { .ae-band { grid-template-columns: 1fr; padding: 26px 20px; } .ae-band h2 { font-size: var(--ae-step-3); } }

/* ---------- Blog cards --------------------------------------------------------------- */
.ae-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ae-post { display: flex; flex-direction: column; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); overflow: hidden; background: #fff; }
.ae-post__img { aspect-ratio: 16 / 9; background: var(--ae-mist); overflow: hidden; display: block; }
.ae-post__img img { width: 100%; height: 100%; object-fit: cover; }
.ae-post__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ae-post__body h3 { font-size: 20px; margin: 0; line-height: 1.3; }
.ae-post__body h3 a { color: var(--ae-ink); }
.ae-post__body p { color: var(--ae-muted); font-size: 15px; margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 991.98px) { .ae-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575.98px) { .ae-posts { grid-template-columns: 1fr; } }

/* ---------- Payment marks & credit ---------------------------------------- */
.ae-paymarks { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ae-paymarks li { display: flex; }
.ae-paymarks svg { height: 28px; width: auto; display: block; border-radius: 5px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .25); }
.ae-credit { display: block; margin-top: 2px; font-size: 13px; color: #c3d4ef; }
@media (min-width: 768px) { .ae-credit { display: inline; margin: 0 0 0 10px; padding-left: 10px; border-left: 1px solid rgba(255, 255, 255, .3); } }

.ae-utility .dropdown-toggle { color: #fff; font-weight: 500; }
.ae-utility .dropdown-menu { font-size: 15px; }
.ae-utility .dropdown-menu a { color: var(--ae-ink) !important; }
.ae-utility__sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .35); }

/* ---------- Fixes after visual review ------------------------------------- */
/* Legacy theme sets fonts on bare elements; keep the site font everywhere. */
.ae-site :is(span, small, a, p, li, label, button, input, select, textarea, td, th, strong, b, font, dt, dd) { font-family: inherit; }
/* Category photos carry their own caption at the bottom-left: cover it so only one name shows. */
.ae-bento__item::after { background: linear-gradient(to top, rgba(10, 30, 62, .94) 0%, rgba(10, 30, 62, .72) 34%, rgba(10, 30, 62, .2) 70%, rgba(10, 30, 62, 0) 100%), linear-gradient(100deg, rgba(10, 30, 62, .55) 0%, rgba(10, 30, 62, 0) 60%); }
.ae-bento__cta-long { display: inline; }
@media (max-width: 575.98px) {
  .ae-bento__cta-long { display: none; }
  .ae-trust ul { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; padding: 10px 0; }
  .ae-trust ul::-webkit-scrollbar { display: none; }
  .ae-trust li { flex: 0 0 auto; border: 1px solid var(--ae-line) !important; border-radius: 999px; padding: 6px 12px; }
  .ae-trust li span { display: none; }
  .ae-trust .ae-icon { width: 20px; height: 20px; }
  .ae-trust strong { font-size: 13px; font-weight: 600; white-space: nowrap; }
}

/* ---------- Mobile top strip, language picker ------------------------------ */
.ae-mtop { display: none; }
.ae-lang select { max-width: 112px; }
@media (max-width: 991.98px) {
  .ae-mtop { display: block; background: var(--ae-green); color: #fff; font-size: 12.5px; }
  .ae-mtop .ae-container { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 34px; }
  .ae-mtop p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ae-mtop__tools { display: flex; gap: 6px; flex-shrink: 0; }
  .ae-mtop .ae-lang select { max-width: 96px; }
}
/* Hide Google Translate's own toolbar so the layout does not jump. */
body.ae-site { top: 0 !important; }
.skiptranslate iframe, iframe.skiptranslate, .goog-te-banner-frame, #goog-gt-tt, .goog-te-balloon-frame { display: none !important; visibility: hidden !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }

/* One typeface across the whole site, including legacy pages and CMS content
   (icon fonts keep their own family). */
body.ae-site *:not(.fa):not(.bi):not([class*=" bi-"]):not([class^="bi-"]):not(.glyphicon):not(code):not(pre):not(kbd) { font-family: var(--ae-font-ui) !important; }

/* ---------- Consent banner, preferences, location suggestion ---------------- */
.ae-consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 1080; display: flex; justify-content: center; }
.ae-consent[hidden] { display: none; }
.ae-consent__inner { max-width: 980px; width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius-lg); box-shadow: 0 18px 50px rgba(14, 36, 71, .22); padding: 18px 20px; }
.ae-consent h2 { font-size: 18px; margin: 0 0 4px; }
.ae-consent p { margin: 0; font-size: 14.5px; color: var(--ae-muted); }
.ae-consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ae-consent__actions .ae-btn { min-height: 42px; }
.ae-pref { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--ae-line); cursor: pointer; }
.ae-pref p { margin: 2px 0 0; font-size: 14px; color: var(--ae-muted); }
.ae-pref .form-check-input { width: 2.6em; height: 1.4em; flex-shrink: 0; margin-top: 2px; border-radius: 2em; }
.ae-geo { position: fixed; left: 50%; transform: translateX(-50%); bottom: 20px; z-index: 1075; width: min(560px, calc(100% - 32px)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; background: #fff; border: 1px solid var(--ae-line); border-left: 4px solid var(--ae-green); border-radius: var(--ae-radius); box-shadow: 0 14px 40px rgba(14, 36, 71, .2); font-size: 15px; }
.ae-geo[hidden] { display: none; }
.ae-geo .ae-btn { min-height: 38px; padding: 0 14px; font-size: 14px; }
@media (max-width: 991.98px) {
  .ae-consent { left: 10px; right: 10px; bottom: calc(var(--ae-tabbar-h) + var(--ae-safe-bottom) + 10px); }
  .ae-consent__inner { grid-template-columns: 1fr; padding: 14px; gap: 12px; }
  .ae-consent__actions .ae-btn { flex: 1; }
  .ae-geo { bottom: calc(var(--ae-tabbar-h) + var(--ae-safe-bottom) + 10px); flex-direction: column; align-items: stretch; }
}

/* ---------- Product card v2: fixed rows so every card in a row lines up ---------- */
.ae-price { color: var(--ae-ink) !important; font-weight: 700; }
.ae-card__label {
  display: grid;
  grid-template-rows: 20px calc(2 * 1.35em) 20px 26px auto;
  row-gap: 8px;
  align-content: start;
  padding: 14px 14px 16px;
  border-top: 1px solid var(--ae-line);
  flex: 1;
}
.ae-card__label > * { margin: 0; min-width: 0; }
.ae-card__sizes { font-size: 13px; line-height: 20px; color: var(--ae-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ae-card__title { font-size: 16.5px; line-height: 1.35; font-weight: 600; overflow: hidden; }
.ae-card__title .ae-card__name { font-size: inherit; min-height: 0; }
.ae-card__rating { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; color: var(--ae-muted); }
.ae-stars { display: inline-flex; gap: 1px; }
.ae-stars .ae-icon { width: 15px; height: 15px; }
.ae-card__price { display: flex; align-items: center; font-size: 17px; line-height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ae-card__price .ae-price { font-size: 17px; }
.ae-card__btn { min-height: 42px; width: 100%; font-size: 14.5px; margin-top: 4px; }
.ae-card:hover .ae-card__btn { background: var(--ae-green); color: #fff !important; }
.ae-buy__price .ae-price { color: var(--ae-ink) !important; }
@media (max-width: 767.98px) {
  .ae-card__label { padding: 10px 10px 12px; row-gap: 6px; grid-template-rows: 18px calc(2 * 1.35em) 18px 24px auto; }
  .ae-card__sizes { font-size: 12px; line-height: 18px; }
  .ae-card__title { font-size: 14.5px; }
  .ae-card__rating { font-size: 12px; line-height: 18px; }
  .ae-stars .ae-icon { width: 13px; height: 13px; }
  .ae-card__price, .ae-card__price .ae-price { font-size: 15px; line-height: 24px; }
  .ae-card__btn { min-height: 38px; font-size: 13px; padding: 0 8px; }
}

/* ---------- Enquiry modal & spam check ---------------------------------------- */
.ae-enq .modal-content { border: 0; border-radius: var(--ae-radius-lg); overflow: hidden; }
.ae-enq .modal-header { align-items: flex-start; gap: 16px; padding: 20px 24px 14px; background: var(--ae-mist); border-bottom: 1px solid var(--ae-line); }
.ae-enq .modal-body { padding: 20px 24px 24px; }
.ae-enq .form-label { font-weight: 600; font-size: 14.5px; margin-bottom: 6px; }
.ae-enq__product { display: flex; align-items: center; gap: 14px; padding: 12px; margin-bottom: 18px; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); background: #fff; }
.ae-enq__product img { width: 84px; height: 84px; object-fit: contain; border-radius: var(--ae-radius-sm); background: var(--ae-mist); flex-shrink: 0; }
.ae-enq__label { margin: 0; font-size: 12.5px; color: var(--ae-muted); }
.ae-enq__name { margin: 2px 0 0; font-weight: 700; font-size: 17px; line-height: 1.3; }
.ae-enq__meta { margin: 2px 0 0; font-size: 13px; color: var(--ae-muted); }
.ae-enq__foot { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--ae-line); }
.ae-phone { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 8px; }
.ae-hc { display: grid; gap: 6px; }
.ae-hc__input { max-width: 140px; }
.ae-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 575.98px) {
  .ae-enq .modal-header, .ae-enq .modal-body { padding-left: 16px; padding-right: 16px; }
  .ae-enq__foot { position: sticky; bottom: 0; background: #fff; margin: 16px -16px -24px; padding: 12px 16px calc(12px + var(--ae-safe-bottom)); }
  .ae-enq__foot .ae-btn { flex: 1; }
  .ae-phone { grid-template-columns: 1fr; }
}

/* ---------- Listing filters v2 (marketplace-style) ----------------------------- */
.ae-listbar { display: none; }
.ae-filters__tabs { display: none; }
.ae-filters__foot { display: none; }
.ae-filters__clear { margin: 14px 0 0; font-weight: 600; }
.ae-filter__sub { margin: 12px 0 8px; font-size: 13px; color: var(--ae-muted); }
.ae-options { list-style: none; margin: 0; padding: 0; }
.ae-opt-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 0; font-size: 15.5px; color: var(--ae-ink) !important; cursor: pointer; text-decoration: none !important; }
.ae-opt-row small { margin-left: auto; color: var(--ae-muted); font-size: 13px; }
.ae-opt-row input[type="checkbox"], .ae-opt-row input[type="radio"] {
  -webkit-appearance: none; appearance: none; flex-shrink: 0; margin: 0;
  width: 20px; height: 20px; border: 1.5px solid #9aa8bd; background: #fff; display: grid; place-content: center; cursor: pointer;
}
.ae-opt-row input[type="checkbox"] { border-radius: 5px; }
.ae-opt-row input[type="radio"], .ae-radio { border-radius: 50%; }
.ae-opt-row input[type="checkbox"]:checked { background: var(--ae-green); border-color: var(--ae-green); }
.ae-opt-row input[type="checkbox"]:checked::after { content: ""; width: 10px; height: 6px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.ae-opt-row input[type="radio"]:checked { border-color: var(--ae-green); box-shadow: inset 0 0 0 4px #fff; background: var(--ae-green); }
.ae-opt-row input:focus-visible { outline: 2px solid var(--ae-focus); outline-offset: 2px; }
.ae-radio { width: 20px; height: 20px; border: 1.5px solid #9aa8bd; flex-shrink: 0; }
.ae-opt-row[aria-current="true"] .ae-radio { border-color: var(--ae-green); box-shadow: inset 0 0 0 4px #fff; background: var(--ae-green); }
.ae-opt-row[aria-current="true"] { font-weight: 700; color: var(--ae-green) !important; }
.ae-toolbar__label { font-size: 14px; color: var(--ae-muted); white-space: nowrap; }
.ae-sheet { display: none; }
@media (min-width: 992px) {
  .ae-filters { background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); padding: 4px 16px 16px; }
  .ae-filter { padding: 16px 0; }
  .ae-filter h2 { font-size: 15px; text-transform: none; }
}
@media (max-width: 991.98px) {
  .ae-toolbar { display: none; }
  .ae-listbar {
    display: grid; grid-template-columns: 1fr 1fr; position: sticky; top: var(--ae-head-h, 150px); z-index: 1015;
    margin: 0 calc(-1 * var(--ae-gutter)) 12px; background: #fff; border-top: 1px solid var(--ae-line); border-bottom: 1px solid var(--ae-line);
  }
  .ae-listbar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; background: #fff; border: 0; color: var(--ae-ink); font-weight: 700; font-size: 15px; }
  .ae-listbar__btn + .ae-listbar__btn { border-left: 1px solid var(--ae-line); }
  .ae-listbar__btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
  .ae-listbar__btn small { font-weight: 400; font-size: 12px; color: var(--ae-muted); max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Full-screen filter panel: groups on the left, options on the right */
  .ae-filters {
    position: fixed; inset: 0; top: 0; z-index: 1065; max-height: none; height: 100%; border-radius: 0; padding: 0;
    display: flex; flex-direction: column; background: #fff; transform: translateY(100%); transition: transform .22s ease;
  }
  .ae-filters.is-open { transform: none; }
  .ae-filters__head { position: static; padding: 14px 16px; border-bottom: 1px solid var(--ae-line); }
  .ae-filters__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 38% 62%; grid-template-rows: 1fr auto; }
  .ae-filters__tabs { display: flex; flex-direction: column; background: var(--ae-mist); border-right: 1px solid var(--ae-line); overflow-y: auto; }
  .ae-filters__tabs button { text-align: left; padding: 16px 14px; border: 0; border-left: 3px solid transparent; background: transparent; font-weight: 600; font-size: 15px; color: var(--ae-ink); display: flex; justify-content: space-between; }
  .ae-filters__tabs button.is-active { background: #fff; border-left-color: var(--ae-green); color: var(--ae-green); }
  .ae-filters__tabs i { font-style: normal; font-size: 12px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ae-green); color: #fff; display: inline-grid; place-items: center; padding: 0 5px; }
  .ae-filters__panels { overflow-y: auto; padding: 4px 16px 16px; }
  .ae-filters__panels .ae-filter { display: none; border: 0; }
  .ae-filters__panels .ae-filter.is-active { display: block; }
  .ae-filters__panels .ae-filter h2 { display: none; }
  .ae-opt-row { padding: 11px 0; border-bottom: 1px solid var(--ae-mist); }
  .ae-range { grid-template-columns: 1fr 1fr; }
  .ae-range__go { display: none; }
  .ae-filters__foot { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding: 12px 16px calc(12px + var(--ae-safe-bottom)); border-top: 1px solid var(--ae-line); background: #fff; }
  .ae-filters__clear { display: none; }

  .ae-sheet {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1065; background: #fff; border-radius: 18px 18px 0 0;
    padding: 0 16px calc(16px + var(--ae-safe-bottom)); box-shadow: 0 -10px 30px rgba(14, 36, 71, .18);
    transform: translateY(105%); transition: transform .22s ease;
  }
  .ae-sheet[hidden] { display: block; visibility: hidden; }
  .ae-sheet.is-open { transform: none; visibility: visible; }
  .ae-sheet .ae-filters__head { padding: 16px 0; }
  .ae-sheet .ae-opt-row { padding: 14px 0; }
}
@media (max-width: 575.98px) {
  .ae-enq .modal-body { padding-bottom: 0; }
  .ae-enq__foot { flex-wrap: nowrap; margin: 16px -16px 0; padding: 12px 16px calc(12px + var(--ae-safe-bottom)); box-shadow: 0 -6px 16px rgba(14, 36, 71, .08); z-index: 2; }
  .ae-enq__foot .ae-btn { flex: 1 1 0; min-width: 0; padding: 0 10px; font-size: 14.5px; }
}

/* ---------- Cart drawer ---------------------------------------------------- */
#cartDrawer { width: min(420px, 100%); }
.ae-cartd { display: flex; flex-direction: column; min-height: 100%; }
.ae-cartd__ship { padding: 14px 16px; background: var(--ae-mist); border-bottom: 1px solid var(--ae-line); font-size: 14px; }
.ae-cartd__bar { display: block; height: 6px; margin-top: 8px; border-radius: 3px; background: #dbe3ee; overflow: hidden; }
.ae-cartd__bar i { display: block; height: 100%; background: var(--ae-green); border-radius: 3px; }
.ae-cartd__list { list-style: none; margin: 0; padding: 0 16px; flex: 1; }
.ae-cartd__item { display: grid; grid-template-columns: 72px 1fr 32px; gap: 12px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--ae-line); }
.ae-cartd__img img { width: 72px; height: 72px; object-fit: contain; border-radius: var(--ae-radius-sm); background: var(--ae-mist); border: 1px solid var(--ae-line); }
.ae-cartd__name { display: block; font-weight: 600; font-size: 15px; line-height: 1.35; color: var(--ae-ink) !important; }
.ae-cartd__meta { margin: 4px 0 0; font-size: 13px; color: var(--ae-muted); }
.ae-cartd__line { margin: 4px 0 0; font-weight: 700; font-size: 15px; color: var(--ae-ink); }
.ae-cartd__remove { width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ae-muted) !important; }
.ae-cartd__remove:hover { background: #fdeceb; color: #b3261e !important; }
.ae-cartd__foot { position: sticky; bottom: 0; background: #fff; padding: 14px 16px calc(16px + var(--ae-safe-bottom)); border-top: 1px solid var(--ae-line); box-shadow: 0 -6px 16px rgba(14, 36, 71, .06); }
.ae-cartd__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0; font-size: 15px; }
.ae-cartd__total strong { font-size: 19px; }
.ae-cartd__note { margin: 4px 0 12px; font-size: 13px; color: var(--ae-muted); }
.ae-cartd__btns { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }

/* ---------- Product gallery: explicit placement (thumbs left, main image right) ---------- */
.ae-gallery__thumbs { grid-column: 1; grid-row: 1; }
.ae-gallery__main { grid-column: 2; grid-row: 1; }
.ae-gallery--single { grid-template-columns: minmax(0, 1fr); }
.ae-gallery--single .ae-gallery__main { grid-column: 1; }
@media (max-width: 991.98px) {
  .ae-gallery__main { grid-column: 1; grid-row: 1; }
  .ae-gallery__thumbs { grid-column: 1; grid-row: 2; }
}

/* ---------- Slider controls for product rows ---------- */
.ae-slide-nav { display: flex; gap: 8px; }
.ae-slide-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--ae-line); background: #fff; color: var(--ae-ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ae-slide-nav button:hover { border-color: var(--ae-green); color: var(--ae-green); }
.ae-slide-nav .ae-icon--flip { transform: rotate(180deg); }
.ae-scroller { scroll-behavior: smooth; scrollbar-width: none; }
.ae-scroller::-webkit-scrollbar { display: none; }
@media (max-width: 767.98px) { .ae-slide-nav { display: none; } }

/* Utility bar dropdown (About us) must sit above the sticky header. */
.ae-utility { position: relative; z-index: 1030; }
.ae-utility .dropdown-menu { z-index: 1031; margin-top: 6px !important; box-shadow: 0 12px 30px rgba(14, 36, 71, .16); border-color: var(--ae-line); }

/* ---------- Client logo marquee: equal tiles, continuous slide ---------------- */
.ae-clients__title { font-size: var(--ae-step-3); text-align: center; margin: 0 0 22px; }
.ae-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ae-marquee__track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 4px 0; list-style: none; animation: ae-marquee 40s linear infinite; }
.ae-marquee:hover .ae-marquee__track, .ae-marquee:focus-within .ae-marquee__track { animation-play-state: paused; }
.ae-marquee__track li { flex: 0 0 auto; width: 180px; height: 96px; display: flex; align-items: center; justify-content: center; padding: 14px 18px; background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); }
.ae-marquee__track img { width: 100%; height: 100%; object-fit: contain; }
@keyframes ae-marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
@media (max-width: 575.98px) { .ae-marquee__track li { width: 140px; height: 80px; padding: 10px 12px; } .ae-marquee__track { animation-duration: 30s; } }
@media (prefers-reduced-motion: reduce) {
  .ae-marquee { -webkit-mask-image: none; mask-image: none; }
  .ae-marquee__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .ae-marquee__track li[aria-hidden="true"] { display: none; }
}

/* ---------- Floating chat buttons (Messenger + WhatsApp) ---------- */
.ae-chat { position: fixed; right: 16px; bottom: 24px; z-index: 1030; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ae-chat .ae-wa { position: static; }
.ae-chat__btn { width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); }
.ae-chat__btn--fb { background: linear-gradient(135deg, #00b2ff, #006aff); }
.ae-chat__btn svg { width: 24px; height: 24px; fill: currentColor; }
@media (max-width: 991.98px) {
  .ae-chat { bottom: calc(var(--ae-tabbar-h) + var(--ae-safe-bottom) + 14px); }
  .ae-chat__btn { width: 42px; height: 42px; }
}

/* ---------- Share links ---------- */
.ae-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ae-muted); }
.ae-share a, .ae-share button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--ae-line); background: #fff; color: var(--ae-ink) !important; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.ae-share a:hover, .ae-share button:hover { border-color: var(--ae-green); color: var(--ae-green) !important; }
.ae-share svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- Mobile footer: two columns where the content allows ---------- */
@media (max-width: 575.98px) {
  .ae-footer { font-size: 15px; }
  .ae-footer__top { grid-template-columns: 1fr 1fr; gap: 22px 16px; padding: 30px 0 20px; }
  .ae-footer__brand, .ae-footer__quote { grid-column: 1 / -1; }
  .ae-footer h2 { font-size: 15px; margin-bottom: 10px; }
  .ae-footer li { margin-bottom: 8px; }
  .ae-footer__quote .ae-btn { width: auto; flex: 1; margin: 0; }
  .ae-footer__quote > .ae-btn:first-of-type { margin-right: 8px; }
  .ae-footer__quote { display: flex; flex-wrap: wrap; align-items: center; }
  .ae-footer__quote > h2, .ae-footer__quote > p, .ae-footer__quote > form { flex: 0 0 100%; }
  .ae-footer__quote > h2.mt-4 { margin-top: 18px !important; }
  .ae-footer__cats { grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 18px 0; }
  .ae-footer__cats summary { padding: 11px 0; font-size: 14px; }
  .ae-footer__cats summary a { font-size: 14px; }
}
@media (max-width: 575.98px) {
  .ae-footer__quote .ae-btn { min-width: 0; padding: 0 10px; font-size: 14px; white-space: normal; text-align: center; line-height: 1.2; }
}
@media (max-width: 575.98px) {
  .ae-footer__quote > .ae-btn { margin-bottom: 0 !important; align-self: stretch; }
  .ae-footer__quote .ae-newsletter .ae-btn { flex: 0 0 auto; width: auto; padding: 0 18px; white-space: nowrap; }
  .ae-footer__quote .ae-newsletter .ae-input { min-width: 0; flex: 1; }
}
.ae-credit a { color: #fff !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.ae-credit a:hover { color: #dce8fa !important; }

/* ---------- Location delivery facts ---------- */
.ae-local { margin: 18px 0; padding: 16px 18px; border: 1px solid var(--ae-line); border-left: 4px solid var(--ae-green); border-radius: var(--ae-radius); background: #fff; }
.ae-local h2 { font-size: 18px !important; margin: 0 0 8px; }
.ae-local p { margin: 0 0 8px; font-size: 15px; color: #2b3a55; }
.ae-local ul { margin: 0; padding-left: 18px; font-size: 15px; color: #2b3a55; }
.ae-local li { margin-bottom: 4px; }
.ae-linkbtn { background: none; border: 0; padding: 0; color: var(--ae-green); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; }

/* ---------- Client feedback round 1 ------------------------------------------------- */
/* The legacy theme disables text selection everywhere (*{user-select:none});
   allow normal selection again, so fields can be selected, copied and cleared. */
body.ae-site, body.ae-site * { -webkit-user-select: auto; -moz-user-select: auto; user-select: auto; }
body.ae-site img { -webkit-user-drag: none; }

/* Slightly smaller type across the site */
:root {
  --ae-step--1: 0.8125rem;  /* 13 */
  --ae-step-1: 1.0625rem;   /* 17 */
  --ae-step-2: 1.25rem;     /* 20 */
  --ae-step-3: 1.5rem;      /* 24 */
  --ae-step-4: 1.9375rem;   /* 31 */
  --ae-step-5: 2.5rem;      /* 40 */
}
body.ae-site { font-size: 0.9375rem; }          /* 15px */
.ae-catbar__list a, .ae-pagesnav a { font-size: 14.5px; }
.ae-catbar__all { font-size: 14px; }
.ae-utility { font-size: 13px; }
.ae-action { font-size: 11.5px; }
.ae-card__title { font-size: 15.5px; }
.ae-card__price, .ae-card__price .ae-price { font-size: 16px; }
.ae-card__btn { font-size: 14px; }
.ae-buy h1 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.1rem); }
.ae-buy__price .ae-price { font-size: 26px; }
.ae-footer { font-size: 15px; }
.ae-mega__links a, .ae-filter li a, .ae-check, .ae-opt-row { font-size: 15px; }
.ae-prose { font-size: 15.5px; }
.ae-btn { font-size: 15px; }
.ae-bento__body strong { font-size: 25px; }
@media (max-width: 767.98px) {
  .ae-card__title { font-size: 14px; }
  .ae-card__price, .ae-card__price .ae-price { font-size: 14.5px; }
}

/* Bigger logo on desktop */
@media (min-width: 992px) {
  .ae-logo img { height: 54px; max-width: 300px; }
  .ae-header__row { min-height: 84px; }
}

/* ---------- Live search suggestions ---------- */
.ae-search { position: relative; }
.ae-suggest { position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 6px); z-index: 1050; background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); box-shadow: 0 18px 40px rgba(14, 36, 71, .18); max-height: 420px; overflow-y: auto; padding: 6px; }
.ae-suggest[hidden] { display: none; }
.ae-suggest a { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 10px; padding: 7px 8px; border-radius: var(--ae-radius-sm); color: var(--ae-ink) !important; text-decoration: none !important; font-size: 14.5px; }
.ae-suggest a[aria-selected="true"], .ae-suggest a:hover { background: var(--ae-mist); }
.ae-suggest img { width: 44px; height: 44px; object-fit: contain; border-radius: 6px; background: var(--ae-mist); }
.ae-suggest .ae-suggest__icon { width: 44px; height: 44px; border-radius: 6px; background: var(--ae-leaf-soft); color: var(--ae-green); display: flex; align-items: center; justify-content: center; }
.ae-suggest small { color: var(--ae-muted); font-size: 12px; display: block; }
.ae-suggest .ae-suggest__price { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
.ae-suggest mark { background: none; color: var(--ae-green); font-weight: 700; padding: 0; }
.ae-suggest__all { display: block !important; text-align: center; font-weight: 600; color: var(--ae-green) !important; border-top: 1px solid var(--ae-line); margin-top: 4px; border-radius: 0 !important; }
.ae-suggest__empty { padding: 12px; color: var(--ae-muted); font-size: 14px; }
.ae-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: searchfield-cancel-button; cursor: pointer; }
.ae-post__date { display: block; font-size: 12.5px; color: var(--ae-muted); margin-bottom: 4px; }
/* Quote form product search */
.ae-picker { position: relative; }
.ae-picker .ae-input { padding-left: 38px; }
.ae-picker__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--ae-muted); pointer-events: none; }
.ae-picker .ae-suggest { left: 0; right: 0; top: calc(100% + 4px); max-height: 300px; }
.ae-picker input.form-control, .ae-picker input.ae-input { padding-left: 40px !important; }
.ae-picker__icon { z-index: 2; }
/* Contact form: space between fields when the two-column rows stack on phones and tablets */
@media (max-width: 991.98px) {
  form[name="contact-enq"] .row > [class*="col-lg"] + [class*="col-lg"] { margin-top: 12px; }
}

/* ---------- Contact page ---------- */
.ae-contact-title { font-size: var(--ae-step-4); margin: 0 0 6px; }
.ae-cinfo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 28px; }
.ae-cinfo__card { background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); padding: 20px; min-width: 0; }
.ae-cinfo__icon { width: 44px; height: 44px; border-radius: 10px; background: var(--ae-leaf-soft); color: var(--ae-green); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.ae-cinfo__card h2 { font-size: 17px; margin: 0 0 8px; }
.ae-cinfo__card p { margin: 0; color: var(--ae-muted); line-height: 1.65; }
.ae-cinfo__card a { color: var(--ae-ink); font-weight: 500; overflow-wrap: anywhere; }
.ae-cinfo__card dl { margin: 0; }
.ae-cinfo__card dt { font-size: 12.5px; font-weight: 600; color: var(--ae-muted); }
.ae-cinfo__card dd { margin: 0 0 8px; }
.ae-cinfo__hours dd { font-weight: 600; }
.ae-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.ae-contact-map { border-radius: var(--ae-radius); overflow: hidden; border: 1px solid var(--ae-line); min-height: 360px; background: var(--ae-mist); }
.ae-contact-map iframe { width: 100% !important; height: 100% !important; min-height: 360px; border: 0; display: block; }
.ae-contact-form { background: #fff; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); padding: 24px; }
.ae-contact-form h2 { font-size: var(--ae-step-2); margin: 0 0 14px; }
.ae-contact-form textarea.ae-input { min-height: 110px; resize: vertical; }
@media (max-width: 991.98px) {
  .ae-cinfo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ae-contact-grid { grid-template-columns: 1fr; }
  .ae-contact-form { order: -1; }
}
@media (max-width: 575.98px) {
  .ae-cinfo { grid-template-columns: 1fr; gap: 12px; }
  .ae-cinfo__card { padding: 16px; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; }
  .ae-cinfo__icon { grid-row: span 3; margin: 0; }
  .ae-contact-form { padding: 18px; }
  .ae-contact-map, .ae-contact-map iframe { min-height: 260px; }
}

/* Spam check: answer box sits beside the question */
.ae-hc { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; }
.ae-hc .form-label { margin: 0; font-weight: 600; }
.ae-hc .ae-hc__input { width: 84px; flex: 0 0 84px; text-align: center; padding-left: 8px; padding-right: 8px; }
.ae-hc small { flex-basis: 100%; }
.ae-hc .invalid-feedback { flex-basis: 100%; }
.ae-btn { white-space: nowrap; }
@media (max-width: 575.98px) { .ae-contact-title { font-size: 1.5rem; } }

/* ---------- FAQ accordion (from "Frequently asked questions" in descriptions) ---------- */
.ae-faq { margin-top: 28px; }
.ae-faq h2 { font-size: var(--ae-step-2); margin: 0 0 12px; }
.ae-faq__item { border: 1px solid var(--ae-line); border-radius: var(--ae-radius-sm); background: #fff; margin-bottom: 8px; }
.ae-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; font-weight: 600; color: var(--ae-ink); }
.ae-faq__item summary::-webkit-details-marker { display: none; }
.ae-faq__item summary .ae-icon { flex: 0 0 auto; transition: transform .2s ease; color: var(--ae-muted); }
.ae-faq__item[open] summary .ae-icon { transform: rotate(180deg); }
.ae-faq__item summary:focus-visible { outline: 2px solid var(--ae-leaf); outline-offset: 2px; border-radius: var(--ae-radius-sm); }
.ae-faq__a { padding: 0 16px 14px; color: var(--ae-ink); }
.ae-faq__a > :last-child { margin-bottom: 0; }

/* Trust strip on phones: all four points visible as a 2 x 2 grid, no sideways scrolling */
@media (max-width: 767.98px) {
  .ae-trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; overflow: visible; padding: 10px 0; }
  .ae-trust li { flex: none; min-width: 0; border: 1px solid var(--ae-line) !important; border-radius: var(--ae-radius-sm); padding: 9px 10px; gap: 8px; align-items: center; }
  .ae-trust li p { min-width: 0; }
  .ae-trust .ae-icon { width: 22px; height: 22px; flex: 0 0 22px; }
  .ae-trust strong { font-size: 12.5px; line-height: 1.3; white-space: normal; }
  .ae-trust li span { display: none; }
}
.ae-page-h1 { font-size: var(--ae-step-4); margin: 18px 0 14px; color: var(--ae-ink); }
@media (max-width: 575.98px) { .ae-page-h1 { font-size: 1.5rem; } }

/* ---------- Home: Latest / Best selling / Top rated ---------- */
.ae-plists { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ae-plists__tabs { display: none; }
.ae-plist__title { font-size: var(--ae-step-1); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ae-green); }
.ae-plist ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ae-plist li a { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; padding: 8px; border: 1px solid var(--ae-line); border-radius: var(--ae-radius-sm); background: #fff; color: var(--ae-ink); text-decoration: none; transition: border-color .15s ease, box-shadow .15s ease; }
.ae-plist li a:hover { border-color: var(--ae-leaf); box-shadow: 0 6px 18px rgba(14, 36, 71, .08); }
.ae-plist img { width: 72px; height: 72px; object-fit: contain; border-radius: 6px; background: var(--ae-mist); }
.ae-plist__body { display: grid; gap: 3px; min-width: 0; }
.ae-plist__name { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ae-plist__stars { display: inline-flex; align-items: center; gap: 1px; }
.ae-plist__stars .ae-icon { width: 13px; height: 13px; }
.ae-plist__stars small { margin-left: 4px; color: var(--ae-muted); font-size: 12px; }
.ae-plist__price { font-weight: 700; font-size: 14px; color: var(--ae-ink); }
@media (max-width: 991.98px) {
  .ae-plists__tabs { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; }
  .ae-plists__tabs::-webkit-scrollbar { display: none; }
  .ae-plists__tabs button { flex: 1 0 auto; border: 1px solid var(--ae-line); background: #fff; color: var(--ae-ink); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; }
  .ae-plists__tabs button[aria-selected="true"] { background: var(--ae-green); border-color: var(--ae-green); color: #fff; }
  .ae-plists { grid-template-columns: 1fr; }
  .ae-plist[data-inactive] { display: none; }
  .ae-plist__title { display: none; }
}
@media (max-width: 575.98px) { .ae-plists__tabs { gap: 4px; } .ae-plists__tabs button { padding: 7px 10px; font-size: 13px; flex: 1 1 auto; } }

/* ---------- Certification badges (footer) ---------- */
.ae-certs { border-top: 1px solid var(--ae-line); margin-top: 22px; padding-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.ae-certs__title { margin: 0; font-weight: 700; font-size: 13px; letter-spacing: .6px; text-transform: uppercase; color: var(--ae-muted); }
.ae-certs__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; }
.ae-cert { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border: 1px solid var(--ae-line); border-radius: 999px; background: #fff; }
.ae-cert svg { width: 26px; height: 26px; flex: 0 0 26px; fill: none; stroke: var(--ae-green); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; background: var(--ae-leaf-soft); border-radius: 50%; padding: 4px; }
.ae-cert span { display: grid; line-height: 1.15; }
.ae-cert strong { font-size: 13px; color: var(--ae-ink); }
.ae-cert small { font-size: 11px; color: var(--ae-muted); }
.ae-certs__more { font-size: 13.5px; font-weight: 600; color: var(--ae-green); white-space: nowrap; }
@media (max-width: 575.98px) {
  .ae-certs__list { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ae-cert { border-radius: var(--ae-radius-sm); }
}

/* ---------- Lightbox ---------- */
.ae-noscroll, .ae-noscroll body { overflow: hidden; }
.ae-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10, 18, 32, .92); display: flex; align-items: center; justify-content: center; padding: 56px 12px 24px; }
.ae-lightbox[hidden] { display: none; }
.ae-lightbox__fig { margin: 0; max-width: min(1000px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; }
.ae-lightbox__fig img { max-width: 100%; max-height: calc(100% - 32px); object-fit: contain; background: #fff; border-radius: 6px; box-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.ae-lightbox__fig figcaption { color: #e6edf6; font-size: 14px; margin-top: 10px; text-align: center; }
.ae-lightbox__close { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #111; font-size: 28px; line-height: 1; cursor: pointer; }
.ae-lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #111; font-size: 30px; line-height: 1; cursor: pointer; }
.ae-lightbox__nav[hidden] { display: none; }
.ae-lightbox__prev { left: 12px; }
.ae-lightbox__next { right: 12px; }
.ae-lightbox button:focus-visible { outline: 3px solid var(--ae-leaf); outline-offset: 2px; }
.ae-lightbox__fig img { width: auto; height: auto; flex: 0 0 auto; }

/* ---------- Certificates on the certifications page ---------- */
.ae-certdocs__title { font-size: var(--ae-step-3); margin: 0 0 6px; }
.ae-certdocs__intro { color: var(--ae-muted); margin: 0 0 18px; }
.ae-certdocs { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ae-certdoc { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--ae-line); border-radius: var(--ae-radius); background: #fff; overflow: hidden; color: var(--ae-ink); text-decoration: none; transition: box-shadow .15s ease, border-color .15s ease; }
.ae-certdoc:hover { border-color: var(--ae-leaf); box-shadow: 0 10px 26px rgba(14, 36, 71, .1); }
.ae-certdoc img { width: 100%; height: auto; aspect-ratio: 420 / 594; object-fit: cover; object-position: top; background: var(--ae-mist); border-bottom: 1px solid var(--ae-line); }
.ae-certdoc__body { padding: 12px 14px; display: grid; gap: 3px; }
.ae-certdoc__body strong { font-size: 14.5px; line-height: 1.3; }
.ae-certdoc__body small { color: var(--ae-muted); font-size: 12.5px; }
@media (max-width: 991.98px) { .ae-certdocs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.ae-certdocs__group { font-size: var(--ae-step-1); margin: 18px 0 10px; }
.ae-certdoc img { object-fit: contain; object-position: center; background: #fff; padding: 6px; }

/* Mega menu: sub-categories start at the top and line up with the hovered category */
.ae-mega__inner { align-items: start; }
.ae-mega__panel { align-self: stretch; padding-top: 14px; }
