:root {
  --primary: #db9336;
  --primary-hover: #db9336ba;
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1e293b;
  --text-secondary: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --brand-color-r: 247;
  --brand-color-g: 170;
  --brand-color-b: 71;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}
a:hover {
  color: var(--primary-hover);
}
ul { list-style: none; }
.container {
  max-width: 1200px;
  margin: 0 auto;
}
header {
  /*background: var(--surface);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);*/
  background-color: var(--bg);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 20px;
}
main {
  padding: 0 20px;
  min-height: 700px;
}
input, select {
  width: 50%;
  padding: 15px;
  background: #d3d3d37a;
  border: 1px solid #83838300;
  outline: none;
  border-radius: 10px;
  font-size: 16px;
  height: 55px;
}
input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  color: #000000;
  text-align: left;
  float: left;
}
input[type="date"] {
  cursor: pointer;
  height: 55px;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
}
select {
  cursor: pointer;
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input.input, select.input {
  background: #f9fafc00;
  border: 1px solid #83838385;
  padding: 15px 30px 15px 15px;
}
input.input[type="date"] {
  padding: 15px;
}
button.button {
  font-size: 18px;
  display: flex;
  width: 100%;
  justify-content: center;
  padding: 15px 0;
}
.product {
  position: relative;
}
input:disabled, select:disabled, textarea:disabled, button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}
.input-with-prefix-suffix {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #d3d3d37a;
  border: 1px solid #83838300;
  outline: none;
  border-radius: 10px;
  cursor: text;
  user-select: none;
}
.input-with-prefix-suffixCount {
  position: relative;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  background: #d3d3d37a;
  border: 1px solid #83838300;
  outline: none;
  border-radius: 10px;
  cursor: text;
  user-select: none;
}
.prefix, .suffix {
  color: #666;
  font-size: 16px;
  cursor: text;
  user-select: none;
}
.input-with-prefix-suffix input {
  border: none;
  outline: none;
  background: transparent;
  width: 100% !important;
  font-size: 16px;
  padding: 0 5px;
  height: auto;
}
.input-with-prefix-suffixCount input {
  border: none;
  outline: none;
  background: transparent;
  width: 100% !important;
  font-size: 16px;
  padding: 0 5px;
  text-align: center;
  height: 32px;
}
.input-with-prefix-suffixCount div {
  display: flex;
  align-items: center;
  padding: 8px 15px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}
.logo {
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
}
.search-wrapper {
  position: relative;
  flex-grow: 1;
}
.search-input {
  width: 100%;
  padding: 10px 90px 10px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  transition: border-color 0.2s;
  height: 44px;
}
.search-input:focus {
  outline: none;
  border-color: var(--primary);
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: 18px;
}
.catalog-btn-wrapper {
  flex-shrink: 0;
}
.catalog-btn {
  background: var(--primary);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.catalog-btn:hover { background: var(--primary-hover); }
.actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-weight: 500;
}
.cart-btn { background: var(--primary); color: white; }
.cart-btn:hover { background: var(--primary-hover); }
.banner {
  text-align: center;
  margin: 15px 0 30px 0;
}
/*.banner .container {
  aspect-ratio: 5 / 2;
  background: #c5c5c5;
  border-radius: 20px;
}*/
.hero {
  padding: 64px 0;
  text-align: center;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.1s;
}
.btn:hover { background: var(--primary-hover); transform: translateY(-1px); }
.section {
  margin-bottom: 30px;
}
.section-title {
  font-size: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}
.products-grid, .products-gridAll {
  display: grid;
}
.products-gridLine {
  display: flex;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: thin;
}
.features {
  background: white;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}
