/* NICTEK inner pages and WooCommerce integration. */

body.cart-drawer-open,
body.dialog-open {
  overflow: hidden;
}

/* Dynamic WordPress navigation with multi-level product categories */
@media (min-width: 1025px) {
  .site-menu > .menu-item-has-children > .sub-menu {
    left: 0;
    min-width: 270px;
    transform: translateY(10px);
  }

  .site-menu > .menu-item-has-children:hover > .sub-menu,
  .site-menu > .menu-item-has-children:focus-within > .sub-menu {
    transform: translateY(0);
  }

  .site-menu .sub-menu > li {
    position: relative;
  }

  .site-menu .sub-menu .sub-menu {
    top: -10px;
    left: calc(100% - 4px);
    min-width: 320px;
    transform: translateX(10px);
  }

  .site-menu .sub-menu li:hover > .sub-menu,
  .site-menu .sub-menu li:focus-within > .sub-menu {
    transform: translateX(0);
  }

  .site-menu .sub-menu .menu-item-has-children > a {
    padding-right: 34px;
    border-bottom: 1px solid #e5e7e9;
  }

  .site-menu .sub-menu .menu-item-has-children > a::after {
    position: absolute;
    top: 50%;
    right: 15px;
    content: "›";
    transform: translateY(-50%);
  }
}

/* Product detail page */
.single-product .woo-main {
  padding: 96px 30px 120px;
  background: #fff;
}

.single-product .woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(440px, 0.95fr);
  width: min(1460px, 100%);
  margin: 0 auto;
  gap: 70px 78px;
}

.single-product .woocommerce div.product .woocommerce-product-gallery,
.single-product .woocommerce div.product .summary {
  width: auto;
  margin: 0;
  float: none;
}

.single-product .woocommerce div.product .woocommerce-product-gallery {
  padding: 34px;
  border: 1px solid #f1d8ce;
  border-radius: 12px;
}

.single-product .woocommerce-product-gallery__image a {
  display: grid;
  min-height: 520px;
  place-items: center;
}

.single-product .woocommerce-product-gallery__image img {
  max-height: 560px;
  object-fit: contain;
}

.single-product .woocommerce div.product .summary {
  align-self: center;
}

.single-product .product_title {
  max-width: 70%;
  margin: 0 0 14px;
  /* font-size: clamp(38px, 3.4vw, 58px); */
  line-height: 2.08;
}

.single-product .woocommerce div.product p.price,
.single-product .woocommerce div.product span.price {
  margin: -62px 0 28px;
  color: var(--nictek-orange);
  text-align: right;
  font-size: clamp(30px, 2.8vw, 48px);
  font-weight: 800;
}

.single-product .woocommerce-product-details__short-description {
  margin-bottom: 34px;
  color: #555e67;
  font-size: 16px;
  line-height: 1.8;
}

.single-product .woocommerce div.product form.cart {
  display: grid;
  margin: 0;
  gap: 18px;
}

.single-product .woocommerce div.product form.cart .variations {
  margin: 0 0 10px;
}

.single-product .woocommerce div.product form.cart .variations tr {
  display: grid;
  grid-template-columns: 105px 1fr;
  align-items: center;
  margin-bottom: 16px;
}

.single-product .woocommerce div.product form.cart .variations th,
.single-product .woocommerce div.product form.cart .variations td {
  display: block;
  padding: 0;
  line-height: 1;
}

.single-product .woocommerce div.product form.cart .variations select {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 0 18px;
  background: #f7f8f9;
  border: 1px solid #dfe2e6;
  border-radius: 7px;
}

.single-product .woocommerce div.product form.cart .reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: var(--nictek-orange);
}

.single-product .woocommerce-variation-add-to-cart,
.single-product .woocommerce div.product form.cart:not(.variations_form) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.single-product .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled,
.single-product .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-enabled {
  display: grid !important;
}

.single-product .nictek-product-quantity-row {
  display: grid;
  grid-template-columns: 105px auto;
  align-items: center;
  margin: 0 0 18px;
}

.single-product .nictek-product-quantity-label {
  color: #282c30;
  font-weight: 700;
}

.single-product .woocommerce div.product form.cart .nictek-product-quantity-row div.quantity {
  margin: 0;
}

.single-product .woocommerce div.product form.cart div.quantity {
  display: inline-flex;
  width: max-content;
  align-items: center;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid #dfe2e6;
  border-radius: 7px;
}

.woocommerce .quantity.is-enhanced .qty {
  width: 48px;
  min-height: 40px;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  appearance: textfield;
}

.woocommerce .quantity.is-enhanced .qty::-webkit-inner-spin-button,
.woocommerce .quantity.is-enhanced .qty::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.nictek-quantity-step {
  width: 38px;
  height: 40px;
  padding: 0;
  color: #58616b;
  background: #f7f8f9;
  border: 0;
  cursor: pointer;
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button,
.single-product .nictek-buy-now-button {
  width: 100%;
  min-height: 54px;
  margin: 0;
  border-radius: 999px;
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button:not(.disabled):not(:disabled),
.single-product .woocommerce div.product form.cart .single_add_to_cart_button:not(.disabled):not(:disabled):hover,
.single-product .woocommerce .nictek-buy-now-button.is-ready,
.single-product .woocommerce .nictek-buy-now-button.is-ready:hover {
	color: #fff !important;
	background: var(--nictek-orange) !important;
}

.single-product .woocommerce div.product form.cart .single_add_to_cart_button.disabled,
.single-product .woocommerce div.product form.cart .single_add_to_cart_button:disabled,
.single-product .woocommerce .nictek-buy-now-button,
.single-product .woocommerce .nictek-buy-now-button:hover,
.single-product .woocommerce .nictek-buy-now-button:disabled {
  color: #282c30;
  background: #d8d8d8 !important;
  cursor: not-allowed;
  opacity: 1;
}

.nictek-product-manual-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  gap: 9px;
  color: #5b6168;
  font-size: 15px;
  letter-spacing: 0.04em;
}

.nictek-product-manual-link span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  color: #fff;
  background: var(--nictek-orange);
  border-radius: 50%;
}

