body { font-family: 'Poppins', sans-serif; background-color: #f4f6f9; }
    .navbar { background-color: #ffffff; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
    .nav-link { color: #333 !important; margin-left: 1rem; }
    .nav-link:hover { color: #007bff !important; }
    .cart-item { background: #fff; border-radius: 12px; padding: 15px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); margin-bottom: 20px; }
    .product-img { width: 100%; border-radius: 10px; }
    .total-block { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 2px 6px rgba(0,0,0,0.05); font-weight: bold; font-size: 1.1rem; margin-bottom: 20px; }
    .icon-input { position: relative; }
    .icon-input i { position: absolute; top: 50%; left: 10px; transform: translateY(-50%); color: #888; }
    .icon-input input, .icon-input select, .icon-input textarea {
      padding-left: 35px; border-radius: 8px;
    }
    .btn-primary { border-radius: 8px; font-weight: 600; }
    .remove-btn { border: none; background: transparent; color: #dc3545; font-size: 1.2rem; cursor: pointer; }
    .empty-cart { background: #fff3cd; border: 1px solid #ffeeba; padding: 20px; border-radius: 12px; text-align: center; font-size: 1.1rem; color: #856404; margin-bottom: 20px; }
    footer {
      background-color: #343a40; color: #ccc; padding: 2rem 0; margin-top: 3rem;
    }
    footer a { color: #ccc; text-decoration: none; }
    footer a:hover { color: #fff; }
    .social-icons i {
      font-size: 1.5rem; margin-right: 1rem; transition: color 0.3s;
    }
    .social-icons i:hover { color: #007bff; }
    .btn-joffrey{
        background: #ffc107 !important;
        color: #fff !important;
    }
    .icon-input {
    position: relative;
  }

  .icon-input i.fa-user,
  .icon-input i.fa-phone {
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    color: #6c757d;
  }

  .icon-input input {
    padding-left: 2.5rem;
    padding-right: 2rem;
  }

  .tooltip-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    color: #0d6efd;
    cursor: pointer;
    font-size: 1rem;
  }

  .tooltip-icon .tooltiptext {
    visibility: hidden;
    opacity: 0;
    width: max-content;
    max-width: 300px;
    background-color: #333;
    color: #fff;
    text-align: left;
    padding: 8px 10px;
    border-radius: 5px;
    position: absolute;
    z-index: 1000;
    bottom: 100%; /* 👈 тултип ПЕРЕД элементом */
    right: 0;
    margin-bottom: 8px;
    white-space: normal;
    transition: opacity 0.3s;
    font-size: 0.85rem;
  }

  .tooltip-icon:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
  }
  .icon-input span i{
    left: -15px;
  }
  .icon-input span .toltip{
    left: -45px;
  }
  .filter-block {
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 10px;
  background: #fafafa;
}

.filter-list {
  max-height: 150px; /* ограничение по высоте */
  overflow-y: auto;  /* скролл */
  padding-right: 5px;
}

.filter-list::-webkit-scrollbar {
  width: 6px;
}
.filter-list::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 3px;
}








.product-card {
  
  border: 2px solid transparent;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  /* убрал overflow отсюда! */
}

.product-card:hover {
  border: 2px solid #000000 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.product-img-wrapper {
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* обрезает только картинку */
}

.product-img {
  max-height: 100%;
  max-width: 100%;               /* растягивается в ширину */
  object-fit: contain;           /* сохраняет пропорции */
  transition: transform 0.3s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}

/* Кнопка за рамкой */
.buy-btn {
  position: absolute;
  bottom: -15px;          /* половина кнопки ниже рамки */
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 14px;
  font-size: 14px;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 3;             /* поверх рамки */
}

.product-card:hover .buy-btn {
  opacity: 1;
}

.filter-list .filters_list {
    transition: all 0.3s ease;
}
.filter-list .brend_list {
    transition: all 0.3s ease;
}
.filter-list .filters_type {
    transition: all 0.3s ease;
}
.favorite-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.9);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 10;
    }
    
    .favorite-btn:hover {
        background: white;
        transform: scale(1.1);
    }
    
    .favorite-btn i {
        color: #ccc;
        transition: color 0.3s ease;
    }
    
    .favorite-btn.active i {
        color: #dc3545;
    }
    
      
      .empty-favorites {
          text-align: center;
          padding: 50px 0;
      }
      
      .page-header {
          border-bottom: 2px solid #ffc107 ;
          padding-bottom: 10px;
          margin-bottom: 30px;
       z-index: 9999; 
    }
     #scrollToTopBtn {
            display: none;
            position: fixed;
            bottom: 90px;
            right: 30px;
            z-index: 99;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: #ffc107;
            color: white;
            border: none;
            outline: none;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
        }

        #scrollToTopBtn:hover {
            background-color: #ffc107;
            transform: translateY(-3px);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }
        
.product-gallery-container {
  max-width: 100%;
}

.main-image-wrapper {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 15px;
  background: #fff;
  text-align: center;
}

.main-product-image {
  max-height: 400px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s;
}

.main-product-image:hover {
  transform: scale(1.02);
}

.favorite-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.favorite-btn:hover {
  background: white;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transform: scale(1.1);
}

.favorite-btn i {
  color: #dc3545;
  font-size: 1.2rem;
}

.thumbnail-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-arrow {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-arrow:hover:not(:disabled) {
  background: #e9ecef;
  border-color: #adb5bd;
}

.nav-arrow:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.thumbnails-container {
  flex: 1;
  overflow: hidden;
}

.thumbnails-wrapper {
  display: flex;
  gap: 8px;
  transition: transform 0.3s ease;
}

.thumbnail-item {
  flex: 0 0 calc(25% - 8px);
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.thumbnail-item.active {
  border-color: #dc3545;
}

.thumbnail-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumbnail-img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

 
        .modal-title {
            font-weight: 700;
        }

/* Стили для модального окна */
#imageModal .modal-content {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 10px;
  overflow: hidden;
}

 .read-more {
            color: var(--primary-color);
            font-weight: 500;
            display: inline-block;
            margin-top: 15px;
            cursor: pointer;
        }
.modal-content {
    border: none;
}

       
        
        .meta-box {
            padding: 0;
            margin: 15px 0;
        }
        
        .meta-box li {
            list-style: none;
            margin-bottom: 10px;
        }
        
        .meta-box a {
            color: #666;
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .meta-box a:hover {
            color: var(--primary-color);
        }

#imageModal .modal-header {
  z-index: 10;
}
 
        .modal-header {
            background-color: var(--primary-color);
            color: white;
            border-bottom: none;
            padding: 15px 20px;
        }
#imageModal .btn-close {
  filter: invert(1);
  opacity: 0.8;
  transition: opacity 0.2s;
}

#imageModal .btn-close:hover {
  opacity: 1;
}

.modal-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 2rem;
}

.modal-img {
  max-height: 70vh;
  max-width: 100%;
  object-fit: contain;
}

.modal-nav-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  color: white;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 5;
  margin: 0 15px;
}

.modal-nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.modal-thumbnails {
  background: rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.modal-thumbnails-container {
  overflow-x: auto;
  padding-bottom: 10px;
}

.modal-thumbnails-wrapper {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.modal-thumbnail {
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.modal-thumbnail:hover,
.modal-thumbnail.active {
  opacity: 1;
  border-color: #fff;
}

.modal-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Адаптивность */
@media (max-width: 768px) {
  .thumbnail-item {
    flex: 0 0 calc(33.333% - 8px);
  }
  
  .modal-nav-btn {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 576px) {
  .thumbnail-item {
    flex: 0 0 calc(50% - 8px);
  }
  
  .nav-arrow {
    width: 28px;
    height: 28px;
  }
  
  .modal-image-container {
    min-height: 50vh;
    padding: 1rem;
  }
  
  .modal-nav-btn {
    width: 35px;
    height: 35px;
    margin: 0 10px;
  }
  
  .modal-thumbnail {
    width: 60px;
    height: 60px;
  }
}

/* Скрываем scrollbar для модальных миниатюр */
.modal-thumbnails-container::-webkit-scrollbar {
  height: 5px;
}

.modal-thumbnails-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.modal-thumbnails-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
}

.modal-thumbnails-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
  #mils {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 в ряд на мобилке */
    gap: 8px;
    max-width: 100%;
  }

  #mils .mil-btn {
    height: 40px;
    line-height: 38px;
    font-size: 14px;
    padding: 0;
  }

  /* На больших экранах — 8 в ряд */
  @media (min-width: 992px) {
    #mils {
      grid-template-columns: repeat(8, 1fr);
      max-width: 560px; /* 8*70px примерно */
      margin-left: 0;
    }
  }

  #mils .mil-btn.active {
    background:#ffc107;
    color:#fff;
    border-color:#000;
  }
    .qty-btn {
    border: 1px solid ; /* красная рамка */
    transition: background 0.2s, color 0.2s;
  }
  .qty-btn:hover {
    /* background-color: #4ea97d !important; красный фон */
    background-color: #ffc107 !important; /* красный фон */
    color: #fff !important; /* белый текст */
    /* border-color: #4ea97d !important; */
    border-color: #ffc107 !important;
  }
  .qty-btn-minus:hover {
    /* background-color: #f60026 !important; красный фон */
    background-color: #ffc107 !important; /* красный фон */
    color: #fff !important; /* белый текст */
    border-color: #ffc107 !important;
    /* border-color: #f60026 !important; */
  }
  .qty-btn-plus:hover {
    background-color: #ffc107 !important; /* красный фон */
    /* background-color: #4ea97d !important; красный фон */
    color: #fff !important; /* белый текст */
    border-color: #ffc107 !important;
    /* border-color: #4ea97d !important; */
  }
      /* Fullscreen video section */
    .video-hero {
      position: relative;
      width: 100%;
      height: 100vh;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .video-background {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 100%;
      height: 100%;
      object-fit: cover;
      transform: translate(-50%, -50%);
      z-index: 1;
    }
    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 2;
    }
    .video-content {
      position: relative;
      z-index: 3;
      text-align: center;
      color: white;
      padding: 0 20px;
      max-width: 800px;
    }
    .video-content h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 1rem;
      text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    }
    .video-content p {
      font-size: 1.2rem;
      margin-bottom: 2rem;
    } 
    
