
@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";

body {
    font-family: 'Poppins', sans-serif;
    background: #ffffff;
}

h1 {
    color: #0dcaf0;
}

p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #000;
}

a,
a:hover,
a:focus {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s;
}

.navbar .black-separator {
    margin: 0px 0px 15px 0px;
    padding: 0px 0px 15px 0px;
    background-color: white;
    border-bottom: 2px solid black;
}

.navbar.custom-white .navbar-brand,
.navbar.custom-white .navbar-nav .nav-link {
    color: black !important;
}

.nav-link {
    color: black !important;
}

.navbar.custom-white .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.5)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 0;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none; /* Дополнительно убираем тень, если есть */
}

.navbar-toggler-icon {
    display: none; /* Скрываем стандартный значок */
}

.navbar-toggler::before {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 5px 0;
    box-shadow: 0 7px 0 black, 0 14px 0 black;
}


.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}


.cart-icon {
    position: relative;
    color: #333;
    font-size: 20px;
    text-decoration: none;
}

.cart-count {
    position: absolute;
    top: -10px;
    background-color: #eeeeee;
    color: #0dcaf0;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
}

                .notification {
                    padding: 10px;
                    margin: 10px 0;
                    border-radius: 4px;
                    font-size: 14px;
                    transition: all 0.3s ease;
                }
                .notification.error {
                    background-color: #ffebee;
                    color: #c62828;
                    border: 1px solid #ef9a9a;
                }
                .notification.success {
                    background-color: #e8f5e9;
                    color: #2e7d32;
                    border: 1px solid #a5d6a7;
                }
                .send-mail, .code {
                    background-color: #4CAF50;
                    color: white;
                    border: none;
                    padding: 8px 16px;
                    text-align: center;
                    text-decoration: none;
                    display: inline-block;
                    font-size: 14px;
                    margin: 4px 2px;
                    cursor: pointer;
                    border-radius: 4px;
                    transition: background-color 0.3s;
                }
                .send-mail:hover, .code:hover {
                    background-color: #45a049;
                }
                .send-mail:disabled, .code:disabled {
                    background-color: #cccccc;
                    cursor: not-allowed;
                }
                input[type="email"], input[type="text"] {
                    padding: 8px;
                    margin: 4px 0;
                    border: 1px solid #ddd;
                    border-radius: 4px;
                    font-size: 14px;
                    width: 250px;
                }
                .email-sent-message {
                    color: #4CAF50;
                    font-size: 14px;
                    margin-top: 5px;
                    display: flex;
                    align-items: center;
                }
                .email-sent-message i {
                    margin-right: 5px;
                }
                /* Shown once a code has been sent: the second most common support
                   question after "it never arrived" is that it arrived in spam.
                   --ds-* tokens carry a fallback because selfie-styles.css, where
                   they are defined, is not loaded on every page that uses this. */
                .email-spam-tip {
                    color: var(--ds-mute, #6B7785);
                    font-size: 12px;
                    line-height: 1.4;
                    margin-top: 4px;
                    max-width: 260px;
                }
                .email-spam-tip b {
                    color: var(--ds-ink-2, #2C3E50);
                    font-weight: 600;
                }
                .clear-cart-btn {
                    background-color: white;
                    color: #f44336;
                    border: 1px solid #f44336;
                    padding: 8px 16px;
                    text-align: center;
                    text-decoration: none;

                    font-size: 14px;
                    margin: 4px 2px;
                    cursor: pointer;
                    border-radius: 4px;
                    transition: background-color 0.3s;
                }
                .clear-cart-btn:hover {
                    background-color: #d32f2f;
                }

/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

#sidebar {
    width: 300px;
    position: fixed;
    top: 0;
    right: -300px;
    height: 100vh;
    z-index: 999;
    background: #ffffff;
    color: #000000;
    transition: all 0.3s;
    overflow-y: scroll;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

#sidebar.active {
    right: 0;
}

#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #5CCCCC; /* Приоритет mystyle: #5CCCCC */
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

#dismiss:hover {
    background: #fff;
    color: #009999;
}

.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.overlay.active {
    display: block;
    opacity: 1;
}

#sidebar .sidebar-header {
    padding: 20px;
    background: #000000; /* Приоритет mystyle: #A65F00 */
    color: #ffffff;
}

#sidebar ul.components {
    padding: 20px 0;
    border-bottom: 1px solid #47748b;
}

#sidebar ul p {
    color: #000000;
    padding: 10px;
}

#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
}

#sidebar ul li label {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 1.0em; /* Приоритет mystyle: 1.0em */
    display: block;
}

#sidebar ul form {
    padding-left: 5px;
    padding-right: 15px;
    font-size: 1.0em; /* Приоритет mystyle: 1.0em */
    display: block;
}

#sidebar ul p {
    padding-left: 5px;
    padding-right: 5px;
    font-size: 1.0em; /* Приоритет mystyle: 1.0em */
    display: block;
}

#sidebar ul input {
    padding-right: 15px;
    font-size: 1.0em; /* Приоритет mystyle: 1.0em */
    display: block;
}

#sidebar ul li a:hover {
    color: #009999; /* Приоритет mystyle: #009999 */
    background: #fff;
}

#sidebar .dropdown-menu {
    width: 95%;
}

a[data-toggle="collapse"] {
    position: relative;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.article,
a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}

/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
/* Общие стили для контента */

.content-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 колонка по умолчанию (мобильная версия) */
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.content-image {
    max-width: 100%;
    height: auto;
    display: block;
}