.single-product .product_meta {
  margin-top: 28px;
  color: #7b8289;
}

.single-product .woocommerce-tabs,
.single-product .related,
.single-product .upsells {
  grid-column: 1 / -1;
}

/* Download Center */
.nictek-download-page {
  background: #f6f7fa;
}

.nictek-download-hero {
  position: relative;
  display: flex;
  width: min(calc(100% - 20px), 1900px);
  min-height: 620px;
  align-items: center;
  margin: 0 auto;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(56, 70, 88, 0.78), rgba(54, 68, 86, 0.28)),
    var(--download-hero) center / cover no-repeat;
  border-radius: 0 0 10px 10px;
}

.nictek-download-hero > div {
  position: relative;
  z-index: 1;
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 80px 50px;
}

.nictek-download-hero p {
  margin: 0 0 28px;
  font-weight: 750;
}

.nictek-download-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(38px, 4vw, 66px);
  line-height: 1.3;
  text-transform: uppercase;
}

.nictek-download-browser {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  width: min(calc(100% - 80px), 1600px);
  margin: 0 auto;
  padding: 88px 0 130px;
  gap: 80px;
}

.nictek-download-categories {
  align-self: start;
  overflow: hidden;
  background: #fff;
  border-radius: 3px;
}

.nictek-download-categories h2 {
  margin: 0;
  padding: 24px 26px;
  color: #fff;
  background: var(--nictek-orange);
  font-size: 21px;
}

.nictek-download-category-all,
.nictek-download-category-group > a {
  display: flex;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid #eceef0;
  font-size: 17px;
  font-weight: 720;
}

.nictek-download-category-all.is-active,
.nictek-download-category-group.is-active > a,
.nictek-download-category-group a:hover {
  color: var(--nictek-orange);
}

.nictek-download-category-group ul {
  margin: -4px 0 12px;
  padding: 0 24px 8px;
  list-style: none;
}

.nictek-download-category-group li a {
  display: block;
  padding: 6px 0;
  color: #333941;
  font-size: 13px;
}

.nictek-download-category-group li.is-active a {
  color: var(--nictek-orange);
}

.nictek-download-results {
  min-width: 0;
}

.nictek-download-search {
  display: flex;
  width: min(330px, 100%);
  margin: 0 0 58px auto;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dfe2e6;
  border-radius: 999px;
}

.nictek-download-search input {
  width: 100%;
  min-width: 0;
  padding: 12px 18px;
  border: 0;
  outline: 0;
}

.nictek-download-search button {
  width: 48px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 24px;
}

.nictek-download-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px 44px;
  scroll-margin-top: 140px;
}

.nictek-download-card {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  min-height: 205px;
  align-items: center;
  padding: 34px 42px;
  gap: 28px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(45, 55, 69, 0.06);
}

.nictek-download-card.is-highlighted {
  scroll-margin-top: 140px;
  outline: 3px solid var(--nictek-orange);
  box-shadow: 0 14px 40px rgba(255, 87, 34, 0.24);
}

.nictek-file-icon {
  position: relative;
  width: 82px;
  height: 102px;
  border: 4px solid #cf252d;
  border-radius: 5px;
}

.nictek-file-icon::before {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 28px;
  height: 28px;
  content: "";
  background: #fff;
  border-bottom: 4px solid #cf252d;
  border-left: 4px solid #cf252d;
}

.nictek-file-icon span {
  position: absolute;
  right: -12px;
  bottom: 12px;
  padding: 4px 10px;
  color: #fff;
  background: #cf252d;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
}

.nictek-download-card h2 {
  margin: 0 0 9px;
  overflow-wrap: anywhere;
  color: #e85a22;
  font-size: 17px;
  font-weight: 650;
}

.nictek-download-card time {
  display: block;
  margin-bottom: 22px;
  color: #626a73;
  font-size: 13px;
}

.nictek-download-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 8px 18px;
  gap: 7px;
  color: #fff;
  background: var(--nictek-orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 720;
}

.nictek-download-button.is-disabled {
  background: #aeb4ba;
}

.nictek-download-results .page-numbers {
  justify-content: center;
  margin-top: 64px;
}

@media (max-width: 1180px) {
  .single-product .woocommerce div.product {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.9fr);
    gap: 50px;
  }

  .nictek-download-browser {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 42px;
  }

  .nictek-download-card {
    grid-template-columns: 78px minmax(0, 1fr);
    padding: 28px;
    gap: 22px;
  }

  .nictek-file-icon {
    width: 66px;
    height: 84px;
  }
}

