
h1, h2, h3, h4, h5, pre, span, br, hr, p, div, strong, li, ol, ul, dl, dt, dd, figure, figcaption, address, cite, code, samp, kbd, var, small, i, b, u, mark, q, ruby, rt, rp {
    font-family: 'Montserrat', sans-serif !important;
    color: #293A5F !important;
}

#inf-doc-card-sec li, #inf-doc-card-sec ol, #inf-doc-card-sec ul, #inf-doc-card-sec p {
    margin-top: 5px;
}

.inf-about-doc .row {
    display: flex;
    justify-content: center;
}

#afterbuy-popup {
    color: #02B5BC;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0 0 0;
    text-decoration: underline;
}

#afterbuy-popup:hover {
    cursor: pointer;
}

.specialties-d {
    position: absolute;
    left: 10px;
    top: 10px;
    margin: 0;
}


.doct-image-wrapper img {
    width: 100%;
    object-fit: cover;
}

.category-container {
    margin: 0 !important;
}

.category-container .category-img {
    border: 3px solid #02B5BC;
    width: 40px !important;
    border-radius: 50%;
    padding: 3px;
}

.docma-school-subcategories li:after {
    content: "";
    display: inline-block; /* или block, в зависимости от нужного */
    width: 18px;
    height: 18px;
    background-image: url("http://docma.ru/wp-content/uploads/2025/10/triangle.svg");
    background-size: contain; /* чтобы изображение масштабировалось */
    background-repeat: no-repeat;
    right: -15px;
    position: absolute;
}

.docma-school-categories {
    font-size: 12px;
    max-width: 100px;
    line-height: 1.1em;
    font-weight: 600;
    margin: 0;
}

.docma-school-subcategories li {
    font-size: 12px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    background: #02B5BC;
    margin-left: -10px;
    padding: 0 0 0 15px;
    color: white !important;
    font-weight: 600;
}

.docma-school-subcategories {
    margin-top: 15px;
}

.category-content {
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    border-radius: 15px;
    padding: 5px 10px;
    background: white;
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 0 !important;
}


@media (max-width: 1200px) {
    
    .category-container .category-img {
        border: 1px solid #02B5BC;
        width: 25px !important;
        padding: 3px;
    }
    
    .category-content {
        padding: 3px 6px;
        max-width: 140px;
    }
    
    .specialties-d {
        left: 5px;
        top: 5px;
    }
    
    .docma-school-subcategories li {
        font-size: 10px;
        padding: 0 0 0 10px
    }
    
    .docma-school-subcategories li:after {
        width: 15px;
        height: 15px
    }
    
}


@media (max-width: 991px) {
    
    .docma-school-categories {
        font-size: 8px;
    max-width: 60px;
    }
    
    .docma-school-subcategories {
        font-size: 8px;
        width: 110px;
    }
    
    .category-content {
        padding: 3px 6px;
        width: 110px;
    }
    
        .docma-school-subcategories li {
            font-size: 8px;
        }
    
    
    .docma-school-subcategories li:after {
        width: 12px;
        height: 12px;
        margin-right: 5px;
    }

    
}



@media (max-width: 767px) {
    
    .category-container .category-img {
        border: 1px solid #02B5BC;
        width: 25px !important;
        padding: 3px;
    }
    
    .category-content {
        padding: 3px 6px;
        max-width: 140px;
        width: 110px;
    }
    
    .specialties-d {
        left: 5px;
        top: 5px;
    }
    
    .docma-school-subcategories {
        width: 100%;
        max-width: 120px;
    }
    
    .docma-school-subcategories li {
        font-size: 8px;
        padding: 0 0 0 10px
    }
    
    .docma-school-subcategories li:after {
        margin-right: 5px;
    }
    
}



/* Основные стили кнопки */
.doc-appeal-btn {
    background: rgb(254, 63, 122);
    height: 60px;
    display: inline-flex;
    max-width: 380px;
    font-weight: 500 !important;
    justify-content: center;
    line-height: 60px;
    padding: 0 15px;
    border-radius: 8px;
    color: #fff !important;
    font-size: 16px;
    /*margin-bottom: 50px;*/
    position: relative; 
    overflow: hidden; 
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease-in-out;
}

