.uc-verh-form-opt,
#rec4150006001 {
  display: none !important;
}

#tn-wholesale-root,
.tnw-popup {
  --tnw-font: FuturaPT, Arial, sans-serif;
  --tnw-ink: #000;
  --tnw-muted: #697386;
  --tnw-line: #e9e2db;
  --tnw-soft: #f7f7f7;
  --tnw-accent: #fdba73;
  --tnw-cta: #f97316;
  --tnw-cta-dark: #e5670c;
  --tnw-good-bg: #e9f6ef;
  --tnw-good: #007a55;
  --tnw-stock-bg: #fff4d9;
  --tnw-stock: #8a6212;
  --tnw-select-bg: #e9f6ef;
  --tnw-row-active: #fff5e7;
  --tnw-blue-bg: #eef2fb;
  --tnw-blue: #3d568b;
  --tnw-card-radius: 16px;
  --tnw-media-radius: 12px;
  font-family: var(--tnw-font);
  color: var(--tnw-ink);
}

#tn-wholesale-root,
#tn-wholesale-root *,
.tnw-overlay,
.tnw-overlay * {
  box-sizing: border-box;
}

#tn-wholesale-root {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 36px;
}

#tn-wholesale-root .tnw-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
}

#tn-wholesale-root .tnw-search {
  width: min(380px, 100%);
  min-height: 44px;
  padding: 10px 16px;
  border: .8px solid #dcdcdc;
  border-radius: 6px;
  background: #fff;
  color: var(--tnw-ink);
  font-family: var(--tnw-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
}

#tn-wholesale-root .tnw-search:focus {
  outline: none;
  border-color: var(--tnw-accent);
}

#tn-wholesale-root .tnw-count {
  margin-left: auto;
  color: var(--tnw-muted);
  font-size: 14px;
  font-weight: 300;
  line-height: 21px;
}

#tn-wholesale-root .tnw-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

#tn-wholesale-root .tnw-loading,
#tn-wholesale-root .tnw-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: .8px solid var(--tnw-line);
  border-radius: var(--tnw-card-radius);
  background: #fff;
  color: var(--tnw-muted);
  font-size: 15px;
}

#tn-wholesale-root .tnw-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: .8px solid var(--tnw-line);
  border-radius: var(--tnw-card-radius);
  background: #fff;
}

#tn-wholesale-root .tnw-media {
  position: relative;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  border-radius: var(--tnw-media-radius);
  background: #f5f2ee;
  cursor: pointer;
}

#tn-wholesale-root .tnw-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#tn-wholesale-root .tnw-title {
  margin: 0;
  min-height: 44px;
  color: var(--tnw-ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 21.5px;
  cursor: pointer;
}

#tn-wholesale-root .tnw-meta {
  min-height: 19px;
  color: var(--tnw-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 18px;
}

#tn-wholesale-root .tnw-price,
.tnw-popup .tnw-price {
  border-radius: 10px;
  background: var(--tnw-good-bg);
  color: var(--tnw-good);
  padding: 12px 14px;
  font-size: 26px;
  font-weight: 700;
  line-height: 30px;
}

.tnw-popup .tnw-price span {
  display: block;
  margin-bottom: 4px;
  color: #55886e;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
}

#tn-wholesale-root .tnw-price small,
.tnw-popup .tnw-price small {
  font-size: 18px;
  font-weight: 700;
}

#tn-wholesale-root .tnw-cuts,
.tnw-popup .tnw-cuts {
  overflow: hidden auto;
  border: .8px solid var(--tnw-line);
  border-radius: 10px;
  background: #fff;
  scrollbar-color: var(--tnw-accent) #f1ede8;
  scrollbar-width: thin;
}

#tn-wholesale-root .tnw-cuts {
  max-height: 156px;
}

.tnw-popup .tnw-cuts {
  max-height: 246px;
}