.feature-item p { color: var(--text-secondary); }
footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 48px 20px 15px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: white;
  margin-bottom: 16px; }
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: white;
}
.copyright {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #1e293b;
  color: #64748b;
}
.headerButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  user-select: none;
  max-width: 70px;
  white-space: nowrap; 
  text-overflow: ellipsis; 
  overflow: hidden;
}
.headerButton span {
  font-size: 12px;
}
.prodImg {
  aspect-ratio: 3 / 4;
  display: flex;
  justify-content: center;
  object-fit: cover;
  position: relative;
}
.prodImg img {
  border-radius: 20px;
  width: 100%;
}
.prodDesc {
  padding: 10px;
  color: #000000;
}
.prodPrice {
  font-weight: bold;
  font-size: 18px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #000000;
}
.prodPrice-sale {
  font-size: 10px;
  padding: 3px 7px;
  background: #eddfdf;
  color: #e73a3a;
  border-radius: 10px;
}
.prodPrice-old {
  color: #838383;
  text-decoration: line-through;
}
.prodButton {
  background: #e1e1e1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 5px;
  border-radius: 10px;
  margin-top: 5px;
  cursor: pointer;
  user-select: none;
  margin: 0 10px;
  color: #000000;
  min-height: 34px;
}
.logo-images {
  background: url(/resources/images/logo.svg) no-repeat scroll 0px 0px / 167px 40px rgba(0, 0, 0, 0);
  float: left;
  width: 167px;
  height: 40px;
}
.logoDark-images {
  background: url(/resources/images/logo-dark.svg) no-repeat scroll 0px 0px / 167px 40px rgba(0, 0, 0, 0);
  float: left;
  width: 167px;
  height: 40px;
}
.icon-noPage {
  background: url(/resources/images/no-page.svg) no-repeat scroll 0px 0px / 200px 200px rgba(0, 0, 0, 0);
  float: left;
  width: 200px;
  height: 200px;
}
.footer-col p {
  color: #94a3b8;
  max-width: 167px;
}
.headerLogo {
  display: flex;
  gap: 15px;
}
.headerMenu {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.headerMenu-left {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}
.headerMenu-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.arrow {
  position: absolute;
  transform: translateY(-50%);
  background: var(--bg);
  color: #000000;
  border: none;
  cursor: pointer;
  z-index: 10;
  border-radius: 100%;
  user-select: none;
}
.arrow:hover { background: var(--bg); }
.arrow.prev { left: 16px; transform: rotate(90deg); display: flex; }
.arrow.next { right: 16px; transform: rotate(-90deg); display: flex; }
.dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}
.dot.active {
  background: #fff;
  transform: scale(1.2);
}
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-start;
    z-index: 9999;
    overflow-y: auto;
    padding: 40px 20px;
}
.modal-overlay.active {
    display: flex;
}
.modal-dialog {
    max-width: 500px;
    width: 90%;
    margin:auto;
}
.modal-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}
.modal-header {
    padding: 20px 25px;
    /*border-bottom: 1px solid #e0e0e0;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.modal-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.modal-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-close:hover {
    color: #333;
}
.modal-body {
    padding: 25px;
}
.custom-modal-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}
.custom-modal-content p {
    line-height: 1.6;
    color: #666;
    margin: 0;
}
.gallery-wrapper {
  display: flex;
  gap: 10px;
  align-items: stretch;
  flex-shrink: 0;
}
.thumbnails-col {
  width: 76px;
  flex-shrink: 0;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  max-height: 500px;
  display: grid;
    grid-auto-flow: row;
    gap: 10px;
}
.thumbnails-col::-webkit-scrollbar {
  display: none;
}
.thumbnail-item {
  aspect-ratio: 3 / 4;
  border-radius: 17px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: 2px solid #83838300;
}
.thumbnail-item.active {
  border: 2px solid #838383;
}
.thumbnail-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}
.main-image-col {
  flex: 1;
  min-width: 0;
}
.main-img {
  width: 100%;
  object-fit: contain;
  border-radius: 15px;
  display: block;
  cursor: zoom-in;
}
.textHead {
  margin: 10px 0;
  font-size: 16px;
  display: flex;
  flex-direction: row;
  color: #838383;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  width: 100%;
  max-width: 100vw;
}
.textHead a {
  color: #838383;
}
.itemTH + .itemTH::before {
  content: "/";
  color: #838383;
  margin: 0 8px;
  display: inline-block;
  text-decoration: none;
}
.productInfo-top {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.productInfo-name {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}
.productInfo-descMin {
  display: flex;
  gap: 20px;
}
.productInfo-descMinBlocks {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.productInfo-block-price {
  background-color: #ffffff;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: #333;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.productInfo-block-priceSumm {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.productInfo-block-priceSumm-osn {
  font-size: 28px;
  font-weight: bold;
}
.productInfo-block-priceSumm-old {
  color: #838383;
  text-decoration: line-through;
}
.productInfo-block-buttonBasket {
  font-size: 18px;
  display: flex;
  width: 100%;
  justify-content: center;
}
.productInfo-block-minBlock {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.productInfo-descriptionBlock {
  margin: 50px 0;
}
.productInfo-descriptionMenu {
  display: flex;
  flex-direction: row;
  gap: 15px;
  margin-bottom: 30px;
  overflow-x: auto;
  overflow-y: hidden;
}
.productInfo-descriptionMenuElement {
  background: #83838300;
  padding: 10px 20px;
  border-radius: 20px;
  user-select: none;
  cursor: pointer;
  border: 1px solid #8383833b;
}
.productInfo-descriptionMenuElement.active {
  background: #8383833b;
  padding: 10px 20px;
  border-radius: 20px;
  user-select: none;
  cursor: pointer;
  border: 1px solid #83838300;
}
.catalog-menuLeft {
  display: flex;
  gap: 30px;
}
.catalog-menuLeft-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.catalog-menuLeft-catalogTop {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.catalog-menuLeft-catalogTop-filtr, .catalog-menuLeft-catalogTop-sort {
  font-size: 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  user-select: none;
}
.basketContent {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.basketContent-left, .basketContent-right {
  border: 2px solid #8383833b;
  padding: 25px 30px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap:25px;
}
.basketContent-leftBody-element {
  border-top: 2px solid #8383833b;
  padding-top: 25px;
  padding-bottom: 25px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 30px;
  align-items: center;
  position: relative;
}
.basketContent-leftBody-priceBlock {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.basketContent-leftBody-price {
  font-size: 20px;
  font-weight: bold;
}
.basketContent-leftBody-priceOld {
  color: #838383;
  text-decoration: line-through;
}
.basketContent-leftBody-elementRight {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.basketContent-leftBody-numBlock {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  color: #000000;
}
.basketContent-leftBody-Checkbox {
  cursor: pointer;
  user-select: none;
  width: auto;
}
.basketContent-leftBody-elementRightInfo {
  display: flex;
  flex-direction: row;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
.basketContent-leftBody-elementRightInfoText {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
header.scrolled {
  border-bottom: 1px solid #8383833b;
}
.accountBlocks {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.accountBlocks-header {
  border-bottom: 1px solid #8383833b;
  padding-bottom: 25px;
  margin-bottom: 25px;
  font-weight: 600;
  font-size: 18px;
}
.accountBlocks-left {
  width: 100%;
  border: 1px solid #8383833b;
  padding: 25px 30px;
  border-radius: 10px;
}
.accountBlocks-right {
  width: 100%;
  display: flex;
  gap: 30px;
}
.accountBlocksMin {
  border: 1px solid #8383833b;
  padding: 25px 30px;
  border-radius: 10px;
}
.accountBlocks-all {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
.productView {
  position: absolute;
  left: 10px;
  bottom: 10px;
  right: 10px;
  background: #ffffffde;
  color: #000000;
  text-align: center;
  padding: 10px;
  border-radius: 15px;
  display: none;
}
.productView:hover {
  background: #ffffff;
}
.prodDesc-nameText {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  word-break: break-word;
  -webkit-box-orient: vertical;
  margin-top: 3px;
  overflow: hidden;
  text-align: left;
  min-height: 48px;
}
.input-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.form-input {
  width: 100%;
  padding-right: 32px;
  box-sizing: border-box;
}
.clear-btn, .clear-btnBig {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, color 0.2s;
  display: flex;
  align-items: center;
}
.clear-btn, .clear-btnBig {
  right: 10px;
}
.clear-btnBig {
  right: 70px;
}
.clear-btn:hover, .clear-btnBig:hover {
  color: #333;
}
.search-input-group {
  position: relative;
  display: flex;
  align-items: center;
}
.search-btn {
  padding: 10px 20px;
  border: 0px solid var(--border);
  border-left: 1px solid var(--border);
  border-left: none;
  border-radius: 9px;
  background: #e0e0e0;
  color: #838383;
  cursor: pointer;
  transition: all 0.2s;
  /*opacity: 0.4;*/
  pointer-events: none;
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
}
.search-input:focus .search-btn {
  border-color: var(--primary);
}
.search-btn svg {
  fill: none;
  stroke: currentColor;
}
.search-btn:hover:not(.btn-hidden) {
  background: var(--primary-hover);
  opacity: 1;
}
.search-btn.btn-visible {
  opacity: 1;
  pointer-events: auto;
  background: var(--primary);
  color: var(--border);
}
.productInfo-descriptionBlockText {
  display: none;
}
.productInfo-descriptionBlockText.active {
  display: block;
}
.specs-block {
  width: 100%;
  margin: 0 auto;
}
.specs-row {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.specs-label {
  font-weight: 600;
  color: #333;
  padding-right: 12px;
  box-sizing: border-box;
}
.specs-dots {
  flex: 1;
  height: 2px;
  min-width: 20px;
  background-image: repeating-linear-gradient(
    90deg,
    #ccc 0,
    #ccc 2px,
    transparent 2px,
    transparent 5px
  );
  align-self: center;
}
.specs-value {
  flex: 0 0 auto;
  color: #555;
  white-space: nowrap;
  padding-left: 12px;
}
.order-card {
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 25px 30px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}

.order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.order-number {
  font-weight: 700;
  font-size: 15px;
  color: #222;
}

.order-status {
  font-size: 13px;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
}

/* статусы */
.status-delivered {
  background: #d4edda;
  color: #155724;
}
.status-processing {
  background: #fff3cd;
  color: #856404;
}
.status-cancelled {
  background: #f8d7da;
  color: #721c24;
}
.order-body {
  margin-bottom: 20px;
}
.order-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 12px;
  align-items: baseline;
  margin-bottom: 8px;
}
.order-row:last-child {
  margin-bottom: 0;
}
.label {
  color: #666;
  white-space: nowrap;
}
.value {
  color: #333;
}
.amount {
  font-weight: 600;
  color: #222;
}
.order-footer {
  border-top: 1px solid #e0e0e0;
  padding-top: 20px;
}
.receipt-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
}
.receipt-link:hover {
  text-decoration: underline;
}
.addresses-container {
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
}
.addresses-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}
.addresses-header h3 {
  margin: 0;
  font-size: 18px;
}
.btn-add-address {
  display: flex;
  flex-direction: row;
  gap: 10px;
  background: #007bff;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
}
.btn-add-address:hover {
  background: #0056b3;
}
/* Карточка адреса */
.address-card {
  border: 1px solid #e0e0e0;
  border-radius: 15px;
  padding: 25px 30px;
  display: flex;
  flex-direction: column;
  width: 45%;
}
.address-body {
  flex: 1;
}
.address-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 6px 10px;
  align-items: baseline;
  margin-bottom: 8px;
}
.address-row:last-child {
  margin-bottom: 0;
}
.label {
  color: #666;
  white-space: nowrap;
}
.value {
  color: #333;
}
/* Действия (редактировать/удалить) */
.address-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0f0f0;
}
.btn-edit,
.btn-delete {
  flex: 1;
  border: none;
  padding: 6px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}
