/* XSoft: catalogue-first layout and accessible interaction targets. */
.catalog-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 45px;
  align-items: center;
  padding: 34px 0 12px;
}
.catalog-intro h1 {
  font-size: 42px;
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 580px;
}
.catalog-intro p {
  font-size: 14px;
  max-width: 470px;
}
.catalog-intro .eyebrow {
  font-size: 10px;
  margin-bottom: 16px;
}
.finder {
  padding: 23px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  align-items: end;
}
.finder h2 {
  font-size: 19px;
  grid-column: 1/-1;
  letter-spacing: -0.03em;
  margin: 0;
}
.finder .field {
  margin: 0;
}
.finder .btn {
  height: 46px;
}
.brand-mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  background: var(--brand, var(--lime));
  color: var(--on-brand, #111);
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  line-height: 1;
  font-weight: 500;
}
.logo img {
  object-fit: contain;
  width: auto;
  max-width: 160px;
  height: 44px;
}
.collections {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.collections a {
  padding: 19px 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  background: #fff;
  min-height: 90px;
}
.collections a strong {
  font-size: 17px;
  font-weight: 600;
  grid-column: 1;
}
.collections a small {
  color: var(--muted);
  grid-column: 1;
}
.collections svg {
  grid-row: 1/3;
  grid-column: 2;
}
.mega {
  position: relative;
  min-width: 170px;
}
.mega summary {
  list-style: none;
  cursor: pointer;
  background: var(--ink);
  color: white;
  border-radius: 9px;
  padding: 12px 18px;
  font-size: 12px;
}
.mega summary::-webkit-details-marker {
  display: none;
}
.mega-panel {
  position: absolute;
  top: 54px;
  left: 0;
  z-index: 10;
  width: 320px;
  max-width: 85vw;
  background: #fff;
  border: 1px solid var(--line);
  padding: 13px;
  border-radius: 12px;
  box-shadow: 0 10px 40px #14210e22;
}
.nav .mega-panel a {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  min-height: 44px;
}
.mega-panel a:hover {
  background: var(--paper);
  border-radius: 7px;
}
.nav .wrap {
  gap: 24px;
}
.contact {
  font-size: 12px;
}
.contact small {
  display: block;
}
.messengers {
  display: flex;
  gap: 12px;
}
.messengers a {
  min-height: 24px;
}
.header .search button {
  font-size: 28px;
  min-width: 48px;
}
.btn,
.icon-btn,
.buy,
.quantity button {
  min-width: 44px;
  min-height: 44px;
}
.product-top .icon-btn {
  width: 44px;
  height: 44px;
}
.product-top .icon-btn {
  font-size: 24px;
}
.product h3 {
  font-size: 15px;
}
.product-media img,
.pdp-image img {
  aspect-ratio: 410/315;
}
.product .stock {
  font-size: 11px;
}
.product-price .buy {
  font-size: 23px;
}
.btn.lime,
.buy,
.tab.active,
.admin-bar {
  background: var(--brand, var(--lime));
  color: var(--on-brand, #111);
}
.btn.lime:hover,
.buy:hover {
  background: var(--brand, var(--lime));
  filter: brightness(0.94);
}
.badge {
  background: color-mix(in srgb, var(--brand, #d3f66a) 18%, white);
  color: var(--ink);
}
.stock {
  color: var(--ink);
}
.stock.off {
  color: #6b7267;
}
.icon-btn.active {
  background: var(--brand, var(--lime));
  color: var(--on-brand, #111);
}
.nav a {
  min-height: 44px;
}
.footer-title {
  font-size: 13px;
  letter-spacing: 0;
  margin: 3px 0 12px;
}
.footer a:not(.logo) {
  min-height: 35px;
  display: flex;
  align-items: center;
  margin-bottom: 2px;
}
.footer .footer-bottom a {
  display: none;
}
.footer-grid > div:last-child {
  display: block;
}
.footer .contact-photo {
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.footer p {
  white-space: pre-line;
}
.crumbs {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.6;
  padding-top: 18px;
  padding-bottom: 18px;
}
.crumbs a {
  min-height: 32px;
  display: flex;
  align-items: center;
}
.section-heading h1 {
  font-size: 34px;
  margin: 0;
}
.quick-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 22px;
}
.quick-tags a,
.tab {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-tabs {
  display: flex;
  gap: 8px;
  overflow: auto;
  margin-top: 28px;
  padding-bottom: 5px;
}
.product-tabs .tab {
  white-space: nowrap;
}
.pdp-buy .btn {
  margin-top: 14px;
}
.pdp h1 {
  font-size: 32px;
}
.use-cases {
  margin-top: 22px;
}
.use-cases .badge {
  margin-right: 6px;
}
.spec-table th {
  text-align: left;
  font-weight: 400;
  color: var(--muted);
  width: 45%;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
}
.detail-block p {
  white-space: pre-line;
}
.review {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.review > span {
  margin-left: 15px;
  color: #6d7e33;
}
.review p {
  margin: 12px 0;
}
.review a {
  font-size: 12px;
  text-decoration: underline;
}
.pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.color-controls {
  display: flex;
  gap: 10px;
}
.color-controls input[type="color"] {
  width: 65px;
  height: 47px;
  padding: 3px;
  flex-shrink: 0;
}
.settings-body input[type="file"] {
  font-size: 12px;
  max-width: 100%;
}
.workflow-form {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 18px;
}
.workflow-form textarea {
  min-height: 65px;
}
.admin-order h2 {
  font-size: 19px;
  margin-bottom: 0;
}
.admin-order .row {
  align-items: start;
}
.admin-tabs .tab.active {
  background: var(--brand, var(--lime));
  color: var(--on-brand, #111);
}
.stock-count,
.form-grid {
  min-width: 0;
}
.legal h1 {
  font-size: 32px;
}
.form-grid .field {
  min-width: 0;
}
.footer-bottom .pay-badges {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.pdp-image {
  height: auto;
  min-height: 380px;
}
.pdp-image img {
  height: auto;
  max-width: 88%;
  width: 410px;
}
.contact .messengers a {
  font-size: 11px;
}
.header-actions .icon-btn {
  font-size: 25px;
}
.catalog-layout .filters h2 {
  font-size: 16px;
}
.product-panel {
  scroll-margin-top: 25px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 1000px) {
  .catalog-intro {
    gap: 24px;
  }
  .catalog-intro h1 {
    font-size: 36px;
  }
  .finder {
    grid-template-columns: 1fr;
  }
  .contact {
    display: block;
  }
  .head-main {
    flex-wrap: wrap;
  }
  .header .search {
    max-width: none;
  }
  .contact {
    order: 3;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
  }
  .contact strong {
    font-size: 13px;
  }
  .messengers {
    margin-left: auto;
  }
  .nav .wrap {
    gap: 23px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .catalog-intro {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-top: 22px;
  }
  .catalog-intro h1 {
    font-size: 31px;
    letter-spacing: -0.045em;
  }
  .catalog-intro h1 br {
    display: none;
  }
  .catalog-intro .eyebrow {
    font-size: 9px;
    margin-bottom: 12px;
  }
  .catalog-intro p {
    font-size: 12px;
    margin-bottom: 0;
  }
  .finder {
    grid-template-columns: 1fr auto;
    padding: 17px;
    gap: 12px;
  }
  .finder h2 {
    font-size: 17px;
  }
  .finder .btn {
    font-size: 11px;
    padding: 11px 13px;
    gap: 7px;
  }
  .finder .field span {
    font-size: 10px;
  }
  .finder select {
    font-size: 11px;
    padding: 11px 7px;
    min-height: 44px;
  }
  .collections {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .collections a {
    padding: 13px 16px;
    min-height: 69px;
  }
  .collections a strong {
    font-size: 15px;
  }
  .collections a small {
    font-size: 10px;
  }
  .category {
    display: flex;
    min-height: 84px;
  }
  .category a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 44px;
  }
  .category strong {
    font-size: 11px;
  }
  .category img {
    width: 42px;
    height: 45px;
  }
  .contact {
    order: 4;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 10px;
  }
  .contact strong {
    font-size: 12px;
  }
  .contact .messengers a {
    font-size: 11px;
    min-height: 32px;
  }
  .search {
    order: 3;
  }
  .head-main {
    gap: 12px;
  }
  .nav .wrap {
    overflow: visible;
    flex-wrap: wrap;
    gap: 5px 10px;
    padding-bottom: 12px;
  }
  .nav a {
    font-size: 10px;
    min-height: 44px;
  }
  .nav .wrap > .mega {
    width: 100%;
    min-width: 0;
  }
  .mega summary {
    padding: 10px 14px;
    font-size: 11px;
    min-height: 44px;
  }
  .nav .wrap > a {
    flex: 1 0 25%;
    justify-content: center;
  }
  .mega-panel {
    top: 49px;
    width: 100%;
  }
  .section-heading h1 {
    font-size: 27px;
  }
  .section-heading {
    align-items: start;
  }
  .sort {
    width: 100%;
    max-width: none;
  }
  .catalog-layout {
    display: block;
  }
  .floating-filter {
    position: fixed;
    bottom: 19px;
    right: 18px;
    z-index: 15;
    border: 1px solid #91a866;
    box-shadow: 0 5px 18px #14210e22;
    background: var(--brand);
    color: var(--on-brand);
  }
  .catalog-layout .filters {
    display: none;
    position: fixed;
    top: 12px;
    bottom: 85px;
    left: 12px;
    right: 12px;
    z-index: 14;
    overflow: auto;
    box-shadow: 0 5px 50px #0003;
  }
  .product {
    padding: 11px;
  }
  .product .product-top {
    min-height: 44px;
  }
  .product .badge {
    font-size: 8px;
    padding: 4px;
    max-width: 70%;
  }
  .product-top .icon-btn {
    width: 44px;
    min-width: 44px;
    flex-shrink: 0;
  }
  .product h3 {
    font-size: 12px;
    min-height: 39px;
  }
  .price {
    font-size: 18px;
  }
  .buy {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
  .product .product-specs {
    font-size: 9px;
    min-height: 42px;
  }
  .product .product-media {
    height: 105px;
    margin: 9px 0 11px;
  }
  .product-grid {
    gap: 9px;
  }
  .pdp h1 {
    font-size: 27px;
  }
  .pdp-image {
    min-height: 260px;
  }
  .pdp-image img {
    max-height: 270px;
  }
  .product-tabs {
    margin-top: 22px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > div:last-child {
    display: block;
  }
  .footer a:not(.logo) {
    min-height: 44px;
    font-size: 11px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-title {
    font-size: 12px;
  }
  .footer p {
    font-size: 11px;
  }
  .crumbs {
    font-size: 10px;
  }
  .crumbs a {
    min-height: 36px;
  }
  .quantity button {
    min-width: 44px;
  }
  .quantity {
    gap: 6px;
    flex-wrap: wrap;
  }
  .cart-item {
    grid-template-columns: 40px 1fr;
    position: relative;
  }
  .cart-item > .price {
    grid-column: 2;
    justify-self: start;
  }
  .cart-item img {
    width: 40px;
  }
  .modal .actions .btn {
    flex-grow: 1;
  }
  .modal .form-grid {
    grid-template-columns: 1fr;
  }
  .admin-bar button {
    min-height: 44px;
  }
  .admin-bar {
    gap: 5px;
  }
  .admin-order .row {
    flex-wrap: wrap;
  }
  .stock {
    font-size: 10px;
  }
  .product-price {
    gap: 4px;
  }
  .finder .btn .icon {
    display: none;
  }
  .footer-bottom {
    padding-bottom: 50px;
  }
  .color-controls {
    flex-wrap: nowrap;
  }
  .legal {
    padding: 20px;
  }
  .detail-block {
    padding: 20px;
  }
  .section h2 {
    font-size: 23px;
  }
  .use-cases h2 {
    font-size: 15px;
  }
  .pagination a {
    min-width: 44px;
  }
}
.crumbs a,
.messengers a {
  min-height: 44px;
}
@media (max-width: 650px) {
  .catalog-layout .filters.visible {
    display: block;
  }
  .mobile-filter {
    display: inline-flex;
  }
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-map {
  display: block;
  border: 0;
  width: 100%;
  max-width: 800px;
  height: 360px;
  margin: 20px 0;
}

.product > a:not(.product-media),
.section-heading > a,
.contact strong > a,
.detail-block > a,
.review > a,
.footer a:not(.logo),
a.inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}
.footer a:not(.logo) { display:flex; }
@media (max-width: 650px) {
  .cat-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .category, .category a { min-width:0; }
  .category strong { overflow-wrap:anywhere; }
  .category:last-child { grid-column:1/-1; }
}