#tn-wholesale-root .tnw-cuts::-webkit-scrollbar,
.tnw-popup .tnw-cuts::-webkit-scrollbar {
  width: 8px;
}

#tn-wholesale-root .tnw-cuts::-webkit-scrollbar-thumb,
.tnw-popup .tnw-cuts::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: var(--tnw-accent);
}

#tn-wholesale-root .tnw-cuts::-webkit-scrollbar-track,
.tnw-popup .tnw-cuts::-webkit-scrollbar-track {
  background: #f1ede8;
}

#tn-wholesale-root .tnw-cut-row,
.tnw-popup .tnw-cut-row {
  display: grid;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 8px 10px;
  border-bottom: .8px solid #eee8e1;
  cursor: pointer;
  color: var(--tnw-ink);
}

#tn-wholesale-root .tnw-cut-row {
  grid-template-columns: 22px 36px minmax(0, 1fr) 78px;
}

.tnw-popup .tnw-cut-row {
  grid-template-columns: 28px 64px minmax(0, 1fr) 118px 128px;
}

#tn-wholesale-root .tnw-cut-row:last-child,
.tnw-popup .tnw-cut-row:last-child {
  border-bottom: 0;
}

#tn-wholesale-root .tnw-cut-row.is-active,
.tnw-popup .tnw-cut-row.is-active {
  background: var(--tnw-row-active);
}

#tn-wholesale-root .tnw-cut-check,
.tnw-popup .tnw-cut-check {
  width: 22px;
  height: 22px;
  margin: 0;
  border-radius: 5px;
  accent-color: var(--tnw-cta);
}

#tn-wholesale-root .tnw-cut-code,
.tnw-popup .tnw-cut-code {
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}

#tn-wholesale-root .tnw-cut-name,
.tnw-popup .tnw-cut-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
}

#tn-wholesale-root .tnw-cut-price,
.tnw-popup .tnw-cut-price {
  white-space: nowrap;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}

#tn-wholesale-root .tnw-rolls,
.tnw-popup .tnw-rolls {
  display: grid;
  grid-template-columns: 26px 1fr 26px;
  align-items: center;
  overflow: hidden;
  min-height: 32px;
  border: .8px solid #e3ddd6;
  border-radius: 8px;
  background: #fff;
}

#tn-wholesale-root .tnw-rolls {
  display: none;
}

#tn-wholesale-root .tnw-rolls button,
.tnw-popup .tnw-rolls button {
  height: 100%;
  border: 0;
  background: #fff;
  color: var(--tnw-ink);
  font-size: 16px;
  cursor: pointer;
}

#tn-wholesale-root .tnw-roll-input,
.tnw-popup .tnw-roll-input {
  width: 100%;
  height: 100%;
  border: 0;
  border-inline: .8px solid #e3ddd6;
  text-align: center;
  font-family: var(--tnw-font);
  font-size: 14px;
  font-weight: 700;
}

#tn-wholesale-root .tnw-selected,
.tnw-popup .tnw-selected {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  margin-top: -10px;
  padding: 9px 12px;
  border-radius: 0 0 10px 10px;
  background: var(--tnw-select-bg);
  color: #2f7d55;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px;
}

#tn-wholesale-root .tnw-selected b,
.tnw-popup .tnw-selected b {
  white-space: nowrap;
  color: var(--tnw-ink);
  font-size: 14px;
  font-weight: 700;
}

#tn-wholesale-root .tnw-bag,
.tnw-popup .tnw-bag {
  color: #2f7d55;
  font-size: 18px;
  line-height: 1;
}

#tn-wholesale-root .tnw-card-foot {
  margin-top: auto;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
}

#tn-wholesale-root .tnw-total span,
.tnw-popup .tnw-total span {
  display: block;
  color: var(--tnw-muted);
  font-size: 13px;
  font-weight: 300;
  line-height: 17px;
}