/* Анимация shine, всегда активна */
.doc-appeal-btn::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.8),
        rgba(255, 255, 255, 0) 70%
    );
    top: 0;
    left: -100px;
    opacity: 0.6;
    animation: shine 1.5s ease-out infinite;
    pointer-events: none; 
    z-index: 0;
}

.doc-appeal-btn:hover {
        background: #02B5BC;
}

/* Анимация shine */
@keyframes shine {
    0% {
        left: -100px;
    }
    60% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}


.product-categories span {
    color: #293A5F !important;
}

.product-categories p {
       line-height: 1.8em;
}

.prod-content-inf {
    flex-direction: column;
}

.hidden-doc-ind-record {
    display: none;
}


#response_ar .head-th {
    font-size: 16px !important;
    font-weight: 400 !important;
}

#response_ar .col-12 h3 {
    font-size: 20px !important;
    font-weight: 600 !important;
}

@media(max-width: 767px) {
   #response_ar .head-th {
    font-size: 16px !important;
}

#response_ar .col-12 h3 {
    font-size: 18px !important;
} 
}

body {
    background: white !important; 
}


.author-prod-con img {
    object-fit: cover;
}

.docma-product {
    display: flex;
    justify-content: space-between;
    gap: 10%;
  align-items: flex-start
}

.docma-product__wrapper {
    width: 70%;

}

.docma-product__type {
    color: #FE3F7A;
    border: 1px solid #FE3F7A;
    border-radius: 5px;
    padding: 5px;
    text-transform: uppercase;
}

.docma-product__wrapper h1 {
    margin: 0;
    padding: 10px 0 0 0;
  line-height: 1em;
}

.docma-product__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.docma-product__author img {
    border-radius: 50%;
    width: 50px;
}
  
  .docma-product__content {
    margin-top: 30px;
  }
  
  .docma-product__author span {
    color: #293A5F;
    
  }	

.docma-product__price {
    font-weight: 600;
  display: flex;
    margin-top: 30px;
    font-size: 30px;
    color: #293A5F;
}

.docma-product__link {
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 50px;
}

.docma-product__link a {
color: white;
background: #02B5BC;
height: 60px;
display: inline-block;
line-height: 60px;
padding: 0 15px;
font-size: 16px;
padding-left: 30px;
padding-right: 30px;
width: 100%;
max-width: 250px;
text-align: center;
border-radius: 8px;
text-decoration: none;
}

.docma-product__link a:hover {
    background: #FE3F7A;
}

.docma-product__link img {
    width: 60px;
}

.docma-product__logo {
    border-radius: 100px 100px 100px 240px;
    box-shadow: rgba(14, 30, 37, 0.12) 0px 2px 4px 0px, rgba(14, 30, 37, 0.32) 0px 2px 16px 0px;
}

     @media (max-width: 991px) {
         
         .doctors-suggestions .col-tovar {
             width: 100%;
         }
         
         
      .docma-product {
        flex-direction: column-reverse;
      }
       
       .docma-product__wrapper {
         margin-top: 50px;
       }	
       
       .docma-product__wrapper {
         width: 100%;
       }
       
       .docma-product__author { 
       margin-top: 15px;
       }
    }
  
.city__user {
    margin-top: 15px;
    color: #293A5F !important;
}


/* Стили для товаров врачей */
.product__sidebar .author-prod-con {
    display: flex;
    margin-top: 30px;
}

.product__sidebar .author-prod-con .photo-a-con img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 10px;
}

.product__sidebar .col-lg-7 {
    display: flex;
    align-items: center;
}

.product__sidebar .des-prod-inf {
    margin: 10px 0 30px 0;
}

.product__sidebar .bottom-inf-p {
    display: flex;
    margin-top: 20px;
    align-items: center;
    gap: 20px;
}


.product__sidebar .bottom-inf-p a {
    width: 200px;
    text-align: center;
}

.single-product .product__sidebar {
 margin-bottom: 50px;
}

.single-product .price-p {
    font-size: 22px;
    font-weight: 500;
}