button.send-mail {
    background-color: #0dcaf0;
    color: white;
    padding: 5px 20px;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-size: 14px;
  }

  button.send-mail:hover {
  background-color: #333;
}


button.code {
    background-color: #0dcaf0;
    color: white;
    padding: 5px 20px;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-size: 14px;
  }

  button.code:hover {
  background-color: #333;
}


button.buy, button.upload {
    background-color: black;
    color: white;
    padding: 5px 20px;
    border: none;
    border-radius: 1px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
  }



.main-btn{
    font-weight: 500;
/*    font-size: 14px; */
    color: #fff;
    border-radius: 5px;
/*    background: #000; */
    height: 40px;
    margin:30px auto;
/*    padding:0 40px;*/
    border: none;
    border-bottom: 3px solid #fff;
    text-align: center;
    display: block;
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    cursor: pointer;
}

.main-btn:hover{
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    -o-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
    background-image: -webkit-;

}
.custom-btn {
    position: relative;
    overflow: hidden;
   -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
}

.custom-btn:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: #ffffff;
    opacity: 0;
    z-index: 1;
    -webkit-transition: ease 0.3s;
    transition: ease 0.3s;
}

.custom-btn:after {
    content: "";
    display: block;
    width: 70px;
    height: 300px;
    margin-left: 60px;
    background: #fff;
    position: absolute;
    opacity: 10%;
    left: -40px;
    top: -150px;
    z-index: 1;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-animation-name: slideme;
    animation-name: slideme;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-delay: 0.05s;
    animation-delay: 0.05s;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

@-webkit-keyframes slideme { 0% { left: -30px; margin-left: 0px; }
  30% { left: 110%; margin-left: 80px; }
  100% { left: 110%; margin-left: 80px; } }

/* The gloss that sweeps across the pay button. It was declared only as
   @-webkit-keyframes, which ties the whole effect to a vendor-prefixed at-rule;
   the standard one below is identical, so nothing changes where the prefixed
   version already worked. Keep both - `animation-name: slideme` above is
   written unprefixed as well as prefixed. */
@keyframes slideme { 0% { left: -30px; margin-left: 0px; }
  30% { left: 110%; margin-left: 80px; }
  100% { left: 110%; margin-left: 80px; } }



/* Desktop */
@media (min-width: 768px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 column on desktop */
    }

    .header-left, .header-right {
        grid-column: 1 / -1; /* all width */
    }

    .header-left-2, .header-right-2 {
        grid-column: 1 / -1;
    }

    .content-left, .content-right {
        grid-column: auto; /* back to standard view */
    }
    .content-left-2, .content-right-2 {
        grid-column: auto;
    }
}

.content-grid > div {
    padding: 10px; /* Добавляем отступы для лучшей читаемости */
    box-sizing: border-box; /* Учитываем отступы при расчете ширины */
}

.content-grid p {
    width: 100%; /* Гарантируем, что параграфы занимают всю ширину */
    box-sizing: border-box;
}

.content-grid img {
    max-width: 100%; /* Максимальная ширина изображения - 100% от родительского контейнера */
    height: auto;
    display: block;
}


#content {
    width: 100%;
    padding: 20px;
    min-height: 100vh;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    right: 0;
}

input {
    margin-bottom: 5px;
  }

#sidebarCollapse span {
    color: #fff;
}

#sidebarCollapse i {
    color: #fff;
}

/* Nav */

/* Стили для topnav */
.navbar {
    width: 100%; /* Убедитесь, что navbar занимает всю ширину */
}

.navbar .container-fluid {
    padding-left: 15px; /* Стандартные отступы Bootstrap */
    padding-right: 15px;
}

@media (min-width: 768px) {
    .navbar .container-fluid {
        padding-left: 30px; /* Увеличиваем отступы на десктопе, если нужно */
        padding-right: 30px;
    }
}

.navbar-nav {
    justify-content: end;
    width: 100%;
}


.footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e7e7e7;
}

.footer a {
    color: #495057;
}

.footer a:hover {
    color: #0d6efd;
}

.footer h5 {
    margin-bottom: 1rem;
    font-weight: 600;
}


  .rounded-td {
    border-collapse: unset;
    border-spacing: 10px;
    width: 200px;
    height: 150px;
    padding: 20px;
    text-align: center;
    border: 2px dashed #0dcaf0;
    border-radius: 7px;
    background-color: #fafafa;
    color: grey;
  }

@media (max-width: 768px) {

    .file-upload {
      display: flex;
      flex-direction: column; /* Изменяем направление flex на колонку */
      align-items: stretch; /* Растягиваем элементы по ширине */
      justify-content: center;

    }
    .drop-area {
      order: 3;
      margin-bottom: 20px;
      width: 100%;
      box-sizing: border-box;
    }


    .drop-area button {
      width: 100%;
      box-sizing: border-box;
    }

    .dragDrop {
        margin: 0 auto; /* Центрируем таблицу */
        border-collapse: separate; /* Добавляем separate */
        border-spacing: 10px; /* Добавляем border-spacing */
        width: 90%;
    }

        .rounded-td {
        width: 100%;
        /*  height: auto; */
        min-height: 150px;
        min-width: auto;
    }



  .product {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .header-left, .header-right {
        grid-column: 1 / -1;
        padding: 0 !important;
  }

  .header-left-2, .header-right-2 {
        grid-column: 1 / -1;
        padding: 0 !important;
  }

}