.btn-edit {
  background: #f8f9fa;
  color: #007bff;
}
.btn-edit:hover {
  background: #e9ecef;
}
.btn-delete {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}
.btn-delete:hover {
  background: #ffe6e6;
}
.addresses-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}
.gallery-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.gallery-btn {
  position: absolute;
  transform: translateY(-50%);
  background: #ffffff;
  border: none;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 20px;
  z-index: 10;
  border-radius: 100%;
  user-select: none;
  color: #000000;
}
.gallery-btn-prev {
  left: 15px;
  transform: rotate(90deg);
  padding: 15px;
  display: flex;
}
.gallery-btn-next {
  right: 15px;
  transform: rotate(-90deg);
  padding: 15px;
  display: flex;
}
.page404block, .pageNoProduct {
  align-items: center;
  justify-content: center;
  margin: 200px 0;
  font-size: 24px;
  font-weight: 600;
}
.preloader-icon {
    display: block;
    position: relative;
    width: 150px;
    height: 150px;
    margin: 30px auto;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgb(var(--brand-color-r) var(--brand-color-g) var(--brand-color-b) / 45%);
    animation: preloader-icon-spin 2s linear infinite;
}
.preloader-icon:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgb(var(--brand-color-r) var(--brand-color-g) var(--brand-color-b) / 70%);
    animation: preloader-icon-spin 3s linear infinite;
}
.preloader-icon:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: rgb(var(--brand-color-r) var(--brand-color-g) var(--brand-color-b) / 100%);
    animation: preloader-icon-spin 1.5s linear infinite;
}
@keyframes preloader-icon-spin {
    0%   {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.catalog-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.catalog-menu-item {
  position: relative;
}
.catalog-menu-link {
  display: block;
  padding: 10px 25px;
  color: #333;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 10px;
}
.catalog-menu-link:hover,
.catalog-menu-item.active > .catalog-menu-link {
  background: #e5e5e5;
  border-radius: 10px;
}
.catalog-menu-link:hover {
  color: #000000;
}
.catalog-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  background: #e5e5e5;
}
.catalog-submenu li a {
  display: block;
  padding: 10px 35px;
  color: #555;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.2s;
}
.catalog-submenu li a:hover {
  color: #000000;
  background: #d1d1d1;
}
.catalog-submenu li:last-child a:hover {
  border-radius: 0 0 10px 10px;
}
.catalog-menu-item.open .catalog-submenu {
  display: block;
  animation: slideDown 0.3s ease-out;
  border-radius: 0 0 10px 10px;
}
.catalog-menu-item.open a.catalog-menu-link {
  background: #e5e5e5;
  color: #000000;
  border-radius: 10px 10px 0 0;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.catalog-menu-item.open::after {
  transform: translateY(-50%) rotate(180deg);
  color: #007bff;
}
.catalog-menu-item a.catalog-menu-link svg {
  transform: rotate(0deg);
  transition: all 0.5s ease 0s;
}
.catalog-menu-item.open a.catalog-menu-link svg {
  transform: rotate(-180deg);
  transition: all 0.5s ease 0s;
}
.catalog-sort-menu {
  display: none;
  position: absolute;
  top: 100%;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  padding: 8px 0;
  z-index: 1;
}
.catalog-sort-menu.open {
  display: block;
}
.catalog-sort-item {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  transition: background .2s;
}
.catalog-sort-item.active {
  font-weight: bold;
}
.catalog-sort-item:hover {
  background: #f5f5f5;
}
.filter-inputChek {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  user-select: none;
  width: 100%;
}
.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}
.custom-select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 36px;
  box-sizing: border-box;
  width: 100%;
  cursor: pointer;
  font-size: 16px;
  color: #000000;
}
.custom-arrow-icon {
  position: absolute;
  right: 10px;
  top: 35%;
  pointer-events: none;
  transform: rotate(0deg);
  transition: all 0.5s ease 0s;
  display: flex;
}
.custom-select:focus + .custom-arrow-icon {
  transform: rotate(-180deg);
  transition: all 0.5s ease 0s;
}
.catalog-menu-blovkPrice {
  display: flex;
  gap: 10px;
}
.circle-spinner {
    animation: spinner .7s linear infinite;
    border: 2px solid #FFF;
    border-right-color: transparent;
    border-radius: 100%;
    display: inline-block;
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}
@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
.catalog-btn-wrapper div.prodButton {
  background: var(--primary);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: 100%;
  margin: 0;
  height: 41px;
  font-size: 18px;
}
.catalog-btn-wrapper .basketContent-leftBody-numBlock .input-with-prefix-suffixCount div {
  padding: 11.5px 15px;
}
.catalog-btn-wrapper .basketContent-leftBody-numBlock .input-with-prefix-suffixCount input {
  height: 39px;
}
.headerButton-num {
  border-radius: 20px;
  position: absolute;
  margin-top: -10px;
  margin-left: 15px;
  background: var(--primary);
  font-size: 10px;
  padding: 0px 5px;
}
.dyn-notify {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  padding: 18px 24px;
  background: #333;
  color: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 9999;
  text-align: center;
  max-width: 90vw;
  width: fit-content;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.25,1,0.5,1);
}
.dyn-notify.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10000 !important;
}
.cookie-notification.show {
    transform: translateY(0);
    opacity: 1;
}
.t886__wrapper{
    background-color:#f8f8f8; 
    width:600px; 
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    box-shadow: 0px 5px 35px 15px rgba(0, 0, 0, 0.1);
}
.but-wrapper{
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center; 
    align-items: center;
    user-select: none; 
    border-radius: 10px;
    background-color: var(--primary);
    color: var(--bg);
    cursor: pointer;
    font-weight: bold;
}
.buttonBottom-block-button {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    user-select: none;
    cursor: pointer;
    z-index: 1;
}
.buttonBottom-block-button.top {
    position: fixed;
    right: 30px;
    bottom: -100px;
    background: #e1e1e1d4;
    transition: all .7s ease-in-out;
    box-shadow: 0px 0px 50px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotate(180deg);
}
.buttonBottom-block-button.top:hover {
    background: #e1e1e1;
}
.cookie-accept-btn {
    cursor: pointer;
}
.cookie-accept-btn:hover {
    background-color: #e0e0e0 !important;
}
.genBlock_predView {
  display: flex;
  gap: 25px;
  width: 100%;
}
.genBlock_predView-img {
  position: relative;
  display: flex;
  flex-direction: column-reverse;
  gap: 10px;
  top: 0;
  height: auto;
}
.genBlock_predView-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 25px;
}
.products-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.products-gridLine {
  display: flex;
  overflow-x: auto;
  gap: 16px;                /* отступ между карточками */
  scroll-behavior: smooth; /* базовая плавность */
  padding-right: 20px;     /* чтобы последняя карточка не прилипала к кнопке */
}
/* скроллбар (опционально) */
.products-gridLine::-webkit-scrollbar {
  height: 6px;
}
.products-gridLine::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}
.slider-btn {
  flex: 0 0 auto;
  width: 50px;
  height: 50px;
  cursor: pointer;
  background: rgba(255,255,255,0.9);
  border: 1px solid #ddd;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #333;
  z-index: 10;
}
.slider-btn:hover {
  background: #fff;
}
@media (max-width: 768px) {
  header {
    height: 150px;
    padding-top: 20px;
  }
  footer {
    padding: 20px 20px 100px 20px;
  }
  header.scrolled {
    height: 75px;
    padding-top: 0;
  }
  .container.footer-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
  }
  .headerLogo.off {
    display: none;
  }
  .header-inner {
    flex-wrap: wrap;
  }
  .search-wrapper {
    order: 4;
  }
  .catalog-btn-wrapper {
    order: 3;
  }
  .actions {
    order: 5;
    width: 100%;
    justify-content: space-between;
    margin-top: 16px;
  }
  .products-grid, .products-gridAll, .products-gridLine {
    gap: 5px;
  }
  .products-grid, .products-gridAll {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid > :nth-child(5) {
    display: none;
  }
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-col.right {
    gap: 30px;
  }
  .headerMenu-left {
    gap: 10px;
  }
  .headerMenu-right {
    flex-direction: row-reverse;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px;
    border-top: 1px solid #8383833b;
  }
  .buttonHomeCatalog {
    display: none;
  }
  .catalog-btn {
    padding: 10px 10px;
  }
  .headerLogo {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 15px;
  }
  .headerLocation {
    display: flex;
    gap: 5px;
    cursor: pointer;
    user-select: none;
  }
  .arrow {
    top: 40%;
    padding: 10px;
  }
  .productInfo-top {
    flex-direction: column;
  }
  .gallery-wrapper {
    flex-direction: column-reverse;
  }
  .thumbnails-col {
    display: none;
  }
  .productInfo-descMin {
    flex-direction: column-reverse;
  }
  .productInfo-descMinBlocks {
    width: 100%;
  }
  .catalog-menuLeft {
    flex-direction: column;
  }
  .catalog-menuLeft-left {
    display: none;
    width: 100%;
  }
  .basketContent {
    flex-direction: column;
  }
  .basketContent-left, .basketContent-right {
    width: 100%;
  }
  .basketContent-leftBody-element {
    flex-direction: column;
  }
  .basketContent-leftBody-elementRight {
    align-items: center;
  }
  .basketContent-leftBody-numBlock {
    justify-content: center;
  }
  .basketContent-leftBody-Checkbox {
    cursor: pointer;
    user-select: none;
    width: auto;
    position: absolute;
    top: 25px;
    left: 0;
  }
  .basketContent-leftBody-elementRightInfo {
    flex-direction: column;
  }
  .basketContent-leftBody-priceBlock {
    justify-content: center;
  }
  .basketContent-leftBody-elementRightInfoText {
    text-align: center;
  }
  .accountBlocks-right {
    flex-direction: column;
  }
  .accountBlocksMin {
    width: 100%;
  }
  .accountBlocks-leftMenu {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 20px;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .accountBlocks-all {
    flex-direction: column;
  }
  .accountBlocks-leftMenu-element {
    padding: 10px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
  }
  .accountBlocks-leftMenu-element.active {
    border-bottom: 3px solid #8383833b;
  }
  .blockFlex-input {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 30px;
  }
  .specs-row {
    flex-direction: column;
    border-bottom: 1px solid #8383833b;
    padding-bottom: 15px;
  }
  .specs-row:last-child {
    flex-direction: column;
    border-bottom: 0px solid #83838300;
    padding-bottom: 0;
  }
  .specs-label,
  .specs-value {
    width: 100%;
    flex: none;
    padding-right: 0;
    padding-left: 0;
  }
  .specs-dots {
    display: none;
  }
  .specs-label span {
    display: block;
  }
  .order-header {
    flex-direction: row;
    gap: 8px;
  }
  .order-row {
    grid-template-columns: auto 1fr; /* label прижимается влево */
    gap: 6px 8px;
  }
  .label {
    width: auto;
  }
  .addresses-header {
    flex-direction: row;
    gap: 10px;
  }
  .address-row {
    grid-template-columns: auto 1fr;
    gap: 4px 8px;
  }
  .label {
    width: auto;
  }
  .address-actions {
    flex-direction: column;
  }
  .btn-edit,
  .btn-delete {
    width: 100%;
  }
  .addresses-list {
    flex-direction: column;
  }
  .address-card {
    width: 100%;
  }
  .main-img {
    height: auto;
  }
  .gallery-btn {
    top: 40%;
  }
  .page404block, .pageNoProduct {
    margin: 50px 0;
  }
  .catalog-sort-menu {
    right: 0;
  }
  div.modal-body div.custom-modal-content form.catalog-menuLeft-left {
    display: flex;
  }
  .prodPrice{
    font-size: 16px;
  }
  .prodPrice-sale{
    font-size: 8px;
  }
  .prodPrice-old{
    font-size: 14px;
  }
  .owl-prev, .owl-next {
    top:35%;
  }
  .catalog-menu-blovkPrice {
    flex-direction: column;
  }
  .input-with-prefix-suffix {
    width: 100%;
  }
  .products-gridLine .product {
    min-width: 150px;
    width: 150px;
  }
  .main-image-col .gallery-btn-prev, .main-image-col .gallery-btn-next {
    opacity: 0.7;
  }
  .main-image-col:hover .gallery-btn-prev, .main-image-col:hover .gallery-btn-next {
    opacity: 0.7;
  }
  .gallery-btn:hover {
    background: #ffffff;
    opacity: 1!important;
    transition: all 0.15s ease-in-out;
  }
  .deletBut-class {
    flex-direction: column-reverse;
    gap: 20px;
  }
  .dyn-notify {
    padding: 14px 18px;
    font-size: 14px;
  }
  .cookie-notification {
      left: 20px;
      right: 20px;
      width: auto !important;
  }
  .t886__wrapper {
      width: 100% !important;
  }
  .txt-news-aaa{
      -webkit-line-clamp: 6; 
      display: -webkit-box; 
      -webkit-box-orient: vertical; 
      overflow: hidden;
      white-space: break-spaces;
      max-width: 200px;
  }
  .news-section{
      padding: 0 0; 
  }
  .buttonBottom-block-button.top.on {
      bottom: 115px;
  }
  .buttonBottom-block-button.top.off {
      bottom: -185px;
  }
  .prodDesc-nameText {
    font-size: 14px;
    min-height: 40px;
  }
  .nameProduct-basketText {
    text-align: center;
  }
  .headerButton {
    color: #000000 !important;
  }
  .owl-stage-outer{
    aspect-ratio: 4.5 / 2;
  }
  .headerButton-num {
    border: 3px solid #ffffff;
    color: #ffffff;
  }
  .genBlock_predView {
    flex-direction: column;
  }
  .genBlock_predView-img {
    width: 100%;
  }
  .genBlock_predView-content {
    width: 100%;
  }
  .products-gridAll .product:nth-child(n+3) {
    margin-top: 20px;
  }
  .slider-btn {
    display: none !important;
  }
}
@media (min-width: 769px) {
  .footer-col {
    display: flex;
    flex-direction: column;
  }
  .container.footer-col {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
  }
  .footer-col.left {
    max-width: 310px;
    width: 100%;
    flex-shrink: 0;
  }
  .footer-col.right {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }
  .products-grid, .products-gridAll, .products-gridLine {
    gap: 20px;
  }
  .products-grid, .products-gridAll {
    grid-template-columns: repeat(5, 1fr);
  }
  .products-grid.four, .products-gridAll.four {
    grid-template-columns: repeat(4, 1fr);
  }
  .headerMenu-left {
    gap: 20px;
  }
  .headerMenu-right {
    flex-direction: row;
  }
  .catalog-btn {
    padding: 10px 20px;
  }
  .headerButton.mobile {
    display: none;
  }
  .headerLogo {
    flex-direction: column;
  }
  .headerLocation {
    display: none;
  }
  .arrow {
    top: 50%;
    padding: 15px;
  }
  .productInfo-top {
    flex-direction: row;
  }
  .gallery-wrapper {
    position: sticky;
    top: 85px;
  }
  .productInfo-descMin {
    position: sticky;
    top: 85px;
  }
  .catalog-menuLeft {
    flex-direction: row;
  }
  .catalog-menuLeft-catalogTop-filtr {
    display: none;
  }
  .catalog-menuLeft-left {
    min-width: 310px;
    width: 50%;
    position: sticky;
    top: 85px;
    height: 100%;
  }
  .custom-modal-content .catalog-menuLeft-left {
    width: 100%;
  }
  .basketContent {
    flex-direction: row;
  }
  .basketContent-left {
    width: 70%;
  }
  .basketContent-right {
    width: 30%;
    height: 100%;
    position: sticky;
    top: 85px;
  }
  .basketContent-leftBody-element {
    flex-direction: row;
  }
  .basketContent-leftBody-elementRight {
    width: 100%;
  }
  .basketContent-leftBody-elementRightInfoText {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .basketContent-leftBody-priceBlock, .basketContent-leftBody-numBlock {
    justify-content: flex-end;
  }
  .accountBlocks-right {
    flex-direction: row;
  }
  .accountBlocksMin {
    width: 50%;
  }
  .accountBlocks-leftMenu {
    width: 36%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    position: sticky;
    top: 85px;
    height: 100%;
  }
  .accountBlocks-all {
    flex-direction: row;
  }
  .accountBlocks-leftMenu-element {
    padding: 10px 0;
    cursor: pointer;
    user-select: none;
  }
  .accountBlocks-leftMenu-element.active {
    border-right: 3px solid #8383833b;
  }
  .blockFlex-input {
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 30px;
  }
  .product:hover .productView {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .specs-label span {
    display: none;
  }
  .addresses-list {
    flex-direction: row;
  }
  .address-card {
    width: 45%;
  }
  .main-image-col {
    display: flex;
    justify-content: center;
    position: relative;
  }
  .main-img {
    height: 500px;
  }
  .gallery-btn {
    top: 45%;
  }
  .gallery-wrapper {
    height: 500px;
  }
  .specs-row:hover, .specs-row:hover .specs-label, .specs-row:hover .specs-dots, .specs-row:hover .specs-value {
    color: var(--primary);
  }
  .specs-row:hover .specs-dots {
    background-image: repeating-linear-gradient(90deg, var(--primary) 0, var(--primary) 2px, transparent 2px, transparent 5px);
  }
  .page404block, .pageNoProduct {
    margin: 200px 0;
  }
  .catalog-sort-menu {
    left: 0;
  }
  .headerButton:hover {
    color: var(--primary-hover);
  }
  .owl-prev, .owl-next {
    top:47%;
  }
  .catalog-menu-blovkPrice {
    flex-direction: row;
  }
  .input-with-prefix-suffix {
    width: 50%;
  }
  .products-gridLine .product {
    min-width: 215px;
    width: 215px;
  }
  .main-image-col .gallery-btn, .main-image-col .gallery-btn {
    opacity: 0;
    transition: all 0.15s ease-in-out;
  }
  .main-image-col:hover .gallery-btn, .main-image-col:hover .gallery-btn {
    opacity: 0.7;
    transition: all 0.15s ease-in-out;
  }
  .gallery-btn:hover {
    background: #ffffff;
    opacity: 1!important;
    transition: all 0.15s ease-in-out;
  }
  .buttonBottom-block-button.top.on {
      bottom: 30px;
  }
  .buttonBottom-block-button.top.off {
      bottom: -100px;
  }
  .owl-stage-outer{
    aspect-ratio: 6 / 2;
  }
  .headerButton-num {
    border: 3px solid #f8fafc;
    color: #f8fafc;
  }
  .genBlock_predView {
    flex-direction: row;
  }
  .genBlock_predView-img {
    width: 50%;
  }
  .genBlock_predView-content {
    width: 50%;
  }
  .products-gridAll .product:nth-child(n+5) {
    margin-top: 20px;
  }
}