.single-product .inf-ab-post {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 767px) {

    
    .single-product	.des-prod-inf {
        font-size: 14px;
        line-height: 1.2em;
        margin-top: 30px;
    }
    
    .product__sidebar .bottom-inf-p {
        flex-direction: column;
        gap: 10px;
        margin-top: 50px;
    }
    
    .product__sidebar .inf-ab-post {
        line-height: 1.2em;
    }
    
    .product__sidebar .inf-ab-post {
            font-size: 14px;
            line-height: 1.2em;
    }
    
    .product__sidebar .author-name {
        font-weight: 500;
    }
    
    .product__sidebar .photo-doc-con img {

         object-fit: contain;
        border-radius: 20px;
    }
    
    
}

/* Стили для товаров врачей */



.doctors-suggestions .name-prod {
    line-height: 1.2em;
    font-weight: 500
}

.doctors-suggestions .short-des {
    line-height: 1.2em;
    margin-top: 20px;
}

.doctors-suggestions .name-doc {
    font-size: 14px;
}

.doctors-suggestions .col-tovar {
    box-shadow: rgba(67, 71, 85, 0.27) 0px 0px 0.25em, rgba(90, 125, 188, 0.05) 0px 0.25em 1em;
    border-radius: 20px;
    padding: 0 !important;
    width: calc(33.3333333% - 20px);
}

.doctors-suggestions .doctor-goods {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
}

.doctors-suggestions .doctors-goods-wrapper {
    margin: 0;
    width: 100%;
}

.doctors-suggestions .doctors-goods-wrapper .doctor-goods {
    margin: auto;
} 


.doctors-suggestions .doctor-goods  .spec-card-con {
    border-radius: 20px !important;
}

#tabs-doc-sec .doctors-suggestions .spec-card-con {
    padding: 10px;
}



@media (max-width: 767px) {
    .pop-up-shop .pop-up-search-d {
        padding: 10px;
    }
    
    .pop-up-search-d .bottom-inf-p {
            display: flex;
            align-items: center;
    }
    
    .pop-up-search-d .inf-ab-post {
        line-height: 1.1em;
    }
    
    .pop-up-search-d .author-name {
        font-weight: 500;
    }
    
    .pop-up-search-d .head-prod-inf {
        font-size: 16px;
    }
    
    .doctors-suggestions .short-des {
        font-size: 14px !important;
    }
    
    .doctors-suggestions .name-prod {
        font-size: 16px !important; 
    }
    
}


    @media (max-width: 991px) {
         
         .doctors-suggestions .col-tovar {
            width: calc(50% - 20px);
         }
    }
    
     @media (max-width: 767px) {
         
         .doctors-suggestions .col-tovar {
            width: calc(100%);
         }
         
          
    .bottom-inf-p .add-to-favorites {
        display: flex;
        justify-content: center;
    }
         
         
         .doctor-goods {
             padding: 0;
         }
    }
    
    
    
    .more-doctor-questions {
        display: flex;
    color: #FE3F7A;
    text-decoration: underline;
    margin-top: 20px
    }
    
    
    .prod-content-inf ul li {
        list-style: disc;
    margin-left: 20px;
    }
    
    
    
    
    
    .bottom-inf-p .add-to-favorites {
        display: flex;
        justify-content: flex-start;
    }
    
    
     @media (max-width: 767px) {
         
          
    .bottom-inf-p .add-to-favorites {
        justify-content: center;
    }
    
  .prod-content-inf  .bottom-inf-p .main-btn {
            width: 100%;
    }
         
    }
    
    
    
.blur-background {
  filter: blur(5px);
  pointer-events: none; /* чтобы клик не проходил через размытие */
  user-select: none; /* отключает выделение */
}



#step-instr--popup {
    left: 0;
    display: none;
    width: 100%;
    z-index: 55;
    height: 100%;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    position: fixed;
    top: 5px;
    z-index: 999999999;
}

#afterbuy-popup {
    margin: 15px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    color: #02B5BC !important;
}

