@charset "UTF-8";

:root {
  --better-ink: #17212f;
  --better-muted: #687384;
  --better-line: #dce2ea;
  --better-soft: #f4f7fa;
  --better-panel: #ffffff;
  --better-accent: #f4ac3b;
  --better-accent-strong: #df8f19;
  --better-success: #238636;
  --better-danger: #c83737;
  --better-radius: 8px;
  --better-shadow: 0 14px 38px rgba(24, 34, 48, .10);
}

.theme-swal-popup {
  border: 1px solid var(--better-line);
  border-radius: 10px;
  box-shadow: 0 22px 56px rgba(24, 34, 48, .18);
}

.theme-swal-title {
  color: var(--better-ink);
  font-weight: 900;
}

.theme-swal-html {
  color: var(--better-muted);
  line-height: 1.5;
}

.swal2-popup .swal2-styled.swal2-confirm,
.swal2-popup .swal2-styled.swal2-cancel {
  border-radius: 8px;
  font-weight: 800;
  box-shadow: none;
}

.swal2-popup .swal2-actions {
  gap: 10px;
}

.wishlist-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wishlist-page-summary {
  margin: 6px 0 0;
  color: var(--better-muted);
  font-size: 14px;
}

.wishlist-products {
  align-items: stretch;
}

.wishlist-empty-state {
  display: grid;
  justify-items: start;
  gap: 12px;
  min-height: 260px;
  padding: clamp(18px, 3vw, 36px);
  border: 1px dashed var(--better-line);
  border-radius: var(--better-radius);
  background: linear-gradient(180deg, #fff 0, #fbfcfe 100%);
}

.wishlist-empty-state h2 {
  margin: 0;
  color: var(--better-ink);
  font-size: clamp(22px, 3vw, 30px);
}

.wishlist-empty-state p {
  max-width: 460px;
  margin: 0;
  color: var(--better-muted);
}

.wishlist-empty-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(222, 71, 102, .18);
  border-radius: 999px;
  background: #fff1f4;
  color: #de4766;
  font-size: 24px;
}

.hero-split-carousel {
  margin-bottom: 22px;
}

.hero-split-carousel__layout {
  display: block;
}

.hero-split-carousel__slider {
  min-width: 0;
}

.hero-split-carousel #box-slides-carousel {
  overflow: hidden;
  border: 1px solid var(--better-line);
  border-radius: 12px;
  background: #fff;
}

.hero-split-carousel #box-slides-carousel .item img {
  display: block;
  min-height: 240px;
  object-fit: contain;
}

.hero-vertical-nav {
  position: relative;
  z-index: 5;
}

.hero-vertical-nav__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--better-line);
}

.hero-vertical-nav__head h2 {
  margin: 0;
  color: var(--better-ink);
  font-size: 20px;
  font-weight: 900;
}

.hero-vertical-nav__head a {
  color: #2b9b42;
  font-size: 14px;
  font-weight: 700;
}

.hero-vertical-nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-vertical-nav__item {
  position: static;
}

.hero-vertical-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 48px;
  padding: 0 20px;
  color: #4d5a6c;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease;
}

.hero-vertical-nav__label-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.hero-vertical-nav__label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-vertical-nav__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  object-fit: contain;
  opacity: .72;
}

.hero-vertical-nav__icon--fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #c5ceda;
}

.hero-vertical-nav__chevron {
  color: #93a0b1;
}

.hero-vertical-nav__item:hover > .hero-vertical-nav__link,
.hero-vertical-nav__item:focus-within > .hero-vertical-nav__link {
  background: #f6f9fc;
  color: #182536;
}

.hero-vertical-nav__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 1px);
  z-index: 25;
  width: min(820px, 64vw);
  min-height: 100%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(12px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.hero-vertical-nav__item:hover > .hero-vertical-nav__panel,
.hero-vertical-nav__item:focus-within > .hero-vertical-nav__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.hero-vertical-nav__panel-inner {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--better-line);
  border-left: 0;
  border-radius: 0 14px 14px 0;
  background: #fff;
  box-shadow: 0 30px 60px rgba(21, 34, 56, .14);
}

.hero-vertical-nav__panel-inner.has-background-image {
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 18px bottom;
  background-size: auto;
}

