
/* Breadcrumbs */
.breadcrumbs {
  background-color: #f9f1ea;
  padding: 1rem 0;
  border-bottom: 1px solid #f3d3b4;
}
/* ========================================
   СООБЩЕНИЯ / ALERTS
   ======================================== */

.messages-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: 12px;
    border-left: 4px solid;
    background: white;
    box-shadow: 0 4px 20px rgba(30, 27, 23, 0.12);
    animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 60px;
}

@keyframes slideInRight {
    from {
        transform: translateX(450px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.alert-message {
    flex: 1;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #1E1B17;
}

.alert-close {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 6px;
    opacity: 0.5;
    transition: all 0.2s ease;
    flex-shrink: 0;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.alert-close:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.05);
}

/* Типы сообщений */
.alert-success {
    border-left-color: #10b981;
    background: linear-gradient(to right, #ecfdf5 0%, #ffffff 100%);
}

.alert-success .alert-icon {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.alert-error {
    border-left-color: #ef4444;
    background: linear-gradient(to right, #fef2f2 0%, #ffffff 100%);
}

.alert-error .alert-icon {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.alert-warning {
    border-left-color: #f59e0b;
    background: linear-gradient(to right, #fffbeb 0%, #ffffff 100%);
}

.alert-warning .alert-icon {
    color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.alert-info {
    border-left-color: #3b82f6;
    background: linear-gradient(to right, #eff6ff 0%, #ffffff 100%);
}

.alert-info .alert-icon {
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Автоматическое исчезновение */
.alert-dismissible {
    animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
               fadeOut 0.4s ease-out 4.6s forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(450px);
    }
}

/* Эффект при удалении вручную */
.alert.removing {
    animation: fadeOut 0.3s ease-out forwards;
}

/* Адаптивность */
@media (max-width: 768px) {
    .messages-container {
        top: 70px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
    
    .alert {
        padding: 14px 16px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .alert-icon {
        font-size: 20px;
        width: 24px;
        height: 24px;
    }
    
    .alert-message {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .messages-container {
        top: 60px;
        right: 8px;
        left: 8px;
    }
    
    .alert {
        padding: 12px 14px;
        border-radius: 8px;
        min-height: 52px;
    }
    
    .alert-icon {
        font-size: 18px;
        width: 22px;
        height: 22px;
    }
    
    .alert-message {
        font-size: 12px;
    }
    
    .alert-close {
        width: 24px;
        height: 24px;
        padding: 4px;
    }
}

/* Дополнительные улучшения */
.alert {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Hover эффект для всего alert */
.alert:hover {
    box-shadow: 0 6px 25px rgba(30, 27, 23, 0.18);
    transform: translateY(-2px);
    transition: all 0.2s ease;
}

/* Стиль для мультиплицирования сообщений */
.messages-container .alert:nth-child(1) {
    z-index: 3;
}

.messages-container .alert:nth-child(2) {
    z-index: 2;
}

.messages-container .alert:nth-child(3) {
    z-index: 1;
}

/* Анимация появления для множественных алертов */
.messages-container .alert:nth-child(2) {
    animation-delay: 0.1s;
}

.messages-container .alert:nth-child(3) {
    animation-delay: 0.2s;
}
.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: ">";
  margin-left: 0.5rem;
  color: #666;
}

.breadcrumb-link {
  color: #1e1b17;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #3c332c;
}

.breadcrumb-item.active {
  color: #666;
}

/* Product Page Layout */
.product-page {
  padding: 2rem 0;
}

/* ============================================
   УЛУЧШЕННАЯ ГАЛЕРЕЯ ТОВАРА
   ============================================ */

/* Product Overview - двухколоночный layout */
.product-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
  align-items: start;
}

/* Product Gallery */
.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 2rem;
}

.main-image {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f9f1ea 100%);
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 
    0 10px 40px rgba(30, 27, 23, 0.1),
    0 2px 10px rgba(30, 27, 23, 0.05);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 211, 180, 0.5);
}

.product-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.25rem;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Overlay эффект при наведении */
.image-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 60%,
    rgba(30, 27, 23, 0.03) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  cursor: zoom-in;
  border-radius: 1.25rem;
}

.main-image:hover .image-zoom-overlay {
  opacity: 1;
}

/* Иконка увеличения */
.main-image::after {
  content: '';
  position: absolute;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: all 0.3s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231E1B17' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7'/%3E%3C/svg%3E");
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
}

.main-image:hover::after {
  opacity: 1;
  transform: scale(1.1);
}

/* Thumbnail Gallery */
.thumbnail-gallery {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: #f3d3b4 transparent;
}

.thumbnail-gallery::-webkit-scrollbar {
  height: 6px;
}

.thumbnail-gallery::-webkit-scrollbar-track {
  background: transparent;
}

.thumbnail-gallery::-webkit-scrollbar-thumb {
  background: #f3d3b4;
  border-radius: 3px;
}

.thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-radius: 0.75rem;
  overflow: hidden;
  background: white;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

.thumbnail::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 0.625rem;
  background: rgba(30, 27, 23, 0);
  transition: background 0.3s ease;
  z-index: 1;
}

.thumbnail:hover::before {
  background: rgba(30, 27, 23, 0.05);
}

.thumbnail:hover {
  border-color: #3c332c;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30, 27, 23, 0.15);
}

.thumbnail.active {
  border-color: #1e1b17;
  box-shadow: 
    0 0 0 3px rgba(30, 27, 23, 0.1),
    0 6px 20px rgba(30, 27, 23, 0.15);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.thumbnail:hover img {
  transform: scale(1.1);
}

/* ============================================
   PRODUCT INFO
   ============================================ */

.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-header {
  border-bottom: 1px solid #f3d3b4;
  padding-bottom: 1rem;
}

.product-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1e1b17;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-rating .stars {
  display: flex;
  gap: 0.125rem;
}

.product-rating .stars i {
  color: #fbbf24;
  font-size: 1rem;
}

.rating-text {
  color: #666;
  font-size: 0.875rem;
}

.product-sku {
  color: #666;
  font-size: 0.875rem;
}

/* Product Price */
.product-price {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.current-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e1b17;
}

.old-price {
  font-size: 1.5rem;
  color: #999;
  text-decoration: line-through;
}

.discount-badge {
  background-color: #e74c3c;
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Product Availability */
.product-availability {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: #f0f9ff;
  border-radius: 0.5rem;
  border-left: 4px solid #22c55e;
}

.availability-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.availability-status.in-stock {
  color: #22c55e;
}

.availability-status.out-of-stock {
  color: #e74c3c;
}

.stock-info {
  color: #666;
  font-size: 0.875rem;
}

/* Product Features */
.product-features {
  background-color: #f9f1ea;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.features-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.features-list li:last-child {
  margin-bottom: 0;
}

.features-list i {
  color: #22c55e;
  font-size: 0.75rem;
}

/* Product Options */
.product-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.option-label {
  font-weight: 600;
  color: #1e1b17;
}

.color-options {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.color-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 2px solid #f3d3b4;
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
}

.color-option:hover,
.color-option.active {
  border-color: #1e1b17;
  background-color: #f9f1ea;
}

.color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ddd;
}

.color-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 2px solid #f3d3b4;
  border-radius: 0.5rem;
  overflow: hidden;
  width: fit-content;
}

.quantity-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: white;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.quantity-btn:hover {
  background-color: #f3d3b4;
}

.quantity-input {
  width: 60px;
  height: 44px;
  border: none;
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  background: white;
}

.quantity-input:focus {
  outline: none;
  background-color: #f9f1ea;
}

/* Product Actions */
.product-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.btn-icon {
  width: 48px;
  height: 48px;
  border: 2px solid #f3d3b4;
  border-radius: 0.5rem;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-icon:hover {
  border-color: #1e1b17;
  background-color: #f9f1ea;
}

.btn-icon i {
  font-size: 1.25rem;
  color: #1e1b17;
}

.wishlist-btn.active i {
  color: #e74c3c;
}

/* Buttons */
.btn.btn-primary.btn-large {
  background-color: #1E1B17;
  color: #F9F1EA;
  border: 2px solid #1E1B17;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
}

.btn.btn-primary.btn-large:hover {
  background-color: #3C332C;
  border-color: #3C332C;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 27, 23, 0.3);
}

.btn.btn-primary.btn-large:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(30, 27, 23, 0.2);
}

.btn.btn-outline.btn-large {
  background-color: transparent;
  color: #1E1B17;
  border: 2px solid #3C332C;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
}

.btn.btn-outline.btn-large:hover {
  background-color: #1E1B17;
  color: #F9F1EA;
  border-color: #1E1B17;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 27, 23, 0.15);
}

.btn.btn-outline.btn-large:active {
  transform: translateY(0);
}

.btn.btn-outline.btn-small {
  background-color: #3C332C;
  color: #F9F1EA;
  border: 1px solid #3C332C;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.btn-outline.btn-small:hover {
  background-color: #1E1B17;
  border-color: #1E1B17;
  color: #F3D3B4;
}

.btn i {
  font-size: 1em;
}

/* Delivery Info */
.delivery-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  background-color: white;
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
}

.delivery-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.delivery-item i {
  color: #1e1b17;
  font-size: 1.25rem;
  width: 24px;
  text-align: center;
}

.delivery-item div {
  display: flex;
  flex-direction: column;
}

.delivery-item strong {
  font-weight: 600;
  color: #1e1b17;
}

.delivery-item span {
  font-size: 0.875rem;
  color: #666;
}

/* ============================================
   PRODUCT DETAILS TABS
   ============================================ */

.product-details {
  margin-bottom: 4rem;
}

.tabs-container {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.tabs-nav {
  display: flex;
  background-color: #f9f1ea;
  border-bottom: 1px solid #f3d3b4;
  overflow-x: auto;
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  color: #666;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn:hover,
.tab-btn[aria-selected="true"] {
  background-color: white;
  color: #1e1b17;
  border-bottom: 3px solid #1e1b17;
}

.tabs-content {
  padding: 2rem;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Description Content */
.description-content h3,
.description-content h4 {
  color: #1e1b17;
  margin-bottom: 1rem;
}

.description-content h3 {
  font-size: 1.5rem;
}

.description-content h4 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

.description-content p {
  color: #3c332c;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.description-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.description-content li {
  color: #3c332c;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.description-image {
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 2rem 0;
}

/* Specifications Content */
.specifications-content h3 {
  color: #1e1b17;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.specs-grid {
  display: grid;
  gap: 2rem;
}

.spec-group h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f3d3b4;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr {
  border-bottom: 1px solid #f3d3b4;
}

.specs-table td {
  padding: 0.75rem 0;
  vertical-align: top;
}

.specs-table td:first-child {
  font-weight: 500;
  color: #666;
  width: 40%;
}

.specs-table td:last-child {
  color: #1e1b17;
  font-weight: 600;
}

/* Instructions Content */
.instructions-content h3 {
  color: #1e1b17;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.instruction-section {
  margin-bottom: 3rem;
}

.instruction-section h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.instruction-section h4 i {
  color: #1e1b17;
}

.instruction-section ol,
.instruction-section ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.instruction-section li {
  color: #3c332c;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.instruction-image {
  margin: 2rem 0;
  text-align: center;
}

.instruction-image img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.usage-tips {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.tip-card {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background-color: #f9f1ea;
  border-radius: 0.5rem;
  border-left: 4px solid #1e1b17;
}

.tip-icon {
  flex-shrink: 0;
}

.tip-icon i {
  color: #22c55e;
  font-size: 1.5rem;
}

.tip-content h5 {
  color: #1e1b17;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.tip-content p {
  color: #3c332c;
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0;
}

.care-list {
  list-style: none;
  padding: 0;
}

.care-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.care-list li::before {
  content: "•";
  color: #1e1b17;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.warning-section h4 {
  color: #e74c3c;
}

.warning-box {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.warning-box ul {
  margin: 0;
  padding-left: 1.5rem;
}

.warning-box li {
  color: #dc2626;
  margin-bottom: 0.5rem;
}

/* Delivery Content */
.delivery-content h3 {
  color: #1e1b17;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.delivery-option {
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background: white;
}

.option-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.option-header i {
  color: #1e1b17;
  font-size: 1.5rem;
}

.option-header h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin: 0;
}

.option-details p {
  color: #3c332c;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.option-details strong {
  color: #1e1b17;
}

.payment-methods {
  margin-bottom: 3rem;
}

.payment-methods h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
  background: white;
}

.payment-method i {
  color: #1e1b17;
  font-size: 1.25rem;
}

.delivery-info-box {
  background-color: #f0f9ff;
  border: 1px solid #bfdbfe;
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.delivery-info-box h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1e40af;
  margin-bottom: 1rem;
}

.delivery-info-box i {
  color: #3b82f6;
}

.delivery-info-box ul {
  margin: 0;
  padding-left: 1.5rem;
}

.delivery-info-box li {
  color: #1e40af;
  margin-bottom: 0.5rem;
}

/* Warranty Content */
.warranty-content h3 {
  color: #1e1b17;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.warranty-section {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.warranty-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
}

.warranty-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: #f3d3b4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.warranty-icon i {
  color: #1e1b17;
  font-size: 1.5rem;
}

.warranty-info h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.warranty-info p {
  color: #3c332c;
  margin: 0;
}

.warranty-details {
  margin-bottom: 3rem;
}

.warranty-details h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.warranty-grid {
  display: grid;
  gap: 2rem;
}

.warranty-item h5 {
  color: #1e1b17;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.warranty-item ul {
  margin: 0;
  padding-left: 1.5rem;
}

.warranty-item li {
  color: #3c332c;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.return-process {
  margin-bottom: 3rem;
}

.return-process h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.process-steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
}

.step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background-color: #1e1b17;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.step-content h5 {
  color: #1e1b17;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step-content p {
  color: #3c332c;
  font-size: 0.875rem;
  margin: 0;
}

.contact-support {
  background-color: #f9f1ea;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.contact-support h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.support-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-item i {
  color: #1e1b17;
  width: 20px;
  text-align: center;
}

/* ============================================
   REVIEWS CONTENT
   ============================================ */

.reviews-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reviews-summary {
  background-color: #f9f1ea;
  padding: 2rem;
  border-radius: 0.5rem;
}

.rating-overview {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.overall-rating {
  text-align: center;
}

.rating-score {
  font-size: 3rem;
  font-weight: 700;
  color: #1e1b17;
  line-height: 1;
}

.overall-rating .rating-stars {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin: 0.5rem 0;
}

.overall-rating .rating-stars i {
  color: #fbbf24;
  font-size: 1.25rem;
}

.rating-count {
  color: #666;
  font-size: 0.875rem;
}

.rating-breakdown {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
}

.rating-label {
  min-width: 60px;
  color: #666;
}

.bar {
  flex: 1;
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background-color: #fbbf24;
  transition: width 0.3s ease;
}

.rating-percent {
  min-width: 40px;
  text-align: right;
  color: #666;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.review-item {
  padding: 1.5rem;
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
  background: white;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.reviewer-info {
  display: flex;
  gap: 1rem;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  background-color: #f3d3b4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.reviewer-avatar i {
  color: #1e1b17;
}

.reviewer-name {
  font-weight: 600;
  color: #1e1b17;
}

.review-date {
  color: #666;
  font-size: 0.875rem;
}

.review-rating {
  display: flex;
  gap: 0.125rem;
}

.review-rating i {
  color: #fbbf24;
  font-size: 0.875rem;
}

.review-content p {
  color: #3c332c;
  line-height: 1.6;
  margin: 0;
}

.review-helpful {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f3d3b4;
}

.helpful-btn {
  background: none;
  border: 1px solid #f3d3b4;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  color: #666;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.helpful-btn:hover {
  border-color: #1e1b17;
  color: #1e1b17;
}

.helpful-btn i {
  margin-right: 0.5rem;
}

.load-more-reviews {
  text-align: center;
  margin: 2rem 0;
}

.write-review {
  background-color: #f9f1ea;
  padding: 2rem;
  border-radius: 0.5rem;
}

.write-review h4 {
  color: #1e1b17;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 500;
  color: #1e1b17;
}

.rating-input {
  display: flex;
  gap: 0.25rem;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating-input input {
  display: none;
}

.rating-input label {
  cursor: pointer;
  color: #e5e7eb;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label {
  color: #fbbf24;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #1e1b17;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-section {
  margin-bottom: 4rem;
}

.faq-section h3 {
  color: #1e1b17;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
  overflow: hidden;
  background: white;
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  border: none;
  background: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  font-weight: 500;
  color: #1e1b17;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: #f9f1ea;
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

.faq-answer p {
  color: #3c332c;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   RELATED PRODUCTS
   ============================================ */

.related-products {
  margin-bottom: 4rem;
}

.related-products h3 {
  color: #1e1b17;
  font-size: 1.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: white;
  border: 1px solid #f3d3b4;
  border-radius: 0.5rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.product-card .product-image {
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card .product-info {
  padding: 1rem;
}

.product-card .product-info h4 {
  color: #1e1b17;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.product-card .product-price {
  font-weight: 600;
  color: #1e1b17;
  margin-bottom: 1rem;
}

/* ============================================
   RESPONSIVE / АДАПТИВНОСТЬ
   ============================================ */

@media (max-width: 1024px) {
  .product-overview {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-gallery {
    position: relative;
    top: 0;
  }
  
  .main-image {
    aspect-ratio: 4 / 3;
    max-height: 500px;
  }
  
  .rating-overview {
    flex-direction: column;
    gap: 2rem;
  }
  
  .specs-grid {
    grid-template-columns: 1fr;
  }
  
  .warranty-grid {
    grid-template-columns: 1fr;
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .product-page {
    padding: 1rem 0;
  }
  
  .product-overview {
    gap: 1.5rem;
  }
  
  .main-image {
    border-radius: 1rem;
    aspect-ratio: 1 / 1;
    max-height: 400px;
  }
  
  .product-main-image {
    border-radius: 1rem;
  }
  
  .thumbnail {
    width: 70px;
    height: 70px;
    border-radius: 0.5rem;
  }
  
  .main-image::after {
    width: 36px;
    height: 36px;
    bottom: 1rem;
    right: 1rem;
    background-size: 20px;
  }
  
  .product-title {
    font-size: 1.5rem;
  }
  
  .current-price {
    font-size: 2rem;
  }
  
  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .tab-btn {
    min-width: 100px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  
  .tabs-content {
    padding: 1.5rem;
  }
  
  .product-actions {
    flex-direction: column;
  }
  
  .btn.btn-primary.btn-large,
  .btn.btn-outline.btn-large {
    width: 100%;
    justify-content: center;
  }
  
  .payment-grid {
    grid-template-columns: 1fr;
  }
  
  .usage-tips {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-image {
    border-radius: 0.75rem;
    max-height: 350px;
  }
  
  .product-main-image {
    border-radius: 0.75rem;
  }
  
  .thumbnail-gallery {
    gap: 0.5rem;
    padding: 0.25rem;
  }
  
  .thumbnail {
    width: 60px;
    height: 60px;
  }
  
  .main-image::after {
    display: none;
  }
  
  .product-title {
    font-size: 1.25rem;
  }
  
  .current-price {
    font-size: 1.75rem;
  }
  
  .delivery-info {
    padding: 1rem;
  }
  
  .product-features {
    padding: 1rem;
  }
}