:root {
  --altagwa-primary: #164d46;
  --altagwa-primary-dark: #0d3833;
  --altagwa-secondary: #b86342;
  --altagwa-accent: #e6b85c;
  --altagwa-ink: #17211f;
  --altagwa-muted: #5f6d69;
  --altagwa-surface: #ffffff;
  --altagwa-soft: #f5f7f6;
  --altagwa-border: #dfe7e4;
  --altagwa-radius-sm: 8px;
  --altagwa-radius-md: 14px;
  --altagwa-shadow: 0 10px 30px rgba(13, 56, 51, 0.12);
}

@media (max-width: 900px) {
  #altagwa-chat-root .altagwa-chat-launcher {
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  #altagwa-chat-root .altagwa-chat-launcher-text,
  #altagwa-chat-root .altagwa-chat-dot {
    display: none;
  }
}

body.altagwa-storefront-active {
  padding-top: 0 !important;
}

.altagwa-storefront-active.home article > .entry-header {
  display: none !important;
}

.altagwa-storefront-active .bhfb-header,
.altagwa-storefront-active .site-header,
.altagwa-storefront-active .bhfb-footer,
.altagwa-storefront-active footer.site-footer {
  display: none !important;
}

.altagwa-header,
.altagwa-footer {
  box-sizing: border-box;
  color: var(--altagwa-ink);
  font-family: Inter, "Noto Sans Arabic", "Segoe UI", Arial, sans-serif;
}

.altagwa-header *,
.altagwa-footer * {
  box-sizing: border-box;
}

.altagwa-header {
  position: sticky;
  top: 0;
  z-index: 999;
  isolation: isolate;
  width: 100%;
  background: var(--altagwa-surface);
  border-bottom: 1px solid var(--altagwa-border);
  box-shadow: 0 5px 18px rgba(13, 56, 51, 0.08);
}

/* Keep scrolling product and catalogue content visually behind the complete
   sticky header. The guard extends slightly below the header without clipping
   search suggestions or the mobile navigation. */
.altagwa-header::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-inline: 0;
  bottom: -7px;
  height: 8px;
  background: var(--altagwa-surface);
  border-bottom: 1px solid var(--altagwa-border);
  box-shadow: 0 6px 12px rgba(13, 56, 51, 0.07);
  pointer-events: none;
}

.altagwa-header__promise,
.altagwa-header__main,
.altagwa-header__nav-wrap {
  position: relative;
  z-index: 2;
}

.altagwa-header__main,
.altagwa-header__nav-wrap {
  background: var(--altagwa-surface);
}

.altagwa-search-suggestions,
.altagwa-header.is-menu-open .altagwa-nav {
  z-index: 3;
}

.admin-bar .altagwa-header {
  top: 32px;
}

.altagwa-header__promise {
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px 20px;
  color: #fff;
  background: var(--altagwa-primary-dark);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  text-align: center;
}

.altagwa-header__main,
.altagwa-header__nav-wrap,
.altagwa-footer__grid,
.altagwa-footer__bottom {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

.altagwa-header__main {
  min-height: 82px;
  display: grid;
  grid-template-columns: minmax(235px, 310px) minmax(280px, 1fr) auto;
  gap: 26px;
  align-items: center;
  padding-block: 12px;
}

.altagwa-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--altagwa-ink) !important;
  text-decoration: none !important;
}

.altagwa-brand__logo,
.altagwa-brand__fallback {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  object-fit: contain;
}

.altagwa-brand__fallback {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--altagwa-primary);
  color: #fff;
  font-weight: 800;
}

.altagwa-brand__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.altagwa-brand__copy strong {
  color: var(--altagwa-primary-dark);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .02em;
}

.altagwa-brand__copy small {
  max-width: 225px;
  margin-top: 3px;
  color: var(--altagwa-muted);
  font-size: 11px;
  white-space: normal;
}

.altagwa-search {
  width: 100%;
  max-width: 760px;
  min-width: 0;
  height: 54px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  justify-self: center;
  gap: 4px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid #cfdad6;
  border-radius: 17px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfa 100%);
  box-shadow: 0 8px 24px rgba(13, 56, 51, .09), inset 0 1px 0 rgba(255, 255, 255, .8);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.altagwa-search:focus-within {
  border-color: var(--altagwa-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(22, 77, 70, .12), 0 12px 30px rgba(13, 56, 51, .13);
}

.altagwa-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 0 !important;
  align-self: stretch;
  height: 44px;
  margin: 0;
  padding: 0 15px;
  border: 0;
  border-radius: 12px;
  outline: 0;
  box-shadow: none !important;
  background: transparent;
  color: var(--altagwa-ink);
  font-size: 15px;
  line-height: 1;
}

.altagwa-search input[type="search"]::placeholder {
  color: #7a8783;
  opacity: 1;
}

.altagwa-search button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--altagwa-primary) 0%, var(--altagwa-primary-dark) 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 5px 13px rgba(13, 56, 51, .23);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.altagwa-search button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 7px 16px rgba(13, 56, 51, .27);
}

.altagwa-search button:focus-visible {
  outline: 3px solid rgba(230, 184, 92, .65);
  outline-offset: 2px;
}

.altagwa-header svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.altagwa-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.altagwa-action {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 7px 9px;
  border-radius: var(--altagwa-radius-sm);
  color: var(--altagwa-ink) !important;
  text-decoration: none !important;
}

.altagwa-action:hover,
.altagwa-action:focus-visible {
  background: var(--altagwa-soft);
}

.altagwa-action span:not(.altagwa-cart-count) {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.altagwa-action small {
  max-width: 100px;
  overflow: hidden;
  color: var(--altagwa-muted);
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.altagwa-action strong {
  font-size: 12px;
  white-space: nowrap;
}

.altagwa-cart-count {
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  position: absolute;
  inset-block-start: 1px;
  inset-inline-start: 23px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--altagwa-secondary);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.altagwa-header__nav-wrap {
  min-height: 45px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--altagwa-border);
}

.altagwa-nav {
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}

.altagwa-nav::-webkit-scrollbar {
  display: none;
}

.altagwa-nav > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 7px;
  color: var(--altagwa-ink) !important;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none !important;
}

.altagwa-nav > a:hover,
.altagwa-nav > a:focus-visible {
  background: var(--altagwa-soft);
  color: var(--altagwa-primary) !important;
}

.altagwa-nav__categories {
  margin-inline-end: 5px;
  background: var(--altagwa-primary) !important;
  color: #fff !important;
}

.altagwa-nav__categories:hover,
.altagwa-nav__categories:focus-visible {
  background: var(--altagwa-primary-dark) !important;
  color: #fff !important;
}

.altagwa-nav > .altagwa-nav__product-category {
  min-height: 34px;
  margin-block: 5px;
  padding-inline: 11px;
  border: 1px solid var(--altagwa-border);
  border-radius: 999px;
  background: var(--altagwa-soft);
  font-size: 12px;
  white-space: nowrap;
}

.altagwa-nav__contact {
  color: var(--altagwa-secondary) !important;
}

.altagwa-nav__contact svg {
  width: 18px;
  height: 18px;
}

.altagwa-languages {
  display: flex;
  align-items: center;
  gap: 4px;
  direction: ltr;
}

.altagwa-languages a {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--altagwa-muted) !important;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
}

.altagwa-languages a:hover,
.altagwa-languages a:focus-visible {
  border-color: var(--altagwa-border);
  color: var(--altagwa-primary) !important;
}

.altagwa-languages a[aria-current="page"] {
  background: var(--altagwa-secondary);
  color: #fff !important;
}

.altagwa-nav-toggle {
  display: none;
}

.altagwa-footer {
  margin-top: 72px;
  background: var(--altagwa-primary-dark);
  color: #fff;
}

.altagwa-footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.55fr) repeat(3, minmax(150px, 1fr));
  gap: 38px;
  padding-block: 58px 44px;
}

.altagwa-payment-chip {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 11px;
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
}

.altagwa-payment-chip > span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: var(--altagwa-primary-dark);
  background: var(--altagwa-accent);
  border-radius: 7px;
  font-weight: 900;
}

.altagwa-footer .altagwa-brand {
  color: #fff !important;
}

.altagwa-footer .altagwa-brand__copy strong,
.altagwa-footer .altagwa-brand__copy small {
  color: #fff;
}

.altagwa-footer__brand > p {
  max-width: 520px;
  margin-top: 22px;
  color: rgba(255,255,255,.76);
  line-height: 1.75;
}

.altagwa-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 14px;
  font-style: normal;
}

.altagwa-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 15px;
}

.altagwa-footer__grid > div:not(.altagwa-footer__brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.altagwa-footer a {
  color: rgba(255,255,255,.78) !important;
  font-size: 13px;
  text-decoration: none !important;
}

.altagwa-footer a:hover,
.altagwa-footer a:focus-visible {
  color: var(--altagwa-accent) !important;
}

.altagwa-footer__placeholder {
  margin: 7px 0 0;
  color: rgba(255,255,255,.55);
  font-size: 11px;
}

.altagwa-footer__bottom {
  padding-block: 18px;
  border-top: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.66);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1040px) {
  .altagwa-header__main {
    grid-template-columns: minmax(210px, 250px) minmax(220px, 1fr) auto;
    gap: 14px;
  }

  .altagwa-action span:not(.altagwa-cart-count),
  .altagwa-action > strong {
    display: none;
  }

  .altagwa-action {
    width: 42px;
    justify-content: center;
    padding-inline: 6px;
  }

  .altagwa-nav > a {
    padding-inline: 10px;
  }
}