.hero-vertical-nav__panel-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 36px;
  align-content: start;
  min-height: 100%;
  padding: 28px 34px 28px 30px;
  background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(255,255,255,.98) 58%, rgba(255,255,255,.90) 72%, rgba(255,255,255,.18) 100%);
}

.hero-vertical-nav__panel-title {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--better-ink);
  font-size: 18px;
  font-weight: 800;
}

.hero-vertical-nav__panel-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-vertical-nav__panel-links li + li {
  margin-top: 8px;
}

.hero-vertical-nav__panel-links a {
  color: #647286;
  font-size: 16px;
  line-height: 1.4;
}

.hero-vertical-nav__panel-links a:hover,
.hero-vertical-nav__panel-links a:focus {
  color: #1d2a3d;
  text-decoration: none;
}

@media (min-width: 992px) {
  .hero-split-carousel__layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .hero-vertical-nav {
    overflow: visible;
    border: 1px solid var(--better-line);
    border-right: 0;
    border-radius: 14px 0 0 14px;
    background: #fff;
    box-shadow: 0 18px 40px rgba(21, 34, 56, .08);
  }

  .hero-split-carousel #box-slides-carousel {
    min-height: 100%;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 18px 40px rgba(21, 34, 56, .08);
  }

  .hero-split-carousel #box-slides-carousel .item img {
    min-height: 580px;
  }
}

@media (max-width: 991px) {
  .hero-split-carousel #box-slides-carousel {
    border-radius: 10px;
  }

  .hero-split-carousel #box-slides-carousel .item img {
    min-height: 220px;
  }
}

.listing.products.columns {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
}

.listing.products.rows {
  display: block;
}

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--better-line);
  border-radius: var(--better-radius);
  background: var(--better-panel);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.wishlist-toggle-form {
  margin: 0;
}

.wishlist-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--better-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .96);
  color: #8f99a8;
  transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
}

.wishlist-toggle:hover {
  border-color: rgba(222, 71, 102, .35);
  background: #fff5f7;
  color: #de4766;
  text-decoration: none;
  transform: translateY(-1px);
}

.wishlist-toggle.is-active {
  border-color: rgba(222, 71, 102, .35);
  background: #fff1f4;
  color: #de4766;
}

.wishlist-toggle.is-guest {
  opacity: .92;
}

.product-card:hover {
  border-color: rgba(244, 172, 59, .65);
  box-shadow: var(--better-shadow);
  transform: translateY(-2px);
}

.product-card-image {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 190px;
  border-bottom: 1px solid var(--better-line);
  background: linear-gradient(180deg, #fff 0, #f7f9fb 100%);
}

.product-card-wishlist-form,
.product-card-wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
}

.product-card-wishlist {
  width: 38px;
  height: 38px;
  box-shadow: 0 10px 24px rgba(24, 34, 48, .12);
  font-size: 17px;
}

.product-card-image img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  padding: 18px;
}

.product-card-body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.product-card-name {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: var(--better-ink);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-description {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  color: var(--better-muted);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--better-muted);
  font-size: 12px;
  font-weight: 700;
}

.product-card-meta span {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.product-card-meta .is-available,
.product-status-cell .is-available,
.stock-available .fa {
  color: var(--better-success);
}

.product-card-meta .is-unavailable,
.product-status-cell .is-unavailable,
.stock-unavailable .fa,
.out-of-stock-notice {
  color: var(--better-danger);
}

.product-stock-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: fit-content;
  min-width: 0;
  margin-left: auto;
  padding: 5px 8px;
  border: 1px solid rgba(35, 134, 54, .16);
  border-radius: 999px;
  background: linear-gradient(180deg, #f5fbf6 0%, #eef8f0 100%);
  color: #1d6f2d;
  font-size: 11px;
  font-weight: 700;
}

.product-stock-count__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--better-success);
  font-size: 12px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(35, 134, 54, .16);
}

.product-stock-count__text {
  color: #2f5d39;
  line-height: 1.2;
}

.product-stock-count--row {
  margin-top: 10px;
  justify-content: flex-end;
}

@media (min-width: 768px) {
  .listing.products.rows .product-status-cell {
    white-space: normal;
    min-width: 165px;
  }

  .listing.products.rows .product-status-cell > span:first-child {
    display: inline-flex;
  }

  .listing.products.rows .product-stock-count--row {
    display: inline-flex;
    max-width: 100%;
    margin-top: 6px;
    margin-left: 0;
    justify-content: flex-start;
    vertical-align: top;
  }
}