#afterbuy-popup:hover {
    cursor: pointer;
}


    
.step-instr--wrapper p, .step-instr--wrapper li, .step-instr--wrapper h5, .step-instr--wrapper h4, .step-instr--wrapper span
    {
                font-family: 'Montserrat', sans-serif !important;
                color: #293A5F !important;
                line-height: 1.2em !important;
    }

    .step-instr--wrapper {
        background-color: #fcfcfc;
        padding: 20px 0 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        border-radius: 25px;
        margin: 15px;
        box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
    }


    .step-instr--hidden {
        display: none;
    }


    #step-instr--close {
        position: absolute;
        right: 20px;
        top: 10px;
        width: 55px;
        z-index: 6;
        background-color: white;
        padding: 5px;
        border-radius: 50%;
       box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }
    
    #step-instr--close:hover {
        cursor: pointer;
    }


       .step-instr {
        background-color: #fe3f7a;
                 padding: 0 0 10px 0;
                 width: 900px;
                 border-radius: 25px;
                 box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
                 margin: 0 20px;
       
    }

    .step-instr--addition {
       width: 900px; padding: 0 10px;
       text-align: left;

    }

    .step-instr--addition h5 {
        font-weight: 600;
        font-size: 18px;
        text-transform: uppercase;
        text-align: center;
    }

       .step-instr--addition ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding-left: 20px;
       }

       .step-instr--addition h5 {
        margin: 20px 0 10px 0;
       }

     .step-instr--addition ul li {
        font-weight: 400;
        font-size: 16px !important;
        line-height: 1.2em !important;
            margin-left: 20px;
    list-style: disc !important;
     }

    .step-instr#step-instr-2 {
        background-color: #02B5BC;
    }

    .step-instr#step-instr-3 {
        background-color: #2457ff;
    }

    .step-instr#step-instr-4 {
        background-color: #c89feb;
    }

    .step-instr--counter {
        background-color: #fe3f7a;
        border-radius: 25px 0 0 0;
        width: 100px;
        display: flex;
        justify-content: center;
        align-items: center;
        color: white;
        z-index: 4;
        margin: 0 -1px -1px 0 !important;
        border-radius: 25px 3px 0 25px;
        position: relative;

    }
    
    .step-instr--counter-long {
        width: 220px;
    }
    
  .step-instr--item-long  .step-instr--content {
padding: 15px 15px 15px 70px;

}

     .step-instr#step-instr-2 .step-instr--counter {
        background-color: #02B5BC;
    }

    .step-instr#step-instr-3 .step-instr--counter {
        background-color: #2457ff;
    }

    .step-instr#step-instr-4 .step-instr--counter {
        background-color: #c89feb;
        width: 180px;
    }

    .step-instr--counter h5 {
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        position: absolute;
        top: 55%;
        left: 60%;
        transform: translate(-50%, -50%);
        margin: 0;
    }

    .step-instr--counter span {
        font-size: 28px;
        color: white !important;
        font-weight: 500;
    }

    .step-instr--counter h5 p {
        font-size: 60px !important;
        margin: 0;
        color: white !important;
    }


 

    .step-instr--item {
        display: flex;
        flex-direction: row;
        gap: 10px;
        background: white;
        border-radius: 25px 25px 10px 25px;
    }

    .step-instr--content {
    position: relative; 
    padding: 15px 15px 15px 70px;
    
}

 .step-instr--content h4,  .step-instr--content p,  .step-instr--content li,  .step-instr--content span {
font-size: 16px !important;
 } 

.step-instr--content::after {
    content: "";
    position: absolute;
    top: 1px;
    left: -10px;
    height: 100%;
    width: 100%;
    background-image: url('https://docma.ru/wp-content/uploads/2026/04/1112.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.step-instr#step-instr-2 .step-instr--content::after {
background-image: url('https://docma.ru/wp-content/uploads/2026/04/tr-green.svg');
}

.step-instr#step-instr-3 .step-instr--content::after {
background-image: url('https://docma.ru/wp-content/uploads/2026/04/tr-blue.svg');
}

.step-instr#step-instr-4 .step-instr--content::after {
background-image: url('https://docma.ru/wp-content/uploads/2026/04/tr-purple.svg');
}


.step-instr--content h4 {
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-instr--content ul {
    margin: 5px 0 10px 0;
}

.step-instr--content ul li {
    line-height: 1.2em;
    list-style: disc !important;
    text-align: left !important;
}

.step-instr--content ul li::marker {
    color: #fe3f7a;
}

.step-instr#step-instr-2 .step-instr--content ul li::marker  {
    color: #02B5BC;
}

.step-instr#step-instr-3 .step-instr--content ul li::marker  {
    color: #2457ff;
}

.step-instr#step-instr-4 .step-instr--content ul li::marker  {
    color: #c89feb
}

.step-instr--content p {
    margin: 0;
    text-align: left !important;
}

.step-instr--imp {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    text-align: left !important;
}