@media (max-width: 920px) {
  .single-product .woocommerce div.product,
  .nictek-download-browser {
    grid-template-columns: 1fr;
  }

  .single-product .product_title {
    max-width: 68%;
  }

  .nictek-download-categories {
    position: static;
  }

  .nictek-download-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .single-product .woo-main {
    padding: 48px 18px 80px;
  }

  .single-product .woocommerce div.product .woocommerce-product-gallery {
    padding: 18px;
  }

  .single-product .woocommerce-product-gallery__image a {
    min-height: 320px;
  }

  .single-product .product_title {
    max-width: none;
    font-size: 38px;
  }

  .single-product .woocommerce div.product p.price,
  .single-product .woocommerce div.product span.price {
    margin: 0 0 22px;
    text-align: left;
  }

  .single-product .woocommerce div.product form.cart .variations tr {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .nictek-download-hero {
    min-height: 430px;
  }

  .nictek-download-hero > div {
    padding: 50px 24px;
  }

  .nictek-download-browser {
    width: min(calc(100% - 36px), 1600px);
    padding: 54px 0 80px;
  }

  .nictek-download-grid {
    grid-template-columns: 1fr;
  }

  .nictek-download-search {
    width: 100%;
    margin-bottom: 36px;
  }
}

.submenu-toggle {
  display: none;
}

.nictek-shop-intro,
.nictek-company-hero,
.nictek-news-hero {
  width: min(calc(100% - 32px), 1604px);
  margin: 52px auto 0;
  border: 1px solid rgba(255, 90, 31, 0.2);
  border-radius: 10px;
}

/* Shop archive */
.woo-main {
  min-height: 60vh;
}

.nictek-shop-intro {
  display: grid;
  min-height: 405px;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  align-items: center;
  padding: clamp(38px, 6vw, 96px);
  gap: clamp(30px, 7vw, 120px);
  background: #fff;
}

.nictek-shop-intro h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.08;
}

.nictek-shop-intro p {
  max-width: 900px;
  margin: 0;
  color: #59616d;
  font-size: 17px;
  line-height: 1.85;
}

.nictek-shop-intro img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(38, 58, 76, 0.08));
}

.nictek-products-archive {
  width: min(calc(100% - 32px), 1604px);
  margin: 86px auto 130px;
}

.nictek-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  color: #69717c;
}

.nictek-shop-toolbar .woocommerce-result-count,
.nictek-shop-toolbar .woocommerce-ordering {
  float: none;
  margin: 0;
}

.nictek-shop-toolbar select {
  min-height: 46px;
  padding: 0 40px 0 15px;
  background: #fff;
  border: 1px solid #e2e5e9;
  border-radius: 8px;
}

.nictek-product-list {
  display: grid;
  gap: 36px;
}

.nictek-product-card {
  display: grid;
  grid-template-columns: minmax(280px, 450px) minmax(0, 1fr);
  min-height: 400px;
  padding: 30px 62px 30px 30px;
  gap: clamp(36px, 6vw, 92px);
  background: #fff;
  border: 1px solid rgba(255, 90, 31, 0.18);
  border-radius: 12px;
  box-shadow: 0 10px 34px rgba(48, 61, 76, 0.035);
}

.nictek-product-card__image {
  display: grid;
  min-height: 330px;
  place-items: center;
  padding: 20px;
  border: 1px solid #ece8e5;
  border-radius: 12px;
}

.nictek-product-card__image img {
  width: 100%;
  height: 290px;
  object-fit: contain;
}

.nictek-product-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
}

.nictek-product-card__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.nictek-product-card__heading h2 {
  margin: 0;
  font-size: clamp(30px, 2.4vw, 46px);
  line-height: 1.1;
}

.nictek-product-card__price {
  flex: 0 0 auto;
  color: var(--nictek-orange);
  font-size: 28px;
  font-weight: 800;
}

.nictek-product-card__description {
  margin: 24px 0;
  color: #5e6670;
}

.nictek-product-card__attributes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 30px;
  gap: 18px;
}

.nictek-product-card__attributes span {
  display: flex;
  min-height: 50px;
  align-items: center;
  padding: 10px 16px;
  gap: 14px;
  color: #727984;
  background: #f7f8fa;
  border: 1px solid #e3e5e8;
  border-radius: 8px;
}

.nictek-product-card__attributes strong {
  color: #262b32;
}

.nictek-product-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.nictek-product-card__actions .button {
  margin: 0;
  line-height: 1;
}

.nictek-outline-action {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px 8px 22px;
  gap: 18px;
  color: var(--nictek-orange);
  background: transparent;
  border: 1px solid var(--nictek-orange);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.nictek-outline-action span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #fff;
  background: var(--nictek-orange);
  border-radius: 50%;
}

.woocommerce nav.woocommerce-pagination {
  margin-top: 48px;
}

.woocommerce nav.woocommerce-pagination ul,
.page-numbers {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
.page-numbers a,
.page-numbers span {
  display: grid;
  min-width: 34px;
  height: 34px;
  place-items: center;
  padding: 0 9px;
  color: #6d737b;
  background: #fff;
  border: 1px solid #e0e3e6;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.page-numbers .current,
.page-numbers a:hover {
  color: #fff;
  background: var(--nictek-orange);
  border-color: var(--nictek-orange);
}

/* Mini cart drawer */
.nictek-mini-cart,
.nictek-video-modal,
.nictek-logout-dialog {
  position: fixed;
  z-index: 1600;
  inset: 0;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s;
}

.nictek-mini-cart.is-open,
.nictek-video-modal.is-open,
.nictek-logout-dialog.is-open {
  visibility: visible;
  opacity: 1;
}

.nictek-mini-cart__backdrop,
.nictek-dialog-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(23, 28, 34, 0.58);
  border: 0;
  cursor: pointer;
}

.nictek-mini-cart__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  padding: 50px 30px 30px;
  overflow: auto;
  background: #fff;
  box-shadow: -22px 0 70px rgba(20, 31, 42, 0.2);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.nictek-mini-cart.is-open .nictek-mini-cart__panel {
  transform: translateX(0);
}

.nictek-mini-cart__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 2px solid #eceef0;
}

.nictek-mini-cart__heading h2 {
  margin: 0;
  font-size: 23px;
}