@media (max-width: 782px) {
  .admin-bar .altagwa-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .altagwa-header__promise {
    min-height: 28px;
    padding-inline: 12px;
    font-size: 10px;
  }

  .altagwa-header__main,
  .altagwa-header__nav-wrap,
  .altagwa-footer__grid,
  .altagwa-footer__bottom {
    width: min(100% - 22px, 1440px);
  }

  .altagwa-header__main {
    min-height: auto;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 8px;
    padding-block: 9px 10px;
  }

  .altagwa-nav-toggle {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--altagwa-border);
    border-radius: var(--altagwa-radius-sm);
    background: #fff;
    color: var(--altagwa-primary);
  }

  .altagwa-brand {
    gap: 7px;
  }

  .altagwa-brand__logo,
  .altagwa-brand__fallback {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .altagwa-brand__copy strong {
    font-size: 13px;
  }

  .altagwa-brand__copy small {
    max-width: 150px;
    font-size: 8.5px;
  }

  .altagwa-actions {
    gap: 1px;
  }

  .altagwa-action {
    width: 42px;
    min-height: 42px;
  }

  .altagwa-search {
    height: 48px;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 42px;
    gap: 3px;
    padding: 3px;
    border-radius: 14px;
  }

  .altagwa-search input[type="search"] {
    height: 40px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .altagwa-search button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .altagwa-header__nav-wrap {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    position: relative;
    border-top: 0;
  }

  .altagwa-nav {
    width: 100%;
    max-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    overflow: hidden;
    border-top: 0 solid var(--altagwa-border);
    opacity: 0;
    visibility: hidden;
    transition: max-height .24s ease, opacity .18s ease, padding .24s ease;
  }

  .altagwa-header.is-menu-open .altagwa-nav {
    max-height: 420px;
    padding-block: 8px;
    border-top-width: 1px;
    opacity: 1;
    visibility: visible;
  }

  .altagwa-nav > a {
    min-height: 42px;
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .altagwa-nav__categories {
    margin: 0;
  }

  .altagwa-languages {
    position: static;
    inset: auto;
    justify-self: end;
    margin-block: 4px 5px;
    transform: none;
  }

  .altagwa-languages a {
    min-width: 30px;
    height: 27px;
    font-size: 9.5px;
  }

  .altagwa-footer {
    margin-top: 48px;
  }

  .altagwa-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-block: 42px 32px;
  }
}

/* Phase 42: compact one-piece commerce header and screen-width product rhythm. */
body.altagwa-storefront-active .altagwa-header {
  overflow: visible !important;
}

body.altagwa-storefront-active .altagwa-header__main {
  width: min(1440px, calc(100% - 16px)) !important;
  min-height: 64px !important;
  grid-template-columns: auto minmax(260px, 1fr) 38px 72px !important;
  grid-template-areas: "actions tools toggle brand" !important;
  gap: 8px !important;
  padding: 6px 0 !important;
  position: relative !important;
  z-index: 8 !important;
}

body.altagwa-storefront-active .altagwa-nav-toggle {
  grid-area: toggle !important;
  display: grid !important;
  place-items: center !important;
  justify-self: center !important;
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--altagwa-primary) !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-nav-toggle svg {
  width: 20px !important;
  height: 20px !important;
}

body.altagwa-storefront-active .altagwa-header__tools {
  grid-template-columns: auto auto minmax(0, 1fr) !important;
  grid-template-areas: "languages shipping search" !important;
  gap: 5px !important;
  overflow: visible !important;
}

body.altagwa-storefront-active .altagwa-search {
  height: 40px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 12px !important;
}

body.altagwa-storefront-active .altagwa-search > input[type="search"] {
  height: 32px !important;
  min-height: 32px !important;
  padding-inline: 9px !important;
  font-size: 12.5px !important;
}

body.altagwa-storefront-active .altagwa-search > button {
  width: 28px !important;
  height: 32px !important;
  border-radius: 9px !important;
}

body.altagwa-storefront-active .altagwa-search > button svg {
  width: 16px !important;
  height: 16px !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-language-menu {
  grid-area: languages !important;
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
  margin: 0 !important;
}

body.altagwa-storefront-active .altagwa-language-toggle {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  padding: 0 !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--altagwa-primary) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-language-toggle svg {
  width: 8px !important;
  height: 8px !important;
}

body.altagwa-storefront-active .altagwa-language-options[hidden] {
  display: none !important;
}

body.altagwa-storefront-active .altagwa-language-options:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  position: absolute !important;
  inset-block-start: calc(100% + 7px) !important;
  inset-inline-start: 50% !important;
  z-index: 1500 !important;
  transform: translateX(-50%) !important;
  padding: 5px !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(13, 56, 51, .16) !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-language-options a {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f3f7f5 !important;
  color: var(--altagwa-primary) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.altagwa-storefront-active .altagwa-shipping-shortcuts {
  grid-area: shipping !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  direction: ltr !important;
}

body.altagwa-storefront-active .altagwa-shipping-shortcut {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--altagwa-primary) !important;
  text-decoration: none !important;
}

body.altagwa-storefront-active .altagwa-shipping-shortcut:hover,
body.altagwa-storefront-active .altagwa-shipping-shortcut:focus-visible,
body.altagwa-storefront-active .altagwa-language-toggle:hover,
body.altagwa-storefront-active .altagwa-language-toggle:focus-visible,
body.altagwa-storefront-active .altagwa-nav-toggle:hover,
body.altagwa-storefront-active .altagwa-nav-toggle:focus-visible {
  border-color: var(--altagwa-primary) !important;
  background: #eef5f2 !important;
}

body.altagwa-storefront-active .altagwa-shipping-shortcut svg {
  width: 16px !important;
  height: 16px !important;
}

body.altagwa-storefront-active .altagwa-header__nav-wrap {
  width: min(292px, calc(100vw - 16px)) !important;
  min-height: 0 !important;
  display: block !important;
  position: absolute !important;
  inset-block-start: calc(100% - 1px) !important;
  inset-inline: auto max(8px, calc((100% - 1440px) / 2 + 80px)) !important;
  z-index: 1400 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-nav {
  width: 100% !important;
  max-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(-5px) !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 16px 34px rgba(13, 56, 51, .18) !important;
  transition: max-height .2s ease, opacity .16s ease, transform .16s ease, padding .16s ease !important;
}

body.altagwa-storefront-active .altagwa-header.is-menu-open .altagwa-header__nav-wrap {
  pointer-events: auto !important;
}

body.altagwa-storefront-active .altagwa-header.is-menu-open .altagwa-nav {
  max-height: 420px !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  padding: 7px !important;
  border-color: #d7e1dd !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-nav > a {
  width: 100% !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  padding: 0 12px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: start !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-nav > a:hover,
body.altagwa-storefront-active .altagwa-header .altagwa-nav > a:focus-visible {
  background: #eef5f2 !important;
}

body.altagwa-storefront-active .altagwa-search-suggestions {
  inset-block-start: calc(100% + 6px) !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: auto !important;
}

body.altagwa-storefront-active.altagwa-shop-page #primary,
body.altagwa-storefront-active.altagwa-shop-page #main,
body.altagwa-storefront-active.altagwa-shop-page .site-main,
body.altagwa-storefront-active.altagwa-shop-page .content-area,
body.altagwa-storefront-active.altagwa-shop-page .woocommerce,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-shell,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-translated-shop,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-products,
body.altagwa-storefront-active.altagwa-shop-page ul.products,
body.altagwa-storefront-active.altagwa-home-page #primary,
body.altagwa-storefront-active.altagwa-home-page #main,
body.altagwa-storefront-active.altagwa-home-page .site-main,
body.altagwa-storefront-active.altagwa-home-page .content-area,
body.altagwa-storefront-active.altagwa-home-page article,
body.altagwa-storefront-active.altagwa-home-page .entry-content,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home-section,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home-products {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

body.altagwa-storefront-active.altagwa-shop-page #content > .ast-container,
body.altagwa-storefront-active.altagwa-shop-page #content > .container,
body.altagwa-storefront-active.altagwa-shop-page .content-wrapper,
body.altagwa-storefront-active.altagwa-home-page #content > .ast-container,
body.altagwa-storefront-active.altagwa-home-page #content > .container,
body.altagwa-storefront-active.altagwa-home-page .content-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: clamp(8px, 1vw, 16px) !important;
}

body.altagwa-storefront-active.altagwa-home-page .entry-content,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-shell,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-translated-shop {
  padding-inline: 0 !important;
}

body.altagwa-storefront-active .altagwa-home-product__image,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
  border: 1px solid #e0e7e4 !important;
  border-radius: 10px !important;
  background: #f7f9f8 !important;
}

body.altagwa-storefront-active #altagwa-air-shipping,
body.altagwa-storefront-active #altagwa-sea-shipping {
  scroll-margin-top: 86px !important;
}

@media (min-width: 783px) {
  body.admin-bar.altagwa-storefront-active .altagwa-header {
    top: 32px !important;
    margin-top: -32px !important;
    margin-bottom: 32px !important;
  }

  body.admin-bar.altagwa-storefront-active.altagwa-shop-page #content,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .site-content,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .content-wrapper,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page #primary,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .content-area,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .site-main {
    padding-top: 6px !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-header__main {
    width: calc(100% - 12px) !important;
    grid-template-columns: auto 36px 58px !important;
    grid-template-rows: 38px 38px !important;
    grid-template-areas: "actions toggle brand" "tools tools tools" !important;
    gap: 5px !important;
    padding: 4px 0 !important;
  }

  body.altagwa-storefront-active .altagwa-header__tools {
    grid-template-columns: 29px auto minmax(0, 1fr) !important;
    grid-template-areas: "languages shipping search" !important;
    gap: 4px !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-language-menu,
  body.altagwa-storefront-active .altagwa-language-toggle {
    width: 29px !important;
    height: 29px !important;
    min-height: 29px !important;
  }

  body.altagwa-storefront-active .altagwa-language-toggle {
    font-size: 8px !important;
  }

  body.altagwa-storefront-active .altagwa-shipping-shortcuts {
    gap: 3px !important;
  }

  body.altagwa-storefront-active .altagwa-shipping-shortcut {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
  }

  body.altagwa-storefront-active .altagwa-shipping-shortcut svg {
    width: 14px !important;
    height: 14px !important;
  }

  body.altagwa-storefront-active .altagwa-search {
    height: 36px !important;
    grid-template-columns: 27px minmax(0, 1fr) !important;
  }

  body.altagwa-storefront-active .altagwa-search > input[type="search"] {
    height: 28px !important;
    min-height: 28px !important;
    font-size: 11px !important;
  }

  body.altagwa-storefront-active .altagwa-search > button {
    width: 27px !important;
    height: 28px !important;
  }

  body.altagwa-storefront-active .altagwa-header__nav-wrap {
    width: calc(100vw - 16px) !important;
    inset-inline: auto 8px !important;
  }

  body.altagwa-storefront-active.altagwa-shop-page #content > .ast-container,
  body.altagwa-storefront-active.altagwa-shop-page #content > .container,
  body.altagwa-storefront-active.altagwa-shop-page .content-wrapper,
  body.altagwa-storefront-active.altagwa-home-page #content > .ast-container,
  body.altagwa-storefront-active.altagwa-home-page #content > .container,
  body.altagwa-storefront-active.altagwa-home-page .content-wrapper {
    padding-inline: 5px !important;
  }
}

/* Version 1.16.6: never keep a previous product visible while another direct
   product URL is loading. The destination page removes this state on pageshow. */
html.altagwa-product-navigation-pending body.altagwa-storefront-active #primary {
  opacity: 0 !important;
  pointer-events: none !important;
}

html.altagwa-product-navigation-pending body.altagwa-storefront-active {
  cursor: progress !important;
}

/* Phase 25: compact marketplace cards inspired by modern catalogue layouts. */
body.altagwa-storefront-active .altagwa-home-product,
body.altagwa-storefront-active ul.products li.product {
  gap: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product:hover,
body.altagwa-storefront-active ul.products li.product:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product__image,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
  overflow: hidden !important;
  padding: 10px !important;
  background: #f5f5f5 !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product__image img,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap img,
body.altagwa-storefront-active .altagwa-home-product:hover .altagwa-home-product__image img,
body.altagwa-storefront-active ul.products li.product:hover .loop-image-wrap img {
  transform: none !important;
  transition: none !important;
}

body.altagwa-storefront-active .altagwa-home-product__body {
  min-height: 158px !important;
  margin-top: 0 !important;
  padding: 9px 4px 3px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product h3,
body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 4px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

body.altagwa-storefront-active .altagwa-home-product h3 a {
  min-height: 2.7em !important;
}

body.altagwa-storefront-active .altagwa-home-product__stock {
  margin: 2px 0 !important;
  font-size: 10.5px !important;
}

body.altagwa-storefront-active .altagwa-home-product__price,
body.altagwa-storefront-active ul.products li.product .price {
  margin: 4px 0 7px !important;
  color: #171717 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

body.altagwa-storefront-active .altagwa-home-product__button.button,
body.altagwa-storefront-active .altagwa-home-product__unavailable,
body.altagwa-storefront-active ul.products li.product .button {
  min-height: 36px !important;
  padding: 7px 10px !important;
  border-radius: 18px !important;
  font-size: 12px !important;
}

body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title,
body.altagwa-storefront-active ul.products li.product .price,
body.altagwa-storefront-active ul.products li.product .product-category,
body.altagwa-storefront-active ul.products li.product .product-loop-meta,
body.altagwa-storefront-active ul.products li.product .loop-button-wrap {
  margin-inline: 4px !important;
}

body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  margin-top: 9px !important;
}

/* Product pages: no magnifier, zoom cursor or full-size image opening. */
body.single-product .woocommerce-product-gallery__trigger {
  display: none !important;
}

body.single-product .woocommerce-product-gallery__image > a {
  pointer-events: none !important;
  cursor: default !important;
}

body.single-product .woocommerce-product-gallery__image img {
  cursor: default !important;
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-product__image,
  body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
    padding: 7px !important;
    border-radius: 8px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__body {
    min-height: 144px !important;
    padding: 7px 2px 2px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product h3,
  body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
    font-size: 11.5px !important;
    line-height: 1.32 !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__price,
  body.altagwa-storefront-active ul.products li.product .price {
    margin-bottom: 6px !important;
    font-size: 16px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__button.button,
  body.altagwa-storefront-active .altagwa-home-product__unavailable,
  body.altagwa-storefront-active ul.products li.product .button {
    min-height: 34px !important;
    padding: 6px !important;
    border-radius: 17px !important;
    font-size: 10.5px !important;
  }
}

/* Phase 43 final cascade: the compact header is the only active navigation layout. */
body.altagwa-storefront-active .altagwa-header__main {
  width: min(1440px, calc(100% - 16px)) !important;
  min-height: 64px !important;
  grid-template-columns: auto minmax(260px, 1fr) 38px 72px !important;
  grid-template-areas: "actions tools toggle brand" !important;
  gap: 8px !important;
  padding: 6px 0 !important;
  position: relative !important;
  z-index: 8 !important;
}

body.altagwa-storefront-active .altagwa-nav-toggle {
  grid-area: toggle !important;
  display: grid !important;
  place-items: center !important;
  justify-self: center !important;
  width: 36px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 0 !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 11px !important;
  background: #fff !important;
  color: var(--altagwa-primary) !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-nav-toggle svg {
  width: 20px !important;
  height: 20px !important;
}

body.altagwa-storefront-active .altagwa-header__tools {
  grid-template-columns: auto auto minmax(0, 1fr) !important;
  grid-template-areas: "languages shipping search" !important;
  gap: 5px !important;
  overflow: visible !important;
}

body.altagwa-storefront-active .altagwa-search {
  height: 40px !important;
  grid-template-columns: 28px minmax(0, 1fr) !important;
  gap: 2px !important;
  padding: 3px !important;
  border-radius: 12px !important;
}

body.altagwa-storefront-active .altagwa-search > input[type="search"] {
  height: 32px !important;
  min-height: 32px !important;
  padding-inline: 9px !important;
  font-size: 12.5px !important;
}

body.altagwa-storefront-active .altagwa-search > button {
  width: 28px !important;
  height: 32px !important;
  border-radius: 9px !important;
}

body.altagwa-storefront-active .altagwa-search > button svg {
  width: 16px !important;
  height: 16px !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-language-menu {
  grid-area: languages !important;
  width: 34px !important;
  height: 34px !important;
  display: block !important;
  position: relative !important;
  overflow: visible !important;
  margin: 0 !important;
}

body.altagwa-storefront-active .altagwa-language-toggle {
  width: 34px !important;
  height: 34px !important;
  min-height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
  padding: 0 !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--altagwa-primary) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-language-toggle svg {
  width: 8px !important;
  height: 8px !important;
}

body.altagwa-storefront-active .altagwa-language-options[hidden] {
  display: none !important;
}

body.altagwa-storefront-active .altagwa-language-options:not([hidden]) {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
  position: absolute !important;
  top: calc(100% + 7px) !important;
  left: 50% !important;
  z-index: 1500 !important;
  transform: translateX(-50%) !important;
  padding: 5px !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(13, 56, 51, .16) !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-language-options a {
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #f3f7f5 !important;
  color: var(--altagwa-primary) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.altagwa-storefront-active .altagwa-shipping-shortcuts {
  grid-area: shipping !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  direction: ltr !important;
}

body.altagwa-storefront-active .altagwa-shipping-shortcut {
  width: 32px !important;
  height: 32px !important;
  flex: 0 0 32px !important;
  display: grid !important;
  place-items: center !important;
  border: 1px solid #d7e1dd !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: var(--altagwa-primary) !important;
  text-decoration: none !important;
}

body.altagwa-storefront-active .altagwa-shipping-shortcut svg {
  width: 16px !important;
  height: 16px !important;
}

body.altagwa-storefront-active .altagwa-header__nav-wrap {
  width: min(292px, calc(100vw - 16px)) !important;
  min-height: 0 !important;
  display: block !important;
  position: absolute !important;
  top: calc(100% - 1px) !important;
  right: max(8px, calc((100% - 1440px) / 2 + 80px)) !important;
  left: auto !important;
  z-index: 1400 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  pointer-events: none !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-nav {
  width: 100% !important;
  max-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  overflow: hidden !important;
  visibility: hidden !important;
  opacity: 0 !important;
  transform: translateY(-5px) !important;
  padding: 0 !important;
  border: 1px solid transparent !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 16px 34px rgba(13, 56, 51, .18) !important;
  transition: max-height .2s ease, opacity .16s ease, transform .16s ease, padding .16s ease !important;
}

body.altagwa-storefront-active .altagwa-header.is-menu-open .altagwa-header__nav-wrap {
  pointer-events: auto !important;
}

body.altagwa-storefront-active .altagwa-header.is-menu-open .altagwa-nav {
  max-height: 420px !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  padding: 7px !important;
  border-color: #d7e1dd !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-nav > a {
  width: 100% !important;
  min-height: 40px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  padding: 0 12px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-align: start !important;
}

body.altagwa-storefront-active .altagwa-search-suggestions {
  inset-block-start: calc(100% + 6px) !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  z-index: auto !important;
}

body.altagwa-storefront-active.altagwa-shop-page #primary,
body.altagwa-storefront-active.altagwa-shop-page #main,
body.altagwa-storefront-active.altagwa-shop-page .site-main,
body.altagwa-storefront-active.altagwa-shop-page .content-area,
body.altagwa-storefront-active.altagwa-shop-page .woocommerce,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-shell,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-translated-shop,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-products,
body.altagwa-storefront-active.altagwa-shop-page ul.products,
body.altagwa-storefront-active.altagwa-home-page #primary,
body.altagwa-storefront-active.altagwa-home-page #main,
body.altagwa-storefront-active.altagwa-home-page .site-main,
body.altagwa-storefront-active.altagwa-home-page .content-area,
body.altagwa-storefront-active.altagwa-home-page article,
body.altagwa-storefront-active.altagwa-home-page .entry-content,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home-section,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home-products {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

body.altagwa-storefront-active.altagwa-shop-page #content > .ast-container,
body.altagwa-storefront-active.altagwa-shop-page #content > .container,
body.altagwa-storefront-active.altagwa-shop-page .content-wrapper,
body.altagwa-storefront-active.altagwa-home-page #content > .ast-container,
body.altagwa-storefront-active.altagwa-home-page #content > .container,
body.altagwa-storefront-active.altagwa-home-page .content-wrapper {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: clamp(8px, 1vw, 16px) !important;
}

body.altagwa-storefront-active.altagwa-home-page .entry-content,
body.altagwa-storefront-active.altagwa-home-page .altagwa-home,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-shell,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-translated-shop {
  padding-inline: 0 !important;
}

body.altagwa-storefront-active .altagwa-home-product__image,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
  border: 1px solid #e0e7e4 !important;
  border-radius: 10px !important;
  background: #f7f9f8 !important;
}

body.altagwa-storefront-active #altagwa-air-shipping,
body.altagwa-storefront-active #altagwa-sea-shipping {
  scroll-margin-top: 86px !important;
}

@media (min-width: 783px) {
  body.admin-bar.altagwa-storefront-active .altagwa-header {
    top: 32px !important;
    margin-top: -32px !important;
    margin-bottom: 32px !important;
  }

  body.admin-bar.altagwa-storefront-active.altagwa-shop-page #content,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .site-content,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .content-wrapper,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page #primary,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .content-area,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page .site-main {
    padding-top: 6px !important;
    margin-top: 0 !important;
  }
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-header__main {
    width: calc(100% - 12px) !important;
    grid-template-columns: auto 36px 58px !important;
    grid-template-rows: 38px 38px !important;
    grid-template-areas: "actions toggle brand" "tools tools tools" !important;
    gap: 5px !important;
    padding: 4px 0 !important;
  }

  body.altagwa-storefront-active .altagwa-header__tools {
    grid-template-columns: 29px auto minmax(0, 1fr) !important;
    grid-template-areas: "languages shipping search" !important;
    gap: 4px !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-language-menu,
  body.altagwa-storefront-active .altagwa-language-toggle {
    width: 29px !important;
    height: 29px !important;
    min-height: 29px !important;
  }

  body.altagwa-storefront-active .altagwa-language-toggle {
    font-size: 8px !important;
  }

  body.altagwa-storefront-active .altagwa-shipping-shortcuts {
    gap: 3px !important;
  }

  body.altagwa-storefront-active .altagwa-shipping-shortcut {
    width: 28px !important;
    height: 28px !important;
    flex-basis: 28px !important;
  }

  body.altagwa-storefront-active .altagwa-shipping-shortcut svg {
    width: 14px !important;
    height: 14px !important;
  }

  body.altagwa-storefront-active .altagwa-search {
    height: 36px !important;
    grid-template-columns: 27px minmax(0, 1fr) !important;
  }

  body.altagwa-storefront-active .altagwa-search > input[type="search"] {
    height: 28px !important;
    min-height: 28px !important;
    font-size: 11px !important;
  }

  body.altagwa-storefront-active .altagwa-search > button {
    width: 27px !important;
    height: 28px !important;
  }

  body.altagwa-storefront-active .altagwa-header__nav-wrap {
    width: calc(100vw - 16px) !important;
    right: 8px !important;
    left: auto !important;
  }

  body.altagwa-storefront-active.altagwa-shop-page #content > .ast-container,
  body.altagwa-storefront-active.altagwa-shop-page #content > .container,
  body.altagwa-storefront-active.altagwa-shop-page .content-wrapper,
  body.altagwa-storefront-active.altagwa-home-page #content > .ast-container,
  body.altagwa-storefront-active.altagwa-home-page #content > .container,
  body.altagwa-storefront-active.altagwa-home-page .content-wrapper {
    padding-inline: 5px !important;
  }
}

/* Phase 39: compact shop toolbar and edge-to-edge catalogue frame. */
body.altagwa-storefront-active.altagwa-shop-page #content,
body.altagwa-storefront-active.altagwa-shop-page #content > .container,
body.altagwa-storefront-active.altagwa-shop-page #content .content-wrapper,
body.altagwa-storefront-active.altagwa-shop-page #content .content-wrapper.container,
body.altagwa-storefront-active.altagwa-shop-page #primary.site-main,
body.altagwa-storefront-active.altagwa-shop-page #primary.site-main > article,
body.altagwa-storefront-active.altagwa-shop-page #primary.site-main .entry-content,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-catalog,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-results,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-results > .woocommerce {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
}

body.altagwa-storefront-active.altagwa-shop-page #content .content-wrapper {
  margin: 0 !important;
  padding: 6px clamp(8px, 1vw, 16px) 28px !important;
}

body.altagwa-storefront-active.altagwa-shop-page #primary.site-main {
  margin: 0 !important;
  padding: 0 !important;
}

/* Astra uses a different catalogue wrapper from Botiga. Expand the complete
   shop rail, not only the inner controls, so the filter and product grid share
   the same near-edge alignment on wide screens. */
body.altagwa-storefront-active.altagwa-shop-page #content > .ast-container,
body.altagwa-storefront-active.altagwa-shop-page #primary.content-area,
body.altagwa-storefront-active.altagwa-shop-page #main.site-main,
body.altagwa-storefront-active.altagwa-shop-page .ast-woocommerce-container {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

body.altagwa-storefront-active.altagwa-shop-page #content > .ast-container {
  padding: 6px clamp(8px, 1vw, 16px) 28px !important;
}

/* On the logged-in desktop view WordPress reserves 32px for its toolbar and
   the sticky storefront header is offset by the same amount. Mirror that
   offset in the catalogue rail so the filter starts below, never beneath,
   the header. The public view and the non-sticky mobile toolbar need no fix. */
@media (min-width: 783px) {
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page #content .content-wrapper,
  body.admin-bar.altagwa-storefront-active.altagwa-shop-page #content > .ast-container {
    padding-block-start: 38px !important;
  }
}

body.altagwa-storefront-active.altagwa-shop-page #primary.content-area,
body.altagwa-storefront-active.altagwa-shop-page #main.site-main,
body.altagwa-storefront-active.altagwa-shop-page .ast-woocommerce-container {
  padding-inline: 0 !important;
}

body.altagwa-storefront-active.altagwa-shop-page #content.site-content {
  padding-block-start: 0 !important;
}

body.altagwa-storefront-active.altagwa-shop-page .woocommerce-breadcrumb,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-breadcrumb {
  display: none !important;
}

body.altagwa-storefront-active.altagwa-shop-page #primary.site-main > article,
body.altagwa-storefront-active.altagwa-shop-page #primary.site-main .entry-content,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-catalog,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-results {
  margin-inline: 0 !important;
  padding-inline: 0 !important;
}

/* The catalogue already carries its own compact breadcrumb, so the theme title
   block is redundant and wastes the first screenful of the shop. */
body.altagwa-storefront-active.altagwa-shop-page article > .entry-header {
  display: none !important;
}

body.altagwa-storefront-active.altagwa-shop-page .woocommerce-products-header {
  display: none !important;
}

/* The active theme prints the single-product heading once before the
   WooCommerce summary hook. Keep that first heading and suppress only a
   subsequent duplicate in the same summary card. */
body.altagwa-storefront-active.single-product
  .summary.entry-summary h1.product_title ~ h1.product_title {
  display: none !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls {
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 48px !important;
  margin: 0 0 12px !important;
  padding: 6px 8px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  color: var(--altagwa-ink) !important;
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid #dce7e3 !important;
  border-radius: 14px !important;
  box-shadow: 0 5px 16px rgba(13, 56, 51, .055) !important;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-count {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 6px 9px !important;
  color: var(--altagwa-primary-dark) !important;
  background: #edf4f1 !important;
  border: 0 !important;
  border-radius: 999px !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls__fields {
  display: flex !important;
  flex: 0 0 auto !important;
  min-width: max-content !important;
  margin: 0 !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls__fields > label {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls select,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-price-filter input,
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls button {
  box-sizing: border-box !important;
  min-height: 34px !important;
  height: 34px !important;
  margin: 0 !important;
  border-radius: 9px !important;
  font-size: 12px !important;
  line-height: 1.1 !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls select {
  width: 132px !important;
  padding-block: 4px !important;
  padding-inline: 9px 28px !important;
  color: var(--altagwa-ink) !important;
  background-color: #fff !important;
  border: 1px solid #d8e3df !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls select[name="product_cat"] {
  width: 146px !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls select[name="product_brand"],
body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls select[name="orderby"] {
  width: 138px !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls select[name="stock_status"] {
  width: 112px !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-price-filter {
  display: flex !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  align-items: center !important;
  gap: 4px !important;
  color: var(--altagwa-muted) !important;
  font-size: 9.5px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-price-filter input {
  width: 76px !important;
  min-width: 76px !important;
  padding: 4px 7px !important;
  color: var(--altagwa-ink) !important;
  background: #fff !important;
  border: 1px solid #d8e3df !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls button {
  flex: 0 0 auto !important;
  min-width: 68px !important;
  padding: 5px 13px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--altagwa-primary), var(--altagwa-primary-dark)) !important;
  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: 0 3px 9px rgba(13, 56, 51, .16) !important;
  font-size: 11.5px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

body.altagwa-storefront-active.altagwa-shop-page .woocommerce-sorting-wrapper,
body.altagwa-storefront-active.altagwa-shop-page .woocommerce-result-count,
body.altagwa-storefront-active.altagwa-shop-page .woocommerce-ordering {
  display: none !important;
}

body.altagwa-storefront-active.altagwa-shop-page ul.products {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

@media (min-width: 1081px) {
  body.altagwa-storefront-active.altagwa-shop-page ul.products {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}

@media (max-width: 760px) {
  body.altagwa-storefront-active.altagwa-shop-page #content .content-wrapper,
  body.altagwa-storefront-active.altagwa-shop-page #content > .ast-container {
    padding: 4px 5px 18px !important;
  }

  body.altagwa-storefront-active.altagwa-shop-page #primary.site-main {
    padding: 0 !important;
  }

  body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls {
    min-height: 46px !important;
    margin-bottom: 8px !important;
    padding: 5px 6px !important;
    gap: 5px !important;
    border-radius: 12px !important;
  }

  body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-count {
    padding: 5px 7px !important;
    font-size: 10px !important;
  }

  body.altagwa-storefront-active.altagwa-shop-page .altagwa-shop-controls__fields {
    gap: 5px !important;
  }

  body.altagwa-storefront-active.altagwa-shop-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
}

/* Phase 30: keep every single-product image inside one stable square frame. */
body.altagwa-storefront-active.single-product .woocommerce-product-gallery__image > a {
  display: grid !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  overflow: hidden !important;
  place-items: center !important;
  background: #f7f8f6 !important;
  border-radius: 12px !important;
}

body.altagwa-storefront-active.single-product .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Phase 31: force portrait variation images to stay within the square. */
body.altagwa-storefront-active.single-product .woocommerce-product-gallery__image > a {
  position: relative !important;
}

body.altagwa-storefront-active.single-product .woocommerce-product-gallery__image img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
}

/* Phase 32: crop the portrait Hersh image to match the other square product shots. */
body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="WhatsApp-Image-2026-08-27-at-16.47.342.jpeg"] {
  transform: scale(1.8) !important;
  transform-origin: 50% 70% !important;
}

/* Phase 33: normalize each supplied portrait photo without cropping the product. */
body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="16.47.321"] {
  transform: scale(1.25) !important;
  transform-origin: 50% 50% !important;
}

body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="16.47.331"] {
  transform: scale(1.7) !important;
  transform-origin: 50% 50% !important;
}

body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="16.47.342"] {
  transform: scale(1.8) !important;
  transform-origin: 50% 70% !important;
}

body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="16.47.343"] {
  transform: scale(1.16) !important;
  transform-origin: 50% 50% !important;
}

body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="16.47.354"] {
  transform: scale(1.06) !important;
  transform-origin: 50% 50% !important;
}

body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="2026-09-05-at-15.40.00"] {
  transform: scale(1.03) !important;
  transform-origin: 50% 50% !important;
}

/* Phase 34: normalize the remaining Hersh X and Hersh 55 photos. */
body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="16.47.32-"],
body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src$="16.47.32.jpeg"],
body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[data-large_image$="16.47.32.jpeg"] {
  transform: scale(1.3) !important;
  transform-origin: 50% 50% !important;
}

body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src*="16.47.33-"],
body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[src$="16.47.33.jpeg"],
body.altagwa-storefront-active.single-product
  .woocommerce-product-gallery__image img[data-large_image$="16.47.33.jpeg"] {
  transform: scale(1.25) !important;
  transform-origin: 50% 50% !important;
}

/* Phase 26 final override: six products on desktop, two on phones. */
@media (min-width: 1081px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    width: 100% !important;
    margin-inline: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

/* Phase 26: denser catalogue — six products on desktop, two on phones. */
@media (min-width: 1081px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    width: 100% !important;
    margin-inline: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

@media (max-width: 430px) {
  .altagwa-header__main {
    grid-template-columns: 40px minmax(0, 1fr) 86px;
    gap: 6px;
  }

  .altagwa-nav-toggle,
  .altagwa-action {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }

  .altagwa-brand__logo,
  .altagwa-brand__fallback {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .altagwa-brand__copy small {
    display: none;
  }

  .altagwa-brand__copy strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .altagwa-nav,
  .altagwa-search {
    transition: none;
  }
}

/* Commerce pages */
.altagwa-storefront-active.woocommerce-page #content {
  background: #f7f9f8;
}

.altagwa-storefront-active.woocommerce-page #primary.site-main {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.altagwa-storefront-active .woocommerce-page-header,
.altagwa-storefront-active.altagwa-shop-page article > .entry-header,
.altagwa-storefront-active.woocommerce-cart article > .entry-header,
.altagwa-storefront-active.woocommerce-checkout article > .entry-header,
.altagwa-storefront-active.woocommerce-account article > .entry-header {
  margin: 28px auto 34px;
  padding: clamp(24px, 4vw, 44px) 24px;
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(230, 184, 92, .23), transparent 30%),
    linear-gradient(135deg, var(--altagwa-primary-dark), var(--altagwa-primary));
  border-radius: 22px;
  box-shadow: var(--altagwa-shadow);
}

.altagwa-storefront-active .woocommerce-page-header .container {
  width: min(1160px, calc(100% - 24px));
}

.altagwa-storefront-active .woocommerce-page-header .page-title,
.altagwa-storefront-active.altagwa-shop-page .entry-title,
.altagwa-storefront-active.woocommerce-cart .entry-title,
.altagwa-storefront-active.woocommerce-checkout .entry-title,
.altagwa-storefront-active.woocommerce-account .entry-title {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.1;
}

.altagwa-storefront-active .woocommerce-page-header .woocommerce-breadcrumb {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
}

.altagwa-storefront-active .woocommerce-page-header .woocommerce-breadcrumb a {
  color: #fff;
}

.altagwa-shop-intro,
.altagwa-commerce-page-intro,
.altagwa-product-assurance {
  box-sizing: border-box;
  border: 1px solid var(--altagwa-border);
  border-radius: var(--altagwa-radius-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(13, 56, 51, .07);
}

.altagwa-shop-intro {
  margin-bottom: 26px;
  padding: 20px;
}

.altagwa-shop-intro > p {
  margin: 0 0 16px;
  color: var(--altagwa-muted);
  font-size: 16px;
}

.altagwa-commerce-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.altagwa-commerce-benefits > div {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 13px;
  color: var(--altagwa-primary-dark);
  background: var(--altagwa-soft);
  border-radius: 10px;
  font-size: 14px;
}

.altagwa-commerce-benefits span {
  display: inline-grid;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  place-items: center;
  color: #fff;
  background: var(--altagwa-secondary);
  border-radius: 50%;
  font-weight: 800;
}

.altagwa-storefront-active .woocommerce-sorting-wrapper {
  margin-bottom: 24px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 12px;
}

.altagwa-storefront-active .woocommerce-ordering select {
  min-height: 44px;
  padding-inline: 14px 36px;
  border: 1px solid var(--altagwa-border);
  border-radius: 9px;
  background-color: #fff;
}

.altagwa-storefront-active ul.products li.product {
  overflow: hidden;
  padding-bottom: 20px;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(13, 56, 51, .08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.altagwa-storefront-active ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--altagwa-shadow);
}

.altagwa-storefront-active ul.products li.product .loop-image-wrap {
  height: 260px;
  padding: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--altagwa-soft));
  border-radius: 18px 18px 0 0;
}

.altagwa-storefront-active ul.products li.product .loop-image-wrap img {
  width: auto !important;
  height: auto !important;
  max-width: min(220px, 100%);
  max-height: 220px;
  margin: auto !important;
  object-fit: contain;
}

.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title,
.altagwa-storefront-active ul.products li.product .price,
.altagwa-storefront-active ul.products li.product .product-category,
.altagwa-storefront-active ul.products li.product .product-loop-meta {
  margin-inline: 18px;
}

.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  margin-top: 16px;
  color: var(--altagwa-ink);
  font-size: 18px;
  line-height: 1.45;
}

.altagwa-storefront-active ul.products li.product .price {
  color: var(--altagwa-secondary);
  font-size: 18px;
  font-weight: 800;
}

.altagwa-storefront-active .button,
.altagwa-storefront-active button,
.altagwa-storefront-active input[type="submit"] {
  border-radius: 9px;
}

.altagwa-storefront-active.single-product .product-gallery-summary {
  align-items: flex-start;
  gap: clamp(28px, 5vw, 64px);
  margin-block: 32px 48px;
  flex-wrap: nowrap;
}

.altagwa-storefront-active.single-product .product-gallery-summary > .woocommerce-product-gallery,
.altagwa-storefront-active.single-product .product-gallery-summary > .summary {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.altagwa-storefront-active.single-product .woocommerce-product-gallery {
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
  background: linear-gradient(180deg, #fff, var(--altagwa-soft));
  border: 1px solid var(--altagwa-border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(13, 56, 51, .08);
}

.altagwa-storefront-active.single-product .summary.entry-summary {
  padding: clamp(22px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 20px;
  box-shadow: var(--altagwa-shadow);
}

.altagwa-storefront-active.single-product .product_title {
  margin-bottom: 14px;
  color: var(--altagwa-ink);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.22;
}

.altagwa-storefront-active.single-product .summary .price {
  color: var(--altagwa-secondary);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
}

.altagwa-storefront-active.single-product .woocommerce-product-details__short-description {
  margin-block: 14px 22px;
  color: var(--altagwa-muted);
  font-size: 17px;
  line-height: 1.7;
}

.altagwa-storefront-active.single-product .botiga-single-addtocart-wrapper {
  gap: 12px;
}

.altagwa-storefront-active.single-product .single_add_to_cart_button,
.altagwa-storefront-active .wc-block-cart__submit-button,
.altagwa-storefront-active .wc-block-components-checkout-place-order-button {
  min-height: 54px;
  color: #fff !important;
  background: var(--altagwa-primary) !important;
  border: 1px solid var(--altagwa-primary) !important;
  font-weight: 800;
}

.altagwa-storefront-active.single-product .single_add_to_cart_button:hover,
.altagwa-storefront-active .wc-block-cart__submit-button:hover,
.altagwa-storefront-active .wc-block-components-checkout-place-order-button:hover {
  background: var(--altagwa-primary-dark) !important;
}

.altagwa-product-assurance {
  margin-top: 24px;
  padding: 14px;
}

.altagwa-product-assurance > p {
  margin: 14px 4px 2px;
  color: var(--altagwa-muted);
  font-size: 14px;
}

.altagwa-storefront-active.single-product .woocommerce-tabs {
  margin-top: 28px;
  padding: clamp(20px, 3vw, 34px);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 18px;
}

.altagwa-commerce-page-intro {
  margin-bottom: 22px;
  padding: 15px 18px;
  color: var(--altagwa-primary-dark);
  border-inline-start: 4px solid var(--altagwa-secondary);
  font-weight: 650;
}

.altagwa-storefront-active .wp-block-woocommerce-cart,
.altagwa-storefront-active .wp-block-woocommerce-checkout {
  max-width: none;
}

.altagwa-storefront-active .wc-block-components-sidebar-layout {
  gap: clamp(20px, 3vw, 36px);
}

.altagwa-storefront-active .wc-block-components-sidebar,
.altagwa-storefront-active .wc-block-cart-items,
.altagwa-storefront-active .wc-block-checkout__main .wc-block-components-checkout-step {
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 56, 51, .06);
}

.altagwa-storefront-active .wc-block-components-sidebar {
  align-self: flex-start;
  overflow: hidden;
  padding: 20px;
}

.altagwa-storefront-active .wc-block-cart-items {
  overflow: hidden;
}

.altagwa-storefront-active .wc-block-cart-items__row td {
  padding-block: 22px !important;
}

.altagwa-storefront-active .wc-block-checkout__main .wc-block-components-checkout-step {
  margin-bottom: 18px;
  padding: 20px;
}

.altagwa-storefront-active .wc-block-components-text-input input,
.altagwa-storefront-active .wc-block-components-combobox .wc-block-components-combobox-control input,
.altagwa-storefront-active .wc-block-components-address-form select {
  min-height: 52px;
  border-color: #bdcbc7 !important;
  border-radius: 9px !important;
}

.altagwa-storefront-active .wc-block-components-title {
  color: var(--altagwa-ink);
  font-size: 22px;
}

@media (max-width: 760px) {
  .altagwa-storefront-active.woocommerce-page #primary.site-main {
    width: min(100% - 20px, 1240px);
  }

  .altagwa-storefront-active .woocommerce-page-header,
  .altagwa-storefront-active.altagwa-shop-page article > .entry-header,
  .altagwa-storefront-active.woocommerce-cart article > .entry-header,
  .altagwa-storefront-active.woocommerce-checkout article > .entry-header,
  .altagwa-storefront-active.woocommerce-account article > .entry-header {
    margin-block: 16px 22px;
    padding: 22px 16px;
    border-radius: 16px;
  }

  .altagwa-commerce-benefits {
    grid-template-columns: 1fr;
  }

  .altagwa-storefront-active .woocommerce-sorting-wrapper .row {
    row-gap: 12px;
  }

  .altagwa-storefront-active .woocommerce-sorting-wrapper .col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .altagwa-storefront-active.single-product .summary.entry-summary,
  .altagwa-storefront-active.single-product .woocommerce-tabs {
    padding: 20px 16px;
    border-radius: 15px;
  }

  .altagwa-storefront-active.single-product .product-gallery-summary {
    flex-direction: column;
  }

  .altagwa-storefront-active.single-product .product-gallery-summary > .woocommerce-product-gallery,
  .altagwa-storefront-active.single-product .product-gallery-summary > .summary {
    width: 100%;
  }

  .altagwa-storefront-active.single-product .botiga-single-addtocart-wrapper {
    align-items: stretch;
    flex-direction: column;
  }

  .altagwa-storefront-active.single-product .quantity,
  .altagwa-storefront-active.single-product .single_add_to_cart_button {
    width: 100%;
  }

  .altagwa-storefront-active .wc-block-components-sidebar,
  .altagwa-storefront-active .wc-block-checkout__main .wc-block-components-checkout-step {
    padding: 16px;
    border-radius: 13px;
  }

  #altagwa-chat-root .altagwa-chat-launcher {
    width: 54px;
    min-width: 54px;
    height: 54px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  #altagwa-chat-root .altagwa-chat-launcher-text,
  #altagwa-chat-root .altagwa-chat-dot {
    display: none;
  }
}

/* Compact commerce page headings: keep commerce content—not a banner—as the focus. */
.altagwa-storefront-active .woocommerce-page-header,
.altagwa-storefront-active.altagwa-shop-page article > .entry-header,
.altagwa-storefront-active.woocommerce-cart article > .entry-header,
.altagwa-storefront-active.woocommerce-checkout article > .entry-header,
.altagwa-storefront-active.woocommerce-account article > .entry-header {
  width: min(1240px, calc(100% - 32px));
  min-height: 48px;
  margin: 10px auto 20px;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--altagwa-muted);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--altagwa-border);
  border-radius: 0;
  box-shadow: none;
}

