@font-face {
  font-family: 'Montserrat';
  src: url('../Fonts/Montserrat-Regular.ttf') ;
}
@font-face {
  font-family: 'Montserrat-thin';
  src: url('../Fonts/Montserrat-Thin.ttf') ;
}

body{
font-family: 'Montserrat';
background-color: black;
color:white;
margin: 0;
padding: 0;
overflow-x: hidden
}
/* затемнение */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
}

/* боковая панель корзины */
#cart-sidebar {
    position: fixed;
    top: 0;
    right: -1000px; /* изначально скрыта */
    width: 400px;
    height: 97%;
    background: white;
    box-shadow: -3px 0 10px rgba(0,0,0,0.3);
    z-index: 99;
    padding: 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    z-index: 2500;
}

#cart-sidebar.active {
    right: 0;
}

/* хедер корзины */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.cart-header button {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* список */
#cart-sidebar-items {
    flex: 1;
    padding: 0;
    margin: 20px 0;
    list-style: none;
    overflow-y: auto;
}

#cart-sidebar-items li {
    margin-bottom: 15px;
}

/* футер */
.cart-footer {
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.view-cart-btn{
    width: 100%;
    padding: 12px;
    margin-top: 10px;
    background: black;
    color: rgb(244, 45, 45);
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 8px;
    
}
.view-cart-btn{
    color: white;
}
#cart-sidebar .view-cart-btn {
    color: white !important;
    background-color: black !important;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    padding: 12px;
}



#container {
    width: 100%;          
    max-width: 1550px;   
    margin: 0 auto;      
}

#container > * {
    text-align: center;
}
a {
    text-decoration: none; 
    color: inherit;
}

header{
    display:flex;
    align-items: center;
    position: fixed;
    color:#000000;
    background-color: white;
    width: 1550px;
    z-index: 1000;
    top: 0;
    
}

.photo img{
width: 60px;
border-radius: 100%;
margin-left: 1rem;
cursor: pointer;
}
.logo-text{
    padding-left:1rem;
    cursor: pointer;
}
.home{
    margin-left: 24rem;
    cursor: pointer;
    font-family: 'Montserrat-thin';
}
.store{
    margin-left: 2rem;
    cursor: pointer;
    font-family: 'Montserrat-thin'; 
}
.about-us{
padding-left: 2rem;
min-width: 120px;
cursor: pointer;
font-family: 'Montserrat-thin';
}
.conctacts{
padding-left: 2rem;
cursor: pointer;
font-family: 'Montserrat-thin';
}
.home, .store, .about-us, .conctacts, .logo-text{
    transition: color 0.3s ease;
}
.logo-text:hover{
    color:red;

}
.about-us:hover{
    color:red;

}
.store:hover{
    color:red;
}
.home:hover{
    color:red;
}
.conctacts:hover{
    color:red;
}
.cart img{
    width: 40px;
    margin-left: 22rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.cart{
    position: relative;
}
.cart-dropdown {
    position: absolute;
    top: 50px; /* ниже иконки */
    right: 0;
    width: 250px;
    background-color: #3a3939;
    color: white;
    border-radius: 10px;
    padding: 10px;
    display: none; /* по умолчанию скрыто */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 2000;
}

.cart-dropdown h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    text-align: center;
    border-bottom: 1px solid #555;
    padding-bottom: 5px;
}

.cart-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-dropdown ul li {
    padding: 5px 0;
    border-bottom: 1px solid #555;
    font-size: 14px;
}
#cart-count {
    position: absolute;
    top: 0px;
    right: -6px;
    background: red;
    color: white;
    font-size: 14px;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: bold;
}
.cart img:hover{
    transform: scale(1.2);
}
a.active h2 {
    border-bottom: 2px solid rgb(0, 0, 0);  /* подчеркивание */
    padding-bottom: 4px;
}



.add-to-cart {
  position: absolute;
  top: 20px;
  left: 68%;
  display: flex;
  align-items: center;
  background-color: black;
  padding: 5px 10px;
  border-radius: 5px;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: right;
  cursor: pointer;
}
.add-to-cart img {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  margin-top: 5px;
}

.add-to-cart span {
  color: #fff;
  font-size: 14px;
  font-weight: bold;
}

/* Появление при наведении на карточку */
.product:hover .add-to-cart {
  opacity: 1;
}

.cart-img {
    width: 200px;
    height: auto;
    border-radius: 4px;
}
#cart-sidebar,
#cart-sidebar * {
    color: black !important;
}
#cart-sidebar-items li {
    display: flex;
    align-items: center;
    flex-direction: column;       /* центрируем по вертикали */
    gap: 12px;                 /* расстояние между картинкой и текстом */
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 2rem; /* линия между товарами */
}
#cart-sidebar-items li {
    justify-content: center;   /* центр по горизонтали */
}
.cart-item .quantity {
    font-weight: bold;  /* x3 жирным */
}
.filter{
    font-size: 24px;
    font-weight:bolder;
}
label[for="sort-select"] {
    
    margin-right: 10px; /* отступ от select */  /* при желании увеличить размер */
}
.results{
    font-size: 24px;
}
#sort-select {
    width: 200px;      /* ширина списка */
    height: 40px;      /* высота */
    font-size: 1.2rem; /* размер текста внутри */
    padding: 5px 10px; /* внутренние отступы */
    border-radius: 5px; /* скругление краёв */
}
.subtotal{
    font-size: 24px;
    padding-bottom: 20px;
}