.product-card-price {
  display: flex;
  gap: 8px;
  align-items: baseline;
  flex-wrap: wrap;
  justify-content: space-between;
  min-height: 30px;
}

.product-card-price .tax-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  margin-left: auto;
  color: var(--better-muted);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.product-card-price .tax-note::before {
  content: "|";
  color: #c2cad6;
  font-weight: 700;
}

.product-card-price .price,
.product-card-price .campaign-price,
.product-price-cell .price,
.product-price-cell .campaign-price,
.price-wrapper .price,
.price-wrapper .campaign-price {
  color: var(--better-accent-strong);
  font-weight: 900;
}

.product-card-price .price,
.product-card-price .campaign-price {
  font-size: 20px;
}

.product-card-price .regular-price,
.product-price-cell .regular-price {
  color: var(--better-muted);
  font-size: 13px;
}

.product-card-date {
  color: var(--better-muted);
  font-size: 12px;
  line-height: 1.35;
}

.product-card-date strong {
  color: var(--better-ink);
  font-weight: 800;
}

.product-card-actions {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8px;
  margin-top: auto;
  border-top: 1px solid var(--better-line);
  padding: 12px;
}

.product-card-actions form {
  margin: 0;
}

.product-card-actions .btn,
.product-card-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
}

#box-category-tree {
  position: relative;
  max-height: 68vh;
  overflow: auto;
  border: 1px solid var(--better-line);
  border-radius: var(--better-radius);
  background: #fff;
  box-shadow: 0 14px 34px rgba(24, 34, 48, .07);
  scrollbar-color: #cbd5e1 transparent;
  scrollbar-width: thin;
}

#box-category-tree::-webkit-scrollbar {
  width: 8px;
}

#box-category-tree::-webkit-scrollbar-thumb {
  border: 2px solid #fff;
  border-radius: 999px;
  background: #cbd5e1;
}

#box-category-tree .card-header {
  border-bottom: 1px solid var(--better-line);
  background: linear-gradient(180deg, #fff 0, #f7f9fb 100%);
  padding: 16px 18px 12px;
}

#box-category-tree .card-title {
  margin: 0;
  color: var(--better-ink);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0;
}

#box-category-tree .card-body {
  padding: 8px;
}

#box-category-tree ul,
#box-category-tree li {
  min-width: 0;
}

#box-category-tree .nav.nav-pills,
#box-category-tree .nav.nav-stacked {
  display: flex;
  width: 100%;
  gap: 3px;
}

#box-category-tree .nav.nav-stacked li + li > a,
#box-category-tree .nav-pills li + li > a {
  margin: 0;
}

#box-category-tree .nav ul {
  margin: 3px 0 5px 0;
  padding-inline-start: 12px;
  border-inline-start: 2px solid #edf1f5;
}

#box-category-tree .category-tree-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  margin: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--better-ink);
  padding: 10px 10px 10px 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  transition: background .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}

#box-category-tree .category-tree-link:hover {
  background: var(--better-soft);
  color: var(--better-ink);
  text-decoration: none;
  transform: translateX(2px);
}

#box-category-tree .active > .category-tree-link {
  background: linear-gradient(90deg, rgba(244, 172, 59, .22), rgba(45, 156, 219, .10));
  color: var(--better-ink);
  box-shadow: inset 3px 0 0 var(--better-accent-strong);
}

#box-category-tree .opened > .category-tree-link {
  font-weight: 800;
}

#box-category-tree .category-tree-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

#box-category-tree .category-tree-meta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  color: var(--better-muted);
}

#box-category-tree .category-tree-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  border: 1px solid #e5eaf1;
  border-radius: 999px;
  background: #f8fafc;
  color: var(--better-muted);
  padding: 0 8px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

#box-category-tree .category-tree-arrow {
  color: #9aa4b2;
  font-size: 14px;
}

#box-category-tree .active > .category-tree-link .category-tree-count {
  border-color: rgba(223, 143, 25, .35);
  background: #fff;
  color: var(--better-accent-strong);
}