.step-instr--imp img {
    max-width: 20px;
}

  .step-instr--content ul {
        padding-left: 20px;
    }

    .step-instr--help {
        background-color: white;
        border-radius: 15px;
        position: relative;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    }

    .step-instr--help-content {
        background-color: #fcfcfca3;
        z-index: 5;
        margin: -75px 10px 20px 10px;
        margin-top: -70px !important;
        padding: 10px;
        border-radius: 10px;
        box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
    
    }

    .step-instr--help-content ul {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
        gap: 10px;
        margin: 30px 0 0 0;
    }

    .step-instr--help-content li {
        display: flex;
        flex-direction: row;
        gap: 7px;
        font-weight: 500;
        align-items: center;
        font-size: 16px !important;
        text-decoration: underline;
    }
    
    

    .step-instr--help-content li:hover {
        cursor: pointer;
    }


    .step-instr--help-content p {
        margin: 0;
        text-align: center;
        font-weight: 600;
        font-size: 16px !important;
    }

    .step-instr--help-heading {
        background: linear-gradient(to bottom, #fe3f7a, #ffffff);
        color: white !important;
        border-radius: 15px 15px 0 0;
        padding: 10px 10px 80px 10px;
    }

    .step-instr--help-heading h5 {
        margin: 0;
        text-align: center;
        font-weight: 600;
        text-transform: uppercase;
        font-size: 16px;
        color: white !important;
    }
    
        .step-instr--item-long .step-instr--content::after {
        background-image: url(http://docma.ru/wp-content/uploads/2026/05/1112-2.svg) !important;
    }

@media (max-width: 1024px) {
    
    .step-instr--item-long .step-instr--content {
                padding: 8px;
    }
    


     .step-instr--addition ul li {
        font-weight: 400;
        font-size: 14px !important;
     }

    .step-instr--content ul {
        padding-left: 20px;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .step-instr--addition h5 {
        font-size: 16px !important;
    }

    .step-instr--item {
        border-radius: 15px;
        position: relative;
        gap: 5px;
    }

  .step-instr--item::before {
          content: "";
        position: absolute;
        top: -14px;
        left: 20px;
        height: 60px;
        width: 40px;
        background-image: url('https://docma.ru/wp-content/uploads/2026/04/flag.png');
        background-size: contain;
        background-repeat: no-repeat;
    }

       .step-instr#step-instr-2 .step-instr--item::before {
        background-image: url('https://docma.ru/wp-content/uploads/2026/04/flag-2.png');
    }

     .step-instr#step-instr-3 .step-instr--item::before {
        background-image: url('https://docma.ru/wp-content/uploads/2026/04/flag-3.png');
    }

     .step-instr#step-instr-4 .step-instr--item::before {
        background-image: url('https://docma.ru/wp-content/uploads/2026/04/flag-4.png');
    }

    .step-instr {
        border-radius: 15px;
        margin: 0 5px;
        padding: 5px 0 0 0;
        width: 500px;
    }


    .step-instr--addition {
        width: 500px;
        padding: 0 5px;
    }


    

    .step-instr--content {
        padding: 8px;
    }

  

    .step-instr--counter h5 p {
         font-size: 30px !important;
    }

    .step-instr--counter span {
         font-size: 16px !important;
    }

    .step-instr--counter {
        display: none;
    }
   

     .step-instr--content h4,  .step-instr--content p,  .step-instr--content li,  .step-instr--content span {
font-size: 14px !important;
 } 

 .step-instr--content::after {
    display: none;
 }

 .step-instr--counter h5 {
    position: relative;
    top: auto;
    left: auto;
    transform: translate(0, 0);
 }

 .step-instr--content h4 {
    margin-left: 60px;
 }

 .step-instr--imp img {
    max-width: 30px;

 }

 .step-instr--wrapper {
    gap: 20px;
    margin: 5px;
    padding: 10px;
 }


}

@media (max-width: 767px ) {
    
    .step-instr--addition ul {
        padding-left: 0;
    }

        #step-instr--close {
        right: 5px;
        top: 5px;
        width: 45px;
        background-color: white;
        padding: 5px;
        border-radius: 50%;
       box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    }

        .step-instr {
        width: auto;
        max-width: 400px;
    }

    .step-instr--addition {
        width: auto;
        max-width: 400px;
    }
}