/* затемнение */
#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 98;
}

/* боковая панель корзины */
#cart-sidebar {
    position: fixed;
    top: 0;
    right: -500px; /* изначально скрыта */
    width: 350px;
    height: 97%;
    background: white;
    box-shadow: -3px 0 10px rgba(0,0,0,0.3);
    z-index: 1500;
    padding: 20px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #000000;
}

#cart-sidebar.active {
    right: 0;
}

/* хедер корзины */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.cart-header button {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

/* список товаров */
#cart-sidebar-items {
    flex: 1;
    padding: 0;
    margin: 20px 0;
    list-style: none;
    overflow-y: auto;
}

#cart-sidebar-items li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    text-align: center;
    font-size: 2rem;
}

#cart-sidebar-items li img {
    width: 250px;
    height: auto;
    border-radius: 4px;
}

#cart-sidebar-items li .remove-item {
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
}

/* футер корзины */
.cart-footer {
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.subtotal {
    font-size: 24px;
    margin-bottom: 10px;
    padding-left: 12px;
}

.view-cart-btn {
    width: 100%;
    padding: 12px;
    margin-bottom: 5px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
      font-family: 'Montserrat', sans-serif;
    font-weight: 600; /* или 500, как на главной */
}

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.fade-up {
    opacity: 0;
    transform: translateY(50px); /* стартовое положение снизу */
    transition: all 0.8s ease-out;
}

.fade-up.show {
    opacity: 1;
    transform: translateY(0); /* поднимается на место */
}
.page-start{
    display: flex;
    justify-content: center;
    
}
.text-and-img {
    position: relative;
    

}
.text-and-img h1 {
    position: absolute;
    bottom: 350px;            /* поднять вверх от нижней части */
    left: 480px;              /* сместить от левого края */
    font-size: 115px;
    color: white;
    margin: 0;
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    
}
.titel{
    text-align: center;
    font-size: 2rem;
}
.main{
    display: flex;
    background-color: white;
    
    border-radius: 1%;
    color:#000000;
    text-align: center;
    padding-top: 1rem;
    margin-top: 2rem;
    

}
.main h1{
    font-size: 3rem;
}

.beschreibung{
    color: black;
    width: 700px;
    text-align: left;
    margin-left: 6rem;
    margin-top: 7rem;
    line-height: 1.7;
    font-size: 22px;
    margin-bottom: 7rem ;
}

.title1{
    text-align: center;
    font-size: 2rem;
}
.photoStory,.photoStory1 {
   margin-left: 8rem;
    margin-top: 8.5rem;
    margin-right: 3rem;
}
.photoStory img{
    width: 600px;
    height: 600px;
    
}
.photoStory1 img{
    width: 600px;
    height: 800px;
    
}


.beschreibung1{
    color: black;
    width: 700px;
    text-align: left;
    margin-right: 6rem;
    margin-top: 7rem;
    line-height: 1.7;
    font-size: 22px;
    margin-bottom: 7rem ;
    
    
}

.title1{
    text-align: center;
    font-size: 2rem;
    margin-top: 6rem;
}
.photoStory,.photoStory1 {
   margin-right: 8rem;
    margin-top: 8.5rem;
    margin-left: 3rem;
}
.photoStory img{
    width: 600px;
    height: 600px;
    border-radius: 10%;
    
}
.photoStory1 img{
    width: 600px;
    height: 800px;
    border-radius: 10%;
}
.Missionen{
    display: flex;
    background-color: white;
    
    border-radius: 1%;
    color:#000000;
    text-align: center;
    padding-top: 1rem;
    margin-top: 2rem;
}

.row{
    display: flex;
}
.photo1 h1{
    font-size: 40px;
}
.photo1 h2{
    font-size: 30px;

}
.photo1 img{
    width: 450px;
}
.photo2 img{
    width: 450px;
}
.photo2 h1{
    font-size: 40px;
}
.photo2 h2{
    font-size: 30px;
}
.photo3 h1{
    font-size: 40px;
}
.photo3 h2{
    font-size: 30px;
}
.photo3 img{
    width: 450px;
    margin-left: 50px;
}

.img-zukunft img{
    margin-top: 3.5rem;
    height: 800px;
    width: 1500px;
    border-radius: 10%;
}


.beschreibung2{
    color: black;
    
    text-align: left;
    margin-left: 6rem;
    margin-top: 7rem;
    line-height: 1.7;
    font-size: 22px;
    padding-bottom: 6rem ;
}
.plan{
    background-color: white;
    border-radius: 1%;
}
.title3{
    text-align: center;
    font-size: 2rem;
    margin-bottom: 7rem;
    margin-top: 7rem;
}
footer{
    display: flex;
    
    margin-top: 20rem;
    height: 300px;
    background-color: #b4b4b4;
    box-shadow: 0 15px 25px rgba(0,0,0,0.5);
    color:#000000;
    justify-content: center;
}
.footer-main{
    margin-top: 4rem;
    display: flex;
    gap:15rem;
    
}
.footer-logo img{
    width: 150px;
}

#cart-message {
    color: red !important;
}