#tn-wholesale-root .tnw-total b,
.tnw-popup .tnw-total b {
  color: var(--tnw-ink);
  font-size: 22px;
  font-weight: 700;
  line-height: 26px;
}

#tn-wholesale-root .tnw-cart-btn,
.tnw-popup .tnw-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: 10px;
  background: var(--tnw-cta);
  color: #fff;
  font-family: var(--tnw-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
  cursor: pointer;
  transition: background-color .16s ease;
}

#tn-wholesale-root .tnw-cart-btn:hover,
.tnw-popup .tnw-cart-btn:hover {
  background: var(--tnw-cta-dark);
}

#tn-wholesale-root .tnw-cart-btn.is-added,
.tnw-popup .tnw-cart-btn.is-added {
  background: #2f9f62;
}

#tn-wholesale-root .tnw-cart-ok,
.tnw-popup .tnw-cart-ok {
  position: absolute;
  opacity: 0;
  font-size: 24px;
  transform: scale(.75);
  transition: opacity .16s ease, transform .16s ease;
}

#tn-wholesale-root .tnw-cart-btn.is-added .tnw-cart-ico,
#tn-wholesale-root .tnw-cart-btn.is-added .tnw-cart-label,
.tnw-popup .tnw-cart-btn.is-added .tnw-cart-ico,
.tnw-popup .tnw-cart-btn.is-added .tnw-cart-label {
  opacity: 0;
}

#tn-wholesale-root .tnw-cart-btn.is-added .tnw-cart-ok,
.tnw-popup .tnw-cart-btn.is-added .tnw-cart-ok {
  opacity: 1;
  transform: scale(1);
}

#tn-wholesale-root .tnw-more {
  width: 100%;
  min-height: 42px;
  border: .8px solid #171717;
  border-radius: 5px;
  background: #fff;
  color: #171717;
  font-family: var(--tnw-font);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.tnw-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, .56);
}

.tnw-overlay.is-open {
  display: flex;
}

.tnw-popup {
  position: relative;
  width: min(1280px, 100%);
  max-height: calc(100vh - 56px);
  overflow: hidden auto;
  padding: 28px;
  border-radius: 18px;
  background: #fff;
}

.tnw-popup__close {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 20px;
  width: 42px;
  height: 42px;
  border: .8px solid var(--tnw-line);
  border-radius: 50%;
  background: #fff;
  color: #222;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.tnw-popup__grid {
  display: grid;
  grid-template-columns: minmax(420px, .96fr) minmax(440px, 1.04fr);
  gap: 30px;
}

.tnw-popup__image {
  overflow: hidden;
  border-radius: 14px;
  background: #f5f2ee;
}

.tnw-popup__image img {
  display: block;
  width: 100%;
  height: auto;
}

.tnw-popup h2 {
  margin: 0 52px 12px 0;
  color: #000;
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
}

.tnw-popup h3 {
  margin: 18px 0 12px;
  font-size: 18px;
  font-weight: 700;
  line-height: 24px;
}

.tnw-popup h3 small {
  margin-left: 8px;
  color: var(--tnw-muted);
  font-size: 13px;
  font-weight: 400;
}

.tnw-popup-meta {
  margin-bottom: 16px;
  color: var(--tnw-muted);
  font-size: 14px;
  font-weight: 300;
}

.tnw-popup-meta b {
  color: #244d9b;
}

.tnw-prop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.tnw-prop {
  min-width: 0;
  border: .8px solid var(--tnw-line);
  border-radius: 10px;
  padding: 12px;
}

.tnw-prop span {
  display: block;
  margin-bottom: 7px;
  color: var(--tnw-muted);
  font-size: 13px;
  font-weight: 300;
}

.tnw-prop b {
  display: block;
  color: #000;
  font-size: 15px;
  font-weight: 700;
}

.tnw-popup-panels {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 12px;
  margin-top: 16px;
}

.tnw-blue {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--tnw-blue-bg);
  color: var(--tnw-blue);
  font-size: 14px;
  line-height: 18px;
}