.altagwa-storefront-active .woocommerce-page-header .container {
  width: auto;
  margin: 0;
  padding: 0;
}

.altagwa-storefront-active .woocommerce-page-header .page-title,
.altagwa-storefront-active.altagwa-shop-page .entry-title,
.altagwa-storefront-active.woocommerce-cart .entry-title,
.altagwa-storefront-active.woocommerce-checkout .entry-title,
.altagwa-storefront-active.woocommerce-account .entry-title {
  margin: 0;
  color: var(--altagwa-ink);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 750;
}

.altagwa-storefront-active .woocommerce-page-header .woocommerce-breadcrumb {
  margin: 0;
  color: var(--altagwa-muted);
  font-size: 13px;
}

.altagwa-storefront-active .woocommerce-page-header .woocommerce-breadcrumb a {
  color: var(--altagwa-primary);
}

/* Botiga 2.4 adds a 100px top gap to commerce content. Keep the compact
   page heading and the actual store content visually connected. */
.altagwa-storefront-active.woocommerce-page .content-wrapper {
  margin-top: 16px !important;
}

@media (max-width: 760px) {
  .altagwa-storefront-active .woocommerce-page-header,
  .altagwa-storefront-active.altagwa-shop-page article > .entry-header,
  .altagwa-storefront-active.woocommerce-cart article > .entry-header,
  .altagwa-storefront-active.woocommerce-checkout article > .entry-header,
  .altagwa-storefront-active.woocommerce-account article > .entry-header {
    width: min(100% - 20px, 1240px);
    min-height: 42px;
    margin-block: 8px 16px;
    padding-block: 8px;
    flex-wrap: wrap;
    border-radius: 0;
  }

  .altagwa-storefront-active .woocommerce-page-header .page-title,
  .altagwa-storefront-active.altagwa-shop-page .entry-title,
  .altagwa-storefront-active.woocommerce-cart .entry-title,
  .altagwa-storefront-active.woocommerce-checkout .entry-title,
  .altagwa-storefront-active.woocommerce-account .entry-title {
    font-size: 18px;
  }

  .altagwa-storefront-active.woocommerce-page .content-wrapper {
    margin-top: 10px !important;
  }
}