.cart-table-personalView {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-table-personalView table {
    margin-bottom: 0;
    width: 100%;
}


.cart-table-personalView thead th {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

.cart-table-personalView tfoot td {
    background-color: var(--primary-color);
    color: #000;
    border: none;
    padding: 15px;
    font-weight: 600;
    text-align: center;
}

.cart-table-personalView tbody td {
    padding: 20px 15px;
    vertical-align: middle;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.cart-table-personalView tbody tr:last-child td {
    border-bottom: none;
}

.product-thumbnail img {
    border-radius: 8px;
    max-height: 100px;
    object-fit: contain;
}

.joffrey-background{
    background: #ffc107;
}

@media (max-width: 768px) {
    .cart-table-personalView {
        overflow-x: auto;
    }
    
    .cart-table-personalView table {
        min-width: 600px;
    }
    
    .cart-table-personalView thead th {
        padding: 12px 10px;
        font-size: 0.9rem;
    }

    .cart-table-personalView tfoor th {
        padding: 12px 10px;
        font-size: 0.9rem;
    }
    
    
    .cart-table-personalView tfoot td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
}

 .hero-section-about {
            background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1595425970377-2f8ded7c7b19?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            margin-bottom: 50px;
            border-radius: 10px;
            text-align: center;
        }
        
        .content-block-about {
            background: white;
            border-radius: 10px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }
        .image-placeholder-about {
            height: 300px;
            background-color: #f0f0f0;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 20px;
            overflow: hidden;
        }
        
        .image-placeholder-about img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .fon_about {
            display: block;
            background-color: var(--primary-color);
            padding: 12px 20px;
            border-radius: 5px;
            margin: 25px 0 15px;
            font-weight: bold;
        }

        .value-card-about {
            text-align: center;
            padding: 30px 20px;
            border-radius: 10px;
            transition: transform 0.3s;
            height: 100%;
            background: white;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 20px;
        }
        
        .value-card-about:hover {
            transform: translateY(-10px);
        }
        .value-icon-about {
            font-size: 2.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        .stat-number-about {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--primary-color);
        }
        
        .stat-label-about {
            font-size: 1.1rem;
            color: var(--light-text);
        }
         .m-b-15{
            margin-bottom: 15px;
        }
         .placeholder-image-blog {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(45deg, #f8f3e6, #e6d9c3);
            color: var(--primary-color);
            font-size: 20px;
            font-weight: bold;
        }
        .blog-modal-img {
            width: 100%;
            border-radius: 10px;
            margin-bottom: 20px;
            max-height: 300px;
            object-fit: cover;
        }
         .modal-body {
            padding: 25px;
            max-height: 60vh;
            overflow-y: auto;
        }
        
        .modal-footer {
            border-top: 1px solid #eee;
            padding: 15px 25px;
        }
        
        .blog-content {
            padding: 25px;
        }
        
        .blog-content h4 a {
            color: var(--dark-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        
        .blog-content h4 a:hover {
            color: var(--primary-color);
        }
        
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .blog-content {
                padding: 20px;
            }
        }
        
        @media (max-width: 768px) {
            
            .blog-content {
                padding: 15px;
            }
            
            .modal-body {
                padding: 20px;
            }
        }
         .single-blog {
            background: white;
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            height: 100%;
            cursor: pointer;
        }
        
        .single-blog:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        }
         .blog-img {
            position: relative;
            overflow: hidden;
            height: 250px;
            background-color: var(--secondary-color);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .blog-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .single-blog:hover .blog-img img {
            transform: scale(1.05);
        }
        .blog-text-preview {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .blog-item {
            animation: fadeInUp 0.6s ease forwards;
            opacity: 0;
        }
        
        .blog-item:nth-child(1) { animation-delay: 0.1s; }
        .blog-item:nth-child(2) { animation-delay: 0.2s; }
        .blog-item:nth-child(3) { animation-delay: 0.3s; }
        .blog-item:nth-child(4) { animation-delay: 0.4s; }
        
           .entry-meta-blog {
            position: absolute;
            top: 15px;
            left: 15px;
            background: var(--primary-color);
            color: white;
            padding: 10px;
            border-radius: 5px;
            text-align: center;
            width: 60px;
        }
        
        .entry-meta-blog p {
            font-size: 22px;
            font-weight: bold;
            margin: 0;
            line-height: 1;
        }
        
        .entry-meta-blog span {
            font-size: 14px;
            text-transform: uppercase;
        }
        .benefits-list {
            list-style: none;
            padding: 0;
            margin-top: 20px;
        }
        
        .benefits-list li {
            margin-bottom: 15px;
            display: flex;
            align-items: center;
        }
        
        .benefits-list i {
            color: var(--accent-color);
            margin-right: 10px;
            font-size: 1.2rem;
        }


         .login-image {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://joffrey.am/images_list/5f523ed373715/5f523ed373754Joffrey%20Reklam%D5%B4%D5%B4%D5%B4%D5%B4%203%20%D5%84%D4%B3%D4%B1.png');
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            padding: 30px;
        }

          
        .login-details a {
            color: var(--primary-color);
            text-decoration: none;
            transition: all 0.3s;
        }
        
        .login-details a:hover {
            color: var(--accent-color);
            text-decoration: underline;
        }



            .password-toggle {
            position: relative;
        }
        
        .password-toggle-icon {
            position: absolute;
            right: 15px;
            top: 50%;
            transform: translateY(-50%);
            cursor: pointer;
            color: var(--light-text);
        }
       .login-header {
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 30px;
            position: relative;
            padding-bottom: 15px;
        }
        
        .login-header:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
        }
        
        .login-form {
            background: white;
            border-radius: 10px;
            padding: 40px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border-color);
        }
         #privacyError {
            position: absolute;
            bottom: -20px;
            left: 0;
        }
        .login-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 30px;
            border-radius: 5px;
            font-weight: 600;
            transition: all 0.3s;
        }
        
        .login-btn:hover {
            background-color: var(--accent-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
           
        .form-check-label a {
            color: var(--primary-color);
            text-decoration: none;
        }
         .register-form {
            background: white;
            border-radius: 10px;
            padding: 40px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
            border: 1px solid var(--border-color);
        }

         
        @media (max-width: 992px) {
            .register-image {
                height: 300px;
                margin-bottom: 30px;
            }
            
            .register-form {
                padding: 25px;
            }
        }
        .register-form-personal {
            background: var(--light-bg);
            border-radius: 10px;
            padding: 25px;
        }
        .register-image {
            background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://joffrey.am/images_list/5f523ed373715/5f523ed373754Joffrey%20Reklam%D5%B4%D5%B4%D5%B4%D5%B4%203%20%D5%84%D4%B3%D4%B1.png');
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-align: center;
            padding: 30px;
        }
        .to-72{
              top: 72% !important;
        }
        .password-strength {
            height: 5px;
            margin-top: 5px;
            border-radius: 5px;
            background-color: #eee;
        }
        
        .password-strength-bar {
            height: 100%;
            border-radius: 5px;
            width: 0;
            transition: width 0.3s;
        }
        .error-message {
            color: #dc3545;
            font-size: 0.875rem;
            margin-top: 5px;
            display: none;
        }
        /* .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        } */
         .p-l-2-em{
            padding-left: 2em !important;
         }
        /* About Section */
        .about-section {
            background: var(--secondary);
        }
          .about-image {
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            transition: transform 0.5s ease;
        }
        
        .about-image:hover img {
            transform: scale(1.05);
        }
         .feature-item {
            background: var(--light);
            padding: 25px;
            border-radius: 15px;
            margin-bottom: 25px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: var(--transition);
        }
        
        .feature-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        }
        .section-title-home {
            text-align: center;
            margin-bottom: 60px;
        }
        
        .section-title-home h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }
        
        .section-title-home h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background: var(--gold);
        }
        
        .section-title-home p {
            color: #666;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 20px auto 0;
        }
        /* Categories Section */
        .category-card-home {
            position: relative;
            height: 350px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            transition: var(--transition);
        }
        
        .category-card-home:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0,0,0,0.2);
        }
         @media (max-width: 768px) {
            .section-title-home h2 {
                font-size: 2rem;
            }
            .category-card-home {
                height: 280px;
                margin-bottom: 20px;
            }
        }
         .category-img-home {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .category-overlay-home {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 30px;
            background: linear-gradient(transparent, rgba(0,0,0,0.8));
            color: var(--light);
        }
        .feature-icon-home {
            background: var(--primary);
            color: var(--light);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            margin-bottom: 15px;
        }

        .section-home {
            padding: 20px 0;
        }
        .d-single-info {
            padding: 15px;
            border-right: 1px solid var(--border-color);
            height: 100%;
        }
        .d-single-info:last-child {
            border-right: none;
        }
        
.dashboard-upper-info {
            background: white;
            border-radius: 10px;
            padding: 25px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            margin-bottom: 30px;
        }
        @media (max-width: 992px) {
            .d-single-info {
                border-right: none;
                border-bottom: 1px solid var(--border-color);
                text-align: center;
            }
            
            .d-single-info:last-child {
                border-bottom: none;
            }
             .dashboard-list {
                margin-bottom: 20px;
            }
            
        }
         @media (max-width: 768px) {
          .dashboard-upper-info .row > div {
                margin-bottom: 15px;
            }

            .d-single-info {
                border-right: none;
                border-bottom: 1px solid var(--border-color);
            }
            
            .d-single-info:last-child {
                border-bottom: none;
            }
        }

         .dashboard-list {
            background: white;
            border-radius: 10px;
            padding: 20px 0;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            height: fit-content;
        }
        
        .dashboard-list .nav-link {
            padding: 12px 20px;
            color: var(--text-color);
            border-left: 3px solid transparent;
            transition: all 0.3s;
        }
        
        .dashboard-list .nav-link:hover,
        .dashboard-list .nav-link.active {
            background-color: var(--light-bg);
            color: var(--primary-color);
            border-left-color: var(--primary-color);
        }

        .user-name-personal {
            font-weight: 600;
            color: var(--primary-color);
            font-size: 1.2rem;
            margin-bottom: 5px;
        }
        
        .user-name-personal span {
            color: var(--text-color);
        }
         .log-out-personal {
            color: #dc3545;
            text-decoration: none;
        }
        
        .log-out-personal:hover {
            text-decoration: underline;
        }
        .view-cart-personal {
            background-color: var(--primary-color);
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s;
        }
        
        .view-cart-personal:hover {
            background-color: var(--accent-color);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        }
        .dashboard-content-personal {
            background: white;
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .dashboard-content-personal h3 {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid var(--light-bg);
        }


        
        .status-badge {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 500;
        }
        
        .status-new {
            background-color: #e8f5e9;
            color: #2e7d32;
        }
        
        .status-processing {
            background-color: #e3f2fd;
            color: #1565c0;
        }
        
        .status-completed {
            background-color: #f1f8e9;
            color: #558b2f;
        }
        
        .status-cancelled {
            background-color: #ffebee;
            color: #c62828;
        }
        .table-responsive-personal {
            border-radius: 8px;
            overflow: hidden;
        }
        .table-personal th {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 15px;
        }
        
        .table-personal td {
            padding: 12px 15px;
            vertical-align: middle;
        }



        










        /* Стили для cookies баннера */
#cookie-banner {
    font-family: 'Arial', sans-serif;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
}

.cookie-text p {
    margin: 0;
    color: #333;
    font-size: 14px;
}

.cookie-text a {
    color: #8a6d3b;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
        min-width: auto;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

/* Стили для кнопок */
.btn-primary-cookie {
    background-color: #8a6d3b;
    border-color: #8a6d3b;
}

.btn-primary-cookie:hover {
    background-color: #6b5228;
    border-color: #6b5228;
}

.btn-outline-secondary-cookie {
    border-color: #8a6d3b;
    color: #8a6d3b;
}

.btn-outline-secondary-cookie:hover {
    background-color: #8a6d3b;
    color: white;
}


.text-gold {
    color: #d4af37 !important;
}

.bg-dark {
    background: #1a1a1a !important;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #d4af37;
    color: #000 !important;
    transform: translateY(-3px);
}

.quick-links a {
    transition: all 0.3s ease;
    text-decoration: none;
}

.quick-links a:hover {
    color: #d4af37 !important;
    padding-left: 5px;
}

.newsletter {
    background: linear-gradient(135deg, #f8f3e6 0%, #ffffff 100%) !important;
}

.btn-warning {
    background: #d4af37;
    border: none;
    color: #000;
    font-weight: 600;
}

.btn-warning:hover {
    background: #b8941f;
    color: #000;
}

@media (max-width: 768px) {
    .newsletter .input-group {
        flex-direction: column;
    }
    
    .newsletter .input-group input {
        margin-bottom: 10px;
        border-radius: 5px !important;
    }
    
    .newsletter .input-group button {
        border-radius: 5px !important;
        width: 100%;
    }
}
.address-list {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .address-list p {
            margin-bottom: 10px;
            padding-left: 15px;
            position: relative;
        }
        
        .address-list p:before {
            content: "•";
            position: absolute;
            left: 0;
            color: var(--primary-color);
        }
         .socials-outer-wrapper {
            background: white;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .socials-item {
            padding: 20px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s ease;
        }
        
        .socials-item:last-child {
            border-bottom: none;
        }
        
        .socials-item:hover {
            background-color: var(--secondary-color);
        }
        
        .socials-item-icon {
            width: 50px;
            height: 50px;
            background: var(--secondary-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .socials-item-icon svg {
            fill: var(--primary-color);
        }
        
        .socials-item-title {
            font-weight: 700;
            color: var(--dark-color);
            display: block;
            margin-bottom: 5px;
        }
        
        .socials-item-text {
            color: #666;
            display: block;
            margin-bottom: 10px;
        }
        
        .socials-item-link {
            color: var(--primary-color);
            font-weight: 500;
            display: block;
            margin-bottom: 10px;
        }
        
        .socials-item-messengers {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .socials-item-messengers a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--secondary-color);
            transition: all 0.3s ease;
        }
        
        .socials-item-messengers a:hover {
            background: var(--primary-color);
            transform: translateY(-3px);
        }
        
        .socials-item-messengers img {
            width: 20px;
            height: 20px;
        }

         /* Адаптивность */
        @media (max-width: 992px) {
            .socials-item {
                padding: 15px;
            }
            
            .socials-item-icon {
                width: 40px;
                height: 40px;
                margin-right: 10px;
            }
            .f-z-icon-menu i{
                font-size: 20px;
                margin-top: 8px;
            }
        }
        
        @media (max-width: 768px) {
            .address-list, .socials-outer-wrapper, .contact-form {
                padding: 20px;
            }
            
            .socials-item {
                flex-direction: column;
                text-align: center;
            }
            
            .socials-item-icon {
                margin-right: 0;
                margin-bottom: 10px;
            }
            
            .socials-item-messengers {
                justify-content: center;
            }
            .f-z-icon-menu i{
                font-size: 20px;
                margin-top: 8px;
            }
        }
        /* .f-z-icon-menu i{
            font-size: 16px;
        } */
         .after_add img {
            margin-bottom: 15px;
        }
        
        .after_add b {
            display: block;
            margin-bottom: 10px;
            color: var(--primary-color);
        }
          .contact-form {
            background: white;
            padding: 25px;
            border-radius: 10px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
         .input__field {
            width: 100%;
            border: 1px solid #ddd;
            padding: 15px;
            border-radius: 5px;
            font-size: 16px;
            transition: all 0.3s ease;
        }
        
        .input__field:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(138, 109, 59, 0.25);
            outline: none;
        }
        
        .input__label {
            position: absolute;
            top: 15px;
            left: 15px;
            color: #999;
            pointer-events: none;
            transition: all 0.3s ease;
        }
        
        .input__field:focus ~ .input__label,
        .input__field:not(:placeholder-shown) ~ .input__label {
            top: -10px;
            left: 10px;
            font-size: 12px;
            background: white;
            padding: 0 5px;
            color: var(--primary-color);
        }
        
.sotrudnik_text {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

.frlding {
    text-align: center;
    margin: 15px 0;
}

.dobrro {
    display: block;
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 15px;
}

.p_popup_result {
    text-align: center;
    padding: 20px;
}


.contacts-callback-modal-header {
    background: var(--primary-color);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px 10px 0 0;
}

.contacts-callback-modal-icon {
    margin-bottom: 10px;
}

.contacts-callback-modal-icon svg {
    fill: white;
    width: 40px;
    height: 40px;
}

.contacts-callback-modal-title {
    font-size: 20px;
    font-weight: 700;
}

.call_pop_bottom {
    padding: 20px;
}
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}
.m-r-0{
    margin-right: 0 !important;
}

        