#box-recently-viewed-products {
  position: relative;
  clear: both;
  margin-top: 16px;
  overflow: hidden;
  border: 1px solid var(--better-line);
  border-radius: var(--better-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(24, 34, 48, .06);
}

#box-recently-viewed-products .card-header {
  border-bottom: 1px solid var(--better-line);
  background: #f8fafc;
  padding: 12px 14px;
}

#box-recently-viewed-products .card-title {
  margin: 0;
  color: var(--better-ink);
  font-size: 15px;
  font-weight: 900;
}

#box-recently-viewed-products .card-body {
  padding: 12px;
}

#box-recently-viewed-products .listing {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(54px, 1fr));
  gap: 10px;
}

#box-recently-viewed-products .link {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid #e8edf3;
  border-radius: 8px;
  background: #fff;
}

#box-recently-viewed-products .link img {
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  padding: 5px;
}

.products-table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--better-line);
  border-radius: var(--better-radius);
  background: #fff;
}

.quick-buy-table {
  width: 100%;
  min-width: 860px;
  border-collapse: separate;
  border-spacing: 0;
}

.quick-buy-table thead th {
  border-bottom: 1px solid var(--better-line);
  background: var(--better-soft);
  color: var(--better-muted);
  padding: 12px 14px;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.quick-buy-table thead th:not(:last-child),
.quick-buy-table tbody td:not(:last-child) {
  border-right: 1px solid var(--better-line);
}

.quick-buy-table tbody td {
  border-bottom: 1px solid var(--better-line);
  padding: 14px;
  vertical-align: middle;
}

.quick-buy-table tbody tr:last-child td {
  border-bottom: 0;
}

.quick-buy-table tbody tr:hover td {
  background: #fbfcfe;
}

.product-image-cell {
  width: 118px;
  padding: 8px !important;
}

.table-product-image {
  position: relative;
  display: grid;
  place-items: center;
  width: 96px;
  height: 86px;
  border-radius: 7px;
  background: var(--better-soft);
}

.table-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.product-info-cell {
  min-width: 260px;
}

.table-product-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.table-product-name {
  display: block;
  margin-bottom: 5px;
  color: var(--better-ink);
  font-size: 15px;
  font-weight: 900;
}

.table-product-wishlist {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  font-size: 16px;
}

.table-product-description {
  display: -webkit-box;
  max-width: 460px;
  overflow: hidden;
  color: var(--better-muted);
  font-size: 13px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.table-product-code,
.tax-note {
  color: var(--better-muted);
  font-size: 12px;
}

.product-price-cell {
  width: 150px;
  white-space: nowrap;
}

.product-price-cell .price,
.product-price-cell .campaign-price {
  display: block;
  font-size: 18px;
}

.product-price-unit {
  display: none;
  color: #7a8699;
  font-size: 0.72em;
  font-weight: 700;
}

.tax-note {
  display: block;
  margin-top: 3px;
  font-size: 11px;
}

.product-status-cell {
  width: 140px;
  white-space: nowrap;
}

.product-status-cell span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 800;
}

.product-status-layout {
  display: block;
}

.product-purchase-cell {
  width: 300px;
}

.quick-buy-form {
  display: grid;
  grid-template-columns: 124px minmax(140px, 1fr);
  gap: 8px;
  align-items: center;
  margin: 0;
}

.quick-buy-quantity-control {
  display: inline-flex;
  width: 124px;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--better-line);
  border-radius: 8px;
  background: #fff;
}

.quick-buy-qty-btn {
  flex: 0 0 36px;
  width: 36px;
  min-height: 40px;
  border: 0;
  background: var(--better-soft);
  color: var(--better-ink);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  padding: 0;
  transition: background .16s ease, color .16s ease;
}

.quick-buy-qty-btn:hover {
  background: var(--better-accent);
  color: #fff;
}

.quick-buy-quantity {
  width: 52px;
  min-height: 40px;
  padding: 0 !important;
  border: 0 !important;
  border-inline: 1px solid var(--better-line) !important;
  border-radius: 0;
  appearance: textfield;
  -moz-appearance: textfield;
  text-align: center !important;
  font-weight: 900;
  line-height: 40px;
  box-sizing: border-box;
}

.quick-buy-quantity::-webkit-inner-spin-button,
.quick-buy-quantity::-webkit-outer-spin-button {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
}