/* My Account: clear navigation, editable-data shortcuts, and usable mobile layout. */
.altagwa-storefront-active.woocommerce-account #primary.site-main {
  width: min(1240px, calc(100% - 32px));
  margin-inline: auto;
}

.altagwa-storefront-active.woocommerce-account #primary .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.altagwa-storefront-active.woocommerce-account #primary .woocommerce::before,
.altagwa-storefront-active.woocommerce-account #primary .woocommerce::after {
  display: none;
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation,
.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(13, 56, 51, .06);
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  border: 0;
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  margin: 2px 0;
  padding: 12px 14px;
  color: var(--altagwa-ink);
  font-weight: 650;
  text-decoration: none;
  border-radius: 9px;
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  color: #fff;
  background: var(--altagwa-primary);
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-content {
  min-height: 320px;
  padding: clamp(20px, 3vw, 32px);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 56, 51, .06);
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-content form {
  max-width: 760px;
}

.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-content input,
.altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-content select {
  min-height: 48px;
  border-color: #bdcbc7;
  border-radius: 9px;
}

.altagwa-account-quicklinks {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--altagwa-border);
}

.altagwa-account-quicklinks h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.altagwa-account-quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.altagwa-account-quicklinks__grid a {
  display: flex;
  min-height: 92px;
  padding: 16px;
  align-items: center;
  gap: 10px;
  color: var(--altagwa-ink);
  text-decoration: none;
  background: var(--altagwa-soft);
  border: 1px solid var(--altagwa-border);
  border-radius: 12px;
}

.altagwa-account-quicklinks__grid a:hover {
  color: var(--altagwa-primary-dark);
  border-color: var(--altagwa-secondary);
  transform: translateY(-1px);
}

.altagwa-account-quicklinks__grid span {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: #fff;
  background: var(--altagwa-secondary);
  border-radius: 50%;
}

@media (max-width: 760px) {
  .altagwa-storefront-active.woocommerce-account #primary.site-main {
    width: min(100% - 20px, 1240px);
  }

  .altagwa-storefront-active.woocommerce-account #primary .woocommerce {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
  }

  .altagwa-storefront-active.woocommerce-account .woocommerce-MyAccount-content {
    min-height: 0;
    padding: 18px 15px;
  }

  .altagwa-account-quicklinks__grid {
    grid-template-columns: 1fr;
  }

  .altagwa-account-quicklinks__grid a {
    min-height: 68px;
  }
}

/* Phase 3: multilingual, product-first homepage. */
.altagwa-storefront-active.home article > .entry-header,
.altagwa-storefront-active.home .page-header {
  display: none !important;
}

.altagwa-home {
  width: min(1440px, calc(100% - 32px));
  margin: 12px auto 64px;
  color: var(--altagwa-ink);
}

body.altagwa-storefront-active.home .entry-header {
  display: none;
}

body.altagwa-storefront-active.home .entry-content {
  width: 100%;
  max-width: none;
  padding-inline: 0;
  padding-top: 0;
}

body.altagwa-storefront-active.home #primary.site-main {
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
  padding-inline: 0;
}

body.altagwa-storefront-active.home #primary.site-main > article {
  width: 100%;
}

body.altagwa-storefront-active.home .content-wrapper {
  margin-top: 16px;
  padding-top: 0;
}

body.altagwa-storefront-active.home .site-main {
  padding-top: 0;
}

.altagwa-home-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(24px, 4vw, 52px);
  min-height: 320px;
  padding: clamp(26px, 3vw, 42px);
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(230, 184, 92, .30), transparent 32%),
    linear-gradient(125deg, var(--altagwa-primary-dark), var(--altagwa-primary));
  border-radius: 24px;
  box-shadow: var(--altagwa-shadow);
}

[dir="rtl"] .altagwa-home-hero {
  background:
    radial-gradient(circle at 15% 15%, rgba(230, 184, 92, .30), transparent 32%),
    linear-gradient(235deg, var(--altagwa-primary-dark), var(--altagwa-primary));
}

.altagwa-home-hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.altagwa-home-hero__eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 7px 12px;
  color: #fff8e7;
  background: rgba(255, 255, 255, .11);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  letter-spacing: .03em;
}

.altagwa-home-hero h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(31px, 3.4vw, 43px);
  line-height: 1.12;
  letter-spacing: -.025em;
}

.altagwa-home-hero__content > p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.8;
}

.altagwa-home-hero__content > p:empty {
  display: none;
}

.altagwa-home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.altagwa-button.button {
  min-height: 50px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
}

.altagwa-button--primary.button {
  color: #1c2a26;
  background: var(--altagwa-accent);
  border-color: var(--altagwa-accent);
}