.nictek-mini-cart__heading button,
.nictek-dialog-close {
  width: 38px;
  height: 38px;
  padding: 0;
  color: #4b515a;
  background: #f4f5f6;
  border: 0;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.nictek-mini-cart .woocommerce-mini-cart {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nictek-mini-cart .woocommerce-mini-cart-item {
  position: relative;
  min-height: 128px;
  padding: 25px 30px 25px 112px;
  border-bottom: 1px solid #e7e8ea;
}

.nictek-mini-cart .woocommerce-mini-cart-item > a:not(.remove) {
  display: block;
  font-weight: 750;
}

.nictek-mini-cart .woocommerce-mini-cart-item img {
  position: absolute;
  top: 24px;
  left: 0;
  width: 92px;
  height: 92px;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 8px;
}

.nictek-mini-cart a.remove {
  position: absolute;
  top: 52px;
  right: 0;
  color: var(--nictek-orange) !important;
}

.nictek-mini-cart .quantity {
  color: #727984;
  font-size: 13px;
}

.nictek-mini-cart .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 2px solid #eceef0;
  font-size: 18px;
}

.nictek-mini-cart .woocommerce-mini-cart__buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.nictek-mini-cart .woocommerce-mini-cart__buttons a {
  display: grid;
  min-height: 54px;
  place-items: center;
  color: #fff;
  background: var(--nictek-orange);
  border-radius: 999px;
}

/* Company profile */
.nictek-company-page,
.nictek-news-page,
.nictek-video-page {
  background: #fff;
}

.nictek-company-hero {
  height: clamp(360px, 31vw, 590px);
  margin-top: 0;
  overflow: hidden;
  border: 0;
}

.nictek-company-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nictek-company-story {
  display: grid;
  width: min(calc(100% - 60px), 1600px);
  grid-template-columns: minmax(0, 1.35fr) minmax(360px, 0.65fr);
  align-items: center;
  margin: 0 auto;
  padding: 86px 0 110px;
  gap: clamp(50px, 9vw, 160px);
}

.nictek-company-story h1 {
  margin: 0 0 26px;
  font-size: clamp(38px, 4vw, 66px);
  line-height: 1.06;
}

.nictek-company-story h1 span,
.nictek-testimonials h2 span {
  color: var(--nictek-orange);
}

.nictek-company-copy {
  color: #5f6771;
  font-size: 16px;
  line-height: 1.9;
}

.nictek-company-story > img {
  width: 100%;
  border-radius: 14px;
}

.nictek-testimonials {
  padding: 94px 30px 130px;
  background: #f6f7fb;
}

.nictek-testimonials h2 {
  margin: 0 0 44px;
  text-align: center;
  font-size: clamp(34px, 3vw, 50px);
}

.nictek-testimonial-card {
  width: min(1180px, 100%);
  min-height: 260px;
  margin: 0 auto;
  padding: 54px 60px;
  background: #fff;
  border: 1px solid rgba(255, 90, 31, 0.18);
  border-radius: 12px;
}

.nictek-testimonial-card time {
  color: #6d747e;
  font-size: 13px;
}

.nictek-testimonial-card blockquote {
  margin: 24px 0 32px;
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 750;
  line-height: 1.5;
}

.nictek-reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nictek-reviewer img {
  border-radius: 10px;
}

/* News center */
.nictek-news-hero {
  position: relative;
  display: flex;
  min-height: clamp(430px, 42vw, 700px);
  align-items: center;
  margin-top: 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, rgba(72, 104, 144, 0.48), rgba(211, 225, 239, 0.2)), var(--news-hero) center / cover no-repeat;
  border: 0;
}

.nictek-news-hero > div {
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 70px 48px;
}

.nictek-news-hero p {
  margin: 0 0 24px;
  font-weight: 700;
}

.nictek-news-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(37px, 4vw, 62px);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.35;
}

.nictek-news-grid-wrap {
  width: min(calc(100% - 60px), 1600px);
  margin: 0 auto;
  padding: 110px 0 130px;
}

.nictek-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 54px 48px;
}

.nictek-news-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 90, 31, 0.2);
  border-radius: 10px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.nictek-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(35, 51, 66, 0.1);
}

.nictek-news-card__image {
  display: block;
  aspect-ratio: 1.52;
  overflow: hidden;
}

.nictek-news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.nictek-news-card:hover img {
  transform: scale(1.035);
}

.nictek-news-card__body {
  padding: 24px 22px 28px;
}

.nictek-news-card h2 {
  margin: 0 0 15px;
  font-size: 21px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.nictek-news-card time,
.nictek-news-card p {
  color: #818791;
  font-size: 13px;
}

.nictek-more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nictek-more-link span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #fff;
  background: var(--nictek-orange);
  border-radius: 50%;
}

.nictek-empty-state {
  grid-column: 1 / -1;
  padding: 60px;
  text-align: center;
  background: #f7f8fb;
  border-radius: 12px;
}

/* News detail */
.single-main {
  background: #fff;
}

.nictek-news-detail {
  width: min(calc(100% - 60px), 1600px);
  margin: 0 auto;
  padding: 76px 0 120px;
}

.nictek-news-detail .single-entry__header {
  padding-bottom: 44px;
  border-bottom: 2px solid #3a3d42;
}

.nictek-news-detail .single-entry__header h1 {
  max-width: 1500px;
  margin: 0 0 38px;
  font-size: clamp(34px, 3.5vw, 58px);
  line-height: 1.2;
}

.nictek-news-detail .eyebrow {
  color: #7b818a;
}

.nictek-news-lead {
  margin-top: 32px;
  font-size: 17px;
  font-weight: 600;
}

.nictek-news-detail .single-entry__image {
  margin: 48px 0;
}

.nictek-news-detail .single-entry__image img {
  width: 100%;
  max-height: 760px;
  object-fit: cover;
}

.nictek-news-detail .single-entry__content {
  color: #666e78;
  font-size: 16px;
  line-height: 1.95;
}

