@font-face {
  font-family: "SFMono";
  src: url("../fonts/SFUIDisplay-Regular.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "SFItalic";
  src: url("../fonts/SFProDisplay-Light.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "SFBold";
  src: url("../fonts/SFProDisplay-Medium.woff2") format("woff2");
  font-weight: 100;
  font-style: normal;
}


.pm-productCard__descriptionText p{
  margin:0px!important;
  padding:0px!important;
}

::placeholder {
  color: #dedede!important;
}

body {
  font-family: "SFMono", sans-serif;

background: linear-gradient(
  -45deg,
  #ffffff,
  #fcfcfd,
  #f8fafc,
  #ffffff
);

}

.wrld{
  background-image: url('../world.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.card-input input {
  font-size: 18px;
}

/* custom.css */
.btn-success {
  background-color: #008ccc !important;
  border-color: #008ccc !important;
  color: #fff !important;
}

.btn-success:hover {
  background-color: #00aaf8 !important;
  border-color: #00aaf8 !important;
}

.alert-info{
    background-color: #fff !important;
    border-color: #ffa800 !important;
    color: #212529 !important;
}


.alert-primary{
    background-color: #fff !important;
    border-color: #cecece !important;
}


.exchange_fields{
    position: relative;
}
.exchange_fields > input, select{
    padding-top: 25px !important;
    padding-left: 10px !important;
}
.exchange_fields label{
    position: absolute;
    color:#6e6e6e;
    left:5px;
    top:5px;
    font-size:14px;
}

.infotoast {
  width: 500px;
  max-width: 90%;
}


.btn-secondary{
    background-color: #fff !important;
    border-color: var(--bs-card-border-color);
    color: #003a55 !important;
}
.btn-secondary:hover{
    border-color: #dfdfdf;
}
.table-striped > tbody > tr:nth-of-type(2n+1) > *{
    background-color: rgba(var(--bs-light-rgb),var(--bs-bg-opacity))  !important;
}
.table > :not(caption) > * > *{
    background-color: rgba(var(--bs-light-rgb),0)  !important;
}
.card{
    background-color: #f8f9fa !important;
}







.btn-buy {
  padding-left: 15px !important;
  padding-right: 15px !important;

  border-radius: 16px;
  border: none !important;

  background: linear-gradient(
    135deg,
    #22c55e,
    #16a34a,
    #4ade80
  ) !important;

  color: white !important;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transition:
    box-shadow 0.2s ease,
    filter 0.2s ease;

  will-change: box-shadow, filter;
}

.btn-buy:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  filter: brightness(1.05);
}

.btn-buy:active {
  filter: brightness(0.98);
}






.btn-dark {
  padding-left: 15px !important;
  padding-right: 15px !important;

  border-radius: 16px;

  background: linear-gradient(
    135deg,
    #7DD3FC,
    #C084FC,
    #F9A8D4
  ) !important;

  color: white !important;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  transition: box-shadow 0.2s ease, filter 0.2s ease;
  will-change: box-shadow, filter;
}

/* мягкий hover без движения */
.btn-dark:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  filter: brightness(1.05);
}





#root {

  background-repeat: no-repeat;
  background-size: 250px 100%; /* ширина градиента слева и справа */
  background-position: left top, right top;
height:100%!important;
}

.receipt {
  min-width: 400px;
  margin: 20px auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  position: relative;
}

.receipt-item {
  margin-bottom: 5px;
}

.receipt-item span:first-child {
  display: inline-block;
  width: 60%;
}

.receipt-item span:last-child {
  display: inline-block;
  width: 30%;
}

.receipt-line {
  height: 2px;

  margin: 3px 0;
}

/* Длинная линия под итог */
.receipt-line.long {
  height: 2px;

  margin: 10px 0;
}

.receipt-total {
  font-weight: bold;
  margin-top: 10px;
}

.receipt-thanks {
  text-align: center;
  margin-top: 15px;
}

label{
    margin-left:5px;
}

