/* Ahmed Bros Oldham - storefront look (loaded after ab-theme.css, so these rules win).
   Deep green + warm cream + amber. Compact product rows, a pinned chip row of categories,
   a five-button tab bar on phones. Red is kept for offers and "out of stock" only.
   Re-points the --ab-* tokens ab-theme.css already uses, so every page picks up the new
   colours; the layout rules below are scoped to what shop.php renders (.ab-rows etc). */

:root{
  --ab-green: #166534;
  --ab-green-dark: #0F4A27;
  --ab-green-accent: #22874F;
  --ab-green-light: #E8F3EA;
  --ab-ink: #1D2A22;
  --ab-muted: #627068;
  --ab-border: #D9E1D6;
  --ab-border-light: #E8EDE4;
  --ab-off-white: #FAF7F0;
  --ab-orange: #F5A524;
  --ab-amber: #F5A524;
  --ab-deal: #C62828;
  --ab-deal-dark: #9E1F1F;
  --ab-font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --ab-font: 'Public Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --ab-stick: 0px;   /* bottom edge of the pinned bars, set by category-icons-strip.php */
}

body{
  font-family: var(--ab-font);
  color: var(--ab-ink);
  background-color: var(--ab-off-white);
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5{
  font-family: var(--ab-font-display);
  letter-spacing: .01em;
}
.btn{ border-radius: 10px; font-weight: 600; }
.btn-primary, .btn-success{ box-shadow: none; }
.form-control, .form-select{ border-color: var(--ab-border); border-radius: 10px; }
.form-control:focus, .form-select:focus{
  border-color: var(--ab-green);
  box-shadow: 0 0 0 .2rem rgba(22,101,52,.15);
}
a{ color: var(--ab-green); }
:focus-visible{ outline: 3px solid var(--ab-amber); outline-offset: 2px; }

/* ---- Order-day note (shop.php) ---- */
.ab-infobar{
  display: flex; align-items: center; gap: 10px;
  background: #fff; color: var(--ab-ink); border: 1px solid var(--ab-border); border-left: 4px solid var(--ab-green);
  border-radius: 12px; padding: 9px 14px; margin: 10px 0;
  font-size: .85rem; font-weight: 600;
}
.ab-infobar i{ color: var(--ab-green); font-size: 1.15rem; }
.ab-infobar.is-closed{ background: #FFF8E8; border-color: #EBD9AE; border-left-color: var(--ab-amber); color: #6B4A00; }
.ab-infobar.is-closed i{ color: #B27400; }

/* ---- Product rows ---- */
.ab-rows{ --bs-gutter-x: .5rem; --bs-gutter-y: .5rem; margin-top: 0; }
.card.ab-prow{
  flex-direction: row; align-items: center; gap: 10px;
  padding: 8px 10px; min-height: 78px; height: 100%;
  background: #fff; border: 1px solid var(--ab-border); border-radius: 14px;
  box-shadow: none; transition: background-color .15s ease, border-color .15s ease;
}
.card.ab-prow.bg-lightx{ background: #E9F4EC !important; border-color: var(--ab-green); }
.ab-prow-img{
  flex: 0 0 60px; width: 60px; height: 60px; border-radius: 10px;
  background: var(--ab-off-white); overflow: hidden;
}
.ab-prow-img img{ width: 100%; height: 100%; object-fit: contain; display: block; padding: 0; max-height: none; }
.ab-prow-main{ flex: 1 1 auto; min-width: 0; }
.ab-prow-name{
  font: 600 .92rem/1.2 var(--ab-font); letter-spacing: 0; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  color: var(--ab-ink);
}
.ab-fav{
  border: 0; background: none; padding: 0 0 0 6px; color: var(--ab-muted);
  font-size: .8rem; line-height: 1; vertical-align: 1px;
}
.ab-prow-meta{ display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; margin-top: 2px; font-size: .8rem; }
.ab-prow-meta:empty{ display: none; }
.ab-prow-price{ font-weight: 700; color: var(--ab-green); }
.ab-pill{
  display: inline-block; border-radius: 999px; padding: 1px 8px;
  font-size: .68rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
}
.ab-pill-top{ background: #FDEFD0; color: #7a4f00; }
.ab-pill-out{ background: #F9DEDE; color: var(--ab-deal-dark); }
.ab-unit-chip{ display: block; margin-top: 1px; font-size: .72rem; color: var(--ab-muted); cursor: pointer; }
.ab-unit-chip:empty{ display: none; }
.ab-unit-chip b{ color: var(--ab-green); }
.ab-skin-select{ margin-top: 4px; max-width: 150px; }

.ab-prow-form{ flex: 0 0 auto; margin: 0; }
.card.ab-prow .ab-stepper{ height: auto; }
.ab-stepper{
  display: flex; flex-wrap: nowrap; align-items: center; width: auto; gap: 0;
  background: var(--ab-off-white); border: 1px solid var(--ab-border); border-radius: 999px; padding: 2px;
}
.ab-step{
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--ab-green); font-size: 1.35rem; font-weight: 700; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center; touch-action: manipulation;
}
.ab-step.button-plus{ background: var(--ab-green); color: #fff; }
.ab-step:active{ transform: scale(.94); }
.ab-qty.quantity-field{
  width: 42px; height: 38px; padding: 0; border: 0; background: transparent;
  text-align: center; font: 700 16px var(--ab-font); color: var(--ab-ink);
  -moz-appearance: textfield; appearance: textfield;
}
.ab-qty::-webkit-outer-spin-button, .ab-qty::-webkit-inner-spin-button{ -webkit-appearance: none; margin: 0; }
.ab-prow .ab-add-btn{ display: none !important; }   /* typing or tapping + / - saves by itself */

/* ---- "Not on your list?" link and the finder page ---- */
.ab-findlink{
  display: flex; align-items: center; gap: 10px; margin: 16px 0 6px; padding: 14px 16px;
  background: #fff; border: 2px dashed var(--ab-green); border-radius: 14px;
  color: var(--ab-green); text-decoration: none; font-size: .95rem; line-height: 1.25;
}
.ab-findlink span{ flex: 1 1 auto; color: var(--ab-ink); }
.ab-findlink i:first-child{ font-size: 1.25rem; }
.ab-findlink:hover{ background: var(--ab-green-light); color: var(--ab-green); }
.ab-search-head{ font-size: .95rem; margin: 4px 0 10px; color: var(--ab-muted); }
.ab-search-head b{ color: var(--ab-green); }
.ab-prow-note{ flex: 0 0 auto; max-width: 120px; font-size: .75rem; color: var(--ab-muted); text-align: right; }
.ab-prow-action{ flex: 0 0 auto; white-space: nowrap; }
.ab-category-find .ab-category-icon-label{ background: var(--ab-amber); border-color: var(--ab-amber); color: var(--ab-ink); }
.ab-find{ max-width: 760px; }
.ab-find-back{ display: inline-block; margin-bottom: 8px; font-size: .9rem; text-decoration: none; }
.ab-find-title{ font-size: 2rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ab-green); margin: 0 0 4px; }
.ab-find-sub{ color: var(--ab-muted); margin-bottom: 14px; }
.ab-find-search{
  display: flex; align-items: center; gap: 10px; background: #fff; border: 2px solid var(--ab-green);
  border-radius: 999px; padding: 4px 16px;
}
.ab-find-search i{ color: var(--ab-green); font-size: 1.1rem; }
.ab-find-search input{ flex: 1; border: 0; outline: 0; background: transparent; height: 46px; font-size: 16px; min-width: 0; }
.ab-find-ask{ margin-top: 22px; padding: 16px; background: #fff; border: 1px solid var(--ab-border); border-radius: 14px; }
#findResults .browse-result-card{ background: #fff; border: 1px solid var(--ab-border); border-radius: 14px; }
#findResults .btn-outline-secondary{ background: var(--ab-green); border-color: var(--ab-green); color: #fff; font-weight: 600; padding: .45rem 1rem; }

/* ---- All items + Jump to (always visible at the left of the pinned bar) ---- */
.ab-allpill, .ab-jumpbtn{
  flex: 0 0 auto; border: 1px solid var(--ab-border); border-radius: 999px; background: #fff;
  padding: 8px 14px; font: 700 .84rem var(--ab-font); color: var(--ab-ink); white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px; touch-action: manipulation;
}
.ab-allpill.active{ background: var(--ab-green); border-color: var(--ab-green); color: #fff; }
.ab-jumpbtn{ border-color: var(--ab-amber); background: #FFF4DB; }
.ab-jumpbtn[aria-expanded="true"]{ background: var(--ab-amber); }
.ab-jump-sheet{
  position: fixed; left: 0; right: 0; top: var(--ab-stick); z-index: 1032;
  max-height: calc(100vh - var(--ab-stick) - 84px); overflow-y: auto;
  background: #fff; padding: 12px; box-shadow: 0 10px 24px rgba(20,40,30,.25); border-bottom: 3px solid var(--ab-amber);
}
.ab-jump-sheet[hidden]{ display: none; }
.ab-jump-title{ font: 700 1.05rem var(--ab-font-display); text-transform: uppercase; letter-spacing: .06em; color: var(--ab-green); margin-bottom: 8px; }
.ab-jump-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ab-jump-item{
  min-height: 46px; padding: 8px 12px; text-align: left; text-decoration: none; cursor: pointer;
  background: var(--ab-off-white); border: 1px solid var(--ab-border); border-radius: 10px;
  font: 600 .88rem/1.2 var(--ab-font); color: var(--ab-ink); display: flex; align-items: center;
}
.ab-jump-item:active{ background: var(--ab-green-light); border-color: var(--ab-green); }

/* ---- Category headings: pinned under the chip row while you scroll that group ---- */
.ab-cat-head{
  position: sticky; top: var(--ab-stick); z-index: 5;
  background: var(--ab-off-white); margin: 14px 0 6px; padding: 6px 2px;
  border-bottom: 2px solid var(--ab-amber);
}
.ab-cat-title{
  margin: 0; font-size: 1.35rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  color: var(--ab-green); display: flex; align-items: center; gap: 8px;
}
.ab-cat-title small{
  font: 700 .72rem var(--ab-font); letter-spacing: 0; background: var(--ab-green); color: #fff;
  border-radius: 999px; padding: 2px 8px;
}
.ab-cat-title.ab-cat-toggle::after{ margin-left: auto; color: var(--ab-muted); }
.category-section.ab-cat-collapsed .ab-rows{ display: none; }

/* ---- Tab bar (phone) ---- */
.ab-tabbar{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1029;
  display: flex; align-items: flex-end; background: #fff; border-top: 1px solid var(--ab-border);
  padding: 4px 4px calc(4px + env(safe-area-inset-bottom));
  box-shadow: 0 -4px 16px rgba(20,40,30,.08);
}
.ab-tab{
  flex: 1 1 0; min-width: 0; min-height: 52px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  color: var(--ab-muted); text-decoration: none; font-size: .68rem; font-weight: 600; touch-action: manipulation;
}
.ab-tab i{ font-size: 1.4rem; line-height: 1; }
.ab-tab.is-on{ color: var(--ab-green); }
.ab-tab.is-on i{ color: var(--ab-green); }
.ab-tab-cart{ color: var(--ab-green); margin-top: -22px; }
.ab-tab-cartbtn{
  position: relative; width: 56px; height: 56px; border-radius: 50%;
  background: var(--ab-green); color: #fff; border: 4px solid #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(22,101,52,.4);
}
.ab-tab-cartbtn i{ font-size: 1.5rem; color: #fff; }
.ab-tab-cartbtn .badge{
  position: absolute; top: -6px; right: -8px; min-width: 22px;
  background: var(--ab-amber); color: var(--ab-ink); font-size: .72rem; border: 2px solid #fff;
}
@media (max-width: 991.98px){
  body{ padding-bottom: calc(78px + env(safe-area-inset-bottom)); }
}

/* ---- Basket panel ---- */
#offcanvasRight .offcanvas-header{ background: var(--ab-green); color: #fff; }
#offcanvasRight .offcanvas-header small, #offcanvasRight .offcanvas-header h5{ color: #fff; font-family: var(--ab-font-display); text-transform: uppercase; letter-spacing: .06em; }
#offcanvasRight .offcanvas-header .btn-close{ filter: invert(1); opacity: 1; }
#offcanvasRight .quantity-field{ font-size: 16px !important; }
#offcanvasRight .button-plus, #offcanvasRight .button-minus{ min-width: 38px; min-height: 38px; }
#cartCheckoutSection .d-flex.justify-content-between.mt-4{ flex-direction: column-reverse; gap: 10px; }
#cartCheckoutSection .d-flex.justify-content-between.mt-4 .btn{ width: 100%; padding: .8rem 1rem; font-size: 1.02rem; }
#cartCheckoutSection button[name="place"]{
  background: var(--ab-green) !important; border-color: var(--ab-green) !important; color: #fff !important;
  position: sticky; bottom: 8px; box-shadow: 0 6px 18px rgba(22,101,52,.35);
}
#cartCheckoutSection button[name="place"]:disabled{ opacity: .7; }
#cartCheckoutSection a.btn-primary{ background: transparent !important; color: var(--ab-green) !important; }

/* ---- Phones ---- */
@media (max-width: 767.98px){
  .form-control, .form-select, input[type="search"], input[type="number"], textarea{ font-size: 16px; }

  /* top bar: logo and search only (favourites, new products and categories live in the chip row and tab bar) */
  .ab-mobile-quickbar{
    height: 52px; padding: 7px 12px; gap: 10px; align-items: center; overflow: visible;
    border-bottom: 0; box-shadow: none; z-index: 1031;
  }
  .ab-mobile-quickbar-heart, .ab-mobile-quickbar .ab-mobile-quickbar-catbtn{ display: none !important; }
  .ab-mobile-quickbar form{ flex: 1 1 auto; min-width: 0; }
  .ab-mobile-quickbar input[type="search"]{
    border-radius: 999px 0 0 999px; background: var(--ab-off-white); height: 38px; padding: 6px 14px;
  }
  .ab-mobile-quickbar button[type="submit"]{ border-radius: 0 999px 999px 0; width: 44px; height: 38px; padding: 0; }
  .ab-mobile-quickbar-logo img{ height: 34px; }
  .ab-quickbar-search-results{ top: 52px; }

  /* the category chip row, pinned under the top bar */
  .ab-category-icons-fixed{ top: 52px; }
  .ab-category-icons-bar-container{ padding: 0; max-width: none; }
  .ab-cat-fixedleft{ padding-left: 12px; }
  .ab-category-icons{ padding-right: 12px; }

  /* one clean list: no repeat of the categories, no sidebar block, no breadcrumb */
  .ab-quickfilter-strip{ display: none !important; }
  .ab-sidebar-card{ display: none !important; }
  .ab-sidebar-card + *{ margin-top: 0; }
  nav[aria-label="breadcrumb"]{ display: none; }
  header.border-bottom{ position: static !important; padding: 0 !important; border: 0 !important; margin: 0 !important; }
  header .d-flex.d-md-none{ padding: 10px 0; }
  section.mt-8{ margin-top: .5rem !important; }
  .container{ padding-left: 12px; padding-right: 12px; }

  .card.ab-prow{ padding: 8px; gap: 9px; }
  .ab-cat-head{ margin-top: 10px; }
  #productsFoundCount{ font-size: .8rem; color: var(--ab-muted); }

}

@media (min-width: 768px){
  .ab-cat-head{ position: static; }
  .card.ab-prow:hover{ border-color: var(--ab-green-accent); }
  .ab-category-icon-circle{ border-color: var(--ab-border); }
  .ab-category-all .ab-category-icon-circle{ background: var(--ab-green); color: #fff; border-color: var(--ab-green); }
}
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; scroll-behavior: auto !important; }
}

/* ======================= Public home page (index.php) ======================= */
.ab-home .ab-home-sec{ margin-top: 34px; }
.ab-home-head{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ab-home-head h2{ margin: 0; font-size: 1.9rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ab-green); }
.ab-home-head a{ font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }

.ab-btn-amber{ background: var(--ab-amber); color: var(--ab-ink); border: 2px solid var(--ab-amber); font-weight: 700; }
.ab-btn-amber:hover{ background: #ffb93d; border-color: #ffb93d; color: var(--ab-ink); }
.ab-btn-ghost{ background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.75); font-weight: 700; }
.ab-btn-ghost:hover{ background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }

/* hero */
.ab-hero{
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: center;
  margin-top: 6px; padding: 38px 44px; border-radius: 26px; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, #14452B 0%, #0E3320 100%);
}
.ab-hero-kicker{
  display: inline-block; background: rgba(255,255,255,.14); border-radius: 999px; padding: 4px 14px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.ab-hero h1{
  color: #fff; margin: 14px 0 12px; font-size: 3.7rem; line-height: .98; text-transform: uppercase; letter-spacing: .02em;
}
.ab-hero h1 em{ color: var(--ab-amber); font-style: normal; }
.ab-hero p{ color: rgba(255,255,255,.88); font-size: 1.05rem; max-width: 520px; margin-bottom: 18px; }
.ab-hero-actions{ display: flex; flex-wrap: wrap; gap: 10px; }
.ab-hero-points{ list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; font-size: .88rem; color: rgba(255,255,255,.9); }
.ab-hero-points i{ color: var(--ab-amber); }
.ab-hero-collage{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; transform: rotate(-3deg); }
.ab-collage-tile{ background: #fff; border-radius: 18px; aspect-ratio: 1 / 1; padding: 8px; box-shadow: 0 10px 24px rgba(0,0,0,.28); }
.ab-collage-tile img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.ab-collage-tile.t1, .ab-collage-tile.t4{ transform: translateY(14px); }

/* category tiles */
.ab-tiles{ display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ab-tile{
  position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; text-decoration: none;
  background: var(--tc, #166534); transition: transform .15s ease, box-shadow .15s ease;
}
.ab-tile{ background: #fff; border: 1px solid var(--ab-border); }
.ab-tile img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; box-sizing: border-box; padding: 10px 10px 38px; }
.ab-tile::after{ content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--tc) 0%, var(--tc) 24%, transparent 64%); }
.ab-tile span{
  z-index: 1; position: absolute; left: 12px; right: 12px; bottom: 10px; color: #fff; font: 700 1.1rem/1.05 var(--ab-font-display);
  text-transform: uppercase; letter-spacing: .05em; text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.ab-tile:hover{ transform: translateY(-3px); box-shadow: 0 10px 20px rgba(20,40,30,.22); }
.ab-tile.c0{ --tc: #166534; } .ab-tile.c1{ --tc: #B45F06; } .ab-tile.c2{ --tc: #B3263A; }
.ab-tile.c3{ --tc: #1F7A99; } .ab-tile.c4{ --tc: #6F8A1F; } .ab-tile.c5{ --tc: #6B4FA0; }
.ab-tile.is-extra{ display: none; }
.ab-tiles.show-all .ab-tile.is-extra{ display: block; }
.ab-more{
  display: block; margin: 12px auto 0; background: #fff; border: 2px solid var(--ab-green); color: var(--ab-green);
  border-radius: 999px; padding: 10px 22px; font-weight: 700;
}
.ab-more:hover{ background: var(--ab-green); color: #fff; }

/* popular */
.ab-popular{ display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.ab-pop{
  flex: 0 0 150px; scroll-snap-align: start; text-decoration: none; background: #fff; border: 1px solid var(--ab-border);
  border-radius: 16px; padding: 10px; display: flex; flex-direction: column; gap: 8px;
}
.ab-pop-img{ background: var(--ab-off-white); border-radius: 12px; aspect-ratio: 1 / 1; display: block; padding: 6px; }
.ab-pop-img img{ width: 100%; height: 100%; object-fit: contain; display: block; }
.ab-pop-name{ font: 600 .82rem/1.2 var(--ab-font); color: var(--ab-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.4em; }
.ab-pop:hover{ border-color: var(--ab-green); }

/* steps */
.ab-steps{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ab-step-card{ background: #fff; border: 1px solid var(--ab-border); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ab-step-card h3{ margin: 0; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ab-ink); }
.ab-step-card p{ margin: 0 0 8px; color: var(--ab-muted); flex: 1 1 auto; }
.ab-step-n{ width: 38px; height: 38px; border-radius: 50%; background: var(--ab-amber); color: var(--ab-ink); display: inline-flex; align-items: center; justify-content: center; font: 700 1.2rem var(--ab-font-display); }

/* where */
.ab-where{ display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.ab-where > div{ background: #fff; border: 1px solid var(--ab-border); border-radius: 18px; padding: 22px; }
.ab-where h2, .ab-where h3{ margin: 0 0 8px; text-transform: uppercase; letter-spacing: .05em; color: var(--ab-green); }
.ab-where h2{ font-size: 1.7rem; } .ab-where h3{ font-size: 1.4rem; }
.ab-where p{ color: var(--ab-muted); }
.ab-areas{ display: flex; flex-wrap: wrap; gap: 8px; }
.ab-areas span{ background: var(--ab-green-light); color: var(--ab-green); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .86rem; }
.ab-areas .ab-area-next{ background: #FFF4DB; color: #7a4f00; }
.ab-who{ background: var(--ab-green-light) !important; border-color: transparent !important; }

/* closing band */
.ab-cta{
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  margin-top: 34px; margin-bottom: 40px; padding: 28px 36px; border-radius: 22px; color: #fff;
  background: linear-gradient(135deg, #14452B, #0E3320);
}
.ab-cta h2{ color: #fff; margin: 0; font-size: 2rem; text-transform: uppercase; letter-spacing: .05em; }
.ab-cta p{ color: rgba(255,255,255,.85); margin: 4px 0 0; }

@media (max-width: 991.98px){
  .ab-hero{ grid-template-columns: 1fr; padding: 28px 22px; }
  .ab-hero h1{ font-size: 2.7rem; }
  .ab-hero-collage{ transform: none; grid-template-columns: repeat(3, 1fr); max-width: 420px; }
  .ab-tiles{ grid-template-columns: repeat(3, 1fr); }
  .ab-where{ grid-template-columns: 1fr; }
}
@media (max-width: 575.98px){
  .ab-home .ab-home-sec{ margin-top: 26px; }
  .ab-home-head h2{ font-size: 1.5rem; }
  .ab-home-head a{ font-size: .8rem; }
  .ab-hero{ border-radius: 20px; padding: 24px 18px; }
  .ab-hero h1{ font-size: 2.25rem; }
  .ab-hero p{ font-size: .95rem; }
  .ab-hero-actions .btn{ flex: 1 1 100%; }
  .ab-hero-collage .t3, .ab-hero-collage .t4, .ab-hero-collage .t5{ display: none; }
  .ab-tiles{ grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .ab-tile{ aspect-ratio: 3 / 2; }
  .ab-pop{ flex-basis: 128px; }
  .ab-tile span{ font-size: .98rem; left: 10px; right: 10px; bottom: 8px; }
  .ab-steps{ grid-template-columns: 1fr; }
  .ab-cta{ padding: 22px 18px; }
  .ab-cta .btn{ flex: 1 1 100%; }
}

/* ---- The pinned category bar: the same compact chip row on phone and desktop ---- */
.ab-category-icons-fixed{ z-index: 1030; background: var(--ab-off-white); box-shadow: 0 3px 8px rgba(20,40,30,.08); border-bottom: 0; }
.ab-category-icons-bar-container{ gap: 0; align-items: flex-start; }
.ab-cat-fixedleft{ display: flex; gap: 6px; flex: 0 0 auto; padding: 8px 8px 10px 0; }
.ab-category-all{ display: none; }
.ab-category-icons{
  gap: 8px; padding: 8px 6px 10px; scroll-snap-type: x proximity; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, #000 94%, transparent); mask-image: linear-gradient(90deg, #000 94%, transparent);
}
.ab-category-icons::-webkit-scrollbar{ display: none; }
.ab-category-icon-item{ width: auto; scroll-snap-align: start; }
.ab-category-icon-circle{ display: none; }
.ab-category-icon-label{
  display: block; -webkit-line-clamp: unset; overflow: visible; white-space: nowrap;
  background: #fff; border: 1px solid var(--ab-border); border-radius: 999px;
  padding: 8px 15px; font-size: .84rem; font-weight: 600; color: var(--ab-ink);
}
.ab-category-icon-item:hover .ab-category-icon-label{ border-color: var(--ab-green); }
.ab-category-icon-item.active .ab-category-icon-label{ background: var(--ab-green); border-color: var(--ab-green); color: #fff; }
.ab-category-icon-item:hover .ab-category-icon-circle{ transform: none; }
.ab-category-icons-spacer{ height: 0 !important; }
.ab-category-icons-cart{ align-self: center; margin-left: 4px; }
body.ab-has-strip header{ position: static !important; }
.ab-prow-name{ font-size: .88rem; -webkit-line-clamp: 3; }

/* ======================= Other public pages ======================= */
.ab-pagehead{
  margin-top: 8px; padding: 30px 36px; border-radius: 24px; color: #fff;
  background: linear-gradient(135deg, #14452B 0%, #0E3320 100%);
}
.ab-pagehead h1{ color: #fff; margin: 12px 0 4px; font-size: 2.8rem; line-height: 1; text-transform: uppercase; letter-spacing: .03em; }
.ab-pagehead p{ color: rgba(255,255,255,.88); margin: 6px 0 0; max-width: 620px; }
.ab-card{
  background: #fff; border: 1px solid var(--ab-border); border-radius: 20px; padding: 28px;
  box-shadow: 0 6px 20px rgba(20,40,30,.06);
}
.ab-card .form-label{ font-weight: 600; font-size: .9rem; color: var(--ab-ink); }
.ab-card .form-control{ min-height: 46px; }
.ab-card textarea.form-control{ min-height: 110px; }
.ab-card .btn-primary{ padding: .7rem 1.4rem; }
.ab-authside{
  padding: 30px 26px; border-radius: 24px; color: #fff; height: 100%;
  background: linear-gradient(135deg, #14452B 0%, #0E3320 100%);
}
.ab-authside h2{ color: #fff; margin: 14px 0 16px; font-size: 2.2rem; line-height: 1.02; text-transform: uppercase; letter-spacing: .03em; }
.ab-authside ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ab-authside li{ color: rgba(255,255,255,.92); }
.ab-authside li i{ color: var(--ab-amber); }
@media (max-width: 575.98px){
  .ab-pagehead{ padding: 22px 18px; border-radius: 20px; }
  .ab-pagehead h1{ font-size: 2.1rem; }
  .ab-card{ padding: 20px 16px; }
}

/* sub-category chips along the top of a category page */
.ab-subchips{ display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.ab-subchip{
  display: inline-block; background: #fff; border: 1px solid var(--ab-border); border-radius: 999px;
  padding: 9px 16px; font-size: .88rem; font-weight: 600; color: var(--ab-ink); text-decoration: none; touch-action: manipulation;
}
.ab-subchip:hover{ border-color: var(--ab-green); color: var(--ab-green); }
.ab-subchip.active{ background: var(--ab-green); border-color: var(--ab-green); color: #fff; }
@media (max-width: 575.98px){ .ab-subchips{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .ab-subchip{ flex: 0 0 auto; } }

/* hero: order-today card (replaces the photo collage) */
.ab-hero-card{ background: #fff; color: var(--ab-ink); border-radius: 22px; padding: 20px 22px; box-shadow: 0 14px 34px rgba(0,0,0,.22); }
.ab-hc-status{ display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: .95rem; padding-bottom: 14px; border-bottom: 1px solid var(--ab-border); margin-bottom: 6px; }
.ab-hc-dot{ width: 11px; height: 11px; border-radius: 50%; background: #1E9E55; box-shadow: 0 0 0 4px rgba(30,158,85,.18); flex: 0 0 auto; }
.ab-hc-status.is-closed .ab-hc-dot{ background: var(--ab-amber); box-shadow: 0 0 0 4px rgba(245,165,36,.25); }
.ab-hc-list{ list-style: none; margin: 0; padding: 0; }
.ab-hc-list li{ display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--ab-border-light); }
.ab-hc-list li:last-child{ border-bottom: 0; padding-bottom: 2px; }
.ab-hc-list i{ font-size: 1.35rem; color: var(--ab-green); flex: 0 0 26px; line-height: 1.2; }
.ab-hc-list b{ display: block; font-size: .95rem; }
.ab-hc-list span{ display: block; color: var(--ab-muted); font-size: .88rem; line-height: 1.35; }

/* hero: rotating promotion box */
.ab-promo-box{ position: relative; border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 14px 34px rgba(0,0,0,.25); height: 400px; }
.ab-ps{
  position: absolute; inset: 0; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.ab-ps.is-on{ opacity: 1; visibility: visible; }
.ab-ps-img{ position: relative; flex: 1 1 auto; min-height: 0; background: var(--ab-off-white); display: flex; align-items: center; justify-content: center; padding: 18px; }
.ab-ps-img img{ max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.ab-ps-img.is-cover{ padding: 0; }
.ab-ps-img.is-cover img{ width: 100%; height: 100%; object-fit: cover; max-height: none; }
.ab-ps-big{ font: 700 4rem/1 var(--ab-font-display); text-transform: uppercase; color: var(--ab-green); text-align: center; }
.ab-ps-badge{
  position: absolute; top: 14px; left: 14px; background: var(--ab-deal); color: #fff; border-radius: 999px;
  padding: 5px 14px; font: 700 .9rem var(--ab-font); letter-spacing: .03em; text-transform: uppercase;
}
.ab-ps-cap{ flex: 0 0 auto; background: #0F4A27; color: #fff; padding: 16px 20px 34px; display: flex; flex-direction: column; gap: 2px; }
.ab-ps-cap b{ font: 700 1.6rem/1.05 var(--ab-font-display); text-transform: uppercase; letter-spacing: .04em; }
.ab-ps-cap span{ color: rgba(255,255,255,.85); font-size: .92rem; }
.ab-ps-cap em{ font-style: normal; color: var(--ab-amber); font-weight: 700; margin-top: 4px; }
.ab-ps-dots{ position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.ab-ps-dots button{ width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.45); }
.ab-ps-dots button.is-on{ background: var(--ab-amber); width: 22px; border-radius: 999px; }
@media (max-width: 991.98px){ .ab-promo-box{ height: 340px; } }
@media (max-width: 575.98px){ .ab-promo-box{ height: 300px; } .ab-ps-big{ font-size: 3rem; } .ab-ps-cap b{ font-size: 1.35rem; } }

/* ======================= Rotating poster banner (home) ======================= */
.ab-poster{ position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 3 / 1; min-height: 330px; background: #0F4A27; margin-top: 6px; }
.ab-slide{
  position: absolute; inset: 0; display: flex; align-items: center; color: #fff; text-decoration: none;
  opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s;
}
.ab-slide.is-on{ opacity: 1; visibility: visible; }
.ab-slide-copy{ position: relative; z-index: 1; padding: 0 84px; max-width: 760px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ab-slide-intro{ background: linear-gradient(135deg, #14452B 0%, #0E3320 100%); }
.ab-slide-intro::before, .ab-slide-intro::after{ content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.07); }
.ab-slide-intro::before{ width: 520px; height: 520px; right: -90px; top: -140px; }
.ab-slide-intro::after{ width: 300px; height: 300px; right: 190px; bottom: -150px; background: rgba(245,165,36,.16); }
.ab-slide-intro h1{ color: #fff; margin: 6px 0 2px; font-size: 3.4rem; line-height: .98; text-transform: uppercase; letter-spacing: .02em; }
.ab-slide-intro h1 em{ color: var(--ab-amber); font-style: normal; }
.ab-slide-intro p{ color: rgba(255,255,255,.9); font-size: 1.05rem; margin: 4px 0 10px; max-width: 520px; }
.ab-slide-img img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ab-slide-cap{
  position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 84px 34px; display: flex; align-items: center; gap: 12px;
  background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}
.ab-slide-cap b{ font: 700 1.9rem/1 var(--ab-font-display); text-transform: uppercase; letter-spacing: .04em; }
.ab-slide-cap i{ font-style: normal; background: var(--ab-deal); border-radius: 999px; padding: 5px 14px; font-weight: 700; font-size: .95rem; text-transform: uppercase; }
.ab-slide-cat{ background: var(--tc, #166534); justify-content: space-between; }
.ab-slide-cat.c0{ --tc: #166534; } .ab-slide-cat.c1{ --tc: #B45F06; } .ab-slide-cat.c2{ --tc: #B3263A; }
.ab-slide-cat.c3{ --tc: #1F7A99; } .ab-slide-cat.c4{ --tc: #6F8A1F; } .ab-slide-cat.c5{ --tc: #6B4FA0; }
.ab-slide-title{ font: 700 4.2rem/.95 var(--ab-font-display); text-transform: uppercase; letter-spacing: .03em; }
.ab-slide-offer{ background: var(--ab-deal); border-radius: 999px; padding: 6px 18px; font: 700 1.4rem var(--ab-font-display); letter-spacing: .05em; text-transform: uppercase; }
.ab-slide-desc{ font-size: 1.05rem; color: rgba(255,255,255,.92); max-width: 460px; }
.ab-slide-cat em{ font-style: normal; font-weight: 700; color: #fff; background: rgba(0,0,0,.22); border-radius: 999px; padding: 8px 20px; margin-top: 8px; }
.ab-slide-photo{
  flex: 0 0 auto; width: 34%; height: 84%; margin-right: 90px; background: #fff; border-radius: 26px; padding: 14px;
  display: flex; align-items: center; justify-content: center; transform: rotate(3deg); box-shadow: 0 16px 36px rgba(0,0,0,.3);
}
.ab-slide-photo img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.ab-poster-arrow{
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 0; background: #fff; color: var(--ab-ink); box-shadow: 0 4px 14px rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center;
}
.ab-poster-arrow.prev{ left: 16px; } .ab-poster-arrow.next{ right: 16px; }
.ab-poster-arrow:hover{ background: var(--ab-amber); }
.ab-poster.single .ab-poster-arrow, .ab-poster.single .ab-ps-dots{ display: none; }
.ab-poster .ab-ps-dots{ bottom: 14px; }
@media (max-width: 991.98px){
  .ab-poster{ aspect-ratio: auto; height: 380px; }
  .ab-slide-copy{ padding: 0 64px; }
  .ab-slide-intro h1{ font-size: 2.7rem; }
  .ab-slide-title{ font-size: 3.2rem; }
  .ab-slide-photo{ width: 38%; margin-right: 64px; }
}
@media (max-width: 575.98px){
  .ab-poster{ height: 420px; border-radius: 20px; }
  .ab-slide-copy{ padding: 0 22px; max-width: none; }
  .ab-slide-intro h1{ font-size: 2.25rem; }
  .ab-slide-intro p{ font-size: .95rem; }
  .ab-slide-intro::before{ width: 320px; height: 320px; right: -120px; top: -100px; }
  .ab-slide-intro::after{ display: none; }
  .ab-slide-cat{ flex-direction: column; justify-content: center; align-items: flex-start; }
  .ab-slide-title{ font-size: 2.6rem; }
  .ab-slide-photo{ position: absolute; right: 14px; bottom: 54px; width: 42%; height: 34%; margin: 0; padding: 8px; border-radius: 18px; }
  .ab-slide-cap{ padding: 30px 22px 40px; } .ab-slide-cap b{ font-size: 1.4rem; }
  .ab-poster-arrow{ width: 36px; height: 36px; } .ab-poster-arrow.prev{ left: 8px; } .ab-poster-arrow.next{ right: 8px; }
}
@media (prefers-reduced-motion: reduce){ .ab-slide{ transition: none; } }

/* ======================= Poster box on the right of the hero ======================= */
.ab-hero .ab-poster{ aspect-ratio: auto; height: 420px; min-height: 0; border-radius: 24px; margin: 0; box-shadow: 0 16px 38px rgba(0,0,0,.3); background: #0F4A27; }
.ab-pst{ display: block; padding: 22px 24px; background: linear-gradient(160deg, var(--tc) 0%, #0b2a18 135%); }
.ab-pst.c0{ --tc: #1E8C48; } .ab-pst.c1{ --tc: #D9730D; } .ab-pst.c2{ --tc: #CC2B45; }
.ab-pst.c3{ --tc: #2390B5; } .ab-pst.c4{ --tc: #7FA024; } .ab-pst.c5{ --tc: #7C5BBA; }
.ab-pst-ring{ position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -90px; bottom: -80px; background: rgba(255,255,255,.14); }
.ab-pst-ring::after{ content: ''; position: absolute; inset: 40px; border-radius: 50%; background: rgba(255,255,255,.12); }
.ab-pst-tag{
  position: relative; display: inline-block; background: #fff; color: var(--ab-ink); border-radius: 999px; padding: 4px 14px;
  font: 700 .74rem var(--ab-font); letter-spacing: .1em; text-transform: uppercase;
}
.ab-pst-title{
  position: relative; display: block; margin-top: 10px; max-width: 72%; color: #fff;
  font: 700 3.3rem/.92 var(--ab-font-display); text-transform: uppercase; letter-spacing: .02em; text-shadow: 0 2px 0 rgba(0,0,0,.18);
}
.ab-pst-desc{ position: relative; display: block; margin-top: 8px; max-width: 70%; color: rgba(255,255,255,.95); font-size: .95rem; line-height: 1.3; }
.ab-pst-burst{
  position: absolute; top: 14px; right: 16px; width: 104px; height: 104px; display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--ab-deal); color: #fff; font: 700 1.5rem/1 var(--ab-font-display); text-transform: uppercase; letter-spacing: .03em; padding: 10px; transform: rotate(10deg);
  clip-path: polygon(50% 0, 61% 12%, 77% 6%, 80% 22%, 96% 25%, 90% 40%, 100% 52%, 88% 62%, 93% 79%, 77% 81%, 70% 96%, 56% 88%, 42% 99%, 34% 84%, 18% 90%, 17% 73%, 2% 66%, 11% 52%, 0 40%, 14% 31%, 11% 15%, 28% 17%, 36% 3%);
}
.ab-pst-pics{ position: absolute; left: 0; right: 0; bottom: 56px; height: 52%; }
.ab-pst-pics .pic{
  position: absolute; bottom: 0; width: 38%; aspect-ratio: 1 / 1; background: #fff; border-radius: 18px; padding: 8px;
  box-shadow: 0 12px 26px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center;
}
.ab-pst-pics .pic img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.ab-pst-pics .p0{ left: 6%; transform: rotate(-8deg) translateY(-6px); z-index: 1; }
.ab-pst-pics .p1{ left: 31%; width: 42%; transform: translateY(8px); z-index: 3; }
.ab-pst-pics .p2{ right: 6%; transform: rotate(8deg) translateY(-12px); z-index: 2; }
.ab-pst-pics.n1 .p0{ left: 28%; width: 46%; transform: rotate(-3deg); }
.ab-pst-pics.n2 .p0{ left: 14%; } .ab-pst-pics.n2 .p1{ left: auto; right: 14%; width: 40%; transform: rotate(5deg); }
.ab-pst-cta{
  position: absolute; left: 22px; bottom: 18px; z-index: 4; background: var(--ab-amber); color: var(--ab-ink); border-radius: 999px;
  padding: 9px 20px; font-weight: 700; font-size: .95rem; box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
.ab-hero .ab-poster-arrow{ width: 34px; height: 34px; top: auto; bottom: 14px; transform: none; font-size: .85rem; }
.ab-hero .ab-poster-arrow.prev{ left: auto; right: 58px; } .ab-hero .ab-poster-arrow.next{ right: 16px; }
.ab-hero .ab-ps-dots{ left: auto; right: 112px; bottom: 28px; }
.ab-hero .ab-slide-cap{ padding: 40px 20px 22px; } .ab-hero .ab-slide-cap b{ font-size: 1.5rem; }
@media (max-width: 991.98px){ .ab-hero .ab-poster{ height: 400px; } .ab-pst-title{ font-size: 3rem; } }
@media (max-width: 575.98px){
  .ab-hero .ab-poster{ height: 380px; }
  .ab-pst-title{ font-size: 2.5rem; max-width: 70%; }
  .ab-pst-burst{ width: 88px; height: 88px; font-size: 1.2rem; }
}

/* ======================= Logged-in account pages (orders, statement, invoices, details, favourites) ======================= */
.ab-acct > section{ margin-top: 18px; }
.ab-acct .border-end{ border-right: 0 !important; }
.ab-acct .col-lg-3 > .pt-10{ padding-top: 0 !important; }
.ab-acctnav{ background: #fff; border: 1px solid var(--ab-border); border-radius: 18px; padding: 10px; gap: 2px; }
.ab-acctnav .nav-link{ color: var(--ab-ink); font-weight: 600; border-radius: 12px; padding: 11px 14px; }
.ab-acctnav .nav-link:hover{ background: var(--ab-green-light); color: var(--ab-green); }
.ab-acctnav .nav-link.active{ background: var(--ab-green); color: #fff; }
.ab-acctnav hr{ margin: 6px 0; opacity: .25; }
@media (min-width: 768px){
  .ab-acct .col-lg-9 > .py-6{
    background: #fff; border: 1px solid var(--ab-border); border-radius: 22px; box-shadow: 0 6px 20px rgba(20,40,30,.06);
    padding: 26px 28px !important;
  }
}
.ab-acct a.d-block.border.rounded-3{ background: #fff; border-radius: 16px !important; border-color: var(--ab-border) !important; box-shadow: none !important; transition: border-color .15s ease, transform .1s ease; }
.ab-acct a.d-block.border.rounded-3:hover{ border-color: var(--ab-green) !important; transform: translateY(-1px); }
.ab-acct .table thead th{ background: var(--ab-green-light); color: var(--ab-green); font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; border-color: var(--ab-border); }
.ab-acct .table{ --bs-table-border-color: var(--ab-border-light); }
.ab-acct h2{ font-size: 1.7rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ab-green); }
.ab-acct .badge.bg-info{ background: #1F7A99 !important; color: #fff !important; }
.ab-acct .alert{ border-radius: 14px; }
@media (max-width: 767.98px){
  .ab-acct .d-md-none.py-4{ padding: 6px 0 !important; }
  .ab-acct .d-md-none.py-4 h3{ display: none; }
}

/* poster box on a phone: the heading is always above the photos and never hidden by them */
.ab-pst-tag, .ab-pst-title, .ab-pst-desc{ z-index: 5; }
.ab-pst-title{ display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 575.98px){
  .ab-hero .ab-poster{ height: 400px; }
  .ab-pst{ padding: 18px 18px; }
  .ab-pst-title{ font-size: 2.1rem; line-height: .95; max-width: 66%; }
  .ab-pst-pics{ height: 36%; bottom: 62px; }
  .ab-pst-ring{ width: 260px; height: 260px; right: -70px; bottom: -60px; }
  .ab-pst-burst{ width: 80px; height: 80px; font-size: 1.1rem; top: 10px; right: 10px; }
}
.ab-pst-pics{ height: 46%; }
.ab-pst-title.is-long{ font-size: 2.5rem; }
@media (max-width: 575.98px){ .ab-pst-title.is-long{ font-size: 1.85rem; } }

/* Sign in / Sign up on a phone: a tall, roomy card instead of a small box */
@media (max-width: 767.98px){
  .row.justify-content-center.align-items-center > .ab-card{
    min-height: calc(100vh - 150px); margin-top: 8px; padding: 30px 22px 34px; border-radius: 24px;
    display: flex; flex-direction: column; justify-content: center;
  }
  .row.justify-content-center.align-items-center > .ab-card h1{ font-size: 2.1rem; margin-bottom: 6px !important; }
  .row.justify-content-center.align-items-center > .ab-card .mb-lg-9{ margin-bottom: 1.6rem !important; }
  .row.justify-content-center.align-items-center > .ab-card .form-control{ min-height: 56px; font-size: 16px; }
  .row.justify-content-center.align-items-center > .ab-card .row.g-3{ --bs-gutter-y: 1rem; }
  .row.justify-content-center.align-items-center > .ab-card .btn{ min-height: 54px; font-size: 1.05rem; }
}

/* ---- Logged-in chrome: header, nav, footer ---- */
footer.footer.bg-dark{ background: #0E3320 !important; }
.ab-footlinks a{ color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; }
.ab-footlinks a:hover{ color: var(--ab-amber); }
header .form-control.rounded{ border-radius: 999px !important; min-height: 46px; border-color: var(--ab-border); padding-left: 18px; }
header .btn.border.rounded-end{ border-radius: 0 999px 999px 0 !important; border-color: var(--ab-border) !important; }
header .btn-dark, header .btn-outline-dark{ border-radius: 999px; padding: .55rem 1.3rem; }
header .btn-dark{ background: var(--ab-green) !important; border-color: var(--ab-green) !important; }
header .ab-cart-count{ background: var(--ab-amber); color: var(--ab-ink); border-radius: 999px; padding: 1px 7px; font-weight: 700; font-size: .78rem; }
.navbar-default .nav-link{ font-weight: 600; color: var(--ab-ink); }
.navbar-default .nav-link:hover{ color: var(--ab-green); }

/* ---- Wider pages on big screens ---- */
@media (min-width: 1400px){ .container{ max-width: 1540px; } }
@media (min-width: 1700px){
  .container{ max-width: 1700px; }
  .ab-rows.row-cols-md-2 > *{ width: 33.3333%; }
}

/* ---- Log out always in sight ---- */
.ab-mobile-quickbar-logout{
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  color: var(--ab-green); text-decoration: none; font-size: .6rem; font-weight: 700; line-height: 1.05; padding: 0 2px;
}
.ab-mobile-quickbar-logout i{ font-size: 1.25rem; }
@media (min-width: 768px){ .ab-mobile-quickbar-logout{ display: none; } }

/* sub-categories inside a big category (shop.php family sections) */
.ab-famchips{ margin: 4px 0 10px; }
button.ab-subchip{ font-family: inherit; cursor: pointer; }
.ab-subchip small{ opacity: .7; font-weight: 600; }
.ab-subchip.active small{ opacity: .85; }
.ab-fam-group{ margin-bottom: 12px; }
.ab-sub-title{ font: 700 1rem var(--ab-font-display); letter-spacing: .06em; text-transform: uppercase; color: var(--ab-muted); margin: 8px 2px 6px; }
.category-section.ab-cat-collapsed .ab-famchips, .category-section.ab-cat-collapsed .ab-fam-group{ display: none; }
@media (max-width: 575.98px){ .ab-famchips{ flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } .ab-famchips .ab-subchip{ flex: 0 0 auto; } }

/* Poster box: text on top, photos in the space that is left underneath - they can never sit over the heading (any screen size) */
.ab-hero .ab-pst{ display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.ab-hero .ab-pst-title{ -webkit-line-clamp: 2; }
.ab-hero .ab-pst-desc{ display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ab-hero .ab-pst-pics{
  position: relative; left: auto; right: auto; bottom: auto; flex: 1 1 auto; min-height: 120px; height: auto;
  width: calc(100% + 48px); margin: 12px -24px 52px; z-index: 1;
}
.ab-hero .ab-pst-pics .pic{ top: 26px; bottom: 6px; height: auto; width: auto; max-width: 40%; aspect-ratio: 1 / 1; }
.ab-hero .ab-pst-pics .p1{ width: auto; left: 50%; margin-left: -20%; }
.ab-hero .ab-pst-pics .p0{ left: 8%; } .ab-hero .ab-pst-pics .p2{ right: 8%; }
.ab-hero .ab-pst-pics.n1 .p0{ left: 50%; margin-left: -20%; width: auto; }
.ab-hero .ab-pst-pics.n2 .p0{ left: 16%; } .ab-hero .ab-pst-pics.n2 .p1{ left: auto; right: 16%; margin-left: 0; width: auto; }
@media (max-width: 575.98px){
  .ab-hero .ab-pst-pics{ width: calc(100% + 36px); margin: 10px -18px 56px; }
}

/* Sidebar "Jump to a category" */
.ab-sbjump-btn{
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 12px;
  background: var(--ab-green); color: #fff; border: 0; border-radius: 10px; font: 700 .9rem var(--ab-font); text-align: left;
}
.ab-sbjump-btn:hover{ background: #0f4a27; }
.ab-sbjump-panel{ margin-top: 8px; }
.ab-sbjump-list{ max-height: 55vh; overflow-y: auto; border: 1px solid var(--ab-border); border-radius: 10px; background: #fff; }
.ab-sbjump-item{ display: block; width: 100%; text-align: left; padding: 8px 12px; background: none; border: 0; border-bottom: 1px solid var(--ab-border-light); font-size: .88rem; color: var(--ab-ink); }
.ab-sbjump-item:last-child{ border-bottom: 0; }
.ab-sbjump-item:hover{ background: var(--ab-green-light); color: var(--ab-green); }

/* "By KG - Change": the Change button is red so the customer can see they are able to switch unit */
.ab-unit-chip{ font-size: .8rem; }
.ab-unit-chip b{ color: var(--ab-ink); }
.ab-unit-change{
  display: inline-block; margin-left: 6px; padding: 1px 10px; border-radius: 999px; background: var(--ab-red, #C62828); color: #fff;
  font-weight: 700; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; vertical-align: 1px; cursor: pointer;
}
.ab-unit-chip:hover .ab-unit-change{ background: #a61f1f; }
.ab-unit-note{ display: block; margin-top: 2px; color: var(--ab-red, #C62828); font-size: .7rem; line-height: 1.2; }

/* Cart totals strip: how many items and the total quantity */
.ab-cart-totals{
  position: sticky; top: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: 4px 18px; align-items: baseline;
  background: var(--ab-green-light); border: 1px solid var(--ab-border); border-radius: 12px; padding: 8px 12px; margin-bottom: 6px; font-size: .9rem; color: var(--ab-ink);
}
.ab-cart-totals b{ font: 700 1.4rem var(--ab-font-display); color: var(--ab-green); letter-spacing: .02em; }
.ab-cart-totals .ab-ct-val{ color: var(--ab-muted); font-size: .76rem; }