.altagwa-button--primary.button:hover {
  color: #fff;
  background: var(--altagwa-secondary);
  border-color: var(--altagwa-secondary);
}

.altagwa-button--secondary.button {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .45);
}

.altagwa-button--secondary.button:hover {
  color: var(--altagwa-primary-dark);
  background: #fff;
}

.altagwa-home-hero__trust {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}

.altagwa-home-hero__trust > div {
  display: flex;
  min-height: 68px;
  padding: 14px 16px;
  align-items: center;
  gap: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 13px;
  backdrop-filter: blur(8px);
}

.altagwa-home-hero__trust span,
.altagwa-home-why__grid span {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  place-items: center;
  color: var(--altagwa-primary-dark);
  background: var(--altagwa-accent);
  border-radius: 50%;
  font-weight: 800;
}

.altagwa-home-section {
  margin-top: clamp(34px, 5vw, 64px);
}

.altagwa-home-section__head {
  display: flex;
  margin-bottom: 22px;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.altagwa-home-section__head--stack {
  display: block;
}

.altagwa-home-section__head h1,
.altagwa-home-section__head h2 {
  margin: 0;
  color: var(--altagwa-ink);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.2;
}

.altagwa-home-section--primary {
  margin-top: clamp(18px, 3vw, 32px);
}

.altagwa-home-section__head p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--altagwa-muted);
  line-height: 1.75;
}

.altagwa-home-section__head > a {
  flex: 0 0 auto;
  color: var(--altagwa-primary);
  font-weight: 750;
  text-decoration: none;
}

.altagwa-home-section__head > a:hover {
  color: var(--altagwa-secondary);
}

.altagwa-home-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 300px));
  justify-content: start;
  gap: 18px;
}

.altagwa-home-product {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 16px;
  box-shadow: 0 6px 22px rgba(13, 56, 51, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.altagwa-home-product:hover {
  border-color: #b9cbc6;
  box-shadow: 0 12px 28px rgba(13, 56, 51, .11);
  transform: translateY(-3px);
}

.altagwa-home-product__image {
  position: relative;
  height: 260px;
  padding: 18px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--altagwa-soft);
}

.altagwa-home-product__image img {
  width: auto;
  height: auto;
  max-width: min(220px, 100%);
  max-height: 220px;
  display: block;
  margin: auto;
  object-fit: contain;
  transition: transform .25s ease;
}

.altagwa-home-product:hover .altagwa-home-product__image img {
  transform: scale(1.025);
}

.altagwa-home-product__sale {
  position: absolute;
  z-index: 1;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  background: var(--altagwa-secondary);
  border-radius: 50%;
  font-weight: 800;
}

.altagwa-home-product__body {
  display: flex;
  min-height: 228px;
  padding: 18px;
  flex: 1;
  flex-direction: column;
}

.altagwa-home-product__brand {
  margin-bottom: 5px;
  color: var(--altagwa-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.altagwa-home-product h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.altagwa-home-product h3 a {
  min-height: 2.9em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--altagwa-ink);
  text-decoration: none;
}

.altagwa-home-product__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  color: var(--altagwa-muted);
  font-size: 12px;
  font-weight: 750;
}

.altagwa-home-product__stock > span {
  font-size: 9px;
}

.altagwa-home-product__stock.is-in-stock {
  color: #237a4b;
}

.altagwa-home-product__stock.is-out-of-stock {
  color: #9a4d3c;
}

.altagwa-home-product__rating {
  margin-top: 8px;
}

.altagwa-home-product__price {
  margin: 12px 0 14px;
  color: var(--altagwa-primary-dark);
  font-size: 20px;
  font-weight: 800;
}

.altagwa-home-product__price del {
  margin-inline-end: 6px;
  color: var(--altagwa-muted);
  font-size: 14px;
  font-weight: 500;
}

.altagwa-home-product__button.button,
.altagwa-home-product__unavailable {
  width: 100%;
  min-height: 44px;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 9px;
  font-weight: 750;
}

.altagwa-home-product__button.button {
  color: #fff;
  background: var(--altagwa-primary);
  border-color: var(--altagwa-primary);
}

.altagwa-home-product__button.button:hover {
  color: #fff;
  background: var(--altagwa-primary-dark);
}

.altagwa-home-product__unavailable {
  padding: 8px 12px;
  color: var(--altagwa-muted);
  background: var(--altagwa-soft);
}

.altagwa-home-categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.altagwa-home-category {
  min-width: 0;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--altagwa-ink);
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 14px;
}

.altagwa-home-category:hover {
  color: var(--altagwa-primary);
  border-color: var(--altagwa-secondary);
}

.altagwa-home-category__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  overflow: hidden;
  place-items: center;
  background: var(--altagwa-soft);
  border-radius: 10px;
}

.altagwa-home-category__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.altagwa-home-category__placeholder {
  color: var(--altagwa-secondary);
  font-size: 40px;
}

.altagwa-home-category small {
  color: var(--altagwa-muted);
}

.altagwa-home-why {
  padding: 13px;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 56, 51, .06);
}

.altagwa-home-why__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.altagwa-home-why__grid > div {
  display: flex;
  min-height: 58px;
  padding: 9px 11px;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 13px;
}

.altagwa-home-trust .altagwa-home-why__grid span {
  width: 32px;
  height: 32px;
  flex-basis: 32px;
  font-size: 13px;
}

.altagwa-home-trust .altagwa-home-why__grid strong {
  font-size: 13px;
  line-height: 1.35;
}

.altagwa-home-services {
  padding: clamp(30px, 5vw, 60px);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(13, 56, 51, .07);
  scroll-margin-top: 190px;
}

.altagwa-home-services__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0;
}

.altagwa-home-services__grid article {
  padding: 24px;
  background: var(--altagwa-soft);
  border: 1px solid var(--altagwa-border);
  border-radius: 15px;
}

.altagwa-home-services__grid article > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #fff;
  background: var(--altagwa-primary);
  border-radius: 12px;
  font-size: 21px;
}

.altagwa-home-services__grid h3 {
  margin: 18px 0 8px;
  color: var(--altagwa-ink);
  font-size: 20px;
}

.altagwa-home-services__grid p {
  margin: 0;
  color: var(--altagwa-muted);
  line-height: 1.7;
}

.altagwa-home-services > .altagwa-button--primary.button {
  color: #fff;
  background: var(--altagwa-primary);
  border-color: var(--altagwa-primary);
}

@media (max-width: 1300px) {
  .altagwa-home-products {
    grid-template-columns: repeat(3, minmax(0, 300px));
  }
}

@media (max-width: 980px) {
  .altagwa-home-products {
    grid-template-columns: repeat(2, minmax(0, 300px));
  }
}

@media (max-width: 1050px) {
  .altagwa-home-hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .altagwa-home-hero__trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .altagwa-home-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .altagwa-home-categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .altagwa-home {
    width: min(100% - 20px, 1440px);
    margin-top: 10px;
  }

  .altagwa-home-hero {
    gap: 26px;
    padding: 30px 20px;
    border-radius: 17px;
  }

  .altagwa-home-hero h1 {
    font-size: clamp(31px, 10vw, 44px);
  }

  .altagwa-home-hero__content > p {
    font-size: 16px;
  }

  .altagwa-home-hero__actions,
  .altagwa-home-hero__actions .button {
    width: 100%;
  }

  .altagwa-home-hero__trust,
  .altagwa-home-services__grid {
    grid-template-columns: 1fr;
  }

  .altagwa-home-hero__trust > div {
    min-height: 58px;
  }

  .altagwa-home-section {
    margin-top: 44px;
  }

  .altagwa-home-section__head {
    align-items: start;
  }

  .altagwa-home-products {
    gap: 10px;
  }

  .altagwa-home-product__body {
    min-height: 210px;
    padding: 13px;
  }

  .altagwa-home-product h3 {
    font-size: 15px;
  }

  .altagwa-home-product__price {
    font-size: 18px;
  }

  .altagwa-home-categories {
    gap: 10px;
  }

  .altagwa-home-why,
  .altagwa-home-services {
    padding: 24px 16px;
    border-radius: 16px;
  }
}

@media (max-width: 430px) {
  .altagwa-home-products {
    width: min(100%, 300px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
  }

  .altagwa-home-why__grid {
    grid-template-columns: 1fr;
  }

  .altagwa-home-product__body {
    min-height: 196px;
    padding: 11px;
  }

  .altagwa-home-product__button.button,
  .altagwa-home-product__unavailable {
    min-height: 40px;
    padding-inline: 7px;
    font-size: 12px;
  }

  .altagwa-home-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .altagwa-home-section__head {
    display: block;
  }

  .altagwa-home-section__head > a {
    display: inline-block;
    margin-top: 8px;
  }
}

/* Phase 4: consistent product catalogue and translated sorting controls. */
.altagwa-storefront-active ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
  justify-content: start;
  gap: 22px;
}

.altagwa-storefront-active ul.products::before,
.altagwa-storefront-active ul.products::after {
  display: none;
}

.altagwa-storefront-active ul.products li.product,
.altagwa-storefront-active ul.products[class*="columns-"] li.product {
  width: auto;
  min-width: 0;
  margin: 0;
}

.altagwa-shop-catalog {
  width: 100%;
}

.altagwa-shop-controls {
  display: flex;
  margin: 0 0 26px;
  padding: 14px 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(13, 56, 51, .05);
}

.altagwa-shop-count {
  color: var(--altagwa-muted);
  font-size: 14px;
}

.altagwa-shop-controls__fields {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.altagwa-shop-controls select {
  min-height: 44px;
  padding: 8px 38px 8px 12px;
  border: 1px solid var(--altagwa-border);
  border-radius: 9px;
  background-color: #fff;
}

.altagwa-shop-controls--advanced {
  align-items: flex-end;
}

.altagwa-price-filter {
  display: grid;
  gap: 4px;
  color: var(--altagwa-muted);
  font-size: 11px;
}

.altagwa-price-filter input {
  width: 118px;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid var(--altagwa-border);
  border-radius: 9px;
}

.altagwa-shop-page .woocommerce-sorting-wrapper {
  display: none;
}

[dir="rtl"] .altagwa-shop-controls select {
  padding: 8px 12px 8px 38px;
}

.altagwa-shop-controls button {
  min-height: 44px;
  padding-inline: 18px;
  color: #fff;
  background: var(--altagwa-primary);
  border: 1px solid var(--altagwa-primary);
  font-weight: 750;
}

.altagwa-shop-page article > .entry-footer {
  display: none;
}

.altagwa-storefront-active ul.products li.product .loop-button-wrap {
  opacity: 1;
}

@media (max-width: 900px) {
  .altagwa-storefront-active ul.products {
    grid-template-columns: repeat(auto-fit, minmax(260px, 300px));
    justify-content: start;
    gap: 16px;
  }
}

@media (max-width: 620px) {
  html,
  body.altagwa-storefront-active {
    overflow-x: clip;
  }

  .altagwa-home-products,
  .altagwa-storefront-active ul.products {
    width: min(100%, 300px);
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-content: center;
  }

  .altagwa-shop-controls {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    padding: 11px;
    align-items: flex-end;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .altagwa-shop-count {
    flex: 0 0 auto;
    padding-block-end: 12px;
    white-space: nowrap;
  }

  .altagwa-shop-controls__fields {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: end;
    min-width: max-content;
  }

  .altagwa-shop-controls__fields > label {
    flex: 0 0 auto;
  }

  .altagwa-shop-controls select {
    width: 176px;
    min-height: 41px;
  }

  .altagwa-price-filter input {
    width: 112px;
    min-height: 41px;
  }

  .altagwa-shop-controls button {
    flex: 0 0 auto;
    width: auto;
    min-height: 41px;
    white-space: nowrap;
  }
}

/* Phase 12: fast search, direct purchase, and multilingual wishlists. */
.altagwa-search {
  position: relative;
  overflow: visible;
}

.altagwa-search > input[type="search"],
.altagwa-search > button[type="submit"] {
  position: relative;
  z-index: 1;
}

.altagwa-search-suggestions {
  position: absolute;
  z-index: 1002;
  inset-block-start: calc(100% + 7px);
  inset-inline: 0;
  max-height: min(430px, 70vh);
  overflow-y: auto;
  color: var(--altagwa-ink);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 12px;
  box-shadow: 0 18px 45px rgba(13, 56, 51, .2);
}

.altagwa-search-suggestions[hidden] {
  display: none;
}

.altagwa-search-suggestion {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  min-height: 72px;
  padding: 8px 12px;
  align-items: center;
  color: var(--altagwa-ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--altagwa-border);
}

.altagwa-search-suggestion:hover,
.altagwa-search-suggestion:focus-visible,
.altagwa-search-suggestion.is-active {
  background: var(--altagwa-soft);
}

.altagwa-search-suggestion img,
.altagwa-search-suggestion__placeholder {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  object-fit: contain;
  background: var(--altagwa-soft);
  border-radius: 8px;
}

.altagwa-search-suggestion__copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.altagwa-search-suggestion__copy strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.altagwa-search-suggestion__copy small {
  color: var(--altagwa-muted);
  font-size: 12px;
}

.altagwa-search-suggestions__status,
.altagwa-search-suggestions__all {
  margin: 0;
  padding: 13px 15px;
  color: var(--altagwa-muted);
  font-size: 13px;
}

.altagwa-search-suggestions__all {
  display: block;
  color: var(--altagwa-primary) !important;
  font-weight: 750;
  text-align: center;
  text-decoration: none !important;
}

.altagwa-search-suggestions__all:hover {
  background: var(--altagwa-soft);
}

.altagwa-buy-now.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 22px;
  color: var(--altagwa-primary-dark) !important;
  background: #fff !important;
  border: 2px solid var(--altagwa-primary) !important;
  font-weight: 800;
  text-decoration: none;
}

.altagwa-buy-now.button:hover {
  color: #fff !important;
  background: var(--altagwa-primary-dark) !important;
}

button.altagwa-wishlist-toggle {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  color: var(--altagwa-primary-dark);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 9px;
  font-weight: 750;
  cursor: pointer;
}

button.altagwa-wishlist-toggle:hover,
button.altagwa-wishlist-toggle:focus-visible,
button.altagwa-wishlist-toggle.is-selected {
  color: #8b2f3b;
  background: #fff6f7;
  border-color: #dca7ae;
}

.altagwa-wishlist-toggle__icon {
  color: #a84250;
  font-size: 23px;
  line-height: 1;
}

.altagwa-cart-save-later {
  min-height: 34px !important;
  margin-top: 8px;
  padding: 5px 9px !important;
  font-size: 12px;
}

.altagwa-cart-save-later .altagwa-wishlist-toggle__icon {
  font-size: 18px;
}

.altagwa-home-product > .altagwa-wishlist-toggle--card {
  position: absolute;
  z-index: 3;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  width: 42px;
  min-height: 42px;
  padding: 0;
  border-radius: 50%;
  box-shadow: 0 5px 16px rgba(13, 56, 51, .14);
}

.altagwa-storefront-active ul.products li.product .altagwa-wishlist-toggle--loop {
  width: calc(100% - 36px);
  margin: 8px 18px 0;
}

.altagwa-storefront-active.single-product form.cart .altagwa-buy-now,
.altagwa-storefront-active.single-product form.cart .altagwa-wishlist-toggle--single {
  margin-top: 0;
}

.altagwa-wishlist-page article > .entry-header {
  display: none !important;
}

.altagwa-wishlist {
  width: min(1240px, calc(100% - 32px));
  margin: 18px auto 64px;
  color: var(--altagwa-ink);
}

.altagwa-wishlist__intro {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--altagwa-border);
}