.money-paper {

  padding: 20px;
  border-radius: 8px;
  background-color: #fff; /* цвет бумажки */
  
  /* текстура: маленькие цветные крапления */
  background-image:
    radial-gradient(circle, #fff 1px, transparent 1px),
    radial-gradient(circle, #fff 1px, transparent 1px),
    radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 20px 20px, 25px 25px, 30px 30px;
  background-position: 0 0, 10px 10px, 5px 15px;

  /* легкая бумажная текстура */
  box-shadow: inset 0 0 5px rgba(0,0,0,0.05);
}







.top-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;

background: linear-gradient(
  90deg,
  #f09433,
  #e6683c,
  #dc2743,
  #cc2366,
  #bc1888
);

  background-size: 300% 100%;
  animation: gradientFlow 2s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}

.tpc *{
  color:#000000!important;
  font-size:bold!important;
}

.top-loader_relative {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 9999;

  background: linear-gradient(
    90deg,
    #5a67d8,
    #b554c8,
    #0064ff,
    #fcff96,
    #00d4ff,
  );

  background-size: 300% 100%;
  animation: gradientFlow 2s linear infinite;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 300% 50%;
  }
}
.noMargin p{
  margin: 0px !important;
}



.contact a{
  color: #000000;
  text-decoration: none;
  font-size:18px;
}

li > p{
  margin-bottom:0px;
}




#root {
  margin: 0;
  min-height: 100vh;




  animation: bgFlow 14s ease infinite;
}

@keyframes bgFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.card{
  border: 0px!important;
}
.tpc{
  z-index: 90!important;
}
.TopBlur {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px; /* регулируешь высоту зоны размытия */
  z-index: -1;

  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  background: rgba(255, 255, 255, 0.6);

  /* Градиент сверху (100%) → вниз (0%) */
  mask-image: linear-gradient(to bottom, 
      rgba(0,0,0,1) 0%, 
      rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, 
      rgba(0,0,0,1) 0%, 
      rgba(0,0,0,0) 100%);
}

.card {
  color:#000000 !important;
  background: rgba(255, 255, 255, 0.65)!important;
  backdrop-filter: blur(10px)!important;
  -webkit-backdrop-filter: blur(10px)!important;

  border-radius: 20px!important;
  padding: 5px 5px!important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08)!important;

}

.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  *transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.card > h1,h2,h3,h4,h5 {
  color:#fff
}


 
.header_new {
  background: rgba(255, 255, 255, 0.65)!important;
  backdrop-filter: blur(10px)!important;
  -webkit-backdrop-filter: blur(10px)!important;
  color:#2b2f36!important;
  border-radius: 16px!important;

}

.serviceImage{
  border-radius:20px;
  margin-bottom:15px;
  margin-top:5px;
}

.portfolioImage{
  border-radius:20px;
}
.exchange_fields{
  color:#000000 !important;
}
.exchange_fields label{
  color:#000000 !important;
}
.portfolioText{
  color:#000000 !important;
  font-size:14px;
  font-weight:100;
}
.text_box {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom:20px;
}

.btn-dark{
  background-color:#000000;
  border: 0px !important;
  border-radius: 14px!important;
}

.btn-dark:hover{
  background-color: #000000 !important;
}

.btn-dark:active{
  background-color: #232323 !important;
}