.quick-buy-button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 40px;
  padding: 8px 12px;
  font-weight: 900;
  white-space: nowrap;
}

.industrial-product {
  padding-top: 0;
}

.product-hero-panel,
.product-data-panel {
  border: 1px solid var(--better-line);
  border-radius: var(--better-radius);
  background: var(--better-panel);
  box-shadow: 0 8px 24px rgba(24, 34, 48, .06);
}

.product-hero-panel {
  display: grid;
  grid-template-columns: minmax(420px, 52%) minmax(360px, 1fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: start;
  padding: clamp(16px, 2.5vw, 28px);
}

.product-gallery,
.product-summary {
  min-width: 0;
}

.industrial-product .product-summary {
  overflow: hidden;
}

.industrial-product .single-product-slider {
  width: 100%;
  max-width: none;
  display: block;
}

.product-gallery-stage {
  position: relative;
  border: 1px solid var(--better-line);
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}

.single-product-slider .image-wrapper,
.product-gallery-main {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: clamp(300px, 32vw, 480px);
  background: #fff;
  border: 0;
  padding: 0;
  cursor: zoom-in;
}

.single-product-slider .image-wrapper img,
.product-gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}

.product-gallery-zoom-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #304056;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 10px 26px rgba(24, 34, 48, .14);
  pointer-events: none;
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 33, 47, .72);
  color: #fff;
  font-size: 24px;
  transition: background-color .18s ease, transform .18s ease;
}

.product-gallery-nav:hover,
.product-gallery-nav:focus {
  background: rgba(23, 33, 47, .88);
  transform: translateY(-1px);
}

.product-gallery-nav--prev {
  left: 14px;
}

.product-gallery-nav--next {
  right: 14px;
}

.product-gallery-count {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(23, 33, 47, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.slider-for {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-gallery-thumb {
  display: grid;
  place-items: center;
  min-height: 84px;
  overflow: hidden;
  border: 1px solid var(--better-line);
  border-radius: 8px;
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.product-gallery-thumb:hover,
.product-gallery-thumb:focus,
.product-gallery-thumb.is-active {
  border-color: rgba(52, 152, 219, .45);
  box-shadow: 0 10px 24px rgba(24, 34, 48, .10);
  transform: translateY(-1px);
}

.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
}

.info-images {
  margin: 12px 0 0;
  color: var(--better-muted);
  font-size: 13px;
}

.summary-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: flex-start;
  border-bottom: 1px solid var(--better-line);
  padding-bottom: 18px;
}

.summary-heading .eyebrow {
  margin: 0 0 5px;
  color: var(--better-accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.summary-heading .title {
  margin: 0;
  color: var(--better-ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.12;
}

.summary-actions {
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
}

.manufacturer img {
  max-width: 120px;
  max-height: 58px;
  width: auto;
  margin: 0;
  object-fit: contain;
}

.product-summary-wishlist {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  box-shadow: 0 12px 28px rgba(24, 34, 48, .10);
  font-size: 18px;
}

.short-description {
  margin: 18px 0;
  color: #3d4858;
}

.product-meta-grid,
.fulfillment-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.product-meta-grid > div,
.fulfillment-strip > div {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--better-line);
  border-radius: 7px;
  background: var(--better-soft);
  padding: 10px 12px;
}

.industrial-product .fulfillment-strip > div {
  min-width: 0;
}

.product-meta-grid span,
.fulfillment-strip span {
  display: block;
  color: var(--better-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.product-meta-grid strong,
.fulfillment-strip strong {
  color: var(--better-ink);
}

.buy-panel {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  margin-top: 20px;
  border: 1px solid var(--better-line);
  border-radius: var(--better-radius);
  background: linear-gradient(180deg, #fff 0, #fbfcfe 100%);
  padding: clamp(14px, 2vw, 22px);
  box-shadow: 0 18px 46px rgba(24, 34, 48, .08);
}

.buy-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--better-accent), #2d9cdb);
}

#box-product .buy-panel form[name="buy_now_form"] {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
}

.industrial-product .options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.industrial-product .options .form-group {
  margin: 0;
}

.industrial-product .options label {
  display: block;
  margin-bottom: 6px;
  color: var(--better-ink);
  font-weight: 700;
}

.price-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 6px;
  min-width: 0;
}

.price-wrapper .price,
.price-wrapper .campaign-price {
  color: var(--better-accent-strong);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: 1;
  overflow-wrap: anywhere;
}

.price-wrapper del {
  color: var(--better-muted);
  font-size: 18px;
}

.price-wrapper small,
.tax,
.offer-expires,
.recommended-price,
.stock-note,
.stock-notice {
  color: var(--better-muted);
}

.stock-note,
.stock-notice {
  font-size: 14px;
}

.tax {
  margin-top: 4px;
}

.purchase-row {
  display: grid;
  grid-template-columns: auto minmax(160px, 212px) minmax(220px, 1fr);
  gap: 12px;
  align-items: end;
  margin-top: 18px;
  min-width: 0;
}

.quantity-label {
  align-self: center;
  color: var(--better-muted);
  font-weight: 800;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--better-line);
  border-radius: 7px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}

.qty-btn {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  background: var(--better-soft);
  color: var(--better-ink);
  font-size: 18px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}

.qty-btn:hover {
  background: var(--better-accent);
  color: #fff;
}

.qty-input {
  min-width: 25px;
  width: 100%;
  border: 0 !important;
  border-radius: 0;
  text-align: center;
  font-weight: 800;
}

.qty-unit {
  padding: 0 10px;
  color: var(--better-muted);
  white-space: nowrap;
}

.add-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 0 18px;
  white-space: nowrap;
}

.social-bookmarks {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.social-bookmarks a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--better-line);
  border-radius: 7px;
  background: #fff;
}