.altagwa-wishlist__intro h2 {
  margin: 0;
  color: var(--altagwa-ink);
  font-size: clamp(28px, 4vw, 42px);
}

.altagwa-wishlist__intro p {
  margin: 8px 0 0;
  color: var(--altagwa-muted);
}

.altagwa-wishlist__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.altagwa-wishlist-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 56, 51, .07);
}

.altagwa-wishlist-card__image {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--altagwa-soft);
}

.altagwa-wishlist-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.altagwa-wishlist-card__body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.altagwa-wishlist-card h2 {
  margin: 0;
  font-size: 17px;
  line-height: 1.45;
}

.altagwa-wishlist-card h2 a {
  color: var(--altagwa-ink);
  text-decoration: none;
}

.altagwa-wishlist-card__price {
  color: var(--altagwa-secondary);
  font-size: 20px;
}

.altagwa-wishlist-card small.is-in-stock {
  color: #237453;
}

.altagwa-wishlist-card small.is-out-of-stock,
.altagwa-wishlist__error {
  color: #943c36;
}

.altagwa-wishlist-toggle--page {
  width: 100%;
}

.altagwa-wishlist__empty,
.altagwa-wishlist__status,
.altagwa-wishlist__error {
  grid-column: 1 / -1;
  padding: 28px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 14px;
}

.altagwa-wishlist__empty .button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: #fff;
  background: var(--altagwa-primary);
  border-color: var(--altagwa-primary);
}

@media (max-width: 980px) {
  .altagwa-wishlist__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .altagwa-search-suggestions {
    max-height: min(360px, 56vh);
  }

  .altagwa-storefront-active.single-product form.cart .altagwa-buy-now,
  .altagwa-storefront-active.single-product form.cart .altagwa-wishlist-toggle--single {
    width: 100%;
  }

  .altagwa-wishlist {
    width: min(100% - 20px, 1240px);
  }
}

@media (max-width: 520px) {
  .altagwa-search-suggestion {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .altagwa-search-suggestion img,
  .altagwa-search-suggestion__placeholder {
    width: 46px;
    height: 46px;
  }

  .altagwa-wishlist__grid {
    grid-template-columns: 1fr;
  }
}

/* Phase 9: legal information and privacy-first cookie consent. */
.altagwa-legal {
  width: min(920px, calc(100% - 32px));
  margin: 18px auto 64px;
  color: var(--altagwa-ink);
}

.altagwa-legal__draft {
  margin-bottom: 16px;
  padding: 16px 18px;
  color: #6b4b0c;
  background: #fff8df;
  border: 1px solid #ead697;
  border-inline-start: 5px solid var(--altagwa-accent);
  border-radius: 12px;
  line-height: 1.65;
}

.altagwa-legal__updated {
  color: var(--altagwa-muted);
  font-size: 14px;
}

.altagwa-legal section {
  margin-top: 14px;
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(13,56,51,.05);
}

.altagwa-legal h2 {
  margin: 0 0 10px;
  color: var(--altagwa-primary-dark);
  font-size: clamp(20px, 3vw, 26px);
}

.altagwa-legal section p {
  margin: 0;
  line-height: 1.8;
}

.altagwa-cookie-settings {
  min-height: 46px;
  margin-top: 20px;
  padding: 10px 18px;
  color: #fff;
  background: var(--altagwa-primary);
  border: 1px solid var(--altagwa-primary);
  border-radius: 9px;
  font-weight: 750;
}

.altagwa-cookie {
  position: fixed;
  z-index: 999999;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  width: min(940px, calc(100% - 36px));
  margin-inline: auto;
  padding: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  color: #fff;
  background: #102f2b;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 15px;
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
}

.altagwa-cookie[hidden] {
  display: none !important;
}

.altagwa-cookie strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 18px;
}

.altagwa-cookie p {
  margin: 0;
  color: rgba(255,255,255,.84);
  line-height: 1.55;
}

.altagwa-cookie a {
  display: inline-block;
  margin-top: 5px;
  color: #f0c16d;
  text-decoration: underline;
}

.altagwa-cookie__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.altagwa-cookie__actions button {
  min-height: 44px;
  padding: 9px 15px;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: 9px;
  font-weight: 750;
  white-space: nowrap;
}

.altagwa-cookie__actions button.is-primary {
  color: #102f2b;
  background: #f0c16d;
  border-color: #f0c16d;
}

@media (max-width: 700px) {
  .altagwa-legal {
    width: min(100% - 20px, 920px);
  }

  .altagwa-cookie {
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: grid;
    width: calc(100% - 20px);
    gap: 14px;
    padding: 15px;
  }

  .altagwa-cookie__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

/* Phase 5: clear product availability and fulfilment information. */
.altagwa-product-status {
  display: grid;
  gap: 5px;
  margin: 0 0 18px;
  padding: 11px 13px;
  background: var(--altagwa-soft);
  border: 1px solid var(--altagwa-border);
  border-radius: 10px;
}

.altagwa-product-status strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--altagwa-primary-dark);
}

.altagwa-product-status strong span {
  color: #27845d;
  font-size: 11px;
}

.altagwa-product-status.is-out-of-stock strong span {
  color: #a33b32;
}

.altagwa-product-status small {
  color: var(--altagwa-muted);
  line-height: 1.55;
}

.altagwa-product-facts {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--altagwa-border);
}

.altagwa-product-facts h2 {
  margin: 0 0 12px;
  color: var(--altagwa-ink);
  font-size: 20px;
}

.altagwa-product-facts dl {
  margin: 0;
}

.altagwa-product-facts dl > div {
  display: grid;
  grid-template-columns: minmax(110px, .7fr) minmax(0, 1.8fr);
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--altagwa-border);
}

.altagwa-product-facts dt {
  color: var(--altagwa-muted);
  font-weight: 650;
}

.altagwa-product-facts dd {
  margin: 0;
  color: var(--altagwa-ink);
}

.altagwa-product-facts a {
  color: var(--altagwa-primary);
  font-weight: 700;
}

.altagwa-storefront-active.single-product .woocommerce-product-gallery img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 760px) {
  .altagwa-storefront-active.single-product form.cart {
    position: sticky;
    z-index: 40;
    bottom: 8px;
    margin-inline: -8px;
    padding: 10px;
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--altagwa-border);
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(13, 56, 51, .18);
    backdrop-filter: blur(8px);
  }

  .altagwa-product-facts dl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* Phase 6: checkout readiness and transparent pending-shipping state. */
.altagwa-shipping-pending-notice {
  margin: 0 0 20px !important;
  padding: 14px 16px !important;
  color: #614917;
  background: #fff8df !important;
  border: 1px solid #ead697 !important;
  border-inline-start: 4px solid var(--altagwa-accent) !important;
  border-radius: 10px;
  line-height: 1.65;
}

.altagwa-storefront-active #place_order,
.altagwa-storefront-active .wc-block-components-checkout-place-order-button {
  min-height: 52px;
  font-weight: 800;
}

/* Phase 8: import/export service page and quotation form. */
.altagwa-services-page {
  width: min(1180px, calc(100% - 32px));
  margin: 16px auto 64px;
  color: var(--altagwa-ink);
}

.altagwa-service-page article > .entry-header {
  display: none;
}

.altagwa-services-page + p:empty,
.altagwa-services-page p:empty {
  display: none;
}

.altagwa-services-hero {
  padding: clamp(30px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(125deg, var(--altagwa-primary-dark), var(--altagwa-primary));
  border-radius: 22px;
  box-shadow: var(--altagwa-shadow);
}

.altagwa-services-hero > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--altagwa-accent);
  font-weight: 750;
}

.altagwa-services-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 5vw, 54px);
}

.altagwa-breadcrumb {
  display: flex;
  width: min(100% - 32px, 1180px);
  margin: 18px auto 8px;
  align-items: center;
  gap: 8px;
  color: var(--altagwa-muted);
  font-size: 14px;
  line-height: 1.5;
}

.altagwa-breadcrumb a {
  color: var(--altagwa-primary);
  font-weight: 700;
}

.altagwa-breadcrumb [aria-current="page"] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.altagwa-services-hero p {
  max-width: 780px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.86);
  font-size: 17px;
  line-height: 1.75;
}

.altagwa-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0;
}

.altagwa-services-grid article {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(13,56,51,.06);
}

.altagwa-services-grid b {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--altagwa-primary-dark);
  background: var(--altagwa-accent);
  border-radius: 50%;
}

.altagwa-services-grid h2 {
  margin: 16px 0 8px;
  font-size: 20px;
}

.altagwa-services-grid p {
  margin: 0;
  color: var(--altagwa-muted);
  line-height: 1.65;
}

.altagwa-quote {
  padding: clamp(24px, 4vw, 42px);
  background: #fff;
  border: 1px solid var(--altagwa-border);
  border-radius: 20px;
  box-shadow: var(--altagwa-shadow);
}

.altagwa-quote > h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 38px);
}

.altagwa-quote > p {
  margin: 10px 0 24px;
  color: var(--altagwa-muted);
}

.altagwa-quote form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.altagwa-quote label {
  display: grid;
  gap: 7px;
  color: var(--altagwa-primary-dark);
  font-weight: 700;
}

.altagwa-quote input,
.altagwa-quote select,
.altagwa-quote textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  color: var(--altagwa-ink);
  background: #fff;
  border: 1px solid #b9c8c4;
  border-radius: 9px;
  font-weight: 400;
}

.altagwa-phone-input {
  display: flex;
  width: 100%;
  align-items: stretch;
  direction: ltr;
}

.altagwa-phone-prefix {
  display: inline-flex;
  min-width: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  color: var(--altagwa-primary-dark);
  background: var(--altagwa-soft);
  border: 1px solid #b9c8c4;
  border-inline-end: 0;
  border-radius: 9px 0 0 9px;
  font-weight: 800;
}

.altagwa-phone-input input {
  flex: 1 1 auto;
  min-width: 0;
  border-radius: 0 9px 9px 0 !important;
}

.altagwa-phone-input input[aria-invalid="true"] {
  border-color: #b94a42 !important;
  box-shadow: 0 0 0 2px rgba(185,74,66,.12);
}

.altagwa-quote textarea {
  min-height: auto;
  resize: vertical;
}

.altagwa-quote .is-wide {
  grid-column: 1 / -1;
}

.altagwa-quote-consent {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 500 !important;
}

.altagwa-quote-consent input {
  width: 20px;
  min-height: 20px;
  flex: 0 0 20px;
}

.altagwa-quote button {
  min-height: 52px;
  padding-inline: 24px;
  color: #fff;
  background: var(--altagwa-primary);
  border: 1px solid var(--altagwa-primary);
  font-weight: 800;
}

.altagwa-quote-message {
  margin-bottom: 18px;
  padding: 13px 15px;
  border-radius: 9px;
}

.altagwa-quote-message.is-success {
  color: #174f3a;
  background: #e9f7ef;
  border: 1px solid #aad6bb;
}

.altagwa-quote-message.is-warning {
  color: #73510a;
  background: #fff8df;
  border: 1px solid #e6cc78;
}

.altagwa-quote-message.is-error {
  color: #7b2f29;
  background: #fff0ef;
  border: 1px solid #e7b7b2;
}

.altagwa-honeypot {
  position: absolute !important;
  top: 0 !important;
  inset-inline-start: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 900px) {
  .altagwa-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .altagwa-services-page {
    width: min(100% - 20px, 1180px);
  }

  .altagwa-services-grid,
  .altagwa-quote form {
    grid-template-columns: 1fr;
  }

  .altagwa-quote .is-wide {
    grid-column: auto;
  }
}

/* Phase 16: one-pass responsive hardening for split windows, browser zoom and phones. */
body.altagwa-storefront-active #vue-app .kodee-fab {
  display: none !important;
}

@media (max-width: 782px) {
  /* WordPress changes its toolbar to non-sticky on narrow screens. Keeping a
     46px sticky offset here exposed page content above our header when zoomed. */
  .admin-bar .altagwa-header {
    top: 0;
  }
}

@media (max-width: 760px) {
  .altagwa-header__promise {
    min-height: 24px;
    padding: 3px 10px;
    font-size: 9px;
  }

  .altagwa-header__main {
    min-height: 0;
    grid-template-columns: 36px minmax(0, 1fr) 74px;
    gap: 6px;
    row-gap: 6px;
    padding-block: 6px;
  }

  .altagwa-nav-toggle,
  .altagwa-action {
    width: 36px;
    height: 36px;
    min-height: 36px;
  }

  .altagwa-brand {
    gap: 6px;
  }

  .altagwa-brand__logo,
  .altagwa-brand__fallback {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .altagwa-brand__copy strong {
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .altagwa-brand__copy small {
    display: none;
  }

  .altagwa-header svg {
    width: 20px;
    height: 20px;
  }

  .altagwa-search {
    height: 42px;
    grid-template-columns: minmax(0, 1fr) 36px;
    gap: 2px;
    padding: 3px;
    border-radius: 13px;
  }

  .altagwa-search input[type="search"] {
    height: 34px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .altagwa-search button {
    width: 34px;
    height: 34px;
    border-radius: 9px;
  }

  .altagwa-header__nav-wrap {
    min-height: 28px;
  }

  .altagwa-languages {
    height: 28px;
    margin: 0;
  }

  .altagwa-languages a {
    min-width: 28px;
    height: 24px;
    font-size: 9px;
  }

  .altagwa-storefront-active .woocommerce-page-header,
  .altagwa-storefront-active.altagwa-shop-page article > .entry-header,
  .altagwa-storefront-active.woocommerce-cart article > .entry-header,
  .altagwa-storefront-active.woocommerce-checkout article > .entry-header,
  .altagwa-storefront-active.woocommerce-account article > .entry-header {
    min-height: 36px;
    margin-block: 4px 10px;
    padding-block: 6px;
    gap: 7px;
  }

  .altagwa-storefront-active .woocommerce-page-header .page-title,
  .altagwa-storefront-active.altagwa-shop-page .entry-title,
  .altagwa-storefront-active.woocommerce-cart .entry-title,
  .altagwa-storefront-active.woocommerce-checkout .entry-title,
  .altagwa-storefront-active.woocommerce-account .entry-title {
    font-size: 16px;
  }

  .altagwa-storefront-active .woocommerce-page-header .woocommerce-breadcrumb {
    font-size: 11px;
  }

  #altagwa-chat-root {
    inset-inline-end: 10px;
    bottom: 10px;
  }

  #altagwa-chat-root .altagwa-chat-launcher {
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    padding: 0;
  }

  #altagwa-chat-root .altagwa-chat-icon {
    width: 30px;
    height: 30px;
    font-size: 17px;
  }
}

