/* ---------- Foundation ---------- */
:root {
  --ink: #202326;
  --muted: #777c80;
  --line: #e4e6e7;
  --soft: #f5f6f6;
  --soft-blue: #f2f8fa;
  --blue: #1680a2;
  --blue-dark: #0d6988;
  --red: #d52f3e;
  --red-dark: #b92231;
  --green: #36885b;
  --shadow: 0 3px 13px rgba(24, 32, 37, .08);
  /* Content column only — shell chrome stays full-bleed with gutters. */
  --content-width: 1280px;
  --page-gutter: clamp(16px, 2.8vw, 40px);
  --reveal-ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 1.45; background: #fff; -webkit-font-smoothing: antialiased; text-align: left; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 32px, 0);
  transition:
    opacity .85s var(--reveal-ease),
    transform .85s var(--reveal-ease);
  will-change: opacity, transform;
}
.reveal.is-inview {
  opacity: 1;
  transform: none;
}
.reveal-stagger > .reveal-item {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .7s var(--reveal-ease),
    transform .7s var(--reveal-ease);
  transition-delay: calc(var(--reveal-i, 0) * 70ms);
  will-change: opacity, transform;
}
.reveal-stagger.is-inview > .reveal-item {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > .reveal-item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Page loading skeleton ---------- */
body.altech-is-loading {
  overflow: hidden;
}
body.altech-is-loading main {
  opacity: 0;
}
body.altech-is-ready main {
  opacity: 1;
  transition: opacity .35s ease;
}
.altech-page-skeleton {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: #fff;
  overflow: hidden;
  pointer-events: none;
  opacity: 1;
  transition: opacity .4s ease, visibility .4s ease;
}
body.altech-is-ready .altech-page-skeleton,
body:not(.altech-is-loading) .altech-page-skeleton {
  opacity: 0;
  visibility: hidden;
}
.altech-page-skeleton-inner {
  padding-top: 28px;
  padding-bottom: 40px;
}
.altech-page-skeleton .sk-block,
.altech-page-skeleton .sk-line {
  display: block;
  border-radius: 4px;
}
.altech-page-skeleton .sk-shimmer {
  background: linear-gradient(90deg, #eceeee 22%, #f7f8f8 40%, #eceeee 58%);
  background-size: 220% 100%;
  animation: altech-sk 1.15s ease-in-out infinite;
}
.altech-page-skeleton .sk-hero {
  height: min(420px, 52vh);
  margin-bottom: 22px;
}
.altech-page-skeleton .sk-row {
  display: grid;
  gap: 14px;
  margin-bottom: 28px;
}
.altech-page-skeleton .sk-banners {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.altech-page-skeleton .sk-banners .sk-block {
  height: clamp(120px, 16vw, 200px);
}
.altech-page-skeleton .sk-cats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-items: center;
}
.altech-page-skeleton .sk-circle {
  width: min(100%, 110px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}
.altech-page-skeleton .sk-line {
  width: min(220px, 40%);
  height: 18px;
  margin: 0 0 16px;
}
.altech-page-skeleton .sk-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.altech-page-skeleton .sk-card {
  height: 260px;
}
@keyframes altech-sk {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
@media (max-width: 820px) {
  .altech-page-skeleton .sk-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .altech-page-skeleton .sk-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .altech-page-skeleton .sk-card { height: 220px; }
}
@media (max-width: 640px) {
  .altech-page-skeleton .sk-banners { grid-template-columns: 1fr 1fr; }
  .altech-page-skeleton .sk-hero { height: min(320px, 48vh); }
}
@media (prefers-reduced-motion: reduce) {
  .altech-page-skeleton .sk-shimmer { animation: none; background: #eee; }
  body.altech-is-ready main { transition: none; }
  .altech-page-skeleton { transition: none; }
}
button, input, select, textarea { font: inherit; color: inherit; }
button { border: 0; background: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; height: auto; }
/* Full-width shell: gutters only, no site-wide max-width. */
.container { width: 100%; max-width: none; margin-left: auto; margin-right: auto; padding-left: var(--page-gutter); padding-right: var(--page-gutter); box-sizing: border-box; text-align: left; }
/* Centered reading column for content pages (careers, policies, compare, etc.). */
main.simple-page,
main.compare-page,
main.contact-page,
main.auth-page {
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
}
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 19px; border-radius: 2px; border: 1px solid transparent; font-weight: 600; transition: .18s ease; }
.button.primary { background: var(--red); color: #fff; box-shadow: 0 2px 0 var(--red-dark); }
.button.primary:hover { background: var(--red-dark); }
.button.outline { color: var(--blue); border-color: #a8c8d2; background: #fff; }
.button.outline:hover { border-color: var(--blue); background: var(--soft-blue); }
.button.ghost { color: var(--blue); border-color: var(--line); background: #fff; }
.button.full { width: 100%; }
.text-link, .simple-section-head a { color: var(--blue); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.text-link:hover, .simple-section-head a:hover { color: var(--blue-dark); }
.eyebrow { display: block; color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: #fff; }
.utility-bar { height: 30px; border-bottom: 1px solid #f1f1f1; color: #777; font-size: 12px; }
.utility-inner { height: 100%; display: flex; justify-content: flex-start; align-items: center; }
.utility-links { display: flex; align-items: center; gap: 18px; }
.utility-links a:hover { color: var(--blue); }
.header-main { height: 105px; display: flex; align-items: center; gap: 21px; }
.logo { width: 305px; max-width: min(305px, 42vw); display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1; flex: 0 0 auto; min-width: 0; }
.logo.has-image { width: auto; max-width: min(320px, 48vw); }
.logo .site-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 72px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.logo-main { color: #586066; font-family: Georgia, 'Times New Roman', serif; font-size: 43px; font-weight: 700; letter-spacing: -.04em; text-shadow: 0 1px 1px rgba(0,0,0,.08); }
.logo-main sup { font-family: Arial, sans-serif; font-size: 8px; vertical-align: top; margin: 6px 0 0 2px; display: inline-block; }
.logo-line { height: 14px; display: flex; align-items: center; color: #df525e; }
.logo-line i { position: relative; width: 49px; height: 2px; background: var(--red); transform: rotate(-11deg); margin: -2px 2px 0 2px; }
.logo-line i:after { content: ''; position: absolute; width: 19px; height: 7px; border-left: 3px solid var(--red); border-top: 3px solid var(--red); transform: rotate(30deg); top: -4px; left: 11px; }
.logo-line b { font-size: 12px; font-style: italic; letter-spacing: .03em; }
.header-spacer { flex: 1; }
.header-social { display: flex; gap: 6px; }
.header-social a { width: 35px; height: 35px; border: 1px solid #eee; display: grid; place-items: center; color: #798185; }
.header-social a:hover { color: var(--blue); }
.phone-block { display: flex; align-items: center; gap: 10px; min-width: 220px; }
.phone-block > svg { color: #b7bdc0; }
.phone-block div { display: flex; flex-direction: column; line-height: 1.2; }
.phone-block b { font-size: 18px; }
.phone-block a { color: var(--blue); font-size: 12px; }
.nav-line {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 3px rgba(0,0,0,.04);
  background: #fff;
  overflow: visible;
}
.nav-inner { height: 100%; display: flex; align-items: stretch; position: relative; overflow: visible; }
.categories-wrap { position: relative; width: 300px; flex: 0 0 300px; align-self: stretch; z-index: 120; overflow: visible; }
.categories-trigger { width: 100%; height: 100%; display: flex; align-items: center; gap: 13px; padding: 0 19px; font-size: 18px; border-top: 2px solid var(--blue); margin-top: -1px; }
.categories-trigger span { flex: 1; text-align: left; }
.categories-trigger.open { color: var(--blue); background: #fafafa; }
.search-wrap { flex: 1; position: relative; margin: 7px 48px 7px 0; }
.search-form { height: 100%; display: flex; background: #f5f5f5; border: 1px solid transparent; }
.search-form:focus-within { background: #fff; border-color: #b8d6df; }
.search-form input { flex: 1; width: 0; padding: 0 15px; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-form button { width: 44px; display: grid; place-items: center; color: #7d8588; }
.search-suggestions { position: absolute; top: calc(100% + 7px); left: 0; right: 0; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); z-index: 120; max-height: min(360px, 70vh); overflow: auto; }
.search-suggestions > a { display: flex; align-items: center; padding: 10px 12px; gap: 12px; border-bottom: 1px solid #eee; }
.search-suggestions > a:last-child { border-bottom: 0; }
.search-suggestions > a:hover { background: #f8fafb; }
.search-suggest-thumb { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; background: #f3f5f6; border: 1px solid #eef1f2; }
.search-suggest-thumb.is-placeholder { display: grid; place-items: center; color: #9aa4a7; padding: 4px; }
.search-suggest-thumb.is-placeholder svg,
.search-suggestions svg { width: 100%; height: 100%; color: #9aa4a7; }
.search-suggestions > a > span { min-width: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.search-suggestions b { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-suggestions small { color: var(--blue); margin-top: 2px; }
.no-suggestion { padding: 17px; color: var(--muted); }
.nav-action { min-width: 138px; display: flex; align-items: center; justify-content: center; gap: 8px; border-left: 1px solid #eee; font-size: 17px; }
button.nav-action { font: inherit; background: transparent; border: 0; border-left: 1px solid #eee; cursor: pointer; color: inherit; padding: 0; height: 100%; }
.nav-action:hover { color: var(--blue); background: #fcfcfc; }
.cart-action { min-width: 125px; }
.cart-icon-wrap { position: relative; display: inline-flex; }
.cart-count-badge,
.cart-icon-wrap .cart-count-badge,
.mobile-cart .cart-count-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  z-index: 2;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 0 0 2px #fff;
  pointer-events: none;
}
.cart-count-badge[hidden] { display: none !important; }
.mobile-cart .cart-count-badge { top: -4px; right: -4px; }
.category-dropdown { position: absolute; z-index: 130; left: 0; top: 100%; width: 100%; padding: 8px 0 11px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: visible; }
.category-title-row { padding: 10px 19px 8px; color: #555; }
.category-title-row span, .home-catalogue-title span { display: inline-block; padding: 2px 6px; border-radius: 9px; margin-left: 4px; font-size: 9px; color: #fff; background: #de3f4d; vertical-align: 1px; }
.category-row { height: 37px; padding: 0 17px 0 19px; display: flex; align-items: center; justify-content: space-between; }
.category-row:hover,
.category-row.is-open { background: #f5f8f9; color: var(--blue); }
.category-row > a { flex: 1; }
.category-row > svg { flex: 0 0 auto; opacity: .55; }
.category-row.has-children > svg { opacity: 1; }
/* L1 flyout is positioned against .category-dropdown (row is not relative). */
.category-flyout,
.category-dropdown > .category-row > .category-panel {
  position: absolute;
  top: -1px;
  left: calc(100% - 1px);
  width: 310px;
  min-height: calc(100% + 2px);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 7px 3px 12px rgba(24,32,37,.08);
  padding: 12px 0 14px;
  color: var(--ink);
  z-index: 131;
}
.category-panel { position: relative; }
.category-panel .category-row {
  position: relative;
  padding-left: 18px;
  padding-right: 14px;
}
/* L2+ cascading panels open to the right of the hovered row. */
.category-panel .category-row > .category-panel {
  position: absolute;
  top: 0;
  left: calc(100% - 1px);
  width: 310px;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 7px 3px 12px rgba(24,32,37,.08);
  padding: 12px 0 14px;
  color: var(--ink);
  z-index: 132;
}
.category-panel.level-3,
.category-panel.level-4,
.category-panel .category-panel .category-panel { z-index: 133; }
.flyout-heading { font-size: 18px; font-weight: 600; padding: 8px 18px 11px; border-bottom: 1px solid var(--line); margin: 0 0 6px; }
.flyout-heading.small { font-size: 15px; font-weight: 600; }
.flyout-item > a { display: block; padding: 8px 0; font-weight: 600; }
.flyout-item > a:hover, .flyout-nested a:hover { color: var(--blue); }
.flyout-nested { display: flex; flex-direction: column; gap: 5px; padding: 0 0 7px 12px; color: #777; font-size: 12px; }
.mobile-subcategories .mobile-category { padding-left: 12px; }
.mobile-subcategories .mobile-category > div > a { font-size: 13px; }
.view-all-link { display: flex; align-items: center; gap: 5px; margin: 11px 18px 0; color: var(--blue); }
.mobile-menu-button, .mobile-cart { display: none; }

/* ---------- Mobile drawers ---------- */
.mobile-drawer-backdrop, .cart-backdrop, .mobile-filter-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(20,27,30,.38); opacity: 0; visibility: hidden; transition: .25s; }
.mobile-drawer-backdrop.visible, .cart-backdrop.visible, .mobile-filter-backdrop.visible { opacity: 1; visibility: visible; }
.mobile-drawer { position: fixed; z-index: 210; left: 0; top: 0; bottom: 0; width: min(88vw, 390px); background: #fff; transform: translateX(-103%); transition: transform .28s ease; overflow-y: auto; box-shadow: 8px 0 24px rgba(0,0,0,.12); }
.mobile-drawer.visible { transform: translateX(0); }
.drawer-head { height: 83px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-head .logo { transform: scale(.66); transform-origin: left center; width: 240px; }
.drawer-head button { padding: 8px; }
.mobile-search { margin: 15px; height: 44px; }
.mobile-nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.mobile-nav > a, .mobile-nav > button { min-height: 47px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; border-bottom: 1px solid #eee; text-align: left; }
.mobile-categories { background: #fafafa; }
.mobile-category > div:first-child { min-height: 44px; display: flex; align-items: center; padding-left: 27px; border-bottom: 1px solid #eee; }
.mobile-category > div > a { flex: 1; }
.mobile-category > div > button { width: 42px; align-self: stretch; display: grid; place-items: center; }
.mobile-subcategories { display: flex; flex-direction: column; background: #fff; padding: 6px 0 6px 42px; }
.mobile-subcategories a { padding: 7px 10px; color: #666; font-size: 13px; }
.drawer-phone { margin: 20px; padding: 17px; display: flex; flex-direction: column; background: var(--soft-blue); }
.drawer-phone span, .drawer-phone small { color: var(--muted); }
.drawer-phone b { font-size: 18px; margin: 2px 0; }

/* ---------- Cart drawer ---------- */
.cart-backdrop { z-index: 300; }
.cart-drawer { position: fixed; z-index: 310; right: 0; top: 0; bottom: 0; width: min(92vw, 430px); background: #fff; transform: translateX(103%); transition: transform .28s ease; display: flex; flex-direction: column; box-shadow: -8px 0 25px rgba(0,0,0,.12); }
.cart-drawer.visible { transform: translateX(0); }
.cart-drawer-head { padding: 21px 23px 18px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer-head h2 { margin: 0; font-size: 20px; font-weight: 500; }
.cart-drawer-head span { color: var(--muted); font-size: 12px; }
.cart-drawer-head button { padding: 7px; }
.cart-drawer-body { flex: 1; overflow-y: auto; }
.drawer-cart-item { padding: 17px 15px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 75px 1fr 22px; gap: 12px; }
.drawer-item-art { height: 72px; background: #f7f8f8; display: grid; place-items: center; overflow: hidden; }
.drawer-item-art svg { width: 63px; height: 61px; color: #8c989b; }
.drawer-item-art img,
.drawer-item-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
a.remove-mini { display: grid; place-items: center; text-decoration: none; }
.drawer-item-details { min-width: 0; }
.drawer-item-details > a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 600; font-size: 13px; }
.drawer-item-row { display: flex; justify-content: space-between; align-items: center; margin-top: 11px; }
.drawer-item-row b { font-size: 13px; }
.mini-qty { display: flex; border: 1px solid var(--line); height: 29px; }
.mini-qty button { width: 27px; display: grid; place-items: center; }
.mini-qty span { width: 23px; display: grid; place-items: center; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font-size: 12px; }
.remove-mini { align-self: start; color: #a7abad; padding: 3px; }
.cart-drawer-foot { padding: 20px 23px 23px; border-top: 1px solid var(--line); box-shadow: 0 -5px 18px rgba(0,0,0,.04); }
.subtotal-row { display: flex; justify-content: space-between; font-size: 18px; }
.cart-drawer-foot > p { color: var(--muted); font-size: 12px; margin: 6px 0 16px; }
.cart-drawer-foot .button + .button { margin-top: 9px; }
.empty-cart { text-align: center; margin: 65px 30px; }
.empty-cart > div { width: 78px; height: 78px; display: grid; place-items: center; margin: 0 auto 19px; border-radius: 50%; background: var(--soft); color: #9ba3a6; }
.empty-cart h3 { margin: 0 0 6px; font-size: 20px; }
.empty-cart p { color: var(--muted); margin: 0 0 21px; }
.toast { position: fixed; z-index: 350; right: 24px; bottom: 24px; background: #26383e; color: #fff; display: flex; align-items: center; gap: 8px; padding: 12px 18px; box-shadow: var(--shadow); transition: bottom .2s ease, right .2s ease; }
.toast[hidden] { display: none !important; }
.toast svg { color: #71d49a; }
body.altech-has-wa-floater .toast { right: 90px; }
body.altech-has-tawk .toast { right: 90px; }
body.altech-has-wa-floater.altech-has-tawk .toast { right: 90px; bottom: 24px; }

/* ---------- Home ---------- */
.home-hero { display: grid; grid-template-columns: 300px 1fr; min-height: 550px; gap: 16px; overflow: visible; }
.home-category-panel { position: relative; padding: 7px 0 10px; box-shadow: var(--shadow); align-self: start; background: #fff; z-index: 6; overflow: visible; }
.home-catalogue-title { height: 40px; padding: 11px 20px; color: #555; }
.home-category-row { height: 39px; display: flex; align-items: center; padding: 0 17px 0 20px; }
.home-category-row:hover { color: var(--blue); background: #f7f9fa; }
.home-category-row > a { flex: 1; }
.home-category-flyout { position: absolute; left: 100%; top: 0; width: 520px; min-height: 100%; padding: 25px; background: #fff; border-left: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); z-index: 7; }
.home-category-flyout h3 { font-size: 20px; font-weight: 500; margin: 0 0 15px; }
.home-category-flyout > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.home-category-flyout a { padding: 12px; border: 1px solid var(--line); display: flex; flex-direction: column; }
.home-category-flyout a:hover { border-color: #a8cdd8; }
.home-category-flyout a small { color: var(--blue); margin-top: 2px; }
.hero-slider { position: relative; margin-top: 16px; height: 520px; overflow: hidden; background: #f2f8fa; }
.hero-slider.gray { background: #f5f6f6; }
.hero-slider.news { background: #eef4f6; }
.hero-product-art {
  position: absolute;
  width: min(38%, 340px);
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 78%;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(65,102,113,.14);
  stroke-width: .8;
}
.hero-post-media {
  position: absolute;
  width: min(38%, 340px);
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 78%;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e8f0f3;
  color: rgba(65,102,113,.35);
}
.hero-post-media.has-photo { background: #dfe8eb; }
.hero-post-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-post-media .circuit-lines { position: absolute; inset: 12%; opacity: .35; pointer-events: none; }
.hero-post-media svg { position: relative; z-index: 1; }
.hero-copy { position: absolute; left: 48%; right: 5%; top: 50%; transform: translateY(-50%); }
.hero-copy > span { display: block; color: var(--blue); font-size: 12px; margin-bottom: 9px; }
.hero-copy h1 { max-width: 430px; font-size: 25px; line-height: 1.28; margin: 0 0 8px; }
.hero-copy p {
  max-width: 410px;
  color: #4e5457;
  margin: 0 0 23px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
}
.hero-dots { position: absolute; left: 0; right: 0; bottom: 15px; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.hero-dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; background: #d9dcdc; }
.hero-dots button.active { background: #aeb3b5; }
.home-products-section { padding-top: 54px; padding-bottom: 24px; }
.section-heading-row { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; }
.section-heading-row h2 { margin: 0 0 10px; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }

/* ---------- Featured categories ---------- */
.home-featured-cats { padding-top: 40px; }
.home-featured-cats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.home-featured-cat {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}
.home-featured-cat:hover { color: var(--blue); }
.home-featured-cat-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f4f6f7;
  border: 1px solid var(--line);
  color: #9aa5a9;
}
.home-featured-cat-media.has-photo { background: #eef2f3; }
.home-featured-cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .25s;
}
.home-featured-cat:hover .home-featured-cat-media img { transform: scale(1.04); }
.home-featured-cat-name {
  margin-top: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.home-featured-cat-count {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}
.section-heading-actions { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.pill-tabs { display: flex; gap: 9px; flex-wrap: wrap; }
.pill-tabs button { border: 1px solid #d5d9da; color: #888; min-height: 35px; padding: 0 15px; border-radius: 18px; }
.pill-tabs button.active { color: var(--blue); border: 2px solid var(--blue); }
.home-carousel-nav { display: flex; align-items: center; gap: 6px; }
.home-carousel-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #dfe3e4;
  background: #f3f5f6;
  color: #5e6466;
  cursor: pointer;
  padding: 0;
}
.home-carousel-btn:hover { color: var(--blue); border-color: #b7ced6; background: #eef5f7; }
.home-carousel-btn:disabled { opacity: .35; cursor: default; }
.home-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.home-product-carousel {
  display: flex;
  flex-flow: row nowrap;
  align-items: stretch;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.home-product-carousel::-webkit-scrollbar { display: none; }
.home-product-carousel .product-card {
  flex: 0 0 25%;
  width: 25%;
  max-width: 25%;
  min-width: 25%;
  scroll-snap-align: start;
  height: auto;
  border-right: 0;
  box-sizing: border-box;
}
.home-product-carousel .product-card:last-child { border-right: 1px solid var(--line); }
.benefit-strip { margin-top: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fafafa; }
.benefit-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.benefit-grid > div { display: flex; align-items: center; justify-content: center; gap: 13px; min-height: 90px; border-right: 1px solid var(--line); }
.benefit-grid > div:last-child { border: 0; }
.benefit-grid svg { color: var(--blue); }
.benefit-grid span { display: flex; flex-direction: column; }
.benefit-grid b { font-size: 15px; }
.benefit-grid small { color: var(--muted); }
.latest-news { padding-top: 55px; padding-bottom: 66px; }
.latest-news.home-products-section { padding-top: 54px; padding-bottom: 40px; }
.simple-section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 12px; }
.simple-section-head h2 { margin: 0; font-size: 22px; font-weight: 500; }
.home-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.home-post-grid article { min-width: 0; display: block; }
.home-post-grid article > small { color: var(--muted); display: block; margin-top: 13px; }
.home-post-grid h3 { font-size: 18px; line-height: 1.35; margin: 5px 0 8px; }
.home-post-grid h3 a:hover { color: var(--blue); }
.home-post-grid p { margin: 0 0 10px; color: #62676a; }
.read-more { color: var(--blue); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.post-thumb { height: 170px; background: #eef4f5; display: flex; align-items: center; justify-content: center; color: #7f9da6; position: relative; overflow: hidden; }
.post-thumb-2 { background: #f4f2ef; color: #a4927e; }
.post-thumb-3 { background: #f0f4f1; color: #789682; }
.post-thumb span { position: absolute; left: 13px; top: 13px; background: #fff; padding: 5px 8px; color: var(--blue); font-size: 11px; z-index: 1; }
.post-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-visual.has-photo { padding: 0; overflow: hidden; }
.article-visual.has-photo .article-photo { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 180px; }
.article-visual.has-photo.large .article-photo { min-height: 320px; }
.home-tab-empty { grid-column: 1 / -1; color: var(--muted); padding: 24px 0; }

/* ---------- Products ---------- */
.product-card { position: relative; min-width: 0; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; height: 100%; }
.product-card:hover { z-index: 2; box-shadow: 0 4px 16px rgba(24,32,37,.10); }
.product-art-wrap {
  aspect-ratio: 1 / 1;
  width: 100%;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background: #f4f6f7;
}
.product-art { width: 62%; height: 62%; max-width: 62%; max-height: 62%; color: #a5adaf; transition: transform .25s; }
.product-art.product-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0;
  padding: 12px;
  box-sizing: border-box;
}
.product-art-wrap > svg.product-art { width: 62%; height: 62%; object-fit: contain; }
.product-card:hover .product-art { transform: scale(1.025); color: #78878b; }
.product-card:hover .product-art.product-photo { transform: scale(1.03); }
.discount-badge { position: absolute; top: 15px; right: 15px; color: #b3263b; background: #fff; border: 1px solid #b3263b; border-radius: 14px; padding: 3px 9px; font-size: 11px; z-index: 2; }
.product-content {
  padding: 10px 15px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  color: #9aa0a2;
  font-size: 10px;
  min-height: 18px;
  margin-bottom: 4px;
  flex: 0 0 auto;
}
.product-meta-links {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  white-space: nowrap;
}
.product-meta-links > a,
.product-meta-links .product-brands {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-meta-links .product-brands {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  font-size: inherit;
  flex: 0 1 auto;
}
.product-meta-links > a + .product-brands::before {
  content: "·";
  margin-right: 6px;
  color: #b7bec1;
  flex: 0 0 auto;
}
.product-meta a { color: var(--blue); }
.product-meta .stars { flex: 0 0 auto; }
.stars { color: #c0c5c7; letter-spacing: 1px; font-size: 9px; line-height: 1; }
.product-name {
  min-width: 0;
  max-width: 100%;
  height: 2.5em;
  max-height: 2.5em;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  flex: 0 0 auto;
}
.product-name:hover { color: var(--blue); }
.product-buy-row {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  gap: 8px;
  align-items: end;
  justify-content: space-between;
  flex: 0 0 auto;
}
.product-prices { min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.product-prices del {
  color: #a35b65;
  font-size: 12px;
  line-height: 1.2;
  min-height: 1.2em;
  display: block;
}
.product-prices del.price-was-placeholder {
  visibility: hidden;
  color: transparent;
}
.product-prices strong { font-size: 18px; line-height: 1.2; font-weight: 400; }
.product-prices small {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  line-height: 1.3;
}
.card-add { width: 37px; height: 37px; flex: 0 0 37px; border: 1px solid #c8dce3; display: grid; place-items: center; color: var(--blue); }
.card-add span { display: none; }
.card-add:hover { color: #fff; background: var(--blue); }
.card-deal-slot {
  margin-top: 8px;
  min-height: 34px;
  flex: 0 0 auto;
}
.card-deal { min-width: 0; }
.card-deal-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  color: #6a7174;
  font-size: 11px;
  line-height: 1.3;
}
.card-deal-time {
  color: var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.card-deal-bar {
  margin-top: 6px;
  height: 4px;
  width: 100%;
  background: #e6eaeb;
  overflow: hidden;
}
.card-deal-bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: #e85d04;
  transition: width .4s linear;
}
.product-card.compact { min-height: 0; }
.product-card.compact .product-art-wrap {
  aspect-ratio: 1 / 1;
  height: auto;
  display: grid;
  place-items: center;
  padding-left: 0;
}
.product-card.compact .product-art { width: 62%; height: 62%; color: #d5d9da; }
.product-card.compact .product-art.product-photo { width: 100%; height: 100%; padding: 10px; }
.product-card.compact .product-content { padding: 8px 12px 12px; }
.product-card.compact .product-meta { justify-content: flex-end; margin-bottom: 2px; }
.product-card.compact .product-meta a { display: none; }
.product-card.compact .product-name {
  height: 2.5em;
  max-height: 2.5em;
  font-size: 13px;
  margin: 0;
}
.product-card.compact .product-buy-row { padding-top: 8px; }
.product-card.compact .product-prices strong { font-size: 16px; }
.product-card.compact .card-deal-slot { min-height: 32px; margin-top: 6px; }
.product-card.compact .card-deal-label { font-size: 10px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
}
.site-footer .footer-legal { margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 1.05fr .8fr 1.05fr 1.1fr; gap: 40px 48px; padding-top: 40px; padding-bottom: 28px; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; text-align: left; min-width: 0; }
.footer-group h3 { font-size: 16px; font-weight: 600; margin: 0 0 12px; color: var(--ink); }
.footer-group a { color: var(--blue); margin: 4px 0; font-size: 13px; line-height: 1.45; }
.footer-group a:hover { color: var(--blue-dark); }
.contact-group p { margin: 3px 0; color: #5e6466; font-size: 13px; line-height: 1.5; }
.footer-bottom { min-height: 56px; border-top: 1px solid #f1f1f1; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 12px; color: #7a8185; padding: 14px 0; }
.footer-bottom p { margin: 0; }
.footer-bottom .footer-social,
.footer-bottom div { display: flex; gap: 10px; color: #70787b; align-items: center; }
.footer-social a:hover { color: var(--blue); }

/* ---------- Page intros ---------- */
.page-intro { min-height: 115px; display: flex; align-items: center; justify-content: space-between; padding-top: 14px; }
.page-intro h1 { margin: 0 0 7px; font-size: 21px; font-weight: 400; }
.breadcrumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: #a0a3a5; font-size: 12px; }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs b { font-weight: 400; }

/* ---------- Shop ---------- */
.shop-page { padding-bottom: 58px; padding-top: 0; }
.shop-page > .page-intro {
  min-height: 0;
  padding: 8px 0 6px;
  margin: 0;
  align-items: flex-start;
}
.shop-page > .page-intro h1 { margin: 0 0 4px; font-size: 20px; }
.shop-page > .page-intro .breadcrumbs { margin: 0; }
.shop-layout { display: grid; grid-template-columns: 265px 1fr; gap: 18px 25px; align-items: start; margin-top: 0; }
.shop-sidebar {
  --shop-nav-offset: 70px;
  min-width: 0;
  position: sticky;
  top: var(--shop-nav-offset);
  z-index: 5;
  max-height: calc(100vh - var(--shop-nav-offset));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
}
.shop-filters-head {
  flex: 0 0 auto;
  background: #fff;
  z-index: 1;
}
.shop-filters-form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
}
.shop-filters-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-width: thin;
}
.shop-filters-actions {
  flex: 0 0 auto;
  display: grid;
  gap: 8px;
  padding: 12px 0 4px;
  margin-top: 0;
  background: #fff;
  border-top: 1px solid #eee;
  box-shadow: 0 -6px 12px -10px rgba(24, 32, 37, .35);
}
.shop-filters-actions .button.full {
  width: 100%;
  min-height: 42px;
  justify-content: center;
}
.shop-filters-actions .reset-filter.button {
  margin: 0;
  min-height: 42px;
  padding: 0 19px;
  background: #f3f3f3;
  color: #5f676b;
  border-color: #e3e6e7;
  font-weight: 600;
  box-shadow: none;
}
.shop-filters-actions .reset-filter.button:hover {
  background: #eceeee;
  color: var(--ink);
  border-color: #d5d9da;
}
.shop-filters-hint {
  margin: 0;
  font-size: 11px;
  color: #9aa1a5;
  line-height: 1.35;
  text-align: center;
}
.shop-filters-form.is-submitting {
  opacity: .72;
  pointer-events: none;
}
.filter-label { margin-top: 0; padding: 7px 0; color: #aaa; border-bottom: 1px solid #f1f1f1; font-size: 12px; }
.filter-block { padding: 4px 0; border-bottom: 1px solid #eee; }
.filter-block-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 12px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.filter-block-toggle svg {
  flex: 0 0 auto;
  color: #8a9194;
  transition: transform .18s ease;
}
.filter-block.is-collapsed .filter-block-toggle svg { transform: rotate(-90deg); }
.filter-block-title { min-width: 0; }
.filter-block-body { padding: 0 0 14px; }
.filter-block.is-collapsed .filter-block-body { display: none; }
.check-list { display: flex; flex-direction: column; gap: 8px; }
.check-list.filter-scroll { max-height: none; overflow: visible; padding-right: 0; }
.check-list label, .remember-check { display: flex !important; align-items: center; gap: 9px; cursor: pointer; font-weight: 400 !important; }
.check-list label.filter-indent-1 { padding-left: 14px; }
.check-list label.filter-indent-2 { padding-left: 28px; }
.check-list label.filter-indent-3 { padding-left: 42px; }
.check-list input, .remember-check > input { position: absolute; opacity: 0; pointer-events: none; }
.custom-check { width: 24px; height: 24px; border: 1px solid #dfe2e3; display: grid; place-items: center; color: transparent; flex: 0 0 24px; }
.check-list input:checked + .custom-check, .remember-check > input:checked + .custom-check { color: #fff; border-color: var(--blue); background: var(--blue); }
.filter-option-label { min-width: 0; line-height: 1.3; }
.filter-count { color: #9aa1a5; font-style: normal; font-weight: 400; white-space: nowrap; }
.price-inputs { display: grid; grid-template-columns: 1fr 12px 1fr; align-items: end; gap: 7px; }
.price-inputs label { display: flex; align-items: center; height: 38px; border: 1px solid var(--line); }
.price-inputs label span { padding-left: 7px; color: #888; font-size: 11px; }
.price-inputs input { width: 0; flex: 1; border: 0; outline: 0; padding: 0 5px; }
.price-inputs i { font-style: normal; text-align: center; color: #999; padding-bottom: 10px; }
.price-apply-btn { margin-top: 10px; min-height: 36px; }
.fake-range { height: 3px; margin: 20px 11px 9px; position: relative; background: #d8e7eb; }
.fake-range:before { content: ''; position: absolute; inset: 0; background: var(--blue); }
.fake-range span { position: absolute; width: 11px; height: 11px; background: #fff; border: 2px solid var(--blue); border-radius: 50%; top: -4px; transform: translateX(-50%); }
.range-labels { display: flex; justify-content: space-between; color: #aaa; font-size: 10px; }
.shop-content { min-width: 0; }
.top-category-links { min-height: 75px; padding: 13px 14px 8px; display: flex; flex-wrap: wrap; align-content: flex-start; gap: 12px 31px; }
.top-category-links button, .top-category-links a { padding: 0; color: var(--blue); font-weight: 600; }
.top-category-links button.active, .top-category-links a.active { color: var(--ink); text-decoration: underline; text-decoration-color: var(--blue); text-underline-offset: 4px; }
.shop-toolbar { min-height: 56px; border-top: 1px solid #f2f2f2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 0; }
.shop-toolbar-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 22px; min-width: 0; flex: 1; }
.shop-result-count {
  margin: 0;
  font-size: 13px;
  color: #5f676b;
  font-weight: 500;
  letter-spacing: .01em;
  white-space: nowrap;
}
.sort-select { display: flex; align-items: center; flex-wrap: wrap; color: #8a9194; gap: 8px; font-size: 13px; }
.sort-select label { color: #8a9194; white-space: nowrap; }
.sort-select form { display: inline; margin: 0; }
.sort-select-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 168px;
}
.sort-select select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid #d5dde0;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  outline: 0;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
}
.sort-select select:hover,
.sort-select select:focus {
  border-color: var(--blue);
}
.sort-select .sort-chevron {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  pointer-events: none;
}
.view-buttons { display: flex; gap: 5px; flex: 0 0 auto; }
.view-buttons button { width: 42px; height: 37px; display: grid; place-items: center; color: #d1d4d5; }
.view-buttons button.active { color: var(--blue); background: #f6f9fa; }
.mobile-filter-button { display: none; }
.shop-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-product-grid .product-card { margin-right: -1px; margin-bottom: -1px; }
.shop-product-grid.list { display: flex; flex-direction: column; gap: 0; }
.product-brands { margin: 0; font-size: 12px; color: var(--blue); }
.product-brands a:hover { text-decoration: underline; }
.product-card.list-view .product-meta-links { white-space: nowrap; }
.product-card.list-view .product-brands { font-size: 12px; }
.product-card .list-description { display: none; }
.product-card.list-view { display: grid; grid-template-columns: 230px minmax(0, 1fr); min-height: 230px; width: 100%; flex-direction: unset; align-items: stretch; }
.product-card.list-view .product-art-wrap { aspect-ratio: 1 / 1; height: auto; align-self: stretch; }
.product-card.list-view .product-content { padding: 22px 24px; min-width: 0; }
.product-card.list-view .product-name { height: auto; font-size: 18px; -webkit-line-clamp: unset; }
.product-card.list-view .list-description { display: block; color: #666; max-width: 650px; margin: 8px 0 0; }
.product-card.list-view .product-buy-row {
  margin-top: 16px;
  align-items: center;
  gap: 16px;
}
.product-card.list-view .product-prices { flex: 1 1 auto; }
.product-card.list-view .card-add {
  width: auto;
  min-width: 148px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  border-color: var(--blue);
  background: #fff;
}
.product-card.list-view .card-add span { display: inline; font-size: 13px; }
.product-card.list-view .card-add:hover { color: #fff; background: var(--blue); }
.stars.is-rated { color: #c9a227; }
.stars .star-empty { color: #c0c5c7; }
.shop-show-more { display: flex; justify-content: center; padding: 28px 0 8px; }
.shop-show-more .button { min-width: 220px; }
.no-results { text-align: center; min-height: 420px; padding-top: 90px; border: 1px solid var(--line); }
.no-results svg { margin: 0 auto; color: #a6afb1; }
.no-results h2 { font-weight: 500; }
.no-results p { color: var(--muted); }
.mobile-filter-drawer { display: none; }

/* ---------- Product page ---------- */
.product-page { padding-bottom: 65px; }
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 28px 32px;
  align-items: start;
  padding: 20px 0 48px;
}
.product-gallery {
  min-width: 0;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}
.main-product-image {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 420px;
  padding: 28px 36px;
  background: #f8f9f9;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.main-product-image > svg { width: 52%; height: 52%; color: #77898d; stroke-width: 1.1; }
.main-product-image.has-zoom { cursor: crosshair; }
.main-product-image .product-photo,
.main-product-image img.product-photo,
.main-product-image.has-zoom .product-photo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
  transition: opacity .15s ease;
}
.main-product-image.is-zooming .product-photo { opacity: 0; }
.product-zoom-lens {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-color: #f8f9f9;
  pointer-events: none;
  opacity: 0;
  transition: opacity .12s ease;
  z-index: 2;
}
.main-product-image.is-zooming .product-zoom-lens { opacity: 1; }
.thumb-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  max-height: 100%;
  align-self: stretch;
  overflow-y: auto;
  scrollbar-width: thin;
}
.thumb-list button {
  width: 72px;
  flex: 0 0 auto;
  aspect-ratio: 1 / 1;
  height: auto;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  padding: 4px;
  background: #f8f9f9;
  overflow: hidden;
}
.thumb-list button.active { border-color: var(--blue); }
.thumb-list button img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.thumb-list svg { width: 80%; height: 80%; color: #9ca7aa; }
.product-summary { padding-top: 2px; min-width: 0; }
.summary-category { color: var(--blue); font-size: 12px; }
.product-summary h1 { font-size: 27px; line-height: 1.3; font-weight: 500; margin: 9px 0 10px; }
.summary-rating { display: flex; align-items: center; gap: 8px; }
.summary-rating span { color: var(--red); letter-spacing: 2px; font-size: 12px; }
.summary-rating b { font-size: 12px; }
.summary-rating em { color: var(--muted); font-size: 12px; font-style: normal; border-left: 1px solid var(--line); padding-left: 9px; }
.product-summary > p { color: #5f6567; line-height: 1.65; margin: 19px 0 13px; }
.availability { color: var(--green); display: flex; gap: 7px; align-items: center; font-size: 12px; }
.availability svg { border-radius: 50%; background: #e5f3eb; padding: 2px; }
.summary-price { display: flex; flex-direction: column; gap: 4px; padding: 19px 0; margin-top: 5px; border-bottom: 1px solid var(--line); }
.summary-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px 16px;
}
.summary-price del {
  color: #a05a63;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}
.summary-price del .amount,
.summary-price del .woocommerce-Price-amount { font-size: inherit; }
.summary-price strong { font-size: 30px; font-weight: 400; line-height: 1.2; }
.summary-price small { color: var(--muted); }
.summary-buy { display: flex; gap: 11px; padding: 20px 0 15px; }
.qty-control { height: 44px; display: flex; border: 1px solid var(--line); background: #fff; }
.qty-control button { width: 38px; display: grid; place-items: center; }
.qty-control input { width: 41px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); outline: 0; text-align: center; }
.add-large { flex: 1; min-height: 44px; }
.summary-buy .button.primary,
.summary-buy .single_add_to_cart_button,
.summary-buy .add-large,
button.single_add_to_cart_button,
.single_add_to_cart_button.button {
  background: var(--red);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 0 var(--red-dark);
}
.summary-buy .button.primary:hover,
.summary-buy .single_add_to_cart_button:hover,
.summary-buy .add-large:hover,
button.single_add_to_cart_button:hover,
.single_add_to_cart_button.button:hover {
  background: var(--red-dark);
  color: #fff;
}
.product-actions { display: flex; gap: 28px; border-bottom: 1px solid var(--line); padding: 4px 0 20px; }
.product-actions button {
  color: #687074;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.2;
  min-height: 36px;
}
.product-actions button svg { width: 20px; height: 20px; flex: 0 0 auto; }
.product-actions button:hover { color: var(--blue); }
.product-benefits { list-style: none; padding: 15px 0 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.product-benefits li { display: flex; gap: 9px; align-items: center; color: #646b6e; font-size: 12px; }
.product-benefits svg { color: var(--blue); }
.product-info-tabs { border: 1px solid var(--line); }
.info-tab-head {
  position: sticky;
  top: 58px; /* below .nav-line */
  z-index: 40;
  height: 55px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 5px;
  padding-left: 28px;
  padding-right: 28px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04);
}
.info-tab-head button {
  padding: 0 18px;
  color: #555;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.info-tab-head button.active { color: var(--blue); border-bottom-color: var(--blue); }
.info-tab-body {
  padding: 32px 48px 40px;
  max-width: none;
}
.info-tab-body h2 { font-size: 20px; font-weight: 500; }
.info-tab-body p { color: #64696b; line-height: 1.7; }
.info-tab-body--specs { padding-top: 24px; }
.altech-specs-table {
  width: 100%;
  max-width: 920px;
  margin: 0;
  border-collapse: collapse;
  border: 0;
}
.altech-specs-table thead th {
  width: auto;
  padding: 14px 18px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d9dee0;
}
.altech-specs-table thead th:first-child { width: 32%; }
.altech-specs-table tbody th,
.altech-specs-table tbody td {
  padding: 14px 18px;
  text-align: left;
  vertical-align: top;
  border: 0;
  border-bottom: 1px solid #e6eaeb;
  background: transparent;
}
.altech-specs-table tbody th {
  width: 32%;
  font-weight: 700;
  color: #2f3538;
  background: transparent;
}
.altech-specs-table tbody td {
  color: #5a6164;
  font-weight: 400;
  line-height: 1.5;
}
.altech-specs-table tbody tr:nth-child(even) th,
.altech-specs-table tbody tr:nth-child(even) td {
  background: #f7f8f8;
}
.related-products { padding-top: 50px; }

/* ---------- Blog ---------- */
.blog-page { padding-bottom: 65px; }
.blog-featured { min-height: 380px; display: grid; grid-template-columns: 57% 1fr; background: #f7f9f9; margin-bottom: 45px; }
.blog-featured > div:last-child { padding: 50px 38px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.blog-featured h2 { font-size: 27px; line-height: 1.3; font-weight: 500; margin: 9px 0; }
.blog-featured p { color: #5e6466; line-height: 1.65; }
.blog-category { color: var(--blue); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.post-meta { display: flex; align-items: center; color: #888e90; font-size: 11px; }
.post-meta i { width: 3px; height: 3px; border-radius: 50%; background: #aaa; margin: 0 8px; }
.article-visual { position: relative; overflow: hidden; height: 175px; display: grid; place-items: center; color: #7795a0; background: #eaf2f4; }
.article-visual.visual-2 { color: #9e856b; background: #f3efe9; }
.article-visual.visual-3 { color: #748f7c; background: #eaf1ec; }
.article-visual.large { height: 390px; }
.article-visual > svg { position: relative; z-index: 2; }
.circuit-lines { position: absolute; inset: 0; opacity: .22; }
.circuit-lines i { position: absolute; display: block; border: 1px solid currentColor; }
.circuit-lines i:nth-child(1) { left: -20px; top: 25%; width: 45%; height: 1px; }
.circuit-lines i:nth-child(2) { right: 4%; top: 13%; width: 25%; height: 45%; border-left: 0; border-bottom: 0; }
.circuit-lines i:nth-child(3) { left: 10%; bottom: 17%; width: 38%; height: 27%; border-right: 0; border-top: 0; }
.circuit-lines i:nth-child(4) { right: -5%; bottom: 20%; width: 39%; height: 1px; }
.blog-layout { display: grid; grid-template-columns: 1fr 260px; gap: 50px; }
.blog-list { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.blog-card h3 { font-size: 19px; line-height: 1.35; margin: 8px 0 6px; }
.blog-card > div:last-child { padding-top: 14px; }
.blog-card p { color: #62686a; }
.blog-sidebar { border-left: 1px solid var(--line); padding-left: 25px; }
.blog-sidebar > h3 { font-size: 17px; margin-top: 0; }
.blog-sidebar > button,
.blog-sidebar > a.blog-sidebar-cat { width: 100%; display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #eee; text-align: left; color: inherit; text-decoration: none; background: transparent; border-left: 0; border-right: 0; border-top: 0; font: inherit; cursor: pointer; }
.blog-sidebar > button span,
.blog-sidebar > a.blog-sidebar-cat span { color: #aaa; }
.newsletter-box { padding: 24px 19px; margin-top: 32px; background: var(--soft-blue); }
.newsletter-box > svg { color: var(--blue); }
.newsletter-box h3 { margin: 13px 0 6px; }
.newsletter-box p { color: #697174; font-size: 12px; }
.newsletter-box input { height: 40px; width: 100%; border: 1px solid var(--line); background: #fff; padding: 0 10px; outline: 0; margin-bottom: 8px; }
.article-heading { padding: 55px 0 32px; max-width: 880px; text-align: center; }
.article-heading .breadcrumbs { justify-content: center; margin-bottom: 30px; }
.article-heading h1 { font-size: 38px; line-height: 1.22; font-weight: 500; margin: 9px 0 13px; }
.article-heading > p { color: #62696c; font-size: 17px; max-width: 760px; margin: 0 auto 16px; }
.article-heading .post-meta { justify-content: center; }
.article-layout { display: grid; grid-template-columns: minmax(0, 760px) 230px; justify-content: center; gap: 60px; padding-top: 42px; padding-bottom: 60px; }
.article-body { font-family: Georgia, 'Times New Roman', serif; font-size: 16px; line-height: 1.8; }
.article-body .lead { font-size: 19px; color: #3e4446; }
.article-body section h2 { font-family: Arial, sans-serif; font-size: 22px; font-weight: 500; margin: 29px 0 4px; }
.article-body p { color: #4d5254; }
.article-note { padding: 22px 25px; background: var(--soft-blue); border-left: 3px solid var(--blue); font-family: Arial, sans-serif; margin: 31px 0; }
.article-note b { font-size: 16px; }
.article-note p { margin: 3px 0 7px; font-size: 13px; }
.article-note a { color: var(--blue); display: inline-flex; align-items: center; gap: 5px; font-weight: 600; font-size: 13px; }
.article-share { border-top: 1px solid var(--line); padding-top: 20px; font-family: Arial, sans-serif; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.article-share div { display: flex; gap: 7px; }
.article-share button { width: 34px; height: 34px; border: 1px solid var(--line); display: grid; place-items: center; }
.article-side { position: relative; }
.article-index { position: sticky; top: 20px; display: flex; flex-direction: column; border-left: 2px solid #e6e7e8; padding-left: 18px; }
.article-index b { margin-bottom: 9px; }
.article-index a { color: #747a7d; padding: 5px 0; font-size: 12px; }
.more-posts { border-top: 1px solid var(--line); padding-top: 47px; padding-bottom: 65px; }
.more-posts .article-visual { height: 150px; }

/* ---------- Forms / Contact / Auth ---------- */
.standard-form { display: flex; flex-direction: column; gap: 17px; }
.standard-form label { font-size: 12px; font-weight: 600; display: flex; flex-direction: column; gap: 6px; }
.standard-form input, .standard-form select, .standard-form textarea { width: 100%; border: 1px solid #dfe2e3; background: #fff; padding: 0 12px; outline: 0; border-radius: 0; }
.standard-form input, .standard-form select { height: 43px; }
.standard-form textarea { padding-top: 11px; resize: vertical; }
.standard-form input:focus, .standard-form select:focus, .standard-form textarea:focus { border-color: #8cb9c7; box-shadow: 0 0 0 2px #eff7f9; }
.standard-form label small { color: var(--muted); font-weight: 400; }
.standard-form label em { color: #aaa; font-style: normal; float: right; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-success { padding: 12px 14px; margin-bottom: 18px; background: #eef8f2; color: var(--green); display: flex; align-items: center; gap: 8px; font-size: 12px; }
.contact-page { padding-bottom: 66px; }
.contact-layout { display: grid; grid-template-columns: 1fr 385px; gap: 65px; padding: 23px 0 56px; }
.contact-form-card { max-width: 680px; }
.contact-form-card h2 { font-size: 28px; font-weight: 500; margin: 7px 0 8px; }
.contact-form-card > p { color: #62696b; line-height: 1.65; margin: 0 0 25px; max-width: 590px; }
.contact-details { border: 1px solid var(--line); align-self: start; }
.contact-details > div { padding: 22px 23px; display: flex; gap: 16px; border-bottom: 1px solid var(--line); }
.contact-details > div:last-child { border-bottom: 0; }
.contact-details > div > svg { color: var(--blue); flex: 0 0 auto; }
.contact-details span { display: flex; flex-direction: column; }
.contact-details small { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: #909598; margin-bottom: 5px; }
.contact-details a { color: var(--blue); font-weight: 600; font-size: 16px; }
.contact-details p { color: #6e7476; margin: 3px 0 0; font-size: 12px; }
.contact-details .hours p { display: flex; flex-direction: column; color: var(--ink); }
.contact-details .hours em { font-style: normal; color: #6e7476; }
.map-placeholder { height: 285px; position: relative; overflow: hidden; background: #f1f3f2; border: 1px solid var(--line); }
.map-roads { position: absolute; inset: 0; opacity: .65; }
.map-roads i { position: absolute; height: 5px; background: #fff; width: 120%; transform-origin: center; box-shadow: 0 0 0 1px #e6e8e7; }
.map-roads i:nth-child(1) { top: 20%; left: -10%; transform: rotate(7deg); }
.map-roads i:nth-child(2) { top: 57%; left: -5%; transform: rotate(-11deg); }
.map-roads i:nth-child(3) { top: 45%; left: 12%; transform: rotate(65deg); }
.map-roads i:nth-child(4) { top: 40%; left: 39%; transform: rotate(101deg); }
.map-roads i:nth-child(5) { top: 42%; left: -37%; transform: rotate(-52deg); }
.map-pin { position: absolute; left: 55%; top: 50%; transform: translate(-50%,-50%); padding: 10px 15px; background: #fff; box-shadow: var(--shadow); display: flex; gap: 9px; align-items: center; }
.map-pin svg { color: var(--red); }
.map-pin span { display: flex; flex-direction: column; }
.map-pin small { color: var(--muted); }
.auth-page { padding-bottom: 70px; }
.auth-layout { display: grid; grid-template-columns: minmax(0,620px) 1fr; border: 1px solid var(--line); min-height: 535px; background: #fff; }
.auth-card { padding: 43px 55px 50px; background: #fff; }
.auth-card-head > span { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: .13em; }
.auth-card-head h2 { font-size: 26px; font-weight: 500; margin: 5px 0; }
.auth-card-head p { color: var(--muted); margin: 0 0 25px; }
.auth-form { max-width: 440px; }
.auth-form.woocommerce-form,
.auth-form.woocommerce-form-login { margin: 0 !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
.auth-input-wrap { position: relative; display: block; width: 100%; }
.auth-input-wrap input { padding-right: 42px; }
.auth-field-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--blue); pointer-events: none; display: grid; place-items: center; }
.auth-field-icon svg { display: block; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; width: 100%; }
.label-row a, .remember-check a { color: var(--blue); font-weight: 400; }
.remember-check { font-size: 12px !important; flex-direction: row !important; align-items: center !important; gap: 9px !important; font-weight: 400 !important; cursor: pointer; }
.remember-check > input { position: absolute; opacity: 0; pointer-events: none; }
.remember-check .custom-check { width: 20px; height: 20px; flex: 0 0 20px; border: 1px solid #dfe2e3; display: grid; place-items: center; color: transparent; background: #fff; }
.remember-check > input:checked + .custom-check { color: #fff; border-color: var(--blue); background: var(--blue); }
.auth-divider { display: flex; align-items: center; color: #999; font-size: 11px; }
.auth-divider:before, .auth-divider:after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-divider span { padding: 0 11px; }
.social-button { border-color: var(--line); background: #fff; color: var(--ink); gap: 10px; }
.social-button b,
.social-button .google-g { color: #4285f4; font-size: 17px; font-weight: 700; line-height: 1; }
.auth-social { max-width: 440px; }
.auth-social-hint { margin: 10px 0 0; font-size: 11px; color: var(--muted); line-height: 1.45; }
.social-button[data-google-login-placeholder] { opacity: .92; cursor: default; }
.auth-side { background: var(--soft-blue); padding: 65px 60px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.auth-side-icon { width: 67px; height: 67px; border-radius: 50%; background: #fff; display: grid; place-items: center; color: var(--blue); }
.auth-side h2 { font-size: 23px; margin: 18px 0 5px; font-weight: 500; }
.auth-side > p { color: #626b6e; margin: 0; }
.auth-side ul { list-style: none; padding: 4px 0 13px; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.auth-side li { display: flex; align-items: center; gap: 7px; }
.auth-side li svg { color: var(--blue); flex: 0 0 auto; }
.back-link {
  color: var(--blue);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.back-link:hover { text-decoration: underline; }
.auth-page .woocommerce-ResetPassword.lost_reset_password {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  max-width: 440px;
}
.auth-page .woocommerce-ResetPassword .form-row,
.auth-page .woocommerce-ResetPassword p.form-row {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 0 14px !important;
  float: none !important;
  grid-template-columns: none !important;
}
.auth-page .auth-form .button.primary.full {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
}
.auth-page .reset-sent {
  max-width: 440px;
  text-align: center;
  padding-top: 4px;
}
.auth-page .reset-sent .button { margin-top: 8px; }
.auth-page .reset-sent .back-link { width: 100%; }
.auth-card .woocommerce-notices-wrapper,
.auth-card .woocommerce-error,
.auth-card .woocommerce-message,
.auth-card .woocommerce-info { max-width: 440px; margin: 0 0 18px; }
.auth-card .woocommerce-error,
.auth-card .woocommerce-message,
.auth-card .woocommerce-info { list-style: none; padding: 12px 14px; border: 1px solid var(--line); background: var(--soft); }
.auth-card .woocommerce-error { border-color: #f0c2c2; background: #fff5f5; color: #9b1c1c; }
.reset-sent { max-width: 440px; text-align: center; padding-top: 12px; }
.reset-sent > div { width: 64px; height: 64px; margin: 0 auto 15px; background: var(--soft-blue); color: var(--blue); display: grid; place-items: center; border-radius: 50%; }
.reset-sent h3 { font-size: 20px; margin: 0; }
.reset-sent p { color: var(--muted); }

/* ---------- Account ---------- */
.account-page { padding-bottom: 70px; }
.account-layout { display: grid; grid-template-columns: 245px 1fr; gap: 36px; }
.account-nav { border: 1px solid var(--line); align-self: start; display: flex; flex-direction: column; }
.account-person { padding: 21px 18px; display: flex; gap: 11px; align-items: center; border-bottom: 1px solid var(--line); }
.account-person > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--soft-blue); color: var(--blue); font-weight: 700; }
.account-person div { min-width: 0; display: flex; flex-direction: column; }
.account-person small { color: var(--muted); overflow: hidden; text-overflow: ellipsis; }
.account-nav > button, .account-nav > a { min-height: 47px; padding: 0 16px; display: flex; align-items: center; gap: 11px; text-align: left; border-bottom: 1px solid #eee; color: #62686a; }
.account-nav > button svg:last-child { margin-left: auto; opacity: .35; }
.account-nav > button.active { color: var(--blue); border-left: 2px solid var(--blue); background: #f6fafb; padding-left: 14px; }
.account-nav > a { color: #9b4a53; border-bottom: 0; }
.account-content { min-width: 0; }
.account-welcome { padding: 28px 31px; background: #f6f9f9; }
.account-welcome > span { color: var(--blue); font-size: 11px; }
.account-welcome h2 { font-size: 24px; font-weight: 500; margin: 4px 0; }
.account-welcome p { color: var(--muted); margin: 0; }
.account-summary { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin: 19px 0 30px; }
.account-summary button { border: 1px solid var(--line); min-height: 89px; padding: 14px; display: flex; align-items: center; gap: 12px; text-align: left; }
.account-summary button > div { width: 42px; height: 42px; background: var(--soft-blue); color: var(--blue); display: grid; place-items: center; }
.account-summary button > span { display: flex; flex-direction: column; flex: 1; }
.account-summary button > span b { font-size: 19px; }
.account-summary small { color: var(--muted); }
.account-summary button > svg { color: #aaa; }
.account-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.account-section-head h3 { font-size: 18px; font-weight: 500; margin: 0; }
.account-section-head > button { color: var(--blue); }
.account-section-head.top { min-height: 70px; border-bottom: 1px solid var(--line); margin-bottom: 25px; }
.account-section-head.top h2 { margin: 0; font-size: 24px; font-weight: 500; }
.account-section-head.top p { color: var(--muted); margin: 3px 0 0; }
.order-table { border: 1px solid var(--line); }
.order-row { min-height: 78px; display: grid; grid-template-columns: 1fr 1.1fr 1.1fr 1.5fr 55px; align-items: center; padding: 12px 15px; border-bottom: 1px solid var(--line); }
.order-row:last-child { border-bottom: 0; }
.order-row > span { display: flex; flex-direction: column; font-size: 12px; }
.order-row small { color: var(--muted); font-size: 10px; }
.order-row em { align-self: flex-start; padding: 3px 7px; font-style: normal; border-radius: 9px; background: #fff5df; color: #9b6a00; }
.order-row em.delivered { background: #eaf6ee; color: var(--green); }
.order-row button { color: var(--blue); display: flex; align-items: center; }
.account-wishlist { display: grid; grid-template-columns: repeat(3,1fr); }
.address-card { width: 360px; border: 1px solid var(--line); padding: 20px; }
.address-card > div { display: flex; justify-content: space-between; }
.address-card > div span { font-size: 9px; color: var(--green); background: #e8f4ed; padding: 3px 6px; }
.address-card h3 { font-size: 15px; margin: 17px 0 4px; }
.address-card p { color: #646a6c; line-height: 1.7; }
.address-card button { color: var(--blue); padding: 0; }
.account-form { max-width: 670px; }
.form-subheading { font-size: 17px; padding-top: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }

/* ---------- Cart & Checkout ---------- */
.cart-page, .checkout-page { padding-bottom: 70px; }
.empty-cart-page,
.altech-cart-empty {
  text-align: center;
  padding: 72px 28px 80px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fafb 0%, #fff 48%);
}
.empty-cart-page > div,
.altech-cart-empty-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #e4ecef;
  color: var(--blue);
  margin: 0 auto 18px;
  box-shadow: 0 8px 24px rgba(22, 128, 162, .08);
}
.empty-cart-page h2,
.altech-cart-empty h2 { font-size: 26px; font-weight: 600; margin: 0 0 8px; }
.empty-cart-page p,
.altech-cart-empty p { color: var(--muted); max-width: 380px; margin: 0 auto 22px; line-height: 1.55; }
.altech-cart-empty .button.primary,
.empty-cart-page .button.primary,
.wc-cart-page .altech-cart-empty .button,
.wc-cart-page .return-to-shop .button {
  min-width: 180px;
  background: var(--red);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 2px 0 var(--red-dark);
}
.altech-cart-empty .button.primary:hover,
.empty-cart-page .button.primary:hover,
.wc-cart-page .altech-cart-empty .button:hover,
.wc-cart-page .return-to-shop .button:hover {
  background: var(--red-dark);
  color: #fff;
}

/* Modern WooCommerce cart layout */
main.woocommerce-page.wc-cart-page,
main.wc-cart-page.cart-page {
  max-width: min(1440px, 100%);
}
.altech-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 36px;
  align-items: start;
  margin: 8px 0 36px;
}
.altech-cart-panel {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.altech-cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}
.altech-cart-panel-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}
.altech-cart-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  background: #e8f4f8;
  padding: 5px 10px;
}
.altech-cart-items { display: flex; flex-direction: column; }
.altech-cart-items-head {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 120px 160px 130px 80px;
  gap: 14px;
  align-items: center;
  padding: 10px 24px;
  color: #8a9194;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid #eef1f2;
}
.altech-cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) 120px 160px 130px 80px;
  gap: 14px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #eef1f2;
  transition: opacity .15s ease;
}
.altech-cart-item.is-updating { opacity: .55; pointer-events: none; }
.altech-cart-item:last-child { border-bottom: 0; }
.altech-cart-item .product-name {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.altech-cart-item-media {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  background: #f4f7f8;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.altech-cart-item-media a { display: grid; place-items: center; width: 100%; height: 100%; }
.altech-cart-item-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  box-sizing: border-box;
}
.altech-cart-item-info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.altech-cart-item-info > a {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.altech-cart-item-info > a:hover { color: var(--blue); }
.altech-cart-item .product-price,
.altech-cart-item .product-subtotal {
  font-size: 14px;
  font-weight: 600;
}
.altech-cart-item .product-subtotal { color: var(--ink); }
.altech-cart-qty {
  height: 44px;
  width: 148px;
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--line);
  background: #fff;
}
.altech-cart-qty button {
  width: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: #f7f9fa;
}
.altech-cart-qty button:hover { color: var(--blue); background: #eef5f7; }
.altech-cart-qty [data-cart-qty] {
  flex: 1 1 auto;
  min-width: 48px;
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}
.altech-cart-qty-solo {
  display: inline-grid;
  place-items: center;
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  font-weight: 600;
}
.altech-cart-remove {
  color: #9aa1a4;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.altech-cart-remove:hover { color: var(--red); }
.altech-cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-top: 1px solid var(--line);
  background: #fbfcfc;
}
.altech-cart-coupon {
  display: flex;
  align-items: stretch;
  flex: 1 1 280px;
  max-width: 420px;
  gap: 0;
  margin: 0;
  height: 40px;
  max-height: 40px;
  align-self: flex-start;
}
.wc-cart-page .altech-cart-coupon .input-text,
.altech-cart-coupon .input-text {
  flex: 1 1 auto;
  width: auto !important;
  min-width: 0;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px;
  border: 1px solid var(--line);
  border-right: 0;
  padding: 0 12px !important;
  margin: 0;
  outline: 0;
  line-height: 40px;
  box-sizing: border-box;
  background: #fff;
}
.wc-cart-page .altech-cart-coupon .button.outline,
.altech-cart-coupon .button.outline {
  height: 40px;
  min-height: 40px !important;
  padding: 0 16px !important;
  border: 1px solid var(--blue);
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  background: #fff !important;
  flex: 0 0 auto;
  box-shadow: none;
  font-size: 13px;
}
.wc-cart-page .altech-cart-coupon .button.outline:hover,
.altech-cart-coupon .button.outline:hover {
  background: var(--blue) !important;
  color: #fff !important;
}
.altech-cart-actions-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.wc-cart-page .altech-cart-continue.button.outline,
.altech-cart-continue.button.outline {
  height: 40px;
  min-height: 40px !important;
  padding: 0 16px !important;
  border: 1px solid var(--blue);
  color: var(--blue) !important;
  background: #fff !important;
  font-size: 13px;
  font-weight: 600;
  box-shadow: none;
}
.wc-cart-page .altech-cart-continue.button.outline:hover,
.altech-cart-continue.button.outline:hover {
  background: var(--blue) !important;
  color: #fff !important;
}
.altech-cart-actions .button.ghost {
  min-height: 42px;
  color: var(--ink);
  border-color: var(--line);
  background: #fff;
}
.altech-cart-actions .button.ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: #f3f8fa;
}

.altech-cart-aside { position: sticky; top: 74px; }
.altech-cart-summary,
.wc-cart-page .cart_totals {
  border: 1px solid var(--line);
  padding: 22px 22px 20px;
  background: #fff;
  margin: 0;
  box-shadow: 0 10px 28px rgba(20, 35, 42, .04);
}
.altech-cart-summary h2,
.wc-cart-page .cart_totals h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.altech-cart-summary .shop_table,
.wc-cart-page .cart_totals .shop_table {
  border: 0;
  margin: 0 0 8px;
  background: transparent;
}
.altech-cart-summary .shop_table th,
.altech-cart-summary .shop_table td,
.wc-cart-page .cart_totals .shop_table th,
.wc-cart-page .cart_totals .shop_table td {
  border: 0;
  padding: 8px 0;
  background: transparent;
  font-size: 13px;
}
.altech-cart-summary .shop_table th { color: #6a7174; font-weight: 500; }
.altech-cart-summary .shop_table td { text-align: right; font-weight: 600; }
.altech-cart-summary .order-total th,
.altech-cart-summary .order-total td {
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink);
}
.altech-cart-summary .order-total .amount { font-size: 22px; font-weight: 600; color: var(--red); }
.altech-cart-summary .wc-proceed-to-checkout { padding: 14px 0 0; }
.altech-cart-summary .checkout-button.button,
.altech-cart-summary .checkout-button.button.alt,
.wc-cart-page .checkout-button.button,
.wc-cart-page .checkout-button.button.alt {
  width: 100%;
  min-height: 48px;
  background: var(--red);
  color: #fff;
  border: 0;
  box-shadow: 0 2px 0 var(--red-dark);
  font-size: 15px;
}
.altech-cart-summary .checkout-button.button:hover,
.altech-cart-summary .checkout-button.button.alt:hover,
.wc-cart-page .checkout-button.button:hover,
.wc-cart-page .checkout-button.button.alt:hover {
  background: var(--red-dark);
  color: #fff;
}
.altech-cart-secure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--blue);
}
.altech-cart-secure span { display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.altech-cart-secure b { font-size: 13px; }
.altech-cart-secure small { color: var(--muted); font-size: 12px; }
.altech-cart-cross-sells { margin-top: 8px; }
.wc-cart-page .woocommerce-cart-form { margin: 0; }

/* Fallback JS cart page */
.cart-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 28px;
  align-items: start;
}
.cart-list { border: 1px solid var(--line); background: #fff; overflow: hidden; }
.cart-list-head {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 110px 130px 120px 40px;
  gap: 12px;
  align-items: center;
  padding: 12px 22px;
  background: #f8fafb;
  color: #8a9194;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}
.cart-line {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) 110px 130px 120px 40px;
  gap: 12px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid #eef1f2;
}
.cart-line-product { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; }
.cart-line-product > div {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  background: #f4f7f8;
  display: grid;
  place-items: center;
}
.cart-line-product svg { width: 70%; height: 70%; color: #909c9f; }
.cart-line-product span { min-width: 0; display: flex; flex-direction: column; }
.cart-line-product b {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  font-weight: 600;
}
.cart-line-product small { color: var(--blue); margin-top: 4px; }
.cart-price, .cart-total { font-size: 14px; font-weight: 600; }
.cart-price small, .cart-total small { display: none; }
.cart-remove { color: #9aa1a4; }
.cart-remove:hover { color: var(--red); }
.coupon-row { padding: 18px 22px; border-top: 1px solid var(--line); background: #fbfcfc; }
.coupon-row form { display: flex; width: min(420px, 100%); }
.coupon-row input { min-width: 0; flex: 1; border: 1px solid var(--line); border-right: 0; padding: 0 11px; outline: 0; min-height: 42px; }
.coupon-row .button { min-height: 42px; }
.coupon-row small { display: block; color: var(--muted); margin-top: 6px; }
.order-summary {
  border: 1px solid var(--line);
  padding: 22px;
  background: #fff;
  position: sticky;
  top: 74px;
  box-shadow: 0 10px 28px rgba(20, 35, 42, .04);
}
.order-summary h2 { font-size: 18px; font-weight: 600; margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.order-summary > div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; }
.order-summary .order-total { margin-top: 8px; padding: 14px 0 16px; border-top: 1px solid var(--line); font-size: 16px; }
.order-total strong { font-size: 22px; color: var(--red); }
.order-summary .button.primary.full {
  min-height: 48px;
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 0 var(--red-dark);
  margin-top: 4px;
}
.order-summary .button.primary.full:hover { background: var(--red-dark); }
.continue-shopping { margin-top: 14px; color: var(--blue); display: flex; align-items: center; justify-content: center; gap: 4px; font-size: 13px; font-weight: 600; }
.order-summary .secure-note { justify-content: flex-start; gap: 9px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--blue); }
.secure-note span { display: flex; flex-direction: column; color: var(--ink); }
.secure-note small { color: var(--muted); }
.checkout-layout { display: grid; grid-template-columns: 1fr 370px; gap: 35px; align-items: start; }
.checkout-section { border: 1px solid var(--line); margin-bottom: 17px; }
.checkout-section-head { min-height: 78px; padding: 16px 20px; display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--line); }
.checkout-section-head > span { width: 31px; height: 31px; flex: 0 0 31px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; }
.checkout-section-head h2 { font-size: 18px; font-weight: 500; margin: 0; }
.checkout-section-head p { color: var(--muted); font-size: 11px; margin: 2px 0 0; }
.checkout-section-head > a { color: var(--blue); margin-left: auto; font-size: 12px; }
.checkout-section > .standard-form { padding: 23px; }
.form-row.three { grid-template-columns: 1fr 1fr .7fr; }
.payment-options { padding: 18px 23px 23px; }
.payment-options > label { min-height: 61px; display: flex; align-items: center; gap: 11px; border: 1px solid var(--line); padding: 10px 15px; margin-bottom: 8px; cursor: pointer; }
.payment-options > label.active { border-color: var(--blue); background: #f7fbfc; }
.payment-options > label > input { position: absolute; opacity: 0; }
.radio-mark { width: 17px; height: 17px; border-radius: 50%; border: 1px solid #aaa; position: relative; }
.payment-options label.active .radio-mark { border-color: var(--blue); }
.payment-options label.active .radio-mark:after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--blue); }
.payment-options label > svg { color: var(--blue); }
.payment-options label > span:last-child { display: flex; flex-direction: column; }
.payment-options label small { color: var(--muted); }
.card-fields { padding: 16px; margin-top: 8px; border: 1px solid var(--line); }
.checkout-items { border: 1px solid var(--line); margin-bottom: 14px; }
.checkout-items h2 { font-size: 17px; font-weight: 500; padding: 16px 17px; margin: 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.checkout-items h2 span { font-size: 11px; color: var(--muted); font-weight: 400; }
.checkout-items > div { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 10px; padding: 12px; border-bottom: 1px solid var(--line); }
.checkout-items > div:last-child { border-bottom: 0; }
.checkout-item-art { height: 54px; background: #f5f7f7; position: relative; display: grid; place-items: center; }
.checkout-item-art svg { width: 50px; height: 50px; color: #919c9f; }
.checkout-item-art i { position: absolute; right: -6px; top: -6px; width: 18px; height: 18px; border-radius: 50%; background: #6d787b; color: #fff; display: grid; place-items: center; font-size: 9px; font-style: normal; }
.checkout-items > div > span { min-width: 0; display: flex; flex-direction: column; }
.checkout-items > div > span b { font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.checkout-items > div > span small { color: var(--blue); font-size: 10px; }
.checkout-items strong { font-size: 11px; }
.checkout-layout > aside .order-summary { margin-bottom: 10px; }
.place-order { min-height: 46px; }
.terms-note { color: var(--muted); font-size: 10px; text-align: center; }
.terms-note a { color: var(--blue); }
.checkout-complete { max-width: 750px; margin: 85px auto 110px; padding: 55px; text-align: center; border: 1px solid var(--line); }
.checkout-complete > div:first-child { width: 70px; height: 70px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #eaf6ee; color: var(--green); }
.checkout-complete > span { color: var(--green); font-size: 11px; font-weight: 700; letter-spacing: .13em; }
.checkout-complete h1 { font-size: 30px; font-weight: 500; margin: 5px 0; }
.checkout-complete > p { color: var(--muted); }
.confirmation-details { display: grid; grid-template-columns: repeat(3,1fr); margin: 26px 0; border: 1px solid var(--line); }
.confirmation-details span { padding: 15px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.confirmation-details span:last-child { border: 0; }
.confirmation-details small { color: var(--muted); }
.checkout-complete > .button { margin: 0 4px; }

/* ---------- Simple ---------- */
.simple-page { padding-bottom: 75px; }
.simple-page article { max-width: 780px; padding: 30px 0; }
.simple-page article .lead { font-size: 19px; color: #42484a; }
.simple-page article h2 { font-size: 21px; font-weight: 500; margin-top: 30px; }
.simple-page article p { color: #5e6466; line-height: 1.8; }
.simple-page article a { color: var(--blue); }
.careers-page .page-intro { margin-bottom: 8px; }
.careers-intro { max-width: 720px; margin: 0 0 8px; color: #5e6466; line-height: 1.75; }
.careers-jobs { margin-top: 28px; max-width: 820px; }
.careers-jobs > h2 { font-size: 20px; font-weight: 600; margin: 0 0 18px; color: var(--ink); }
.job-list { display: flex; flex-direction: column; gap: 12px; }
.job-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fff;
  color: inherit;
  transition: border-color .15s ease, background .15s ease;
  text-align: left;
}
.job-card:hover { border-color: #b7d2db; background: var(--soft-blue); }
.job-card:hover h3 { color: var(--blue); }
.job-card h3 { margin: 0 0 8px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.job-card .job-meta,
.job-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.job-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: #f3f5f6;
  color: #5a6165;
  font-size: 12px;
  line-height: 1.3;
}
.job-card p { margin: 0; color: #5e6466; line-height: 1.65; font-size: 13px; }
.job-card-cta { display: inline-flex; margin-top: 12px; color: var(--blue); font-size: 13px; font-weight: 600; }
.job-card:hover .job-card-cta { color: var(--blue-dark); }
.job-detail { max-width: 780px; }
.job-meta-row { margin: 0 0 24px; }
.job-detail .job-meta-chip { background: var(--soft-blue); color: #3d5a66; }
.job-empty {
  color: var(--muted);
  padding: 22px 20px;
  border: 1px dashed var(--line);
  background: #fafbfb;
  margin: 0;
}
.job-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); }
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 10px 0 40px; }
.sitemap-grid h2 { font-size: 18px; margin: 0 0 12px; }
.sitemap-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sitemap-grid a { color: #4d5558; }
.sitemap-grid a:hover { color: var(--blue); }
@media (max-width: 820px) {
  .sitemap-grid { grid-template-columns: 1fr; gap: 28px; }
}
.not-found { text-align: center; padding: 110px 20px 130px; }
.not-found > span { font-size: 80px; line-height: 1; color: #dce2e4; font-weight: 700; }
.not-found h1 { font-size: 28px; margin: 12px 0 4px; }
.not-found p { color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) {
  .logo { width: 265px; }
  .logo-main { font-size: 38px; }
  .header-social { display: none; }
  .phone-block { min-width: 205px; }
  .categories-wrap { width: 250px; flex-basis: 250px; }
  .search-wrap { margin-right: 10px; }
  .nav-action { min-width: 115px; }
  .home-hero { grid-template-columns: 250px 1fr; }
  .home-category-flyout { width: 440px; }
  .hero-copy h1 { font-size: 22px; }
  .shop-layout { grid-template-columns: 225px 1fr; gap: 18px; }
  .shop-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .top-category-links { gap: 10px 19px; }
  .product-card .product-prices small { font-size: 10px; }
  .footer-grid { gap: 28px; }
  .cart-page-layout,
  .altech-cart-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 22px; }
  .cart-list-head,
  .cart-line,
  .altech-cart-items-head,
  .altech-cart-item { grid-template-columns: minmax(0, 1.5fr) 100px 148px 110px 72px; }
}

@media (max-width: 820px) {
  .container { width: 100%; padding-left: 14px; padding-right: 14px; }
  .utility-bar, .nav-line, .header-spacer, .header-social, .phone-block { display: none; }
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 2px 3px rgba(0,0,0,.04);
  }
  .info-tab-head { top: 78px; }
  .header-main {
    height: 78px;
    gap: 12px;
    justify-content: space-between;
    background: #fff;
  }
  .shop-layout > .shop-sidebar {
    display: none;
  }
  .mobile-filter-panel.shop-sidebar {
    position: relative;
    top: auto;
    max-height: none;
    overflow: hidden;
    display: flex;
  }
  .mobile-filter-panel .shop-filters-scroll {
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 0;
    flex: 1 1 auto;
  }
  .header-main .logo { width: 220px; transform: scale(.72); transform-origin: center center; margin: 0 -28px; }
  .header-main .logo.has-image { width: auto; max-width: 55vw; transform: none; margin: 0; }
  .header-main .logo.has-image .site-logo-img { max-height: 48px; }
  .drawer-head .logo.has-image { transform: none; width: auto; max-width: 70%; }
  .drawer-head .logo.has-image .site-logo-img { max-height: 40px; }
  .mobile-menu-button, .mobile-cart { display: grid; place-items: center; position: relative; padding: 7px; }
  button.mobile-cart { background: transparent; border: 0; color: inherit; cursor: pointer; }
  .home-hero { display: block; min-height: 0; width: 100%; }
  .home-category-panel { display: none; }
  .hero-slider { height: 470px; margin: 0; }
  .hero-product-art,
  .hero-product-media,
  .hero-post-media {
    width: min(42%, 280px);
    left: 3%;
  }
  .hero-copy { left: 48%; right: 5%; }
  .home-products-section { padding-top: 40px; }
  .home-product-grid { grid-template-columns: repeat(2,1fr); }
  .home-featured-cats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .home-carousel-nav { display: none; }
  .home-product-carousel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    flex-flow: unset;
    overflow-x: visible;
    scroll-snap-type: none;
  }
  .home-product-carousel .product-card {
    flex: unset;
    width: auto;
    max-width: none;
    min-width: 0;
    border-right: 1px solid var(--line);
  }
  .product-card.compact { min-height: 180px; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid > div { border-right: 0; border-bottom: 1px solid var(--line); min-height: 74px; justify-content: flex-start; padding-left: 25%; }
  .home-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; padding-top: 24px; padding-bottom: 16px; }
  .shop-page > .page-intro { min-height: 0; padding: 6px 0 4px; }
  .shop-layout { display: block; }
  .shop-layout > .shop-sidebar { display: none; }
  .top-category-links { min-height: auto; overflow-x: auto; flex-wrap: nowrap; padding: 13px 0 16px; gap: 22px; scrollbar-width: none; }
  .top-category-links button { white-space: nowrap; }
  .mobile-filter-button { display: flex; align-items: center; gap: 5px; color: var(--blue); }
  .mobile-filter-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 410;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(88vw,360px);
    overflow: hidden;
    background: #fff;
    transform: translateX(-103%);
    transition: .25s;
  }
  .mobile-filter-drawer.visible { transform: translateX(0); }
  .mobile-filter-backdrop { z-index: 400; }
  .mobile-filter-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    padding: 0 16px;
    box-sizing: border-box;
  }
  .mobile-filter-panel .shop-filters-form { flex: 1 1 auto; min-height: 0; }
  .mobile-filter-panel .shop-filters-actions {
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-filter-head {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    margin: 0 -16px 8px;
    padding: 0 16px;
    flex: 0 0 auto;
  }
  .mobile-filter-head h2 { font-size: 18px; font-weight: 500; }
  .shop-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .product-detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 22px 24px;
  }
  .product-gallery { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
  .main-product-image {
    aspect-ratio: 1 / 1;
    min-height: 340px;
    padding: 22px 28px;
  }
  .thumb-list button { width: 64px; }
  .product-summary h1 { font-size: 23px; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured .article-visual { height: 270px; }
  .blog-featured > div:last-child { padding: 30px; }
  .blog-layout { grid-template-columns: 1fr; }
  .blog-sidebar { border-left: 0; padding-left: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
  .newsletter-box { grid-column: 2; grid-row: 1 / span 5; margin-top: 0; }
  .article-layout { grid-template-columns: minmax(0,720px); }
  .article-side { display: none; }
  .article-heading h1 { font-size: 32px; }
  .contact-layout { grid-template-columns: 1fr 310px; gap: 32px; }
  .auth-layout { grid-template-columns: 1fr 340px; }
  .auth-card { padding: 38px; }
  .auth-side { padding: 45px 35px; }
  .account-layout { grid-template-columns: 205px 1fr; gap: 20px; }
  .account-summary { grid-template-columns: 1fr; }
  .account-summary button { min-height: 70px; }
  .order-row { grid-template-columns: 1fr 1fr 1fr 40px; }
  .order-row > span:nth-child(2) { display: none; }
  .account-wishlist { grid-template-columns: 1fr 1fr; }
  .account-wishlist .product-card:last-child { display: none; }
  .cart-page-layout,
  .altech-cart-layout { grid-template-columns: 1fr; gap: 16px; }
  .altech-cart-aside,
  .order-summary { width: 100%; position: static; }
  .altech-cart-panel-head { padding: 14px 16px; }
  .altech-cart-panel-head h2 { font-size: 16px; }
  .altech-cart-items-head { display: none; }
  .altech-cart-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "media info"
      "media price"
      "qty total"
      "remove remove";
    gap: 8px 12px;
    padding: 14px;
    align-items: start;
  }
  .altech-cart-item .product-name {
    display: contents;
  }
  .altech-cart-item-media {
    grid-area: media;
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
  .altech-cart-item-info {
    grid-area: info;
    min-width: 0;
  }
  .altech-cart-item-info > a {
    font-size: 13px;
    -webkit-line-clamp: 3;
  }
  .altech-cart-item .product-price {
    grid-area: price;
    font-size: 13px;
    color: #6a7174;
    font-weight: 500;
  }
  .altech-cart-item .product-price::before {
    content: "Price ";
    font-weight: 400;
    color: #9aa1a4;
  }
  .altech-cart-item .product-quantity {
    grid-area: qty;
    align-self: center;
  }
  .altech-cart-qty {
    width: 128px;
    height: 40px;
  }
  .altech-cart-qty button { width: 38px; flex-basis: 38px; }
  .altech-cart-item .product-subtotal {
    grid-area: total;
    justify-self: end;
    align-self: center;
    text-align: right;
    font-size: 15px;
  }
  .altech-cart-item .product-subtotal::before {
    content: "Total ";
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: #9aa1a4;
    margin-bottom: 2px;
  }
  .altech-cart-item .product-remove {
    grid-area: remove;
    justify-self: start;
    padding-top: 2px;
  }
  .altech-cart-remove {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 2px;
    color: var(--red);
  }
  .altech-cart-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 12px 14px;
    gap: 10px;
  }
  .altech-cart-coupon {
    flex: 0 0 auto;
    max-width: none;
    width: 100%;
    height: 38px;
    max-height: 38px;
    align-self: stretch;
  }
  .altech-cart-actions-right {
    flex: 0 0 auto;
    margin: 0;
  }
  .wc-cart-page .altech-cart-coupon .input-text,
  .altech-cart-coupon .input-text {
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px;
    line-height: 38px;
    padding: 0 10px !important;
    font-size: 13px;
  }
  .wc-cart-page .altech-cart-coupon .button.outline,
  .altech-cart-coupon .button.outline {
    height: 38px;
    min-height: 38px !important;
    padding: 0 14px !important;
  }
  .altech-cart-actions-right {
    width: 100%;
  }
  .wc-cart-page .altech-cart-continue.button.outline,
  .altech-cart-continue.button.outline {
    width: 100%;
    height: 40px;
    min-height: 40px !important;
    justify-content: center;
  }
  .altech-cart-summary,
  .wc-cart-page .cart_totals {
    padding: 18px 16px;
    box-shadow: none;
  }
  .altech-cart-summary .checkout-button.button,
  .wc-cart-page .checkout-button.button {
    min-height: 48px;
    font-size: 15px;
  }
  .altech-cart-empty,
  .empty-cart-page {
    padding: 48px 18px 56px;
  }
  .altech-cart-empty h2,
  .empty-cart-page h2 { font-size: 22px; }
  .checkout-layout { grid-template-columns: 1fr 310px; gap: 20px; }
}

@media (max-width: 640px) {
  body { font-size: 13px; }
  .container { width: 100%; max-width: none; padding-left: 12px; padding-right: 12px; }
  .header-main { width: calc(100% - 18px); }
  .header-main .logo { transform: scale(.62); margin: 0 -46px; }
  .drawer-head .logo { margin-left: -23px; }
  .hero-slider { height: 535px; padding: 0; }
  .hero-product-art,
  .hero-product-media,
  .hero-post-media {
    width: min(70vw, 260px);
    max-height: 38%;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-copy { left: 25px; right: 25px; top: 48%; transform: none; }
  .hero-copy > span { font-size: 10px; }
  .hero-copy h1 { font-size: 20px; }
  .hero-copy p { font-size: 12px; margin-bottom: 17px; }
  .hero-dots { bottom: 10px; }
  .section-heading-row { align-items: flex-start; }
  .section-heading-actions .text-link { display: none; }
  .section-heading-row h2 { font-size: 20px; }
  .pill-tabs { gap: 6px; }
  .pill-tabs button { min-height: 32px; padding: 0 12px; font-size: 12px; }
  .home-products-section { width: 100%; padding: 32px 12px 15px; }
  .home-featured-cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .home-featured-cat-name { font-size: 13px; }
  .product-card.compact .product-content { padding: 0 10px 12px; }
  .product-prices strong { font-size: 16px; }
  .product-prices small { white-space: normal; font-size: 9px; }
  .benefit-grid > div { padding-left: 16%; }
  .latest-news,
  .latest-news.home-products-section { padding-top: 32px; padding-bottom: 28px; }
  .home-post-grid { grid-template-columns: 1fr; gap: 22px; }
  .home-post-grid article { display: block; }
  .post-thumb { height: 190px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; padding-top: 18px; padding-bottom: 12px; }
  .footer-group:last-child { grid-column: 1 / -1; }
  .footer-group h3 { font-size: 13px; margin-bottom: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 8px 0 10px; }
  .footer-bottom p { margin: 0; font-size: 11px; }
  .page-intro { min-height: 89px; padding-top: 6px; }
  .shop-page > .page-intro { min-height: 0; padding: 4px 0 2px; }
  .page-intro h1 { font-size: 19px; }
  .shop-page > .page-intro h1 { font-size: 18px; }
  .breadcrumbs { font-size: 10px; }
  .shop-toolbar { position: sticky; top: 0; z-index: 10; background: #fff; }
  .view-buttons { display: none; }
  .shop-toolbar-meta { gap: 10px 14px; }
  .shop-result-count { font-size: 12px; }
  .sort-select { font-size: 12px; }
  .sort-select-control { min-width: 140px; }
  .sort-select select { min-height: 34px; font-size: 12px; }
  .shop-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .product-art-wrap { aspect-ratio: 1 / 1; height: auto; }
  .product-content { padding: 0 10px 12px; }
  .product-meta { font-size: 10px; }
  .product-meta-links { gap: 5px; }
  .product-name { font-size: 12px; height: 2.5em; }
  .discount-badge { top: 9px; right: 8px; font-size: 9px; padding: 2px 6px; }
  .card-add { width: 32px; height: 32px; flex-basis: 32px; }
  .product-card.list-view { grid-template-columns: 120px minmax(0, 1fr); min-height: 180px; }
  .product-card.list-view .product-content { padding: 14px 12px; }
  .product-card.list-view .product-name { font-size: 15px; }
  .product-card.list-view .list-description { display: none; }
  .product-card.list-view .product-buy-row { margin-top: 10px; gap: 10px; align-items: center; }
  .product-card.list-view .card-add {
    min-width: 40px;
    width: 40px;
    height: 40px;
    padding: 0;
  }
  .product-card.list-view .card-add span { display: none; }
  .product-detail { grid-template-columns: 1fr; gap: 18px; padding-top: 5px; }
  .product-gallery {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .thumb-list {
    flex-direction: row;
    flex-wrap: wrap;
    max-height: none;
    order: 2;
  }
  .main-product-image {
    order: 1;
    max-width: 100%;
    min-height: 280px;
    aspect-ratio: 1 / 1;
    padding: 20px 24px;
  }
  .thumb-list button { width: 64px; }
  .product-summary { padding-top: 0; }
  .product-summary h1 { font-size: 22px; }
  .info-tab-head {
    overflow-x: auto;
    padding-left: 12px;
    padding-right: 12px;
  }
  .info-tab-head button { white-space: nowrap; padding: 0 14px; font-size: 13px; }
  .info-tab-body { padding: 22px 20px 28px; }
  .altech-specs-table thead th,
  .altech-specs-table tbody th,
  .altech-specs-table tbody td { padding: 12px 12px; }
  .altech-specs-table thead th:first-child,
  .altech-specs-table tbody th { width: 38%; }
  .blog-featured { margin-bottom: 30px; }
  .blog-featured .article-visual { height: 220px; }
  .blog-featured > div:last-child { padding: 24px 20px; }
  .blog-featured h2 { font-size: 22px; }
  .blog-list { grid-template-columns: 1fr; }
  .blog-sidebar { display: block; }
  .newsletter-box { margin-top: 25px; }
  .article-heading { padding-top: 35px; }
  .article-heading .breadcrumbs { margin-bottom: 21px; }
  .article-heading h1 { font-size: 27px; }
  .article-heading > p { font-size: 14px; }
  .article-visual.large { height: 245px; }
  .article-layout { padding-top: 25px; gap: 0; }
  .article-body { font-size: 15px; }
  .article-body .lead { font-size: 17px; }
  .more-posts .home-post-grid article:nth-child(2) { display: block; }
  .contact-layout { grid-template-columns: 1fr; padding-top: 8px; }
  .contact-details { order: -1; }
  .form-row, .form-row.three { grid-template-columns: 1fr; }
  .map-placeholder { height: 230px; }
  .map-pin { left: 50%; }
  .auth-layout { grid-template-columns: 1fr; }
  .auth-card { padding: 30px 20px 36px; }
  .auth-side { padding: 35px 25px; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .account-person { display: none; }
  .account-nav > button, .account-nav > a { white-space: nowrap; border-bottom: 1px solid var(--line); }
  .account-nav > button svg:last-child { display: none; }
  .account-nav > button.active { border-left: 0; border-bottom: 2px solid var(--blue); padding-left: 16px; }
  .order-row { grid-template-columns: 1fr 1fr 36px; }
  .order-row > span:nth-child(3) { display: none; }
  .account-wishlist { grid-template-columns: 1fr 1fr; }
  .address-card { width: 100%; }
  .cart-list-head { display: none; }
  .cart-line { min-height: 0; grid-template-columns: 1fr auto; gap: 12px; padding: 16px; }
  .cart-line-product { grid-column: 1 / -1; }
  .cart-line-product > div { width: 78px; height: 73px; flex-basis: 78px; }
  .cart-price, .cart-total { display: flex; flex-direction: column; }
  .cart-price small, .cart-total small { display: block; color: var(--muted); font-size: 9px; font-weight: 400; }
  .cart-line .qty-control { grid-column: 1; }
  .cart-total { grid-column: 2; grid-row: 2; text-align: right; }
  .cart-price { display: none; }
  .cart-remove { position: absolute; right: 25px; margin-top: -87px; }
  .coupon-row form { width: 100%; }
  .coupon-row form .button { padding: 0 10px; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-layout > aside { display: flex; flex-direction: column; }
  .checkout-items { order: 0; }
  .checkout-layout > aside .order-summary { order: 1; }
  .place-order { order: 2; }
  .terms-note { order: 3; }
  .checkout-section-head > a { display: none; }
  .checkout-section > .standard-form { padding: 18px; }
  .confirmation-details { grid-template-columns: 1fr; }
  .confirmation-details span { border-right: 0; border-bottom: 1px solid var(--line); }
  .checkout-complete { padding: 38px 20px; margin: 45px auto 70px; }
  .checkout-complete > .button { width: 100%; margin: 4px 0; }
}

/* ---------- Rich product description ---------- */
.product-description.entry-content h2,
.product-description.entry-content h3,
.product-description.entry-content h4 { margin: 1.4em 0 .55em; line-height: 1.3; }
.product-description.entry-content p { margin: 0 0 1em; color: #444; line-height: 1.65; }
.product-description.entry-content ul,
.product-description.entry-content ol { margin: 0 0 1.1em 1.2em; padding: 0; }
.product-description.entry-content li { margin: .35em 0; }
.product-description.entry-content a { color: var(--blue); text-decoration: underline; }
.product-description.entry-content table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.product-description.entry-content th,
.product-description.entry-content td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.product-description.entry-content th { background: #fafafa; font-weight: 600; }
.product-description.entry-content img { max-width: 100%; height: auto; margin: 1em 0; }
.product-description.entry-content blockquote { margin: 1em 0; padding: .75em 1em; border-left: 3px solid var(--blue); background: var(--soft-blue); }
.info-tab-body[hidden] { display: none !important; }
.product-art-wrap .product-art.product-photo { width: 100%; height: 100%; margin: 0; object-fit: contain; object-position: center; }

/* ---------- Contact map embed ---------- */
.map-placeholder.has-embed { padding: 0; }
.map-placeholder.has-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.map-open-link {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.map-open-link:hover { color: var(--blue-dark); }
.map-link-card { display: block; position: absolute; inset: 0; color: inherit; }
.map-link-card .map-pin em { display: block; margin-top: 4px; color: var(--blue); font-style: normal; font-size: 12px; font-weight: 600; }
.map-placeholder.has-link-card:hover { border-color: #a8c8d2; }
.form-error { padding: 12px 14px; margin-bottom: 18px; background: #fdf0f1; color: #b3263b; display: flex; align-items: center; gap: 8px; font-size: 12px; }
.contact-details a + a { margin-top: 4px; }
.contact-details .contact-multi a { display: block; }

/* ---------- WhatsApp floater (desktop) ---------- */
.altech-wa-floater {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
  display: none;
  align-items: center;
  justify-content: center;
  transition: bottom .25s ease, transform .2s ease, box-shadow .2s ease;
}
.altech-wa-floater:hover { transform: scale(1.06); box-shadow: 0 6px 18px rgba(0, 0, 0, .28); }
.altech-wa-floater svg { width: 30px; height: 30px; display: block; }
body.altech-has-tawk .altech-wa-floater { bottom: 96px; }
@media (min-width: 821px) {
  .altech-wa-floater { display: flex; }
}
@media (max-width: 820px) {
  .altech-wa-floater { display: none !important; }
  body.altech-has-wa-floater .toast,
  body.altech-has-tawk .toast { right: 24px; }
}

/* ---------- Reviews / wishlist / Woo pages ---------- */
.altech-reviews-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.altech-reviews-summary strong { font-size: 28px; }
.altech-review-list { list-style: none; margin: 0; padding: 0; }
.altech-review-list li { padding: 16px 0; border-bottom: 1px solid var(--line); }
.review-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 8px; }
.review-head time { color: var(--muted); font-size: 12px; }
.altech-review-form { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.altech-review-form textarea,
.altech-review-form select,
.woocommerce-page input[type="text"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="number"],
.woocommerce-page select,
.woocommerce-page textarea { width: 100%; border: 1px solid var(--line); padding: 10px 12px; background: #fff; }
.altech-review-login { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 18px 0; padding: 16px; background: var(--soft); }
.altech-wishlist-btn.is-active { color: var(--red); }
.cart-notice { position: fixed; right: 20px; bottom: 20px; z-index: 1200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 2px; opacity: 0; transform: translateY(8px); transition: .2s ease; pointer-events: none; }
.cart-notice.visible { opacity: 1; transform: none; }
/* Content column only — do not lock body.woocommerce-page (WC adds that class site-wide). */
main.woocommerce-page { max-width: var(--content-width); margin-left: auto; margin-right: auto; }
main.woocommerce-page.wc-cart-page {
  max-width: min(1440px, 100%);
}
main.woocommerce-page.wc-checkout-page {
  max-width: min(1440px, 100%);
}
.woocommerce-page .woocommerce { max-width: none; }

/* ---------- Altech WooCommerce checkout ---------- */
.altech-checkout { margin: 8px 0 40px; }
.altech-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
  gap: 28px;
  align-items: start;
}
.altech-checkout-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.altech-checkout-aside { position: sticky; top: 74px; min-width: 0; }
.altech-checkout-panel {
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
}
.altech-checkout-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: #f8fafb;
}
.altech-checkout-step {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  margin-top: 1px;
}
.altech-checkout-panel-head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
}
.altech-checkout-panel-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.altech-checkout-panel-body { padding: 18px 20px 20px; }
.altech-checkout .woocommerce-billing-fields h3,
.altech-checkout #order_review_heading { display: none; }
.altech-checkout-subhead {
  margin: 8px 0 12px;
  font-size: 15px;
  font-weight: 600;
}
/* Override global .form-row { display:grid; 1fr 1fr } used by static theme forms */
.altech-checkout .woocommerce-billing-fields__field-wrapper,
.altech-checkout .woocommerce-shipping-fields__field-wrapper,
.altech-checkout .woocommerce-additional-fields__field-wrapper,
.altech-checkout .woocommerce-account-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  align-items: start;
}
.altech-checkout .form-row,
.altech-checkout p.form-row,
.altech-checkout .woocommerce-billing-fields .form-row,
.altech-checkout .woocommerce-shipping-fields .form-row,
.altech-checkout .woocommerce-additional-fields .form-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
  grid-template-columns: none !important;
  grid-column: auto;
}
/* Full-width rows (WC locale often forces form-row-wide — pin by id too) */
.altech-checkout .form-row-wide,
.altech-checkout .form-row.create-account,
.altech-checkout .woocommerce-additional-fields .form-row,
.altech-checkout #billing_company_field,
.altech-checkout #billing_country_field,
.altech-checkout #billing_address_1_field,
.altech-checkout #billing_address_2_field,
.altech-checkout #billing_postcode_field,
.altech-checkout #shipping_company_field,
.altech-checkout #shipping_country_field,
.altech-checkout #shipping_address_1_field,
.altech-checkout #shipping_address_2_field,
.altech-checkout #shipping_postcode_field,
.altech-checkout #order_comments_field {
  grid-column: 1 / -1;
}
/* Two-per-row pairs (ids win over WC locale class resets) */
.altech-checkout #billing_first_name_field,
.altech-checkout #billing_last_name_field,
.altech-checkout #billing_email_field,
.altech-checkout #billing_phone_field,
.altech-checkout #billing_city_field,
.altech-checkout #billing_state_field,
.altech-checkout #shipping_first_name_field,
.altech-checkout #shipping_last_name_field,
.altech-checkout #shipping_city_field,
.altech-checkout #shipping_state_field {
  grid-column: auto;
}
/* Visual order: name → email/phone → company → address */
.altech-checkout #billing_first_name_field { order: 1; }
.altech-checkout #billing_last_name_field { order: 2; }
.altech-checkout #billing_email_field { order: 3; }
.altech-checkout #billing_phone_field { order: 4; }
.altech-checkout #billing_company_field { order: 5; }
.altech-checkout #billing_country_field { order: 6; }
.altech-checkout #billing_address_1_field { order: 7; }
.altech-checkout #billing_address_2_field { order: 8; }
.altech-checkout #billing_city_field { order: 9; }
.altech-checkout #billing_state_field { order: 10; }
.altech-checkout #billing_postcode_field { order: 11; }
.altech-checkout #shipping_first_name_field { order: 1; }
.altech-checkout #shipping_last_name_field { order: 2; }
.altech-checkout #shipping_company_field { order: 3; }
.altech-checkout #shipping_country_field { order: 4; }
.altech-checkout #shipping_address_1_field { order: 5; }
.altech-checkout #shipping_address_2_field { order: 6; }
.altech-checkout #shipping_city_field { order: 7; }
.altech-checkout #shipping_state_field { order: 8; }
.altech-checkout #shipping_postcode_field { order: 9; }
.altech-checkout .form-row-first,
.altech-checkout .form-row-last {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.altech-checkout .form-row label {
  display: block !important;
  float: none !important;
  width: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 12px;
  font-weight: 600;
  color: #4d5558;
  line-height: 1.3;
}
.altech-checkout .form-row .required { color: var(--red); }
.altech-checkout .form-row .woocommerce-input-wrapper,
.altech-checkout .form-row .select2-container {
  display: block !important;
  width: 100% !important;
  float: none !important;
}
.altech-checkout .form-row input.input-text,
.altech-checkout .form-row textarea,
.altech-checkout .form-row select,
.altech-checkout .select2-container .select2-selection--single {
  width: 100% !important;
  max-width: none !important;
  min-height: 42px;
  border: 1px solid var(--line) !important;
  border-radius: 2px;
  padding: 8px 12px !important;
  background: #fff !important;
  box-shadow: none !important;
  box-sizing: border-box;
}
.altech-checkout .select2-container { margin: 0 !important; }
.altech-checkout .form-row textarea { min-height: 90px; resize: vertical; }
.altech-ship-toggle {
  margin: 0 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  background: #f7fafb;
  grid-column: 1 / -1;
}
.altech-ship-toggle-label {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 0 !important;
}
.altech-ship-toggle-label input { margin-top: 3px; flex: 0 0 auto; }
.altech-ship-toggle-label span { display: flex; flex-direction: column; gap: 2px; }
.altech-ship-toggle-label strong { font-size: 14px; color: var(--ink); }
.altech-ship-toggle-label small { font-size: 12px; color: var(--muted); font-weight: 400; }
.altech-ship-same-note { margin: 0; color: var(--muted); font-size: 13px; }
.altech-checkout .woocommerce-shipping-fields .shipping_address { display: none; }
.altech-checkout .woocommerce-shipping-fields .shipping_address.is-open {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.altech-checkout .woocommerce-shipping-fields .shipping_address.is-open .woocommerce-shipping-fields__field-wrapper {
  display: contents;
}
.altech-checkout #order_review {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}
.altech-checkout .woocommerce-checkout-review-order-table {
  width: 100%;
  border: 0;
  margin: 0 0 16px;
  border-collapse: collapse;
}
.altech-checkout .woocommerce-checkout-review-order-table th,
.altech-checkout .woocommerce-checkout-review-order-table td {
  border: 0;
  border-bottom: 1px solid #eef1f2;
  padding: 10px 0;
  background: transparent;
  text-align: left;
  font-size: 13px;
}
.altech-checkout .woocommerce-checkout-review-order-table tfoot .order-total th,
.altech-checkout .woocommerce-checkout-review-order-table tfoot .order-total td {
  border-top: 1px solid var(--line);
  border-bottom: 0;
  padding-top: 14px;
  font-size: 16px;
}
.altech-checkout .woocommerce-checkout-review-order-table .order-total .amount {
  color: var(--red);
  font-size: 22px;
  font-weight: 600;
}
.altech-checkout #payment {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}
.altech-checkout #payment .payment_methods {
  list-style: none !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  border: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.altech-checkout .wc_payment_methods {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.altech-checkout .wc_payment_method {
  position: relative;
  margin: 0 !important;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 0 14px;
  overflow: hidden;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.altech-checkout .wc_payment_method > input.input-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.altech-checkout .wc_payment_method > label {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 16px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  margin: 0 !important;
  line-height: 1.3;
}
.altech-checkout .wc_payment_method > label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #b8c4c8;
  border-radius: 50%;
  box-sizing: border-box;
  background: #fff;
}
.altech-checkout .wc_payment_method:has(> input:checked) {
  border-color: var(--blue);
  background: #f3f9fb;
  box-shadow: inset 0 0 0 1px var(--blue);
}
.altech-checkout .wc_payment_method:has(> input:checked) > label::before {
  border-color: var(--blue);
  background:
    radial-gradient(circle at center, var(--blue) 0 5px, #fff 6px 100%);
}
.altech-checkout .wc_payment_method:hover {
  border-color: #9bb8c2;
}
/* WC sets payment_box width:100%; horizontal margins were pushing it outside the card */
.altech-checkout #payment div.payment_box,
.altech-checkout .payment_box {
  position: relative !important;
  box-sizing: border-box !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 16px !important;
  padding: 12px 14px !important;
  border: 1px solid #d7e4e9 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #5a6164 !important;
  font-size: 13px;
  line-height: 1.5;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.altech-checkout #payment div.payment_box::before,
.altech-checkout .payment_box::before {
  display: none !important;
  content: none !important;
}
.altech-checkout .payment_box p {
  margin: 0;
  max-width: 100%;
}
.altech-checkout #payment .place-order {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}
.altech-checkout #payment .form-row.place-order {
  display: block !important;
  width: 100% !important;
  grid-column: auto;
}
.altech-checkout #place_order,
.altech-checkout button#place_order,
.altech-checkout #payment #place_order {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  max-width: none !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  background: var(--red) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 2px !important;
  box-shadow: 0 2px 0 var(--red-dark) !important;
  font-size: 15px;
  font-weight: 600;
  box-sizing: border-box;
}
.altech-checkout #place_order:hover {
  background: var(--red-dark) !important;
}
.altech-checkout-secure {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--blue);
}
.altech-checkout-secure span { display: flex; flex-direction: column; gap: 2px; color: var(--ink); }
.altech-checkout-secure b { font-size: 13px; }
.altech-checkout-secure small { color: var(--muted); font-size: 12px; }
.altech-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
  margin: 0 0 16px;
  border: 1px solid var(--line);
  background: #f8fafb;
}
.altech-address-scope-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(20, 28, 34, .45);
  display: grid;
  place-items: center;
  padding: 20px;
}
.altech-address-scope-modal[hidden] { display: none !important; }
.altech-address-scope-dialog {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 22px 18px;
  box-shadow: 0 16px 40px rgba(20, 35, 42, .18);
}
.altech-address-scope-dialog h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.altech-address-scope-dialog p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.altech-address-scope-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.altech-address-scope-actions .button {
  flex: 1 1 140px;
  min-height: 42px;
}
.altech-address-scope-cancel {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  padding: 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.altech-address-scope-cancel:hover { color: var(--ink); }

/* Shared confirm modal (logout, etc.) */
.altech-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(20, 28, 34, .45);
  display: grid;
  place-items: center;
  padding: 20px;
}
.altech-confirm-modal[hidden] { display: none !important; }
.altech-confirm-dialog {
  width: min(400px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px 22px 18px;
  box-shadow: 0 16px 40px rgba(20, 35, 42, .18);
}
.altech-confirm-dialog h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}
.altech-confirm-dialog p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.altech-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.altech-confirm-actions .button {
  flex: 1 1 130px;
  min-height: 42px;
}
.altech-confirm-actions .altech-confirm-danger {
  background: #9b4a53;
  color: #fff;
  border: 0;
  box-shadow: 0 2px 0 #7a3540;
}
.altech-confirm-actions .altech-confirm-danger:hover {
  background: #8a3f48;
}

/* ---------- Order received / thank you ---------- */
main.wc-order-received-page {
  max-width: min(1080px, 100%);
}
.wc-order-received-page .page-intro { margin-bottom: 8px; }
.altech-order-received { margin: 4px 0 56px; }

/* Order placing → confirmed animation */
.altech-order-anim {
  text-align: center;
  padding: 36px 24px 28px;
  margin-bottom: 20px;
  border: 1px solid #d9e8ee;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(22, 128, 162, .12), transparent 55%),
    linear-gradient(180deg, #f4faf8 0%, #fff 60%);
}
.altech-order-anim-stage {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}
.altech-order-anim-ring {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  border: 3px solid #d7e8ee;
  border-top-color: var(--blue);
  animation: altech-order-spin 0.85s linear infinite;
}
.altech-order-anim.is-done .altech-order-anim-ring {
  animation: none;
  border-color: #cfe8d8;
  transform: scale(.92);
  opacity: 0;
  transition: opacity .25s ease;
}
.altech-order-anim-box {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transition: opacity .25s ease, transform .35s ease;
}
.altech-order-anim-box-body {
  width: 46px;
  height: 34px;
  margin-top: 10px;
  background: #1680a2;
  border-radius: 2px 2px 4px 4px;
  box-shadow: 0 6px 14px rgba(22, 128, 162, .25);
}
.altech-order-anim-box-lid {
  display: block;
  width: 52px;
  height: 10px;
  margin: 0 auto -2px;
  background: #0d6988;
  border-radius: 2px;
  transform-origin: left center;
  animation: altech-order-lid 1.1s ease-in-out infinite;
}
.altech-order-anim.is-done .altech-order-anim-box {
  opacity: 0;
  transform: scale(.7) translateY(8px);
  pointer-events: none;
}
.altech-order-anim-check {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.6);
}
.altech-order-anim.is-done .altech-order-anim-check {
  opacity: 1;
  transform: scale(1);
  transition: opacity .25s ease, transform .4s cubic-bezier(.22, 1, .36, 1);
}
.altech-order-anim-check-circle {
  stroke: var(--green);
  stroke-width: 2.5;
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
}
.altech-order-anim-check-mark {
  stroke: var(--green);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
}
.altech-order-anim.is-done .altech-order-anim-check-circle {
  animation: altech-order-draw 0.55s ease forwards;
}
.altech-order-anim.is-done .altech-order-anim-check-mark {
  animation: altech-order-draw 0.4s .35s ease forwards;
}
.altech-order-anim-status {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  min-height: 1.2em;
}
.altech-order-anim.is-done .altech-order-anim-status {
  color: var(--green);
}
.altech-order-anim .altech-order-title {
  margin: 4px 0 8px;
  opacity: 0;
  transform: translateY(8px);
}
.altech-order-anim .altech-order-lead {
  margin: 0 auto;
  opacity: 0;
  transform: translateY(8px);
}
.altech-order-anim.is-done .altech-order-title,
.altech-order-anim.is-done .altech-order-lead {
  opacity: 1;
  transform: none;
  transition: opacity .4s ease, transform .4s ease;
}
.altech-order-anim.is-done .altech-order-lead { transition-delay: .08s; }
@keyframes altech-order-spin {
  to { transform: rotate(360deg); }
}
@keyframes altech-order-lid {
  0%, 100% { transform: rotate(0deg) translateY(0); }
  45% { transform: rotate(-18deg) translateY(-3px); }
  55% { transform: rotate(-10deg) translateY(-1px); }
}
@keyframes altech-order-draw {
  to { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .altech-order-anim-ring,
  .altech-order-anim-box-lid { animation: none !important; }
  .altech-order-anim .altech-order-title,
  .altech-order-anim .altech-order-lead,
  .altech-order-anim-check { opacity: 1; transform: none; }
  .altech-order-anim-box { display: none; }
  .altech-order-anim-check-circle,
  .altech-order-anim-check-mark { stroke-dashoffset: 0; }
}

.altech-order-hero {
  text-align: center;
  padding: 36px 28px;
  border: 1px solid #f0c2c2;
  background: linear-gradient(180deg, #fff5f5 0%, #fff 55%);
  margin-bottom: 20px;
}
.altech-order-hero-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fde8e8;
  color: var(--red);
}
.altech-order-eyebrow {
  display: inline-block;
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.altech-order-title {
  margin: 8px 0;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -.02em;
}
.altech-order-lead {
  margin: 0 auto;
  max-width: 480px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

/* Details grid */
.altech-order-overview {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  border: 0;
  background: transparent;
}
.altech-order-overview li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 !important;
  min-height: 78px;
}
.altech-order-overview small {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
}
.altech-order-overview strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  word-break: break-word;
  line-height: 1.35;
}
.altech-order-overview .total {
  border-color: #f0c8cc;
  background: #fff8f8;
}
.altech-order-overview .total strong,
.altech-order-overview .total .amount {
  color: var(--red);
  font-size: 18px;
}
.altech-order-status {
  display: inline-flex;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid #c4dfd0;
  background: #eef8f2;
  color: #1f7a3f;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: capitalize;
}
.altech-order-status--failed,
.altech-order-status--cancelled {
  border-color: #f0c2c2;
  background: #fff5f5;
  color: #9b1c1c;
}
.altech-order-status--on-hold,
.altech-order-status--pending {
  border-color: #ead7a8;
  background: #fff9eb;
  color: #8a6d1d;
}
.altech-order-pay-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #cfe3ec;
  background: #f4fafc;
}
.altech-order-pay-note-icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e7f3f7;
  color: var(--blue);
}
.altech-order-pay-note strong { display: block; margin: 0 0 3px; font-size: 14px; }
.altech-order-pay-note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.altech-order-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}
.altech-order-details,
.altech-order-gateway-note,
.altech-order-received .woocommerce-bacs-bank-details,
.altech-order-received .woocommerce-order-details {
  border: 1px solid var(--line);
  background: #fff;
  padding: 20px 22px;
}
.altech-order-panel-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f2;
}
.altech-order-panel-head h2,
.altech-order-details .woocommerce-order-details__title,
.altech-order-received .woocommerce-order-details__title,
.altech-order-received .wc-bacs-bank-details-heading {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}
.altech-order-panel-head p { margin: 0; color: var(--muted); font-size: 13px; }

/* Product table: photo | name | qty | price */
.altech-order-table-wrap { width: 100%; overflow-x: auto; }
.altech-order-table,
.altech-order-details .shop_table.altech-order-table {
  width: 100%;
  min-width: 640px;
  border: 0 !important;
  border-collapse: collapse;
  margin: 0;
}
.altech-order-table thead th {
  color: #8a8e90;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  text-align: left;
  padding: 0 12px 12px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
}
.altech-order-table thead th.product-quantity,
.altech-order-table thead th.product-total,
.altech-order-table td.product-quantity,
.altech-order-table td.product-total {
  text-align: right;
}
.altech-order-table thead th.product-thumb,
.altech-order-table td.product-thumb {
  width: 96px;
  padding-right: 14px !important;
}
.altech-order-table tbody td {
  padding: 16px 12px 16px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f2 !important;
  background: transparent !important;
  vertical-align: middle;
}
.altech-order-table tbody td.product-name { min-width: 220px; }
.altech-order-table tbody td.product-quantity {
  width: 72px;
  font-weight: 700;
  color: var(--ink);
}
.altech-order-table tbody td.product-total {
  width: 140px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.altech-order-item-thumb {
  display: block;
  width: 80px;
  height: 80px;
  border: 1px solid var(--line);
  background: #f7f9fa;
  overflow: hidden;
}
.altech-order-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.altech-order-item-meta {
  font-size: 15px;
  line-height: 1.4;
}
.altech-order-item-meta a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.altech-order-item-meta a:hover { color: var(--blue); }
.altech-order-item-meta .wc-item-meta {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 12px;
}
.altech-order-qty {
  display: inline-flex;
  min-width: 34px;
  justify-content: center;
  padding: 4px 8px;
  border: 1px solid var(--line);
  background: #f7f9fa;
  font-weight: 700;
}
.altech-order-table tfoot th,
.altech-order-table tfoot td {
  padding: 12px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #eef1f2 !important;
  background: transparent !important;
  vertical-align: middle;
}
.altech-order-table tfoot th {
  color: var(--muted);
  font-weight: 600;
  text-align: right;
  padding-right: 18px !important;
}
.altech-order-table tfoot td {
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}
.altech-order-table tfoot tr:last-child th,
.altech-order-table tfoot tr:last-child td { border-bottom: 0 !important; }
.altech-order-table tfoot .order-total th,
.altech-order-table tfoot .order-total td {
  padding-top: 16px !important;
  border-top: 1px solid var(--line) !important;
  font-size: 16px;
  color: var(--ink);
}
.altech-order-table tfoot .order-total .amount {
  color: var(--red);
  font-size: 22px;
  font-weight: 700;
}

.altech-order-addresses {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}
.altech-order-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.altech-order-address {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 20px;
}
.altech-order-address .woocommerce-column__title {
  margin: 0 0 10px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #eef1f2;
  font-size: 15px !important;
  font-weight: 600;
}
.altech-order-address address {
  font-style: normal;
  color: #4d5558;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.altech-order-address .woocommerce-customer-details--phone,
.altech-order-address .woocommerce-customer-details--email {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 13px;
}

.altech-order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.altech-order-btn.button,
.altech-order-actions .button.altech-order-btn {
  min-width: 200px;
  min-height: 48px !important;
  padding: 0 22px !important;
  font-size: 14px;
  font-weight: 700;
}
.altech-order-btn.button.primary,
.altech-order-actions .button.primary.altech-order-btn {
  background: var(--red) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 2px 0 var(--red-dark) !important;
}
.altech-order-btn.button.primary:hover { background: var(--red-dark) !important; }
.altech-order-btn.button.outline,
.altech-order-actions .button.outline.altech-order-btn {
  background: #fff !important;
  color: var(--blue) !important;
  border: 1px solid #a8c8d2 !important;
  box-shadow: none !important;
}
.altech-order-btn.button.outline:hover {
  border-color: var(--blue) !important;
  background: var(--soft-blue) !important;
}
.altech-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  background: #f7fbfd;
}
.altech-order-footer-copy strong { display: block; margin: 0 0 4px; font-size: 15px; }
.altech-order-footer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 420px;
}
.altech-order-actions--footer { justify-content: flex-end; }
.altech-order-received .woocommerce-bacs-bank-details ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.altech-order-received .woocommerce-bacs-bank-details li {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #eef1f2;
  background: #f8fafb;
  font-size: 13px;
}
.wc-order-received-page .woocommerce-form-login {
  max-width: 520px;
  margin: 0 auto 30px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.wc-order-received-page .woocommerce-form-login .form-row {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  grid-template-columns: none !important;
}
.wc-order-received-page .woocommerce-form-login .form-row-wide,
.wc-order-received-page .woocommerce-form-login .lost_password,
.wc-order-received-page .woocommerce-form-login .clear { grid-column: 1 / -1; }
.wc-order-received-page .woocommerce-form-login .button {
  width: 100%;
  background: var(--red);
  color: #fff;
  box-shadow: 0 2px 0 var(--red-dark);
}
@media (max-width: 900px) {
  .altech-checkout-layout { grid-template-columns: 1fr; gap: 16px; }
  .altech-checkout-aside { position: static; }
  .altech-order-overview { grid-template-columns: 1fr 1fr; }
  .altech-order-address-grid { grid-template-columns: 1fr; }
  .altech-order-footer {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .altech-order-footer-copy p { max-width: none; margin: 0 auto; }
  .altech-order-actions--footer { justify-content: center; }
}
@media (max-width: 640px) {
  .altech-order-overview { grid-template-columns: 1fr; }
  .altech-order-actions .button,
  .altech-order-btn.button { width: 100%; min-width: 0; }
  .altech-order-table,
  .altech-order-details .shop_table.altech-order-table { min-width: 0; }
  .altech-order-table thead { display: none; }
  .altech-order-table,
  .altech-order-table tbody,
  .altech-order-table tr,
  .altech-order-table td { display: block; width: 100%; }
  .altech-order-table tbody tr {
    padding: 14px 0;
    border-bottom: 1px solid #eef1f2;
  }
  .altech-order-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 6px 0 !important;
    border-bottom: 0 !important;
    text-align: right;
  }
  .altech-order-table tbody td.product-thumb {
    justify-content: flex-start;
    width: auto;
  }
  .altech-order-table tbody td.product-name {
    display: block;
    text-align: left;
  }
  .altech-order-table tbody td::before {
    content: attr(data-title);
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .altech-order-table tbody td.product-thumb::before,
  .altech-order-table tbody td.product-name::before { display: none; }
  .altech-order-table tfoot tr {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .altech-order-table tfoot th,
  .altech-order-table tfoot td {
    display: block;
    width: auto;
    text-align: left;
    padding: 8px 0 !important;
  }
  .altech-order-table tfoot td { text-align: right; }
  .wc-order-received-page .woocommerce-form-login { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .altech-checkout-panel-body { padding: 14px; }
  .altech-checkout-panel-head { padding: 14px; }
  .altech-checkout .woocommerce-billing-fields__field-wrapper,
  .altech-checkout .woocommerce-shipping-fields__field-wrapper,
  .altech-checkout .woocommerce-additional-fields__field-wrapper,
  .altech-checkout .woocommerce-shipping-fields .shipping_address.is-open {
    grid-template-columns: 1fr;
  }
  .altech-checkout #payment div.payment_box,
  .altech-checkout .payment_box { margin: 0 12px !important; }
}
.woocommerce-page .wc-page-content { padding-bottom: 48px; }
.woocommerce-page .button,
.woocommerce-page button.button,
.woocommerce-page a.button,
.woocommerce-page .woocommerce button.button,
.woocommerce-page .woocommerce a.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 19px; border-radius: 2px; font-weight: 600; border: 1px solid transparent; }
.woocommerce-page .button.alt,
.woocommerce-page button.button.alt,
.woocommerce-page #place_order { background: var(--red); color: #fff; box-shadow: 0 2px 0 var(--red-dark); }
.woocommerce-page .button.alt:hover,
.woocommerce-page button.button.alt:hover,
.woocommerce-page #place_order:hover { background: var(--red-dark); }
.woocommerce-page table.shop_table { width: 100%; border-collapse: collapse; border: 1px solid var(--line); background: #fff; }
.woocommerce-page table.shop_table th,
.woocommerce-page table.shop_table td { border-top: 1px solid var(--line); padding: 14px 12px; text-align: left; vertical-align: middle; }
.woocommerce-page table.shop_table thead th { background: #fafafa; color: #8a8e90; font-size: 11px; text-transform: uppercase; font-weight: 600; border-top: 0; }
.woocommerce-page .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals { border: 1px solid var(--line); padding: 22px; background: #fff; margin-top: 20px; }
.woocommerce-page .cart_totals h2 { font-size: 18px; font-weight: 500; margin: 0 0 14px; }
.woocommerce-page .coupon { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.woocommerce-page .coupon .input-text { flex: 1 1 160px; min-height: 42px; }
.woocommerce-page .woocommerce-form-coupon,
.woocommerce-page .woocommerce-form-login,
.woocommerce-page .woocommerce-checkout .form-row input.input-text,
.woocommerce-page .woocommerce-checkout .form-row textarea,
.woocommerce-page .woocommerce-checkout .form-row select { border: 1px solid var(--line); border-radius: 2px; }
.woocommerce-page .woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.woocommerce-page #order_review_heading,
.woocommerce-page .woocommerce-billing-fields h3,
.woocommerce-page .woocommerce-additional-fields h3 { font-size: 18px; font-weight: 500; margin: 0 0 14px; }
.woocommerce-page #order_review { border: 1px solid var(--line); padding: 20px; background: #fff; }
.woocommerce-page .woocommerce-checkout-review-order-table { margin-bottom: 18px; }
.woocommerce-page ul.woocommerce-error,
.woocommerce-page .woocommerce-message,
.woocommerce-page .woocommerce-info { list-style: none; margin: 0 0 18px; padding: 12px 14px; border: 1px solid var(--line); background: var(--soft); }
.woocommerce-page ul.woocommerce-error { border-color: #f0c2c2; background: #fff5f5; color: #9b1c1c; }
.woocommerce-cart-form,
.woocommerce-checkout { margin: 8px 0 40px; }
@media (max-width: 820px) {
  .woocommerce-page .woocommerce-checkout .col2-set { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Altech My Account ---------- */
main.wc-account-page { max-width: min(1280px, 100%); }
.woocommerce-account .woocommerce,
.account-page .woocommerce {
  display: block !important;
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}
/* Kill WC default float/30% nav which collapses inside our grid column */
.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content,
.account-page .woocommerce-MyAccount-navigation,
.account-page .woocommerce-MyAccount-content,
.altech-account .woocommerce-MyAccount-navigation,
.altech-account .woocommerce-MyAccount-content {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  clear: none !important;
}
.altech-account {
  display: grid !important;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  margin: 4px 0 48px;
  width: 100%;
}
.altech-account::before,
.altech-account::after,
.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
  display: none !important;
  content: none !important;
}
.altech-account-nav,
aside.altech-account-nav.woocommerce-MyAccount-navigation {
  border: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 74px;
  overflow: hidden;
  width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}
.altech-account-person {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f4fafc 0%, #fff 100%);
}
.altech-account-person > div {
  min-width: 0;
  flex: 1;
}
.altech-account-avatar {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--blue);
  font-weight: 700;
  font-size: 16px;
}
.altech-account-person strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.altech-account-person small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.altech-account-nav-mobile-label,
.altech-account-nav-select {
  display: none;
}
.altech-account-nav-list ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}
.altech-account-nav-list li { margin: 0; }
.altech-account-nav-list a {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 16px;
  color: #5c6366;
  text-decoration: none;
  border-left: 2px solid transparent;
  box-sizing: border-box;
}
.altech-account-nav-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}
.altech-account-nav-list a:hover {
  background: #f7fafb;
  color: var(--ink);
}
.altech-account-nav-list .is-active a {
  border-left-color: var(--blue);
  background: #f3f9fb;
  color: var(--blue);
  font-weight: 600;
}
.altech-account-nav-icon {
  display: grid;
  place-items: center;
  color: inherit;
}
.altech-account-nav-chevron { opacity: .35; }
.altech-account-nav-list .is-logout {
  margin-top: 6px;
  border-top: 1px solid #eef1f2;
  padding-top: 6px;
}
.altech-account-nav-list .is-logout a {
  color: #9b4a53;
  grid-template-columns: 22px 1fr;
}
.altech-account-content,
.altech-account .woocommerce-MyAccount-content.altech-account-content {
  border: 1px solid var(--line);
  background: #fff;
  padding: 24px 26px;
  min-width: 0;
  width: 100% !important;
  box-sizing: border-box;
}
/* Email verification / notices */
.altech-account-content .woocommerce-info,
.altech-account-content .woocommerce-message,
.altech-account-content .woocommerce-error,
.altech-account-content .woocommerce-notices-wrapper .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 16px;
  border: 1px solid #cfe3ec;
  background: #f4fafc;
  list-style: none;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.45;
}
.altech-account-content .woocommerce-info::before,
.altech-account-content .woocommerce-message::before {
  display: none !important;
  content: none !important;
}
.altech-account-content .woocommerce-info .button,
.altech-account-content .woocommerce-message .button,
.altech-account-content .woocommerce-Button {
  min-height: 38px;
  padding: 0 14px;
  margin: 0;
  background: var(--blue) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 2px 0 var(--blue-dark) !important;
  font-weight: 600;
  font-size: 12px;
  white-space: nowrap;
}
.altech-account-welcome {
  padding: 22px 24px;
  margin: 0 0 18px;
  border: 1px solid #d9e8ee;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(22, 128, 162, .10), transparent 55%),
    linear-gradient(180deg, #f4fafc 0%, #fff 70%);
}
.altech-account-welcome > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.altech-account-welcome h2 {
  margin: 6px 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 600;
}
.altech-account-welcome p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 520px;
  line-height: 1.5;
}
.altech-account-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.altech-account-summary-card {
  display: grid;
  grid-template-columns: 42px 1fr 14px;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.altech-account-summary-card:hover {
  border-color: #c5d8df;
  box-shadow: var(--shadow);
}
.altech-account-summary-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--soft-blue);
  color: var(--blue);
}
.altech-account-summary-card small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
}
.altech-account-summary-card b {
  display: block;
  margin-top: 3px;
  font-size: 20px;
  font-weight: 700;
}
.altech-account-panel { margin-bottom: 18px; }
.altech-account-panel-head,
.altech-account-content .altech-account-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f2;
}
.altech-account-panel-head h2,
.altech-account-panel-head h3,
.altech-account-content > h2,
.altech-account-content .woocommerce-Address-title h2,
.altech-account-content .woocommerce-order-details__title {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 600;
}
.altech-account-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
.altech-account-link {
  color: var(--blue);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}
.altech-account-link:hover { text-decoration: underline; }
.altech-account-orders {
  border: 1px solid var(--line);
}
.altech-account-order-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr auto 16px;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #eef1f2;
  text-decoration: none;
  color: inherit;
}
.altech-account-order-row:last-child { border-bottom: 0; }
.altech-account-order-row:hover { background: #f8fafb; }
.altech-account-order-row small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-weight: 700;
  margin-bottom: 3px;
}
.altech-account-order-row strong {
  font-size: 13px;
  font-weight: 600;
}
.altech-account-order-status {
  display: inline-flex;
  padding: 4px 8px;
  border: 1px solid #cfe3d6;
  background: #f3faf5;
  color: #1f7a3f;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}
.altech-account-order-status--failed,
.altech-account-order-status--cancelled {
  border-color: #f0c2c2;
  background: #fff5f5;
  color: #9b1c1c;
}
.altech-account-order-status--on-hold,
.altech-account-order-status--pending {
  border-color: #ead7a8;
  background: #fff9eb;
  color: #8a6d1d;
}
.altech-account-order-status--processing {
  border-color: #c5d8f0;
  background: #f3f7fc;
  color: #1f4f8a;
}
.altech-account-order-status--completed {
  border-color: #cfe3d6;
  background: #f3faf5;
  color: #1f7a3f;
}
.altech-account-empty {
  padding: 28px 20px;
  text-align: center;
  border: 1px dashed #d5dee2;
  background: #fafcfc;
}
.altech-account-empty p {
  margin: 0 0 14px;
  color: var(--muted);
}
.altech-account-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.altech-account-quick .button { min-height: 42px; }
.altech-account-logout-btn { color: #9b4a53 !important; border-color: #e2c4c7 !important; }

/* Orders cards */
.altech-account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.altech-account-order-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.altech-account-order-card:hover {
  border-color: #b7d0da;
  box-shadow: 0 6px 18px rgba(20, 40, 50, .05);
}
.altech-account-order-card-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
}
.altech-account-order-thumbs {
  display: flex;
  align-items: center;
}
.altech-account-order-thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-left: -10px;
  border: 1px solid var(--line);
  background: #f7f9fa;
  overflow: hidden;
  box-shadow: 0 0 0 2px #fff;
}
.altech-account-order-thumb:first-child { margin-left: 0; }
.altech-account-order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.altech-account-order-thumb.is-empty {
  color: var(--muted);
}
.altech-account-order-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 4px;
}
.altech-account-order-number {
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}
.altech-account-order-number:hover {
  color: var(--blue);
  text-decoration: underline;
}
.altech-account-order-summary {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
}
.altech-account-order-products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.altech-account-order-products li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #4d5558;
  line-height: 1.4;
}
.altech-account-order-products li span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.altech-account-order-products li strong {
  flex: 0 0 auto;
  color: var(--ink);
  font-weight: 600;
}
.altech-account-order-products li.is-more span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.altech-account-order-card-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  min-width: 140px;
  text-align: right;
}
.altech-account-order-total small {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.altech-account-order-total strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}
.altech-account-order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.altech-account-order-actions .button {
  min-height: 36px;
  padding: 0 14px;
  font-size: 12px;
  font-weight: 600;
}
.altech-account-order-actions .button.primary {
  background: var(--blue);
  color: #fff;
  border: 0;
  box-shadow: 0 2px 0 var(--blue-dark);
}
.altech-account-order-actions .button.outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid #a8c8d2;
  box-shadow: none;
}
.altech-account-pagination {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}

/* Addresses */
.altech-account-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.altech-account-address-card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 18px 20px;
}
.altech-account-address-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eef1f2;
}
.altech-account-address-badge {
  display: inline-flex;
  margin-bottom: 6px;
  padding: 2px 7px;
  border: 1px solid #cfe3d6;
  background: #f3faf5;
  color: #1f7a3f;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.altech-account-address-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.altech-account-address-card address {
  font-style: normal;
  color: #4d5558;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}
.altech-account-address-card .button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

/* Account details form */
.altech-account-content .woocommerce-EditAccountForm,
.altech-account-content .woocommerce-address-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
  max-width: 720px;
}
.altech-account-content .woocommerce-EditAccountForm .form-row,
.altech-account-content .woocommerce-address-fields .form-row,
.altech-account-content .woocommerce-EditAccountForm p.form-row {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  grid-template-columns: none !important;
}
.altech-account-content .woocommerce-EditAccountForm .form-row-wide,
.altech-account-content .woocommerce-address-fields .form-row-wide,
.altech-account-content .woocommerce-EditAccountForm fieldset,
.altech-account-content .woocommerce-EditAccountForm .clear,
.altech-account-content .woocommerce-EditAccountForm .woocommerce-form-row--wide {
  grid-column: 1 / -1;
}
.altech-account-content .woocommerce-EditAccountForm label,
.altech-account-content .woocommerce-address-fields label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4d5558;
}
.altech-account-content .woocommerce-EditAccountForm .input-text,
.altech-account-content .woocommerce-address-fields .input-text,
.altech-account-content .woocommerce-EditAccountForm select,
.altech-account-content .woocommerce-address-fields select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: #fff;
  box-sizing: border-box;
}
.altech-account-content .woocommerce-EditAccountForm fieldset {
  border: 1px solid var(--line);
  padding: 16px;
  margin: 0;
}
.altech-account-content .woocommerce-EditAccountForm legend {
  padding: 0 6px;
  font-weight: 600;
}
.altech-account-content .woocommerce-EditAccountForm .woocommerce-Button,
.altech-account-content .woocommerce-address-fields .button {
  grid-column: 1 / -1;
  width: fit-content;
  min-height: 44px;
  background: var(--red);
  color: #fff;
  border: 0;
  box-shadow: 0 2px 0 var(--red-dark);
  font-weight: 700;
  padding: 0 20px;
}
.altech-account-wishlist-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.altech-account-content .woocommerce-Pagination {
  margin-top: 18px;
  display: flex;
  gap: 8px;
}
@media (max-width: 960px) {
  .altech-account {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .altech-account-nav {
    position: static;
  }
  .altech-account-nav-list { display: none; }
  .altech-account-nav-mobile-label {
    display: block;
    padding: 12px 16px 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
  }
  .altech-account-nav-select {
    display: block;
    width: calc(100% - 32px);
    margin: 8px 16px 16px;
    min-height: 44px;
    border: 1px solid var(--line);
    background: #fff;
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
  }
  .altech-account-summary { grid-template-columns: 1fr; }
  .altech-account-order-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .altech-account-order-row > svg { display: none; }
  .altech-account-order-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .altech-account-order-card-side {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    text-align: left;
    padding-top: 12px;
    border-top: 1px solid #eef1f2;
  }
  .altech-account-address-grid { grid-template-columns: 1fr; }
  .altech-account-content { padding: 18px 16px; }
  .altech-account-content .woocommerce-EditAccountForm,
  .altech-account-content .woocommerce-address-fields {
    grid-template-columns: 1fr;
  }
  .altech-account-wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .altech-account-wishlist-grid { grid-template-columns: 1fr; }
  .altech-account-order-row { grid-template-columns: 1fr; }
  .altech-account-quick .button { width: 100%; }
  .altech-account-order-card-main {
    grid-template-columns: 1fr;
  }
  .altech-account-order-thumbs { margin-bottom: 2px; }
  .altech-account-order-card-side {
    flex-direction: column;
    align-items: stretch;
  }
  .altech-account-order-actions {
    justify-content: stretch;
  }
  .altech-account-order-actions .button {
    flex: 1;
    text-align: center;
  }
}

/* ---------- Hero product photo ---------- */
.hero-product-media {
  position: absolute;
  width: min(38%, 340px);
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 78%;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #e8f0f3;
}
.hero-product-media.has-photo { background: #dfe8eb; }
.hero-product-photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 18px;
  box-sizing: border-box;
}

/* ---------- Home banners (3-column equal-height grid) ---------- */
.home-banners {
  --banner-row-h: clamp(180px, 22vw, 360px);
  --banner-gap: 14px;
  padding-top: 28px;
  padding-bottom: 8px;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}
.home-banners-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: var(--banner-row-h);
  gap: var(--banner-gap);
  align-items: stretch;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.home-banner-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #eef4f6;
  min-width: 0;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.home-banner-card.cols-1 { grid-column: span 1; }
.home-banner-card.cols-2 { grid-column: span 2; }
.home-banner-card.cols-3 { grid-column: span 3; }
.home-banner-card.rows-1 { grid-row: span 1; }
.home-banner-card.rows-2 { grid-row: span 2; }
.home-banner-slides {
  position: absolute;
  inset: 0;
}
.home-banner-slide {
  position: absolute;
  inset: 0;
  display: block;
}
.home-banner-slide[hidden] { display: none !important; }
.home-banner-card img,
.home-banner-card .home-banner-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.home-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
  pointer-events: none;
}
.home-banner-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  border: 0;
  pointer-events: auto;
  cursor: pointer;
}
.home-banner-dots button.active { background: #fff; }

@media (max-width: 980px) {
  .home-banners { --banner-row-h: clamp(140px, 30vw, 280px); }
  .home-banners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-banner-card.cols-1 { grid-column: span 1; }
  .home-banner-card.cols-2,
  .home-banner-card.cols-3 { grid-column: span 2; }
}

@media (max-width: 640px) {
  .home-banners { --banner-row-h: clamp(130px, 40vw, 220px); }
  .home-banners-grid { grid-template-columns: 1fr; }
  .home-banner-card.cols-1,
  .home-banner-card.cols-2,
  .home-banner-card.cols-3 { grid-column: span 1; }
}

/* ---------- Stay Connected ---------- */
.stay-connected {
  --stay-pad-x: clamp(20px, 4vw, 48px);
  background: linear-gradient(105deg, #0d6988 0%, var(--blue) 48%, #1a93b8 100%);
  color: #fff;
  overflow: hidden;
  padding: 0 var(--stay-pad-x);
  box-sizing: border-box;
}
.stay-connected-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  flex-wrap: nowrap;
  padding: 20px 0;
  text-align: left;
  width: 100%;
  max-width: none;
  box-sizing: border-box;
}
.stay-connected .container.stay-connected-inner,
.stay-connected .stay-connected-msg.container {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
  max-width: none;
}
.stay-connected-form-wrap,
.stay-connected-social {
  display: flex;
  align-items: center;
  gap: 14px 18px;
  flex-wrap: nowrap;
  min-width: 0;
}
.stay-connected-form-wrap { flex: 1 1 auto; }
.stay-connected-social { flex: 0 0 auto; }
.stay-connected-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  text-align: left;
  flex: 0 0 auto;
}
.stay-connected-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: .01em; line-height: 1.25; }
.stay-connected-sub { font-size: 12px; color: rgba(255,255,255,.88); line-height: 1.35; max-width: 220px; }
.stay-connected-form {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  background: #fff;
  border: 0;
  box-shadow: 0 2px 10px rgba(8, 40, 52, .14);
  min-width: 0;
  flex: 1 1 260px;
  max-width: 360px;
  height: 42px;
  overflow: hidden;
  border-radius: 2px;
}
.stay-connected-form input[type="hidden"] { display: none; }
.stay-connected-form input[type="email"],
.woocommerce-page .stay-connected-form input[type="email"],
body.woocommerce-page .stay-connected-form input[type="email"] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  padding: 0 14px !important;
  margin: 0 !important;
  color: var(--ink);
  background: transparent !important;
  font-size: 14px;
  line-height: 42px;
  -webkit-appearance: none;
  appearance: none;
}
.stay-connected-form input[type="email"]::placeholder { color: #8a9296; }
.stay-connected-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 16px;
  border: 0;
  background: #0a5a74;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  white-space: nowrap;
  flex: 0 0 auto;
  align-self: stretch;
}
.stay-connected-submit:hover { background: #08495e; }
.stay-connected-submit svg { display: block; }
.stay-connected-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}
.stay-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.14);
  border-radius: 50%;
  color: #fff;
  transition: .15s ease;
  flex: 0 0 auto;
}
.stay-social-btn:hover {
  background: #fff;
  border-color: #fff;
}
.stay-social-btn:hover .stay-social-icon { background: transparent; color: var(--blue); }
.stay-social-icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
}
.stay-social-icon svg { display: block; color: inherit; }
.stay-connected-msg { margin: 0; padding: 0 0 14px; font-size: 13px; text-align: left; width: 100%; box-sizing: border-box; }
.stay-connected-msg[hidden] { display: none !important; }
.stay-connected-msg.is-ok { color: #d7ffe4; }
.stay-connected-msg.is-err { color: #ffe0e0; }

@media (max-width: 980px) and (min-width: 821px) {
  .stay-connected-inner { flex-wrap: wrap; gap: 16px 24px; }
  .stay-connected-form-wrap { flex: 1 1 100%; }
  .stay-connected-social { flex: 1 1 auto; }
  .stay-connected-form { max-width: 420px; }
}

/* ---------- Footer payments + about ---------- */
.site-footer { overflow-x: clip; }
.site-footer .container {
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
  max-width: 100%;
}
.footer-payments-wrap { padding: 14px 0 4px; border-top: 1px solid #f1f1f1; }
.footer-meta-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding: 0 0 6px;
  text-align: left;
}
.footer-about {
  flex: 1 1 260px;
  max-width: 560px;
  min-width: 0;
}
.footer-about p {
  margin: 0 0 6px;
  color: #6b7276;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
}
.footer-legal {
  border-top: 1px solid #f1f1f1;
  padding: 12px 0 16px;
  text-align: left;
}
.footer-legal .footer-copy,
.footer-copy {
  margin: 0;
  color: #8a9195;
  font-size: 12px;
  line-height: 1.45;
}
.footer-payments {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
  min-width: 0;
  max-width: 100%;
}
.footer-payments-label { color: #7a8185; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.footer-payments ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
  justify-content: flex-end;
  max-width: 100%;
}
.footer-payments li {
  background: #f7f8f8;
  border: 1px solid #eceeee;
  border-radius: 3px;
  padding: 5px 8px;
  line-height: 0;
  flex: 0 0 auto;
}
.footer-payments img,
.footer-payments .payment-logo-img {
  height: 22px !important;
  width: auto !important;
  max-width: 88px !important;
  max-height: 22px !important;
  display: block;
  object-fit: contain;
  object-position: center;
}
.payment-methods-logos ul { list-style: none; margin: 16px 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.payment-methods-logos li { list-style: none; background: #f7f8f8; border: 1px solid #eceeee; border-radius: 3px; padding: 6px 10px; }
.payment-methods-logos img { height: 28px; width: auto; max-width: 110px; display: block; object-fit: contain; }

/* ---------- Sale countdown ---------- */
.sale-countdown {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: #fff5f5;
  border: 1px solid #f0c9cd;
  color: var(--red-dark);
  font-size: 13px;
}
.sale-countdown svg { color: var(--red); flex: 0 0 auto; }
.sale-countdown-time { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* ---------- Compare page ---------- */
.compare-page { padding-bottom: 64px; }
.compare-slot-empty[hidden],
.compare-slot-filled[hidden],
.compare-table-section[hidden],
.compare-empty[hidden],
.compare-search-panel[hidden],
[data-compare-table-wrap][hidden] {
  display: none !important;
}
.compare-picker { margin-bottom: 28px; }
.compare-picker .lead { color: #5e6466; max-width: 640px; margin: 0 0 20px; line-height: 1.6; }
.compare-slots { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: stretch; }
.compare-slot {
  border: 1px solid var(--line);
  min-height: 200px;
  padding: 16px;
  background: #fafbfb;
  min-width: 0;
}
.compare-slot-empty {
  height: 100%;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #888;
  text-align: center;
}
.compare-slot-filled {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  height: 100%;
}
.compare-slot-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; }
.compare-slot-name { font-weight: 600; color: var(--ink); line-height: 1.35; }
.compare-slot-name:hover { color: var(--blue); }
.compare-slot-price { color: var(--ink); font-size: 15px; }
.compare-slot-vs {
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #9aa1a5;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.compare-search-panel { margin-top: 16px; padding: 16px; border: 1px solid var(--line); background: #fff; }
.compare-search-panel label { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.compare-search-panel input { height: 40px; border: 1px solid var(--line); padding: 0 12px; }
.compare-search-results { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; max-height: 280px; overflow: auto; }
.compare-search-results button {
  display: flex;
  gap: 12px;
  align-items: center;
  text-align: left;
  padding: 8px;
  border: 1px solid #eee;
  background: #fff;
  width: 100%;
}
.compare-search-results button:hover { border-color: #c5dbe3; background: var(--soft-blue); }
.compare-search-results span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.compare-search-results small { color: var(--muted); }
.compare-table-section { margin-top: 8px; }
.compare-table-wrap { overflow-x: auto; border: 1px solid var(--line); background: #fff; }
.compare-empty .empty-cart { margin: 28px 0; }
.compare-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  table-layout: fixed;
}
.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid #eef0f1;
  padding: 14px 16px;
  vertical-align: top;
  text-align: left;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}
.compare-table th:last-child,
.compare-table td:last-child { border-right: 0; }
.compare-table tr:last-child th,
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table thead th { background: #f7f9f9; font-weight: 600; }
.compare-table .compare-label-col,
.compare-table tbody th {
  width: 160px;
  color: #5e6466;
  font-weight: 600;
  background: #fafbfb;
  font-size: 13px;
}
.compare-table thead th:not(.compare-label-col),
.compare-table tbody td {
  width: calc((100% - 160px) / var(--compare-cols, 2));
}
.compare-head-product {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  position: relative;
  padding-right: 22px;
  min-width: 0;
}
.compare-head-product a { font-weight: 600; line-height: 1.35; color: var(--ink); }
.compare-head-product a:hover { color: var(--blue); }
.compare-head-remove {
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #8a9195;
  font-size: 20px;
  line-height: 1;
  border-radius: 2px;
}
.compare-head-remove:hover { color: var(--red); background: #fff5f5; }
.compare-thumb {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.compare-thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: center;
  display: block;
}
.compare-thumb.is-placeholder { background: #f3f5f6; }
.compare-thumb.is-placeholder span {
  width: 36px;
  height: 36px;
  border: 2px dashed #c5ccd1;
  border-radius: 4px;
  display: block;
}
.compare-thumb-slot { width: 112px; height: 112px; flex-basis: 112px; }
.compare-thumb-sm { width: 48px; height: 48px; flex: 0 0 48px; }
.compare-price { font-size: 16px; font-weight: 600; color: var(--ink); }
.compare-stock { font-weight: 600; font-size: 13px; }
.compare-stock.is-in { color: var(--green); }
.compare-stock.is-out { color: var(--red); }
.compare-desc { margin: 0; color: #5e6466; line-height: 1.6; font-size: 13px; }
.compare-row-price td { background: #fcfdfd; }
.compare-cell-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.compare-actions { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.compare-empty .empty-cart { text-align: center; }
.altech-compare-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); }

/* ---------- Mobile bottom nav ---------- */
.mobile-bottom-nav { display: none; }
@media (max-width: 820px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: 0; }
  .stay-connected { margin-bottom: 0; }
  .cart-drawer-foot { padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bottom-nav {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 380;
    height: 64px;
    background: #fff;
    border-top: 1px solid var(--line);
    border-radius: 14px 14px 0 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,.06);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #3a3f42;
    font-size: 11px;
    background: transparent;
    border: 0;
    padding: 0;
    text-decoration: none;
  }
  .mobile-bottom-item.is-active { color: var(--red); }
  .mobile-bottom-item svg { width: 22px; height: 22px; }
  .mobile-bottom-cart-icon { position: relative; display: inline-flex; }
  .mobile-bottom-cart-icon .cart-count-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    display: grid;
    place-items: center;
  }
  .stay-connected {
    --stay-pad-x: 16px;
  }
  .stay-connected-inner {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px 0 14px;
  }
  .stay-connected-form-wrap,
  .stay-connected-social {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
    flex: none;
  }
  .stay-connected-social {
    padding-top: 12px;
    border-top: 1px solid rgba(255,255,255,.22);
  }
  .stay-connected-copy { width: 100%; }
  .stay-connected-title { font-size: 16px; }
  .stay-connected-sub { max-width: none; font-size: 12px; }
  .stay-connected-form {
    max-width: none;
    width: 100%;
    flex: none;
    height: 44px;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
  }
  .stay-connected-form input[type="email"],
  .woocommerce-page .stay-connected-form input[type="email"],
  body.woocommerce-page .stay-connected-form input[type="email"] {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
    width: 0 !important;
    flex: 1 1 auto !important;
    padding: 0 12px !important;
    font-size: 14px;
    line-height: 44px;
  }
  .stay-connected-submit {
    width: auto;
    height: 44px;
    min-height: 44px;
    max-height: 44px;
    justify-content: center;
    padding: 0 14px;
  }
  .stay-connected-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: auto;
  }
  .stay-social-btn {
    width: 40px;
    height: 40px;
  }
  .stay-connected-msg { padding: 0 0 12px; font-size: 12px; }
  .site-footer { padding-bottom: 6px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px 14px;
    padding-top: 18px;
    padding-bottom: 12px;
  }
  .footer-group h3 { font-size: 13px; margin-bottom: 6px; }
  .footer-group a { margin: 2px 0; font-size: 12px; }
  .contact-group p { margin: 2px 0; font-size: 12px; }
  .footer-payments-wrap { padding: 10px 0 2px; }
  .footer-meta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0;
  }
  .footer-about { max-width: none; flex: none; }
  .footer-about p { font-size: 12px; line-height: 1.45; margin-bottom: 0; }
  .footer-payments {
    align-items: flex-start;
    margin-left: 0;
    width: 100%;
    text-align: left;
    gap: 6px;
    flex: none;
  }
  .footer-payments-label { font-size: 10px; }
  .footer-payments ul {
    justify-content: flex-start;
    gap: 6px;
  }
  .footer-payments li { padding: 4px 6px; }
  .footer-payments img,
  .footer-payments .payment-logo-img {
    height: 20px !important;
    max-width: 80px !important;
    max-height: 20px !important;
  }
  .footer-bottom {
    min-height: 0;
    padding: 10px 0 8px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-social { flex-wrap: wrap; }
  .footer-legal {
    padding: 10px 0 14px;
    order: 99;
  }
  .footer-legal .footer-copy { font-size: 11px; }
  .home-banners-grid { grid-template-columns: 1fr; gap: 10px; }
  .home-banner-card.cols-1,
  .home-banner-card.cols-2,
  .home-banner-card.cols-3 { grid-column: span 1; }
  .compare-slots { grid-template-columns: 1fr; }
  .compare-slot-vs { display: none; }
  .compare-slot-filled { grid-template-columns: 88px minmax(0, 1fr); }
  .compare-thumb,
  .compare-thumb-slot { width: 88px; height: 88px; flex-basis: 88px; }
  .compare-table .compare-label-col,
  .compare-table tbody th { width: 120px; }
  .hero-product-art,
  .hero-product-media,
  .hero-post-media {
    width: min(70vw, 260px);
    max-height: 38%;
    height: auto;
    aspect-ratio: 1 / 1;
    top: 6%;
    left: 50%;
    transform: translateX(-50%);
  }
}