.nictek-post-navigation {
  display: grid;
  margin-top: 48px;
  padding-top: 40px;
  gap: 12px;
  border-top: 2px solid #3a3d42;
  color: #747b84;
}

.nictek-post-navigation span {
  margin-right: 8px;
  font-weight: 750;
}

/* Video center */
.nictek-video-content {
  width: min(calc(100% - 60px), 1600px);
  margin: 0 auto;
  padding: 78px 0 130px;
}

.nictek-feature-video {
  position: relative;
  min-height: clamp(470px, 45vw, 820px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, rgba(17, 28, 38, 0.55), rgba(17, 28, 38, 0.22)), var(--video-image) center / cover no-repeat;
  border-radius: 12px;
}

.nictek-feature-video > div {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 34px 50px 70px;
  text-align: center;
}

.nictek-feature-video h1 {
  max-width: 1350px;
  margin: 0;
  font-size: clamp(24px, 3vw, 48px);
}

.nictek-feature-video p {
  max-width: 700px;
  margin: auto 0 20px;
}

.nictek-play-button {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  padding: 0 0 0 5px;
  color: #fff;
  background: #ff2f24;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 14px 34px rgba(255, 47, 36, 0.3);
  cursor: pointer;
}

.nictek-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 88px;
  gap: 48px;
}

.nictek-video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(255, 90, 31, 0.2);
  border-radius: 10px;
}

.nictek-video-card__image {
  position: relative;
  aspect-ratio: 1.52;
  overflow: hidden;
}

.nictek-video-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nictek-video-card__image .nictek-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 56px;
  height: 56px;
  transform: translate(-50%, -50%);
}

.nictek-video-card h2 {
  margin: 0;
  padding: 24px 20px;
  font-size: 19px;
  text-transform: uppercase;
}

.nictek-video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 36px));
  margin: 7vh auto 0;
  padding: 18px;
  background: #0d1117;
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.nictek-video-modal__dialog .nictek-dialog-close {
  position: absolute;
  z-index: 2;
  top: -16px;
  right: -16px;
}

.nictek-video-modal [data-video-stage] {
  aspect-ratio: 16 / 9;
}

.nictek-video-modal iframe,
.nictek-video-modal video {
  width: 100%;
  height: 100%;
  border: 0;
}

/* WooCommerce pages */
.nictek-account-page .page-entry__header,
.nictek-cart-page .page-entry__header,
.nictek-checkout-page .page-entry__header {
  display: none;
}

.nictek-account-page .page-main,
.nictek-cart-page .page-main,
.nictek-checkout-page .page-main {
  min-height: 620px;
  background: #fff;
}

.nictek-account-page .page-entry,
.nictek-cart-page .page-entry,
.nictek-checkout-page .page-entry {
  width: min(calc(100% - 60px), 1400px);
  margin: 0 auto;
  padding: 100px 0 130px;
}

.woocommerce .woocommerce-error,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message {
  padding: 18px 22px 18px 50px;
  background: #fff8f4;
  border-top-color: var(--nictek-orange);
  border-radius: 8px;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  min-height: 48px;
  padding: 11px 14px;
  background: #fff;
  border: 1px solid #dfe2e6;
  border-radius: 6px;
}

.woocommerce form .form-row textarea {
  min-height: 120px;
}

.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  min-height: 46px;
  padding: 12px 24px;
  color: #fff;
  background: var(--nictek-orange);
  border-radius: 999px;
  font-weight: 750;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover {
  color: #fff;
  background: var(--nictek-orange-dark);
}

/* Login and registration */
.woocommerce-account:not(.logged-in) .page-entry {
	max-width: 1160px;
}

.woocommerce-account:not(.logged-in) .u-columns.col2-set,
.nictek-register-page:not(.logged-in) .u-columns.col2-set {
	display: block;
	width: min(100%, 560px);
	margin: 0 auto;
}

.woocommerce-account:not(.logged-in) .u-column1,
.woocommerce-account:not(.logged-in) .u-column2,
.nictek-register-page:not(.logged-in) .u-column1,
.nictek-register-page:not(.logged-in) .u-column2 {
	width: auto;
	float: none;
}

.woocommerce-account:not(.logged-in):not(.nictek-register-page) .u-column2,
.nictek-register-page:not(.logged-in) .u-column1 {
	display: none;
}

.woocommerce-account:not(.logged-in) h2,
.nictek-register-page:not(.logged-in) h2 {
	margin: 0 0 26px;
	text-align: center;
	font-size: 36px;
}

.woocommerce form.login,
.woocommerce form.register {
  min-height: 460px;
  margin: 0;
  padding: 56px 72px;
  background: #efefef;
  border: 0;
  border-radius: 6px;
}

.woocommerce form.login .button,
.woocommerce form.register .button {
	width: 100%;
	color: var(--nictek-orange);
	background: #fff;
	border: 1px solid rgba(255, 90, 31, 0.28);
}

.woocommerce form.login .button:hover,
.woocommerce form.login .button:focus-visible,
.woocommerce form.register .button:hover,
.woocommerce form.register .button:focus-visible {
	color: #fff;
	background: var(--nictek-orange);
}

.woocommerce form.login .lost_password,
.nictek-account-switch {
	margin: 18px 0 0;
	text-align: center;
	color: #929292;
}

.nictek-account-switch a,
.woocommerce form.login .lost_password a {
	color: var(--nictek-orange);
	font-weight: 700;
}

.woocommerce form.register .woocommerce-privacy-policy-text {
	color: #808080;
	line-height: 1.55;
}

/* My account */
.logged-in.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 62px;
}

.woocommerce-MyAccount-navigation {
  width: auto;
  float: none;
}

.woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 11px 0;
  font-weight: 700;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  color: var(--nictek-orange);
}