/* Phase 17: keep narrow RTL catalogue scrollers inside the page canvas. */
body.altagwa-storefront-active .search-overlay {
  display: none !important;
}

body.altagwa-storefront-active .back-to-top {
  display: none !important;
}

@media (max-width: 620px) {
  .altagwa-shop-controls {
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    contain: inline-size layout paint;
  }

  [dir="rtl"] .altagwa-shop-controls {
    flex-direction: row-reverse;
    direction: ltr;
  }

  [dir="rtl"] .altagwa-shop-count,
  [dir="rtl"] .altagwa-shop-controls__fields {
    direction: rtl;
  }
}

/* Phase 18: compact, stable single-product layout in narrow windows. */
@media (max-width: 760px) {
  .altagwa-storefront-active.single-product .product-gallery-summary {
    gap: 16px;
    margin-block: 12px 28px;
  }

  .altagwa-storefront-active.single-product .woocommerce-product-gallery {
    padding: 12px;
  }

  .altagwa-storefront-active.single-product .woocommerce-product-gallery img {
    width: auto !important;
    height: auto !important;
    max-width: min(220px, 100%);
    max-height: 220px;
    margin-inline: auto;
    object-fit: contain;
  }

  .altagwa-storefront-active.single-product .summary.entry-summary {
    padding: 16px 12px;
  }

  .altagwa-storefront-active.single-product .product_title {
    margin-bottom: 10px;
    font-size: clamp(19px, 6vw, 22px);
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .altagwa-storefront-active.single-product .summary .price {
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 1.35;
  }

  .altagwa-storefront-active.single-product .woocommerce-product-details__short-description {
    margin-block: 10px 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .altagwa-storefront-active.single-product form.cart {
    position: static;
    margin-inline: 0;
    padding: 8px;
    box-shadow: none;
    backdrop-filter: none;
  }

  .altagwa-storefront-active.single-product .single_add_to_cart_button,
  .altagwa-storefront-active.single-product form.cart .altagwa-buy-now,
  .altagwa-storefront-active.single-product form.cart .altagwa-wishlist-toggle--single {
    min-height: 44px;
    font-size: 14px;
  }

  .altagwa-storefront-active.single-product .altagwa-wishlist-toggle__icon {
    font-size: 18px;
  }

  .altagwa-storefront-active.single-product .altagwa-product-assurance,
  .altagwa-storefront-active.single-product .back-to-top {
    display: none !important;
  }
}

/* Phase 19: dense split-window mode for desktop pointers, separate from phones. */
@media (max-width: 760px) and (hover: hover) and (pointer: fine) {
  .altagwa-header__main {
    grid-template-columns: 30px minmax(0, 1fr) 64px;
    gap: 4px;
    row-gap: 4px;
    padding-block: 4px;
  }

  .altagwa-nav-toggle,
  .altagwa-action {
    width: 30px;
    height: 30px;
    min-height: 30px;
  }

  .altagwa-brand {
    gap: 4px;
  }

  .altagwa-brand__logo,
  .altagwa-brand__fallback {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .altagwa-brand__copy strong {
    font-size: 11px;
  }

  .altagwa-header svg {
    width: 17px;
    height: 17px;
  }

  .altagwa-search {
    height: 36px;
    grid-template-columns: minmax(0, 1fr) 29px;
    padding: 2px;
    border-radius: 11px;
  }

  .altagwa-search input[type="search"] {
    height: 30px;
    font-size: 11px;
  }

  .altagwa-search button {
    width: 29px;
    height: 29px;
    border-radius: 8px;
  }

  .altagwa-header__nav-wrap {
    min-height: 24px;
  }

  .altagwa-languages {
    height: 24px;
  }

  .altagwa-languages a {
    min-width: 24px;
    height: 21px;
    font-size: 8px;
  }

  .altagwa-storefront-active.single-product .product-gallery-summary {
    gap: 12px;
    margin-block: 8px 22px;
  }

  .altagwa-storefront-active.single-product .summary.entry-summary {
    padding: 12px 10px;
  }

  .altagwa-storefront-active.single-product .product_title {
    font-size: 17px;
  }

  .altagwa-storefront-active.single-product .summary .price {
    font-size: 19px;
  }

  .altagwa-storefront-active.single-product .woocommerce-product-details__short-description {
    font-size: 13px;
  }

  .altagwa-storefront-active.single-product form.cart {
    padding: 6px;
  }

  .altagwa-storefront-active.single-product .single_add_to_cart_button,
  .altagwa-storefront-active.single-product form.cart .altagwa-buy-now,
  .altagwa-storefront-active.single-product form.cart .altagwa-wishlist-toggle--single {
    min-height: 40px;
    font-size: 13px;
  }

  #altagwa-chat-root {
    inset-inline-end: 6px;
    bottom: 6px;
  }

  #altagwa-chat-root .altagwa-chat-launcher {
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
  }

  #altagwa-chat-root .altagwa-chat-icon {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
}

@media (max-width: 760px) and (max-height: 500px) and (hover: hover) and (pointer: fine) {
  #altagwa-chat-root {
    display: none !important;
  }
}

/* Phase 20: prevent header controls and search layers from overlapping at
   extreme browser zoom while preserving the compact single-row layout where
   there is enough room. */
body.altagwa-storefront-active .altagwa-search > input[type="search"] {
  align-self: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-search > button {
  align-self: stretch;
  min-height: 0 !important;
  max-height: 100%;
}

@media (max-width: 430px) {
  body.altagwa-storefront-active .altagwa-header__main {
    grid-template-columns: 36px minmax(0, 1fr) 68px !important;
    grid-template-rows: 36px 40px !important;
    gap: 6px !important;
    row-gap: 6px !important;
    padding-block: 6px !important;
  }

  body.altagwa-storefront-active .altagwa-brand {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  body.altagwa-storefront-active .altagwa-nav-toggle {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: start;
  }

  body.altagwa-storefront-active .altagwa-actions {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  body.altagwa-storefront-active .altagwa-search {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 40px !important;
    margin: 0 !important;
  }

  body.altagwa-storefront-active .altagwa-search-suggestions {
    inset-inline: 0;
    width: 100%;
    max-width: 100%;
  }
}

/* Phase 21: keep single-product media and details in normal flow at extreme
   zoom. Botiga's equal-height containment can collapse column flex children
   to their padding height, clipping both the gallery and the summary. */
@media (max-width: 760px) {
  body.altagwa-storefront-active.single-product .product-gallery-summary {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
  }

  body.altagwa-storefront-active.single-product .product-gallery-summary > .woocommerce-product-gallery,
  body.altagwa-storefront-active.single-product .product-gallery-summary > .summary.entry-summary {
    flex: 0 0 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    contain: none !important;
  }

  body.altagwa-storefront-active.single-product .woocommerce-product-gallery {
    overflow: hidden !important;
  }

  body.altagwa-storefront-active.single-product .woocommerce-product-gallery__wrapper,
  body.altagwa-storefront-active.single-product .woocommerce-product-gallery__image {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    contain: none !important;
  }

  body.altagwa-storefront-active.single-product .woocommerce-product-gallery__wrapper {
    overflow: visible !important;
  }

  body.altagwa-storefront-active.single-product .woocommerce-product-gallery__image {
    overflow: hidden !important;
  }

  body.altagwa-storefront-active.single-product .woocommerce-product-gallery__image > a {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    line-height: 0;
    text-align: center;
  }

  body.altagwa-storefront-active.single-product .summary.entry-summary {
    overflow: visible !important;
  }
}

/* Phase 22: compact marketplace product cards with stable, readable sizing. */
body.altagwa-storefront-active .altagwa-home-section--primary {
  margin-top: 24px;
}

body.altagwa-storefront-active .altagwa-home-section__head {
  margin-bottom: 18px;
  align-items: center;
}

body.altagwa-storefront-active .altagwa-home-section__head h1,
body.altagwa-storefront-active .altagwa-home-section__head h2 {
  font-size: clamp(24px, 2.2vw, 32px) !important;
  line-height: 1.25 !important;
}

body.altagwa-storefront-active .altagwa-home-section__head > a {
  font-size: 14px;
  line-height: 1.4;
}

body.altagwa-storefront-active .altagwa-home-products,
body.altagwa-storefront-active ul.products {
  width: 100% !important;
  margin-inline: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  justify-content: stretch !important;
  align-items: stretch;
  gap: 20px !important;
}

body.altagwa-storefront-active .altagwa-home-product,
body.altagwa-storefront-active ul.products li.product {
  width: auto !important;
  min-width: 0 !important;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #dfe7e4;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(13, 56, 51, .06);
}

body.altagwa-storefront-active .altagwa-home-product:hover,
body.altagwa-storefront-active ul.products li.product:hover {
  border-color: #b8cbc5;
  box-shadow: 0 8px 22px rgba(13, 56, 51, .1);
  transform: translateY(-2px);
}

body.altagwa-storefront-active .altagwa-home-product__image,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;
  padding: 14px !important;
  background: #fff;
  border-radius: 12px 12px 0 0;
}

body.altagwa-storefront-active .altagwa-home-product__image img,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap img {
  width: 100% !important;
  height: 100% !important;
  max-width: 215px !important;
  max-height: 215px !important;
  object-fit: contain !important;
}

body.altagwa-storefront-active .altagwa-home-product__body {
  min-height: 226px !important;
  padding: 14px !important;
}

body.altagwa-storefront-active .altagwa-home-product__brand {
  display: none;
}

body.altagwa-storefront-active .altagwa-home-product h3,
body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--altagwa-ink);
  font-size: 16px !important;
  font-weight: 650 !important;
  line-height: 1.45 !important;
  text-align: start;
}

body.altagwa-storefront-active .altagwa-home-product h3 a,
body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  min-height: 2.9em !important;
  display: -webkit-box !important;
  overflow: hidden !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

body.altagwa-storefront-active .altagwa-home-product__stock {
  margin-top: 2px;
  font-size: 12px !important;
  line-height: 1.5 !important;
}

body.altagwa-storefront-active .altagwa-home-product__price,
body.altagwa-storefront-active ul.products li.product .price {
  margin: 9px 0 12px !important;
  color: var(--altagwa-primary-dark);
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.35 !important;
}

body.altagwa-storefront-active .altagwa-home-product__button.button,
body.altagwa-storefront-active .altagwa-home-product__unavailable,
body.altagwa-storefront-active ul.products li.product .button {
  width: 100% !important;
  box-sizing: border-box;
  min-height: 42px !important;
  margin-top: auto !important;
  padding: 9px 12px !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  border-radius: 8px !important;
}

body.altagwa-storefront-active .altagwa-home-product > .altagwa-wishlist-toggle--card {
  width: 38px;
  min-height: 38px;
  inset-block-start: 9px;
  inset-inline-end: 9px;
}