.MarqueeCSS{
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: linear-gradient(to right, #3dffa8, #52c5c7); /* горизонтальный градиент */
  border-radius: 10px;
  padding: 0.5rem 0;
  color: #242424 !important;
  padding-left:0px !important;
  padding-right: 0px !important;
  padding-top:0px !important;
  padding-bottom:0px !important;
  border-radius:0px!important;
  margin-top:15px;
  margin-bottom:15px;
  margin-left:-25px!important;
  margin-right:-50px!important;
  width:100%;
  position:absolute;
  top:45px;
  font-size:12px;
}
.navbar {
  background: rgba(255, 255, 255, 0.55)!important;
  backdrop-filter: blur(20px)!important;

  border: 1px solid rgba(255, 255, 255, 0.7)!important;

  box-shadow:
    0 4px 30px rgba(0, 0, 0, 0.04),
    0 0 20px rgba(255, 182, 193, 0.08)!important;
}

.navbar .btn{
  border:none;
}
.navbar .btn:hover{
  background-color:#ffffff!important;
  border:none;
}

.nav > .nav-link{
  color:#000000;
}

.text_box_m1{
  font-family: "SFBold";
  font-size:24px;
  color: #000000 !important;
  font-weight: bold!important;
}

.clor{
  color: #000000 !important;
}

.text_box > .text_box_m1{
  font-family: "SFBold";
  font-size:32px;
  color: #000000 !important;
  margin-bottom:0px;
  font-weight: bold!important;
}

.text_box {
  background: rgba(255, 255, 255, 0.65)!important;
  backdrop-filter: blur(10px)!important;
  -webkit-backdrop-filter: blur(10px)!important;

  border-radius: 16px!important;
  padding: 15px 25px!important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08)!important;
  margin-bottom:20px;
  
}

.home_big{
  color:#2b2f36!important;
}

.text_box h2{
  color:#2b2f36!important;
}

.animated-border {
  position: relative;

  padding: 20px;
  background: #fff; /* внутренний фон */
  z-index: 0;
  overflow: hidden;
}

.contacts_css a{
    text-decoration: none;
    color: #0064ff;
}

.mpad{
    padding-right:30px;
  }

.d_top_nav{

  
  border-radius:20px;

}





@media (min-width: 1200px) {
  .container_top{
    max-width: 1140px!important;
  }
}
@media (min-width: 992px) {
  .container_top{
    max-width: 960px!important;
  }
}
@media (min-width: 768px) {

  .container_top{
    max-width: 720px!important;
  }
}
@media (min-width: 576px) {
  .container_top{
    max-width: 540px!important;
  }
}





.d_top_nav a, .nav-link{
  padding-left: 10px !important;
  padding-right: 10px !important;
  margin-left:3px;
  margin-right:3px;
  border-radius: 16px;
  font-weight:100;
  transition: none!important;
}


.alert{
  border-radius: 16px !important;
}

.activeNav,
.d_top_nav a:active {

  padding-left: 10px !important;
  padding-right: 10px !important;

  border-radius: 16px;

  background: linear-gradient(
    135deg,
    #7DD3FC,
    #C084FC,
    #F9A8D4
  ) !important;

  color: white !important;



  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@media (min-width: 1280px) {
  .lgForm{
    *position: fixed!important;
    *top:95px;
 
  }
}

@media (max-width: 1280px) {
  .sd{
    margin-left: 0px!important;
    margin-right: 0px!important;
    margin-top:0px!important;
    width:100%!important;
    border-radius:0px!important;
  }
}

.min-view-image{
    border-radius:18px!important;
  }

@media (max-width: 768px) {
  .min-view-image{
    min-width:100%!important;
    border-radius:18px!important;
  }
  .portfolioImage{
    border-radius:18px!important;
    margin: 0 auto;
  }
  .min-view-image > img{
    border-radius:18px!important;
  }
  .lgForm{
    margin-top:15px!important;
  }
  .card {
    color:#fff;
    padding: 10px;
    background: #000000;
    border-radius: 20px!important;

    backdrop-filter: blur(10px)!important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08)!important;
  }
  .sd{
    margin-left: 0px!important;
    margin-right: 0px!important;
    margin-top:0px!important;
    width:100%!important;
    border-radius:0px!important;
  }
  .mpad{
    padding:30px;
  }
  .klmobile{
    padding:30px;
  }
  .info_block{
    display:none;
  }
  .mobile_padding_detect {
    padding: 0 !important;
  }
  .card{
    *border-radius:0px!important;
  }
  .mobile_padding_detect > .col-md-12, .col-lg-6, .col-md-6, .col-md-12{
    padding: 0px !important;
  }
  .mobile_padding_detect > .mb-3{
    margin-bottom: 0px !important;
  }
  .mobile_padding_detect .row {
    margin: 0px !important;
  }
  .nobra{
    border-radius:0px!important;
    margin: 0px !important;
  }
  .nobrapa{
    padding: 0px !important;
  }
}