.product-data-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 18px;
  padding: clamp(16px, 2.5vw, 26px);
}

.product-data-panel h2 {
  margin-top: 0;
  font-size: 22px;
}

.technical-data table {
  width: 100%;
  border-collapse: collapse;
}

.technical-data td,
.technical-data th {
  border-bottom: 1px solid var(--better-line);
  padding: 10px;
  text-align: start;
}

.photoviewer-modal {
  background: transparent;
  border: 0;
  border-radius: 0;
}

.photoviewer-stage {
  top: 0;
  bottom: 56px;
  border: 0;
  background: rgba(9, 14, 22, .96);
}

.photoviewer-footer {
  height: 56px;
}

.photoviewer-footer .photoviewer-toolbar,
.photoviewer-header .photoviewer-toolbar {
  background: rgba(13, 20, 31, .72);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.photoviewer-footer .photoviewer-toolbar {
  padding-inline: 6px;
}

.photoviewer-header {
  top: 16px;
  right: 16px;
  left: auto;
  height: auto;
}

.photoviewer-header .photoviewer-toolbar {
  float: none;
}

.photoviewer-button {
  color: #f7fbff;
}

.photoviewer-button:hover,
.photoviewer-button:focus {
  color: #fff;
}

.photoviewer-modal .photoviewer-image {
  cursor: grab;
}

.photoviewer-modal .photoviewer-image:active {
  cursor: grabbing;
}

@media (max-width: 1100px) {
  .product-hero-panel,
  .product-data-panel {
    grid-template-columns: 1fr;
  }

  .purchase-row {
    grid-template-columns: auto minmax(160px, 212px) minmax(220px, 1fr);
  }
}

@media (max-width: 767px) {
  .product-gallery-main,
  .single-product-slider .image-wrapper {
    min-height: 280px;
  }

  .product-gallery-zoom-hint {
    right: 10px;
    bottom: 10px;
    padding: 7px 10px;
    font-size: 11px;
  }

  .product-gallery-nav {
    width: 40px;
    height: 40px;
    margin-top: -20px;
  }

  .slider-for {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .product-gallery-thumb {
    min-height: 72px;
  }

  .photoviewer-header {
    top: 10px;
    right: 10px;
  }

  .photoviewer-stage {
    bottom: 52px;
  }

  .photoviewer-button {
    min-width: 36px;
    height: 36px;
  }
}

@container (max-width: 620px) {
  .purchase-row {
    grid-template-columns: auto minmax(170px, 1fr);
    gap: 10px 12px;
  }

  .add-cart-button {
    grid-column: 1 / -1;
    min-height: 48px;
  }
}

@supports not (container-type: inline-size) {
  @media (max-width: 1320px) {
    .purchase-row {
      grid-template-columns: auto minmax(170px, 1fr);
      gap: 10px 12px;
    }

    .add-cart-button {
      grid-column: 1 / -1;
      min-height: 48px;
    }
  }
}

@media (max-width: 991px) {
  #box-category-tree {
    max-height: none;
  }
}

@media (max-width: 720px) {
  .buy-panel {
    padding: 14px;
  }

  .price-wrapper {
    gap: 6px;
  }

  .price-wrapper .price,
  .price-wrapper .campaign-price {
    font-size: clamp(30px, 10vw, 38px);
  }

  .purchase-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .quantity-label {
    align-self: end;
  }

  .quantity-control,
  .add-cart-button {
    width: 100%;
  }

  .add-cart-button {
    min-height: 48px;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .listing.products.rows {
    display: block;
  }

  .listing.products.rows .products-table-scroll {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .listing.products.rows .quick-buy-table,
  .listing.products.rows .quick-buy-table tbody {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .listing.products.rows .quick-buy-table thead {
    display: none;
  }

  .listing.products.rows .product-table-row {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    grid-template-areas:
      "image info"
      "price price"
      "status status"
      "purchase purchase";
    gap: 0 12px;
    margin-bottom: 12px;
    border: 1px solid var(--better-line);
    border-radius: var(--better-radius);
    background: #fff;
    overflow: hidden;
    padding: 0;
    box-shadow: 0 10px 26px rgba(24, 34, 48, .06);
  }

  .listing.products.rows .quick-buy-table tbody tr:last-child {
    margin-bottom: 0;
  }

  .listing.products.rows .quick-buy-table tbody td {
    display: block;
    width: auto;
    min-width: 0;
    border: 0;
    padding: 0 !important;
    white-space: normal;
    /* custom css */
    margin-right: 7px;
    margin-left: 7px;
    /* custom css end */
  }

  .listing.products.rows .quick-buy-table tbody tr:hover td {
    background: transparent;
  }

  .listing.products.rows .product-image-cell {
    grid-area: image;
    padding: 12px 0 10px 12px !important;
  }

  .listing.products.rows .table-product-image {
    width: 86px;
    height: 86px;
  }

  .listing.products.rows .product-info-cell {
    grid-area: info;
    align-self: center;
    padding: 12px 12px 10px 0 !important;
  }

  .listing.products.rows .table-product-name {
    margin-bottom: 6px;
    font-size: 15px;
    line-height: 1.28;
  }

  .listing.products.rows .table-product-description {
    max-width: none;
    font-size: 12px;
    -webkit-line-clamp: 2;
  }

  .listing.products.rows .product-price-cell {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 2px 12px;
    text-align: end;
    border-top: 1px solid var(--better-line);
    background: #fbfcfe;
    padding: 11px 12px !important;
  }

  .listing.products.rows .product-price-cell {
    grid-area: price;
  }

  .listing.products.rows .product-status-cell {
    grid-area: status;
    border-top: 1px solid var(--better-line);
    background: #fff;
    padding: 11px 12px !important;
  }

  .listing.products.rows .product-price-cell::before,
  .listing.products.rows .product-status-cell::before {
    color: var(--better-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
  }

  .listing.products.rows .product-price-cell::before {
    grid-column: 1;
    grid-row: 1;
    align-self: baseline;
    content: attr(data-label);
  }

  .listing.products.rows .product-status-cell::before {
    display: inline-block;
    margin-right: 10px;
    content: attr(data-label);
  }

  .listing.products.rows .product-status-layout {
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    width: calc(100% - 62px);
    vertical-align: middle;
  }

  .listing.products.rows .product-status-layout > span:first-child {
    min-width: 0;
  }

  .listing.products.rows .product-status-layout .product-stock-count--row {
    margin-top: 0;
    margin-left: auto;
    max-width: 100%;
    justify-content: flex-end;
    white-space: nowrap;
  }

  .listing.products.rows .product-price-cell del,
  .listing.products.rows .product-price-cell .price,
  .listing.products.rows .product-price-cell .campaign-price,
  .listing.products.rows .product-price-cell .tax-note {
    grid-column: 2;
    justify-self: end;
  }

  .listing.products.rows .product-price-cell .price,
  .listing.products.rows .product-price-cell .campaign-price {
    grid-row: 1;
    font-size: 20px;
    line-height: 1.1;
    text-align: right;
  }

  .listing.products.rows .product-price-cell .product-price-unit {
    display: inline;
    font-size: 0.56em;
    font-weight: 600;
    color: #7f8b9d;
    white-space: nowrap;
  }

  .listing.products.rows .product-price-cell .tax-note {
    grid-row: 2;
    text-align: right;
  }

  .listing.products.rows .product-purchase-cell {
    grid-area: purchase;
    background: #fbfcfe;
    padding: 12px !important;
  }

  .listing.products.rows .quick-buy-form {
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 10px;
  }

  .listing.products.rows .quick-buy-quantity-control {
    width: 124px;
  }

  .listing.products.rows .quick-buy-quantity {
    width: 52px;
    min-height: 46px;
    text-align: center !important;
  }

  .listing.products.rows .quick-buy-qty-btn {
    min-height: 46px;
  }

  .listing.products.rows .quick-buy-button {
    min-height: 46px;
    white-space: normal;
  }
}

@media (max-width: 575px) {
  .listing.products.columns {
    grid-template-columns: 1fr;
  }

  .product-card-actions,
  .quick-buy-form,
  .summary-heading {
    grid-template-columns: 1fr;
  }

  .summary-actions {
    width: 100%;
    justify-content: space-between;
  }

  .product-summary-wishlist {
    width: 40px;
    height: 40px;
  }
}

.desktop-site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-top: 10px;
  padding: 10px 14px;
  border-radius: 18px;
  background: #00000012;
  box-shadow: none;
}

.desktop-site-nav__primary,
.desktop-site-nav__secondary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.desktop-site-nav__secondary {
  margin-left: auto;
}

.desktop-site-nav__item {
  position: relative;
}

.desktop-site-nav__home,
.desktop-site-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  color: #243247;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.desktop-site-nav__home {
  justify-content: center;
  width: 44px;
  padding: 0;
  background: #ffffff;
  box-shadow: 0 0 0 1px #d7dee9;
}

.desktop-site-nav__link .fa {
  color: #6e7c91;
  font-size: 0.95em;
}

.desktop-site-nav__link[data-toggle="dropdown"]::after {
  content: "\f107";
  margin-left: 2px;
  color: #6e7c91;
  font: normal normal normal 14px/1 FontAwesome;
  transition: transform 0.2s ease;
}

.desktop-site-nav__link:hover,
.desktop-site-nav__link:focus,
.desktop-site-nav__home:hover,
.desktop-site-nav__home:focus,
.desktop-site-nav__item.open .desktop-site-nav__link {
  background: #ffffff;
  color: #17263d;
  box-shadow: 0 0 0 1px #d7dee9;
  text-decoration: none;
  transform: translateY(-1px);
}

.desktop-site-nav__item.open .desktop-site-nav__link[data-toggle="dropdown"]::after {
  transform: rotate(180deg);
}

.desktop-site-nav__account {
  padding-inline: 14px 16px;
}

.desktop-site-nav__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: #e94b5f;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(233, 75, 95, 0.22);
}

.desktop-site-nav__wishlist-link {
  justify-content: space-between;
  gap: 12px;
}

.desktop-site-nav__badge--inline {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  font-size: 0.72rem;
  box-shadow: none;
}

.mobile-app-drawer__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: #e94b5f;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.mobile-app-drawer__wishlist-link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-app-drawer__badge--inline {
  margin-left: 0;
}

.desktop-site-nav__dropdown {
  min-width: 240px;
  margin-top: 10px;
  padding: 8px;
  border: 1px solid #d7dee9;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(21, 34, 56, 0.12);
}

.desktop-site-nav__dropdown .nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #243247;
  font-weight: 500;
  white-space: nowrap;
}

.desktop-site-nav__dropdown .nav-link:hover,
.desktop-site-nav__dropdown .nav-link:focus {
  background: #f3f6fb;
  color: #111d32;
  text-decoration: none;
}

@media (max-width: 1199px) {
  .desktop-site-nav {
    gap: 10px;
    padding-inline: 12px;
  }

  .desktop-site-nav__primary,
  .desktop-site-nav__secondary {
    gap: 6px;
  }

  .desktop-site-nav__home,
  .desktop-site-nav__link {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 0.92rem;
  }
}