@media (max-width: 1080px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-section--primary {
    margin-top: 18px;
  }

  body.altagwa-storefront-active .altagwa-home-section__head {
    margin-bottom: 14px;
    gap: 12px;
  }

  body.altagwa-storefront-active .altagwa-home-section__head h1,
  body.altagwa-storefront-active .altagwa-home-section__head h2 {
    font-size: 22px !important;
  }

  body.altagwa-storefront-active .altagwa-home-section__head > a {
    font-size: 12px;
  }

  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__image,
  body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
    padding: 8px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__image img,
  body.altagwa-storefront-active ul.products li.product .loop-image-wrap img {
    max-width: 150px !important;
    max-height: 150px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__body {
    min-height: 205px !important;
    padding: 10px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product h3,
  body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
    margin-bottom: 6px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__stock {
    font-size: 10px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__price,
  body.altagwa-storefront-active ul.products li.product .price {
    margin: 7px 0 9px !important;
    font-size: 17px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__button.button,
  body.altagwa-storefront-active .altagwa-home-product__unavailable,
  body.altagwa-storefront-active ul.products li.product .button {
    min-height: 38px !important;
    padding: 7px 6px !important;
    font-size: 11px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product > .altagwa-wishlist-toggle--card {
    width: 34px;
    min-height: 34px;
  }
}

/* Phase 23: keep product photography and purchasing details in separate cards. */
body.altagwa-storefront-active .altagwa-home-product {
  overflow: visible !important;
  height: auto;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product:hover {
  transform: none !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product__image {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #dfe7e4;
  border-radius: 12px !important;
  box-shadow: 0 3px 12px rgba(13, 56, 51, .05);
}

body.altagwa-storefront-active .altagwa-home-product__body {
  min-height: 196px !important;
  margin-top: 10px;
  padding: 13px !important;
  background: #fff;
  border: 1px solid #dfe7e4;
  border-radius: 12px;
  box-shadow: 0 3px 12px rgba(13, 56, 51, .05);
}

body.altagwa-storefront-active .altagwa-home-product h3,
body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 650 !important;
}

body.altagwa-storefront-active .altagwa-home-product h3 a {
  min-height: 2.8em !important;
}

body.altagwa-storefront-active .altagwa-home-product__price,
body.altagwa-storefront-active ul.products li.product .price {
  font-size: 18px !important;
}

body.altagwa-storefront-active .altagwa-home-product__button.button,
body.altagwa-storefront-active .altagwa-home-product__unavailable,
body.altagwa-storefront-active ul.products li.product .button {
  min-height: 40px !important;
  font-size: 13px !important;
}

body.altagwa-storefront-active ul.products li.product {
  overflow: visible !important;
  height: auto;
  padding: 0 0 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active ul.products li.product:hover {
  transform: none !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
  overflow: hidden;
  background: #fff !important;
  border: 1px solid #dfe7e4;
  border-radius: 12px !important;
  box-shadow: 0 3px 12px rgba(13, 56, 51, .05);
}

body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  margin-top: 12px !important;
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-product__image,
  body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
    border-radius: 10px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__body {
    min-height: 180px !important;
    margin-top: 8px;
    padding: 9px !important;
    border-radius: 10px;
  }

  body.altagwa-storefront-active .altagwa-home-product h3,
  body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
    font-size: 12px !important;
    line-height: 1.35 !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__price,
  body.altagwa-storefront-active ul.products li.product .price {
    font-size: 16px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__button.button,
  body.altagwa-storefront-active .altagwa-home-product__unavailable,
  body.altagwa-storefront-active ul.products li.product .button {
    min-height: 36px !important;
    font-size: 11px !important;
  }
}

/* Phase 25 final override: AliExpress-style clean product tiles. */
/* Phase 27: catalogue image links to details; cards contain name and price only. */
/* Phase 28: no wishlist-heart controls inside any product tile. */
body.altagwa-storefront-active .altagwa-home-product > .altagwa-wishlist-toggle--card,
body.altagwa-storefront-active ul.products li.product .altagwa-wishlist-toggle--loop,
body.altagwa-storefront-active .related.products .altagwa-wishlist-toggle,
body.altagwa-storefront-active .upsells.products .altagwa-wishlist-toggle,
body.altagwa-storefront-active .cross-sells .altagwa-wishlist-toggle {
  display: none !important;
}

/* Phase 29: restore the heart as a small overlay on the image only. */
body.altagwa-storefront-active .altagwa-home-product > .altagwa-wishlist-toggle--card,
body.altagwa-storefront-active ul.products li.product .altagwa-wishlist-toggle--loop,
body.altagwa-storefront-active .related.products .altagwa-wishlist-toggle,
body.altagwa-storefront-active .upsells.products .altagwa-wishlist-toggle,
body.altagwa-storefront-active .cross-sells .altagwa-wishlist-toggle {
  position: absolute !important;
  z-index: 4 !important;
  inset-block-start: 8px !important;
  inset-inline-end: 8px !important;
  display: grid !important;
  width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  padding: 0 !important;
  place-items: center !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1px solid #ead6d6 !important;
  border-radius: 50% !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08) !important;
}

body.altagwa-storefront-active .altagwa-home-product,
body.altagwa-storefront-active ul.products li.product {
  position: relative !important;
}

body.altagwa-storefront-active .altagwa-wishlist-toggle--card .altagwa-wishlist-toggle__text,
body.altagwa-storefront-active .altagwa-wishlist-toggle--loop .altagwa-wishlist-toggle__text {
  display: none !important;
}

body.altagwa-storefront-active .altagwa-home-product .altagwa-home-product__stock,
body.altagwa-storefront-active .altagwa-home-product .altagwa-home-product__rating,
body.altagwa-storefront-active .altagwa-home-product .altagwa-home-product__brand,
body.altagwa-storefront-active .altagwa-home-product .altagwa-home-product__button,
body.altagwa-storefront-active .altagwa-home-product .altagwa-home-product__unavailable,
body.altagwa-storefront-active ul.products li.product .button,
body.altagwa-storefront-active ul.products li.product .stock,
body.altagwa-storefront-active ul.products li.product .star-rating {
  display: none !important;
}

body.altagwa-storefront-active .altagwa-home-product .altagwa-home-product__body {
  min-height: 66px !important;
  padding: 8px 2px 2px !important;
}

body.altagwa-storefront-active .altagwa-home-product .altagwa-home-product__price,
body.altagwa-storefront-active ul.products li.product .price {
  margin: 4px 0 0 !important;
}

/* Phase 40: compact, consistent storefront typography.
   The original page content still contains an inline h3/p scale intended for
   a former marketing layout. These final rules keep all current storefront
   headings and supporting copy proportional on desktop and mobile. */
body.home.altagwa-storefront-active .entry-content .altagwa-home {
  font-size: 14px;
  line-height: 1.6;
}

body.home.altagwa-storefront-active .entry-content .altagwa-home p {
  font-size: 14px !important;
  line-height: 1.65 !important;
}

body.altagwa-storefront-active .altagwa-home-section__head h1,
body.altagwa-storefront-active .altagwa-home-section__head h2 {
  font-size: clamp(22px, 1.9vw, 28px) !important;
  line-height: 1.25 !important;
}

body.home.altagwa-storefront-active .entry-content .altagwa-home-services__grid h3 {
  margin: 12px 0 6px !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}

body.altagwa-storefront-active.single-product h1.product_title {
  font-size: clamp(24px, 2.5vw, 32px) !important;
  line-height: 1.3 !important;
}

body.altagwa-storefront-active.single-product .summary .price {
  font-size: clamp(22px, 2vw, 27px) !important;
}

body.altagwa-storefront-active.single-product .woocommerce-product-details__short-description {
  font-size: 15px !important;
  line-height: 1.65 !important;
}

body.altagwa-storefront-active.single-product .altagwa-product-facts h2,
body.altagwa-storefront-active.single-product .woocommerce-tabs h2,
body.altagwa-storefront-active.single-product .related.products > h2,
body.altagwa-storefront-active.single-product .upsells.products > h2 {
  font-size: 20px !important;
  line-height: 1.35 !important;
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-section__head h1,
  body.altagwa-storefront-active .altagwa-home-section__head h2 {
    font-size: 20px !important;
  }

  body.home.altagwa-storefront-active .entry-content .altagwa-home p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.home.altagwa-storefront-active .entry-content .altagwa-home-services__grid h3 {
    font-size: 16px !important;
  }

  body.altagwa-storefront-active.single-product h1.product_title {
    font-size: 19px !important;
  }

  body.altagwa-storefront-active.single-product .summary .price {
    font-size: 20px !important;
  }

  body.altagwa-storefront-active.single-product .woocommerce-product-details__short-description {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }

  body.altagwa-storefront-active.single-product .altagwa-product-facts h2,
  body.altagwa-storefront-active.single-product .woocommerce-tabs h2,
  body.altagwa-storefront-active.single-product .related.products > h2,
  body.altagwa-storefront-active.single-product .upsells.products > h2 {
    font-size: 18px !important;
  }
}

/* Phase 41: one-piece, language-stable storefront header.
   The logo remains on the physical right in every language, language choices
   sit beside the compact search control, and live results float below the
   complete header without changing its measured height. */
body.altagwa-storefront-active .altagwa-header {
  overflow: visible !important;
  background: #fff !important;
  border-bottom: 1px solid var(--altagwa-border) !important;
  box-shadow: 0 5px 16px rgba(13, 56, 51, .07) !important;
}

body.altagwa-storefront-active .altagwa-header__main,
body.altagwa-storefront-active .altagwa-header__nav-wrap {
  width: min(1440px, calc(100% - 24px)) !important;
  margin-inline: auto !important;
  background: #fff !important;
}

body.altagwa-storefront-active .altagwa-header__main {
  min-height: 68px !important;
  display: grid !important;
  grid-template-columns: auto minmax(300px, 1fr) 72px !important;
  grid-template-areas: "actions tools brand" !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 7px 0 !important;
  direction: ltr !important;
  z-index: 5 !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-brand {
  grid-area: brand !important;
  width: 72px !important;
  min-width: 72px !important;
  display: flex !important;
  justify-content: flex-end !important;
  gap: 0 !important;
  justify-self: end !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-brand__copy {
  display: none !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-brand__logo,
body.altagwa-storefront-active .altagwa-header .altagwa-brand__fallback {
  width: 70px !important;
  height: 52px !important;
  flex: 0 0 70px !important;
  object-fit: contain !important;
}

body.altagwa-storefront-active .altagwa-header__tools {
  grid-area: tools !important;
  min-width: 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) !important;
  grid-template-areas: "languages search" !important;
  align-items: center !important;
  gap: 7px !important;
  direction: ltr !important;
}

body.altagwa-storefront-active .altagwa-search {
  grid-area: search !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 44px !important;
  display: grid !important;
  grid-template-columns: 36px minmax(0, 1fr) !important;
  gap: 3px !important;
  position: relative !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 3px !important;
  border: 1px solid #cad8d3 !important;
  border-radius: 14px !important;
  background: linear-gradient(180deg, #fff 0%, #f8fbfa 100%) !important;
  box-shadow: 0 5px 16px rgba(13, 56, 51, .08) !important;
  direction: ltr !important;
}

body.altagwa-storefront-active .altagwa-search:focus-within {
  border-color: var(--altagwa-primary) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(22, 77, 70, .11), 0 7px 18px rgba(13, 56, 51, .1) !important;
}

body.altagwa-storefront-active .altagwa-search > input[type="search"] {
  grid-column: 2 !important;
  grid-row: 1 !important;
  height: 36px !important;
  min-height: 0 !important;
  padding: 0 11px !important;
  border: 0 !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  background: transparent !important;
}

body.altagwa-storefront-active .altagwa-header[dir="rtl"] .altagwa-search > input[type="search"] {
  direction: rtl !important;
  text-align: right !important;
}

body.altagwa-storefront-active .altagwa-header[dir="ltr"] .altagwa-search > input[type="search"] {
  direction: ltr !important;
  text-align: left !important;
}

body.altagwa-storefront-active .altagwa-search > button {
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 36px !important;
  height: 36px !important;
  min-height: 0 !important;
  padding: 0 !important;
  border-radius: 10px !important;
}

body.altagwa-storefront-active .altagwa-search > button svg {
  width: 18px !important;
  height: 18px !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-languages {
  grid-area: languages !important;
  height: 32px !important;
  display: flex !important;
  align-items: center !important;
  gap: 2px !important;
  position: static !important;
  margin: 0 !important;
  transform: none !important;
  direction: ltr !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-languages a {
  min-width: 29px !important;
  width: 29px !important;
  height: 27px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  font-size: 9px !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-actions {
  grid-area: actions !important;
  justify-self: start !important;
  direction: ltr !important;
}

body.altagwa-storefront-active .altagwa-header__nav-wrap {
  min-height: 40px !important;
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  gap: 0 !important;
  z-index: 3 !important;
  border-top: 1px solid var(--altagwa-border) !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-nav {
  width: 100% !important;
  justify-content: center !important;
}

body.altagwa-storefront-active .altagwa-header .altagwa-nav > a {
  min-height: 39px !important;
  padding-inline: 12px !important;
  font-size: 12px !important;
}

body.altagwa-storefront-active .altagwa-search-suggestions {
  inset-block-start: calc(100% + 52px) !important;
  inset-inline: 0 !important;
  width: 100% !important;
  max-width: none !important;
  max-height: 292px !important;
  margin: 0 !important;
  overflow: auto !important;
  z-index: 1200 !important;
  border: 1px solid var(--altagwa-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgba(13, 56, 51, .18) !important;
}

body.altagwa-storefront-active .altagwa-search-suggestion {
  min-height: 54px !important;
  grid-template-columns: 44px minmax(0, 1fr) auto !important;
  gap: 9px !important;
  padding: 6px 9px !important;
}

body.altagwa-storefront-active .altagwa-search-suggestion img {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-header__main,
  body.altagwa-storefront-active .altagwa-header__nav-wrap {
    width: calc(100% - 16px) !important;
  }

  body.altagwa-storefront-active .altagwa-header__main {
    min-height: 0 !important;
    grid-template-columns: auto minmax(0, 1fr) 58px !important;
    grid-template-rows: 40px 40px !important;
    grid-template-areas: "actions toggle brand" "tools tools tools" !important;
    gap: 6px !important;
    row-gap: 6px !important;
    padding: 5px 0 !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-brand {
    grid-area: brand !important;
    width: 58px !important;
    min-width: 58px !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-brand__logo,
  body.altagwa-storefront-active .altagwa-header .altagwa-brand__fallback {
    width: 58px !important;
    height: 40px !important;
    flex-basis: 58px !important;
  }

  body.altagwa-storefront-active .altagwa-nav-toggle {
    grid-area: toggle !important;
    justify-self: end !important;
    width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-actions {
    grid-area: actions !important;
  }

  body.altagwa-storefront-active .altagwa-header__tools {
    grid-area: tools !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    grid-template-areas: "languages search" !important;
    gap: 5px !important;
  }

  body.altagwa-storefront-active .altagwa-search {
    grid-area: search !important;
    grid-column: auto !important;
    grid-row: auto !important;
    height: 40px !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    padding: 3px !important;
    border-radius: 12px !important;
  }

  body.altagwa-storefront-active .altagwa-search > input[type="search"] {
    height: 32px !important;
    padding-inline: 9px !important;
    font-size: 12px !important;
  }

  body.altagwa-storefront-active .altagwa-search > button {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-languages {
    height: 28px !important;
    justify-self: start !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-languages a {
    min-width: 25px !important;
    width: 25px !important;
    height: 24px !important;
    font-size: 8px !important;
  }

  body.altagwa-storefront-active .altagwa-header__nav-wrap {
    min-height: 0 !important;
    display: grid !important;
    border-top: 0 !important;
  }

  body.altagwa-storefront-active .altagwa-header .altagwa-nav {
    justify-content: flex-start !important;
  }

  body.altagwa-storefront-active .altagwa-search-suggestions {
    inset-block-start: calc(100% + 5px) !important;
    inset-inline: 0 !important;
    width: 100% !important;
    max-height: min(270px, 46vh) !important;
  }
}

/* Phase 26 definitive grid: six products on desktop, two on phones. */
@media (min-width: 1081px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (min-width: 761px) and (max-width: 1080px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-products,
  body.altagwa-storefront-active ul.products {
    width: 100% !important;
    margin-inline: 0 !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
}

body.altagwa-storefront-active .altagwa-home-product,
body.altagwa-storefront-active ul.products li.product {
  gap: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product:hover,
body.altagwa-storefront-active ul.products li.product:hover {
  transform: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product__image,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
  overflow: hidden !important;
  padding: 10px !important;
  background: #f5f5f5 !important;
  border: 0 !important;
  border-radius: 9px !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product__image img,
body.altagwa-storefront-active ul.products li.product .loop-image-wrap img,
body.altagwa-storefront-active .altagwa-home-product:hover .altagwa-home-product__image img,
body.altagwa-storefront-active ul.products li.product:hover .loop-image-wrap img {
  transform: none !important;
  transition: none !important;
}

body.altagwa-storefront-active .altagwa-home-product__body {
  min-height: 158px !important;
  margin-top: 0 !important;
  padding: 9px 4px 3px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.altagwa-storefront-active .altagwa-home-product h3,
body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 4px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

body.altagwa-storefront-active .altagwa-home-product h3 a {
  min-height: 2.7em !important;
}

body.altagwa-storefront-active .altagwa-home-product__stock {
  margin: 2px 0 !important;
  font-size: 10.5px !important;
}

body.altagwa-storefront-active .altagwa-home-product__price,
body.altagwa-storefront-active ul.products li.product .price {
  margin: 4px 0 7px !important;
  color: #171717 !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
}

body.altagwa-storefront-active .altagwa-home-product__button.button,
body.altagwa-storefront-active .altagwa-home-product__unavailable,
body.altagwa-storefront-active ul.products li.product .button {
  min-height: 36px !important;
  padding: 7px 10px !important;
  border-radius: 18px !important;
  font-size: 12px !important;
}

body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title,
body.altagwa-storefront-active ul.products li.product .price,
body.altagwa-storefront-active ul.products li.product .product-category,
body.altagwa-storefront-active ul.products li.product .product-loop-meta,
body.altagwa-storefront-active ul.products li.product .loop-button-wrap {
  margin-inline: 4px !important;
}

body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
  margin-top: 9px !important;
}

body.single-product .woocommerce-product-gallery__trigger {
  display: none !important;
}

body.single-product .woocommerce-product-gallery__image > a {
  pointer-events: none !important;
  cursor: default !important;
}

body.single-product .woocommerce-product-gallery__image img {
  cursor: default !important;
}

@media (max-width: 760px) {
  body.altagwa-storefront-active .altagwa-home-product__image,
  body.altagwa-storefront-active ul.products li.product .loop-image-wrap {
    padding: 7px !important;
    border-radius: 8px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__body {
    min-height: 144px !important;
    padding: 7px 2px 2px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product h3,
  body.altagwa-storefront-active ul.products li.product .woocommerce-loop-product__title {
    font-size: 11.5px !important;
    line-height: 1.32 !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__price,
  body.altagwa-storefront-active ul.products li.product .price {
    margin-bottom: 6px !important;
    font-size: 16px !important;
  }

  body.altagwa-storefront-active .altagwa-home-product__button.button,
  body.altagwa-storefront-active .altagwa-home-product__unavailable,
  body.altagwa-storefront-active ul.products li.product .button {
    min-height: 34px !important;
    padding: 6px !important;
    border-radius: 17px !important;
    font-size: 10.5px !important;
  }
}