@media (max-width: 768px) {
  .row > * {
    margin-top:0rem;
  }
  .class-cc{
    margin-right:15px;
    margin-left:15px;
  }
  .row > * {
    margin-bottom:1.5rem;
  }
}

/* псевдоэлемент с градиентом */
.animated-border::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(#f2f5f3, #d9dbda, #e8e8e8,#d9dbda,#f2f5f3);
  animation: rotate 4s linear infinite;
  z-index: -1;
}

/* внутренний блок с прозрачной рамкой, чтобы градиент выглядел как border */
.animated-border > * {
  position: relative;
  z-index: 1;
  border: 4px solid transparent;

  padding: 20px;
  background-clip: padding-box;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}









.glass-card {
  position: relative;
  width: 300px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  color: #fff;
  text-align: center;
}

/* Flowing blur / light streak */
.glass-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 70%);
  transform: rotate(25deg);
  animation: drift 5s linear infinite;
  pointer-events: none;
}

@keyframes drift {
  0% { transform: rotate(25deg) translateX(0) translateY(0); }
  50% { transform: rotate(25deg) translateX(20px) translateY(10px); }
  100% { transform: rotate(25deg) translateX(0) translateY(0); }
}


.txtSt h2{
  color:#000000!important;
  font-family: "SFItalic";
  font-size:22px;
  text-transform: uppercase;
}







.ai-button {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #fff;
  color: white;
  font-weight: bold;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  overflow: hidden;
}
.table > :not(caption) > * > *{
  background-color:none!important;
}

.txtSt figure{
  background-color:none!important;
  border:0px!important;
  border-radius:20px;
}
.txtSt table{
  background-color:none!important;
  border:0px!important;
  width:100%;
  border-radius:20px;
}
.txtSt tr{
  background-color:none!important;
  border:0px!important;
  border-radius:20px;
}
.txtSt td{
  background-color:none!important;
  border:0px!important;
  padding:20px!important;
}

/* анимированный градиентный бордер */
.ai-button::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border-radius: 50%;
  background: conic-gradient(#ff6b6b, #feca57,#fcff96, #48dbfb, #5f27cd, #ff6b6b);
  z-index: 1;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Внутренний круг, чтобы оставить пространство для бордера */
.ai-button span {
  position: relative;
  z-index: 2;
;
}







.pageNotFoundWrapper {
  position: fixed;

  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  z-index: 100;

  background:
    radial-gradient(
      circle at top,
      rgba(125, 211, 252, 0.12),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(192, 132, 252, 0.12),
      transparent 40%
    );
}

.pageNotFoundBox {
  width: 100%;
  max-width: 560px;

  padding: 56px 42px;

  border-radius: 32px;





  text-align: center;

  position: relative;

  overflow: hidden;
}

.pageNotFoundBox::before {
  content: "";

  position: absolute;

  top: -120px;
  right: -120px;

  width: 240px;
  height: 240px;

  border-radius: 50%;


  filter: blur(20px);
}

.pageNotFoundIcon {
  width: 82px;
  height: 82px;

  margin: 0 auto 28px auto;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  color: white;

  background: linear-gradient(
    135deg,
    #fb7185,
    #f43f5e
  );



  position: relative;

  z-index: 2;
}

.pageNotFoundBox h1 {
  font-size: 24px;

  font-weight: 700;

  letter-spacing: -0.03em;

  margin-bottom: 16px;

  color: #111827;

  position: relative;

  z-index: 2;
}

.pageNotFoundBox p {
  font-size: 16px;

  line-height: 1.7;

  color: rgba(17, 24, 39, 0.65);

  margin: 0;

  position: relative;

  z-index: 2;
}

@media (max-width: 768px) {
  .pageNotFoundBox {
    padding: 42px 28px;

    border-radius: 28px;
  }

  .pageNotFoundBox h1 {
    font-size: 32px;
  }

  .pageNotFoundIcon {
    width: 72px;
    height: 72px;
  }
}






















.pm-productCard {
  width: 100%;
}

/* IMAGE */
.pm-productCard__image {
  width: 50%;
  height: 400px;
  position: relative;
  background: #f8f9fa;
}

.pm-productCard__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.pm-productCard__overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 240px;
  pointer-events: none;
}