.woocommerce-MyAccount-content {
  width: auto;
  min-width: 0;
  float: none;
  padding-top: 28px;
  border-top: 8px solid var(--nictek-orange);
}

.nictek-profile-card,
.woocommerce-Address {
  position: relative;
  padding: 34px;
  background: #f2f2f2;
  border-radius: 4px;
}

.nictek-profile-card strong {
  display: block;
  margin-bottom: 20px;
  font-size: 18px;
}

.nictek-profile-card span {
  color: #656c75;
  font-size: 13px;
}

.nictek-profile-card p {
  margin: 6px 0 0;
}

.nictek-pencil-link,
.woocommerce-Address-title a.edit {
  position: absolute;
  top: 25px;
  right: 25px;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: var(--nictek-orange);
  background: #fff;
  border-radius: 50%;
  font-size: 0;
}

.nictek-pencil-link {
  font-size: 18px;
}

.woocommerce-Address-title a.edit::before {
  content: "✎";
  font-size: 18px;
}

.nictek-account-action {
  display: block;
  margin-top: 26px;
  padding: 18px;
  text-align: center;
  background: #ededed;
  border-radius: 4px;
  font-weight: 700;
}

.woocommerce-account .addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.woocommerce-account .addresses .col-1,
.woocommerce-account .addresses .col-2 {
  width: auto;
  float: none;
}

.woocommerce-account .woocommerce-Address address {
  min-height: 145px;
  color: #555e68;
  font-style: normal;
  line-height: 1.8;
}

.woocommerce-account table.my_account_orders {
  border: 0;
  border-collapse: separate;
  border-spacing: 0 20px;
}

.woocommerce-account table.my_account_orders thead {
  display: none;
}

.woocommerce-account table.my_account_orders tr {
  background: #f5f6f7;
}

.woocommerce-account table.my_account_orders td {
  padding: 20px 14px;
  border: 0;
}

.woocommerce-account table.my_account_orders td:first-child {
  border-radius: 8px 0 0 8px;
}

.woocommerce-account table.my_account_orders td:last-child {
  border-radius: 0 8px 8px 0;
}

.woocommerce-account .woocommerce-order-details,
.woocommerce-account .woocommerce-customer-details {
  margin-top: 48px;
  padding: 28px;
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 8px;
}

.woocommerce-account .woocommerce-table,
.woocommerce-account .shop_table {
  border-color: #e5e7ea;
}

.nictek-account-editor .woocommerce-MyAccount-content,
.nictek-address-editor .woocommerce-MyAccount-content {
  position: relative;
  max-width: 760px;
  padding: 36px;
  background: #fff;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 25px 80px rgba(19, 30, 41, 0.2);
}

.nictek-form-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 2;
  font-size: 28px;
}

.nictek-account-editor,
.nictek-address-editor {
  background: linear-gradient(rgba(24, 30, 36, 0.38), rgba(24, 30, 36, 0.38)), #f5f6f8;
}

/* Cart */
.woocommerce-cart-form,
.cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout .col2-set {
  padding: 28px;
  background: #fff;
  border: 1px solid #e5e7ea;
  border-radius: 10px;
}

.woocommerce-cart .woocommerce {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  align-items: start;
  gap: 40px;
}

.woocommerce-cart .woocommerce-notices-wrapper,
.woocommerce-cart .woocommerce-form-coupon-toggle,
.woocommerce-cart .woocommerce-message,
.woocommerce-cart .woocommerce-error,
.woocommerce-cart .woocommerce-info {
  grid-column: 1 / -1;
}

.woocommerce-cart-form {
  grid-column: 1;
}

.woocommerce-cart .cart-collaterals {
  grid-column: 2;
  width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
  float: none;
}

.woocommerce table.shop_table {
  border: 0;
  border-collapse: collapse;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 18px 14px;
  border-color: #e6e8ea;
}

.woocommerce-cart table.cart img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.woocommerce .quantity .qty {
  min-height: 40px;
  border: 1px solid #dfe2e6;
  border-radius: 5px;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  width: 100%;
  margin: 22px 0 0;
  padding: 17px 22px;
  text-align: center;
  background: var(--nictek-orange);
}

/* Checkout */
.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  align-items: start;
  gap: 40px 60px;
}

.woocommerce-checkout #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.woocommerce-checkout .col2-set {
  width: 100%;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100%;
  float: none;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
}

.woocommerce-checkout #order_review_heading {
  grid-row: 1;
  margin: 0;
}

.woocommerce-checkout #order_review {
  grid-row: 2;
  position: sticky;
  top: 112px;
}

.woocommerce-checkout #payment {
  background: #f6f7f8;
}

.woocommerce-checkout #payment #place_order {
  width: 100%;
  background: var(--nictek-orange);
}

/* Confirmation dialog */
.nictek-dialog-card {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 36px));
  margin: 24vh auto 0;
  padding: 52px 62px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(15, 25, 35, 0.24);
}

.nictek-dialog-card .nictek-dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.nictek-dialog-card h2 {
  margin: 0 0 18px;
}

.nictek-dialog-card p {
  margin: 0 0 28px;
  color: #666f78;
}

@media (max-width: 1180px) {
  .nictek-product-card {
    grid-template-columns: minmax(250px, 0.75fr) minmax(0, 1.25fr);
    padding-right: 32px;
    gap: 36px;
  }

  .nictek-news-grid,
  .nictek-video-grid {
    gap: 30px;
  }

  .woocommerce-checkout form.checkout {
    gap: 36px;
  }
}