.tnw-note {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--tnw-stock-bg);
  color: var(--tnw-stock);
  font-size: 15px;
  font-weight: 400;
  line-height: 22px;
}

.tnw-tabs {
  display: flex;
  gap: 20px;
  border-bottom: .8px solid var(--tnw-line);
}

.tnw-tabs button {
  min-height: 40px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--tnw-muted);
  font-family: var(--tnw-font);
  font-size: 14px;
  cursor: default;
}

.tnw-tabs button.is-active {
  color: var(--tnw-cta);
  border-bottom-color: var(--tnw-cta);
}

.tnw-spec-list {
  margin-top: 16px;
}

.tnw-spec-list .tnw-prop {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  border-bottom: .8px dotted #ddd;
}

.tnw-spec-list .tnw-prop span,
.tnw-spec-list .tnw-prop b {
  margin: 0;
}

.tnw-selected--popup {
  margin-top: -1px;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
}

.tnw-popup .tnw-cart-btn {
  width: 100%;
  margin-top: 16px;
  min-height: 68px;
  border-radius: 10px;
  font-size: 20px;
}

@media (max-width: 1100px) {
  #tn-wholesale-root .tnw-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #tn-wholesale-root {
    padding: 0 16px 28px;
  }

  #tn-wholesale-root .tnw-toolbar {
    flex-wrap: wrap;
  }

  #tn-wholesale-root .tnw-search {
    width: 100%;
  }

  #tn-wholesale-root .tnw-count {
    width: 100%;
    margin-left: 0;
  }

  #tn-wholesale-root .tnw-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  #tn-wholesale-root .tnw-card {
    padding: 8px;
    gap: 8px;
  }

  #tn-wholesale-root .tnw-title {
    min-height: 58px;
    font-size: 14px;
    line-height: 19px;
  }

  #tn-wholesale-root .tnw-meta {
    font-size: 12px;
  }

  #tn-wholesale-root .tnw-price {
    padding: 10px;
    font-size: 21px;
  }

  #tn-wholesale-root .tnw-cuts {
    max-height: 142px;
  }

  #tn-wholesale-root .tnw-cut-row {
    grid-template-columns: 20px 32px minmax(0, 1fr) 62px;
    min-height: 44px;
    gap: 6px;
    padding: 7px 8px;
  }

  #tn-wholesale-root .tnw-cut-name {
    font-size: 13px;
  }

  #tn-wholesale-root .tnw-cut-price {
    font-size: 13px;
  }

  #tn-wholesale-root .tnw-selected {
    font-size: 12px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  #tn-wholesale-root .tnw-selected b,
  #tn-wholesale-root .tnw-selected b + b {
    display: none;
  }

  #tn-wholesale-root .tnw-card-foot {
    gap: 8px;
  }

  #tn-wholesale-root .tnw-total b {
    font-size: 18px;
  }

  #tn-wholesale-root .tnw-cart-btn {
    min-width: 58px;
    padding: 0 14px;
  }

  #tn-wholesale-root .tnw-cart-label {
    display: none;
  }

  .tnw-overlay {
    align-items: stretch;
    padding: 0;
  }

  .tnw-popup {
    width: 100%;
    max-height: 100vh;
    border-radius: 0;
    padding: 16px;
  }

  .tnw-popup__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tnw-popup h2 {
    margin-right: 48px;
    font-size: 24px;
    line-height: 30px;
  }

  .tnw-prop-grid {
    grid-template-columns: 1fr;
  }

  .tnw-popup-panels {
    grid-template-columns: 1fr;
  }

  .tnw-popup .tnw-cut-row {
    grid-template-columns: 22px 34px minmax(0, 1fr) 86px 68px;
    gap: 8px;
  }

  .tnw-popup .tnw-cart-btn {
    min-height: 58px;
    font-size: 17px;
  }

  .tnw-spec-list .tnw-prop {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
