@charset "utf-8";
/* CSS Document Стили к элементам - блок*/

/* Header */

.container-flexbox {
  display: flex; /* Превращает контейнер во флекс-контейнер */
  justify-content: space-between; /* Распределяет пространство между блоками */
}

.block-flexbox-30 {
  width: 30%; /* Или другую ширину, например 1fr для Grid */
  /* Дополнительные стили для блоков */
}

.block-flexbox-45 {
  width: 45%; /* Или другую ширину, например 1fr для Grid */
  /* Дополнительные стили для блоков */
}

/* отступ между блоками spacer 20px */
  .spacer-ver-20 {
    margin-top: 20px;
  }

/* отступ между блоками spacer 20px - end */


/* отступ от края блоками spacer 20px */

.spacer-hor-20{
	
	padding-right: 20px; 
	text-align: right;
}




/* Контейнер изображения и кнопки Подробнее на картинке с товаром */


  .container-img {
    position: relative; /* Родитель для позиционирования кнопки */
    display: inline-block;
	box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5); /* тень под блоком */
  }

  .container-img img {
    display: block;
    width: 100%; /* Или фиксированный размер */
    height: auto;
  }

  .btn-link-img {
    position: absolute;
    top: 80%;         /* Центрирование по вертикали */
    left: 89%;        /* Центрирование по горизонтали */
    transform: translate(-50%, -50%); /* Точная подгонка центра */
    
    /* Стилизация кнопки */
    background-color: #FBCA5A;
    color: #331400;
    padding: 10px 20px;     /* Размер кнопки высота-ширина */
    text-decoration: none;
    border-radius: 5px;
    font-family: Arial, sans-serif;
  }

.item-price-currency {
	position: absolute;
	top: 55%;         /* Центрирование по вертикали */
	left: 40%;        /* Центрирование по горизонтали */
	transform: translate(-50%, -50%); /* Точная подгонка центра */
	/* Стилизация цены */
	color: #DF6F01;
	padding: 10px 20px;
	text-decoration: none;
	font-family: Arial, sans-serif;
	font-size: 12px;
  }

.item-price-number {

	font-size: 30px;	
  }

  .btn-link-img:hover {
    background-color: #F6AF2E;
	color: #331400;
	text-decoration: none;
  }

/* Закладка заголовка со скошенным краем бордовая */

.child_tab_wrapper {
	display: inline-block;
	color: #fff;
	background: #ac1011;
	font-weight: 700;
	text-transform: uppercase;
	padding: 14px 14px 14px 20px;
	border-radius: 0 6px 0 30px;
	margin-bottom: 6px;
	font-size: 15px;
}

/* Таблица о деталях товара */

/* Стиль для всех строк таблицы (основной фон, например, белый) */
table {
  width: 100%;
  border-collapse: collapse; /* Убирает двойные границы */
}

tr {
  background-color: #ffffff; /* Белый фон для нечетных строк (или наоборот) */
}

/* Стиль для четных строк */
tr:nth-child(even) {
  background-color: #f7fafc; /* Светло-серый фон для четных строк */
}

/* Можно также задать фон для заголовка, чтобы он не смешивался */
th {
  background-color: #4CAF50; /* Зеленый фон для заголовков */
  color: white;
  padding: 10px;
  text-align: left;
}

/* Стиль для ячеек данных */
td {
  padding: 8px;
  text-align: left;
  border-bottom: 0px solid #ddd; /* Линия между строками */
}












/* Media query for screens smaller than or equal to 768px */
@media (max-width: 768px) {
    .left {
        display: none; /* Hides the sidebar completely and removes it from the document flow */
    }

  .btn-link-img {
    position: absolute;
    top: 75%;         /* Центрирование по вертикали */
    left: 75%;        /* Центрирование по горизонтали */
    transform: translate(-50%, -50%); /* Точная подгонка центра */
    }
	
	
	
}

/* кнопка на главной странице */


/* Контейнер для центрирования */
  .button-container {
    text-align: center;
    padding: 20px;
  }

  .yellow-btn {
    /* Основные свойства */
    display: inline-flex;    /* Позволяет задать размеры и центрировать текст внутри */
    align-items: center;     /* Центрирует текст по вертикали */
    justify-content: center; /* Центрирует текст по горизонтали */
    
    /* Геометрия по вашему запросу */
    width: 200px;
    height: 40px;
    
    /* Цвета */
    background-color: #FBCA5A;
    color: #331400;             /* Цвет текста черный */
    text-decoration: none;   /* Убираем подчеркивание ссылки */
    
    /* Шрифт */
    font-family: Arial, sans-serif;
    font-size: 13px;          /* Очень маленький шрифт, чтобы влезло слово */
    font-weight: normal;
    line-height: 1;
	border-radius: 5px;
    
    /* Эффекты */
    transition: background-color 0.3s; /* Плавная смена цвета */
    border: 1px solid #ccc;  /* Легкая рамка, чтобы кнопка не сливалась */
    box-sizing: border-box;  /* Чтобы рамка не увеличивала размер */
  }

  /* Состояние при наведении */
  .yellow-btn:hover {
    background-color: #F6AF2E;
    color: #331400;            
	text-decoration: none;  
  }

/* кнопка на главной странице - end */


/* карточка с товаром и кнопкой */



.product-card {
  width: 300px;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-family: sans-serif;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}

/* Эффект при наведении */
.product-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.product-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.product-title {
  font-size: 1.5rem;
  margin: 15px 0;
}

.product-desc {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.product-price {
  font-weight: bold;
  font-size: 1.2rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.buy-button {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
}

.buy-button:hover {
  background-color: #0056b3;
}

/* карточка с товаром и кнопкой - end */



/* bread crumbs */

.breadcrumb {
  display: flex;
  list-style: none;
  padding: 10px 0;
  font-family: sans-serif;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "/"; /* Символ разделителя */
  padding: 0 10px;
  color: #6c757d;
}

.breadcrumb-item a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb-item a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Стили для текущей (последней) страницы */
.breadcrumb-item.active {
  color: #6c757d;
  pointer-events: none; /* Ссылка не кликабельна */
}

/* bread crumbs - end */

.sidebar {
  background: #fff;
  /* Смещение по Y (вниз), Размытие, Цвет */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Стили карточек - тень */

.thumbnail:hover { box-shadow: 0 5px 15px rgba(0,0,0,0.1); }

/* Стили карточек - размер карточек одинаковый */

.thumbnail {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.thumbnail .caption {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

/* Стили карточек - Ваши изображения в карточках могут быть разной пропорции. */

.thumbnail img { height: 200px; object-fit: cover; }


.roben-bg { background-color: #003366; /* Глубокий тёмно-синий */ }