@media (max-width: 1024px) {
  .submenu-toggle {
    position: absolute;
    top: 7px;
    right: 12px;
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--nictek-ink);
    background: #f2f5f7;
    border: 0;
    border-radius: 50%;
  }

  .site-menu .sub-menu {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 14px 12px;
    visibility: visible;
    box-shadow: none;
    opacity: 1;
    transform: none;
  }

  .site-menu .is-submenu-open > .sub-menu {
    display: block;
  }

  .nictek-shop-intro,
  .nictek-company-story {
    grid-template-columns: 1fr;
  }

  .nictek-shop-intro img,
  .nictek-company-story > img {
    max-width: 620px;
    margin: 0 auto;
  }

  .nictek-product-card {
    grid-template-columns: 1fr;
  }

  .nictek-product-card__image {
    min-height: 280px;
  }

  .nictek-news-grid,
  .nictek-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-cart .woocommerce,
  .woocommerce-checkout form.checkout {
    display: block;
  }

  .woocommerce-cart .cart-collaterals,
  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    margin-top: 36px;
  }

  .woocommerce-checkout #order_review {
    position: static;
  }
}

@media (max-width: 760px) {
  .nictek-shop-intro,
  .nictek-company-hero,
  .nictek-news-hero,
  .nictek-products-archive,
  .nictek-company-story,
  .nictek-news-grid-wrap,
  .nictek-news-detail,
  .nictek-video-content,
  .nictek-account-page .page-entry,
  .nictek-cart-page .page-entry,
  .nictek-checkout-page .page-entry {
    width: calc(100% - 28px);
  }

  .nictek-shop-intro {
    min-height: 0;
    margin-top: 14px;
    padding: 42px 24px;
  }

  .nictek-products-archive {
    margin-top: 48px;
  }

  .nictek-shop-toolbar {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }

  .nictek-product-card {
    min-height: 0;
    padding: 18px;
  }

  .nictek-product-card__heading,
  .nictek-product-card__actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .nictek-product-card__attributes,
  .nictek-news-grid,
  .nictek-video-grid,
  .woocommerce-account:not(.logged-in) .u-columns.col2-set,
  .logged-in.woocommerce-account .woocommerce,
  .woocommerce-account .addresses {
    grid-template-columns: 1fr;
  }

  .nictek-company-hero {
    height: 280px;
  }

  .nictek-company-story,
  .nictek-news-grid-wrap,
  .nictek-video-content {
    padding: 58px 0 80px;
  }

  .nictek-testimonial-card {
    padding: 34px 24px;
  }

  .nictek-news-hero {
    min-height: 390px;
  }

  .nictek-news-hero > div {
    padding: 40px 24px;
  }

  .nictek-news-detail {
    padding: 48px 0 80px;
  }

  .nictek-feature-video {
    min-height: 380px;
  }

  .nictek-feature-video > div {
    padding: 28px 22px 44px;
  }

  .nictek-account-page .page-entry,
  .nictek-cart-page .page-entry,
  .nictek-checkout-page .page-entry {
    padding: 60px 0 80px;
  }

  .logged-in.woocommerce-account .woocommerce {
    gap: 30px;
  }

  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    gap: 18px;
  }

  .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
  }

  .woocommerce form.login,
  .woocommerce form.register {
    min-height: 0;
    padding: 34px 22px;
  }

  .woocommerce table.shop_table_responsive tr td,
  .woocommerce-page table.shop_table_responsive tr td {
    padding: 14px 8px;
  }

  .nictek-dialog-card {
    padding: 46px 24px 34px;
  }
}

/* Product archive — updated PSD layout (v2.3) */
.nictek-shop-intro {
  min-height: 406px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 458px);
  padding: 56px 76px;
  gap: clamp(56px, 8vw, 150px);
  border-color: #e6e8eb;
  border-radius: 0;
  box-shadow: none;
}

.nictek-shop-intro__content {
  align-self: center;
}

.nictek-shop-intro h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 3.2vw, 58px);
  letter-spacing: -0.035em;
}

.nictek-shop-intro__description {
  max-width: 700px;
}

.nictek-shop-intro__description p {
  margin-bottom: 27px;
  font-size: 15px;
  line-height: 1.65;
}

.nictek-product-search {
  position: relative;
  width: min(100%, 282px);
}

.nictek-product-search input[type="search"] {
  width: 100%;
  height: 42px;
  padding: 0 52px 0 19px;
  color: var(--nictek-ink);
  background: #f7f7f8;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  outline: 1px solid transparent;
  transition: outline-color 0.2s ease, background-color 0.2s ease;
}

.nictek-product-search input[type="search"]:focus {
  background: #fff;
  outline-color: rgba(255, 90, 31, 0.45);
}

.nictek-product-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  background: var(--nictek-orange);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nictek-product-search button span {
  position: relative;
  display: block;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.nictek-product-search button span::after {
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 6px;
  height: 2px;
  content: "";
  background: #fff;
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: left center;
}

.nictek-shop-intro__image {
  display: grid;
  min-height: 278px;
  place-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid #e1e3e6;
}

.nictek-shop-intro__image img {
  width: 100%;
  height: 232px;
  max-height: none;
  object-fit: contain;
  filter: none;
}

.nictek-products-archive {
  margin-top: 68px;
}

.nictek-product-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 42px 32px;
}