/* BODY */
.pm-productCard__body {
  width: 50%;
  padding: 16px;
}

/* BUTTON FIX (НЕ ТРОГАЕМ ТВОЙ СТИЛЬ) */
.btn-buy {
  border: none;
  background: #111;
  color: #fff;
}

/* DESCRIPTION — СПЛОШНОЙ БЛОК НИЖЕ ВСЕЙ КАРТОЧКИ */
.pm-productCard__descriptionBlock {
  margin-top: 16px;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(0,0,0,0.05);
}

.pm-productCard__descriptionTitle {
  font-size: 12px;
  color: #999;
  margin-bottom: 10px;
}

.pm-productCard__descriptionText {
  color: #333;
  line-height: 1.7;
  white-space: pre-wrap;
}

/* MOBILE */
@media (max-width: 768px) {
  .pm-productCard {
    flex-direction: column !important;
  }

  .pm-productCard__image,
  .pm-productCard__body {
    width: 100% !important;
  }

  .pm-productCard__image {
    height: 360px;
  }
}





.news-image-wrapper {
  width: 220px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .news-image-wrapper {
    width: 100%;
    height: 220px;
    aspect-ratio: unset;
  }
}







html, body {
  width: 100%;
  height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}



/* ==========================================================================
   Next.js-редакция: только структурно необходимые стили (без каких-либо
   hover-эффектов "приподнятия" — по фидбеку это было лишним и местами
   конфликтовало с оригинальной логикой наведения на бейдж категории).
   ========================================================================== */

/* Мягкое появление серверно-рендеренного контента карточки товара/статьи —
   замена framer-motion fade-up для чисто серверных блоков, без клиентского JS.
   Это только анимация появления при загрузке страницы, к hover не относится. */
@keyframes fadeUpCard {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up-card {
  animation: fadeUpCard 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* Плашка категории поверх изображения товара на странице /shop/[id] —
   базовые стили позиционирования (раньше это были инлайн-стили в JSX
   компонента, теперь рендерится сервером напрямую через className).
   Никакого hover-поведения тут больше нет — на странице товара плашка
   не интерактивна, а в каталоге (/shop) за hover полностью отвечает
   оригинальный onMouseEnter/onMouseLeave прямо в ShopClient.tsx, как и
   было в исходном приложении, — CSS в это не вмешивается. */
.category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  cursor: default;
  user-select: none;
}

/* Пункты меню — подсветка фоном при наведении (без transform/приподнимания) */
.d_top_nav a:not(.activeNav):hover,
.nav-link:not(.activeNav):hover {
  background: rgba(0, 0, 0, 0.06);
}

/*
  Мобильный отступ шапки — фикс.
  Шапка позиционируется inline-стилем top:"20px" (плавающая "таблетка"
  с отступом сверху) — но на мобильном .sd делает её растянутой на всю
  ширину и без скругления (см. media query max-width:768px выше), то
  есть по замыслу должна прилегать вплотную к краю экрана. Раньше
  top:20px никак не переопределялся на мобильном (inline-стиль нельзя
  переопределить обычным классом без !important), из-за чего сверху
  оставался лишний зазор в 20px, а нижний отступ контента (70px) был
  рассчитан на десктопный вариант с плавающим отступом — на мобильном
  становился слишком большим. Правим оба места синхронно.
*/
.topbar-spacer {
  padding-top: 70px;
}

@media (max-width: 768px) {
  .header_new.sd {
    top: 0 !important;
  }

  .topbar-spacer {
    padding-top: 50px;
  }
}
