@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;

}


#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: 1538px;
    z-index: 1000;
}

.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-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);
}
.gif{
    display: flex;
    justify-content: center;
}
.gif{
    position: relative;
}
.gif img{
    object-fit: cover; 
    display: block;
    width: 1550px;
    height: 650px;
    margin-top: 4.2rem;
}
.entdecken button {
    background: black; 
    color: white;
    padding: 12px 28px;
    font-size: 20px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 220px;
}
.entdecken button:hover {
    color: red;
}

.gif-text {
    position: absolute;
    top: 50%;  
    left: 50%; 
    transform: translate(-50%, -50%);
    color: rgb(255, 255, 255);
    text-align: center;
    font-size: 3rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7); 
}
.bestsellers-title{
margin-top: 4rem;
margin-bottom: 4rem;
display: flex;
justify-content: center;
font-size: 2rem;
}
.bestsellers-list{
    display: flex;
    padding: 0;
    margin: 0;
    margin-bottom: 200px;
    border-radius: 2%;
}
.bestsellers1{
    text-align: left;
    display: flex;
    color: white;
}
.bestsellers1 img {
    display: block;      /* убираем нижние пробелы */
    width: 750px;         /* растянуть по ширине блока */
    height: auto;
    border-radius: 10%;      
     transition: transform 0.3s ease;
}
.bestsellers1 img:hover {
    transform: scale(1.1); /* увеличиваем на 10% при наведении */
}
.text1{
    display: block;
    color: #000000;
    background-color: white;
    font-size: 20px;
    margin-left: 100px;
    padding-top: 40px;
    border-radius: 2%;
}
.text1 p{
    padding: 40px;
    padding-bottom: 10px ;
    font-size: 24px;
    line-height: 1.6;
}

.text1 button{
    background: black; 
  color: white; /* цвет текста */
  padding: 12px 28px; /* внутренние отступы */
  font-size: 20px;
  font-weight: 600;
  border: none; /* убираем стандартную рамку */
  border-radius: 8px; /* скругленные углы */
  cursor: pointer;
  transition: all 0.3s ease; /* плавный переход для эффектов */
  width: 220px;
  height: auto;
}
.text1 button:hover {
    color: red;
}

.bestsellers-list2{
    display: flex;
    padding: 0;
    margin: 0;
    margin-bottom: 200px;
    border-radius: 2%;
}
.bestsellers2{
    text-align: left;
    display: flex;
    color: white;
}
.bestsellers2 img {
    display: block;      /* убираем нижние пробелы */
    width: 750px;         /* растянуть по ширине блока */
    height: auto;
    border-radius: 10%;      
     transition: transform 0.3s ease;
}
.bestsellers2 img:hover {
    transform: scale(1.1); /* увеличиваем на 10% при наведении */
}
.text2{
    display: block;
    color: #000000;
    background-color: white;
    font-size: 20px;
    margin-right: 100px;
    padding-top: 40px;
    border-radius: 2%;
}
.text2 p{
    padding: 40px;
    padding-bottom: 10px ;
    font-size: 24px;
    line-height: 1.6;
}


.text2 button{
    background: black; 
  color: white; /* цвет текста */
  padding: 12px 28px; /* внутренние отступы */
  font-size: 20px;
  font-weight: 600;
  border: none; /* убираем стандартную рамку */
  border-radius: 8px; /* скругленные углы */
  cursor: pointer;
  transition: all 0.3s ease; /* плавный переход для эффектов */
  width: 220px;
  height: auto;
}
.text2 button:hover {
    color: red;
}






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;
}
.home a.active h2 {
    border-bottom: 2px solid rgb(0, 0, 0);  /* подчеркивание */
    padding-bottom: 4px;
}


/* затемнение */
#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: 99;
    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: 5px;
}

.subtotal {
    font-size: 24px;
    padding-bottom: 20px;
}

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

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: black;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}
/* затемнение */
#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: 20px;
    padding-left: 12px;
}

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

.checkout-btn {
    width: 100%;
    padding: 12px;
    background: #2f7a2c;
    color: black;
    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); /* поднимается на место */
}