.nictek-product-card {
  display: flex;
  min-width: 0;
  min-height: 594px;
  flex-direction: column;
  padding: 18px 18px 20px;
  gap: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e1e3e6;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.nictek-product-card:hover {
  border-color: rgba(255, 90, 31, 0.42);
  box-shadow: 0 18px 42px rgba(33, 40, 48, 0.08);
  transform: translateY(-3px);
}

.nictek-product-card__gallery {
  position: relative;
  flex: 0 0 262px;
  overflow: hidden;
  background: #fafafa;
  border: 1px solid #eceef0;
}

.nictek-product-card__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.nictek-product-card__slide {
  position: absolute;
  inset: 0;
  display: grid;
  padding: 18px 22px 35px;
  place-items: center;
  visibility: hidden;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.nictek-product-card__slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: translateX(0);
}

.nictek-product-card__slide img {
  width: 100%;
  height: 205px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.nictek-product-card__arrow {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  display: grid;
  width: 25px;
  height: 25px;
  padding: 0;
  place-items: center;
  color: #535b64;
  background: #fff;
  border: 1px solid #dadde1;
  border-radius: 50%;
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.nictek-product-card__arrow--previous {
  left: 11px;
}

.nictek-product-card__arrow--next {
  right: 11px;
}

.nictek-product-card__dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  display: flex;
  transform: translateX(-50%);
  gap: 5px;
}

.nictek-product-card__dots button {
  width: 5px;
  height: 5px;
  padding: 0;
  background: #c7cbd0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.nictek-product-card__dots button.is-active {
  width: 14px;
  background: var(--nictek-orange);
  border-radius: 999px;
}

.nictek-product-card__body {
  display: flex;
  min-width: 0;
  flex: 1;
  justify-content: flex-start;
  padding: 19px 3px 0;
}

.nictek-product-card__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
}

.nictek-product-card__heading h2 {
  min-width: 0;
  margin: 0;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.nictek-product-card__heading h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.nictek-product-card__price {
  color: var(--nictek-orange);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.nictek-product-card__description {
  display: -webkit-box;
  min-height: 56px;
  max-height: calc(1.55em * 3);
  margin: 12px 0 14px;
  overflow: hidden;
  color: #666e77;
  font-size: 11.5px;
  line-height: 1.55;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.nictek-product-card__purchase {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.nictek-product-card__attributes {
  display: grid;
  grid-template-columns: 1fr;
  margin: 0 0 17px;
  gap: 8px;
}

.nictek-product-card__attribute {
  display: grid;
  min-width: 0;
  grid-template-columns: 68px minmax(0, 1fr);
  align-items: center;
  color: #29313a;
  font-size: 10px;
}

.nictek-product-card__attribute strong {
  overflow: hidden;
  display: block;
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nictek-product-card__attribute-field {
  position: relative;
  min-width: 0;
}

.nictek-product-card__attribute-field::after {
  position: absolute;
  top: 9px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #747b83;
  border-bottom: 1px solid #747b83;
  content: "";
  pointer-events: none;
  transform: rotate(45deg);
}

.nictek-product-card__attribute select {
  width: 100%;
  height: 31px;
  min-height: 31px;
  margin: 0;
  padding: 5px 31px 5px 11px;
  overflow: hidden;
  color: #707780;
  background: #f8f8f9;
  border: 1px solid #e2e4e7;
  border-radius: 3px;
  outline: 0;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.nictek-product-card__attribute select:focus-visible {
  border-color: var(--nictek-orange);
  box-shadow: 0 0 0 2px rgba(255, 90, 31, 0.12);
}

.nictek-product-card__attribute > span {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  height: 31px;
  padding: 8px 31px 8px 11px;
  overflow: hidden;
  color: #707780;
  background: #f8f8f9;
  border: 1px solid #e2e4e7;
  border-radius: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nictek-product-card__attribute i {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 1px solid #747b83;
  border-bottom: 1px solid #747b83;
  transform: rotate(45deg);
}

.nictek-product-card__attributes .reset_variations {
  display: none;
}

.nictek-product-card__purchase .single_variation_wrap {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.nictek-product-card__purchase .single_variation {
  display: none !important;
}

.nictek-product-card__actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 35px 35px;
  align-items: center;
  margin-top: auto;
  gap: 8px;
}

.nictek-product-card__actions .button,
.woocommerce .nictek-product-card__actions a.button,
.woocommerce .nictek-product-card__actions button.button {
  display: flex;
  min-width: 0;
  min-height: 37px;
  align-items: center;
  justify-content: space-between;
  margin: 0;
  padding: 6px 7px 6px 16px;
  color: #fff;
  background: var(--nictek-orange);
  border: 1px solid var(--nictek-orange);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.nictek-product-card__actions .button.disabled,
.nictek-product-card__actions .button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.nictek-product-card__actions .button > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  color: var(--nictek-orange);
  background: #fff;
  border-radius: 50%;
  font-size: 13px;
}

.nictek-product-card__icon-action {
  display: grid;
  width: 35px;
  height: 35px;
  padding: 0;
  place-items: center;
  color: var(--nictek-orange);
  background: #fff;
  border: 1px solid var(--nictek-orange);
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.nictek-product-card__icon-action:hover,
.nictek-product-card__icon-action:focus-visible {
  color: #fff;
  background: var(--nictek-orange);
}

.nictek-products-archive .woocommerce-pagination {
  margin-top: 52px;
}

@media (max-width: 1380px) {
  .nictek-product-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .nictek-shop-intro {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
    padding: 46px;
    gap: 46px;
  }

  .nictek-product-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nictek-product-card {
    min-height: 590px;
  }
}

@media (max-width: 760px) {
  .nictek-shop-intro {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr;
    padding: 34px 22px 22px;
    gap: 28px;
  }

  .nictek-shop-intro h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .nictek-shop-intro__image {
    min-height: 220px;
  }

  .nictek-shop-intro__image img {
    height: 190px;
  }

  .nictek-product-search {
    width: 100%;
  }

  .nictek-product-list {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .nictek-product-card {
    min-height: 0;
    padding: 15px;
  }

  .nictek-product-card__heading,
  .nictek-product-card__actions {
    flex-direction: initial;
    align-items: initial;
  }

  .nictek-product-card__attributes {
    grid-template-columns: 1fr;
  }
}

.product-title-price-wrap {
    display: flex;
    justify-content: space-between;
}
