* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Raleway", sans-serif;
}

.header {
  height: 100vh;
  background: url(../img/bg.jpg) center center/cover no-repeat;
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}
.header .text {
  color: #fff;
  text-align: center;
}
.header .text img {
  width: 350px;
  margin-bottom: 20px;
}
.header .text h1 {
  font-weight: bold;
  font-size: 80px;
}
.header .text p {
  font-size: 30px;
  margin: 0;
}
.header .text .inst {
  display: inline-block;
  margin-top: 30px;
}
.header .text .inst img {
  width: 250px;
}

.product {
  padding: 50px 0;
}
.product .items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
}
.product .items .item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}



/* .product .items .item::after{
  content: '-14%';
  position: absolute;
  left: -20px;
  top: -20px;
  width: 60px;
  height: 60px;
  border-radius: 999px;
  background-color: #ff4444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-weight: bold;
  transform: rotate(-10deg);
  font-size: 20px;
} */


.product .items .item .fg{
  position: absolute;
  left: -20px;
  top: -20px;
  width: 90px;
  height: 40px;
  border-radius: 999px;
  background-color: #ff4444;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #fff;
  font-weight: bold;
  transform: rotate(-10deg);
  font-size: 20px;


  display: none;
}

.product .items .item .fg-2{
  content: '';
  display: flex;
  background-color: #5a44ff;
}

.product .items .item .fg-3{
  content: '';
  display: flex;
  background-color: #ff4444;
}

.product .items .item .fg-4{
  content: '';
  display: flex;
  background-color: #ff4444;
}

.product .items .item .fg-en{
  content: '';
  display: none;
  background-color: #ff4444;
}

@media (max-width: 991px) {
  .product .items .item .fg{
    font-size: 14px;
    width: 60px;
    height: 30px;
    left: -10px;
  }
}



.product .items .item img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  margin-bottom: 30px;
  border-radius: 6px;
}
.product .items .item h6 {
  color: green;
  font-weight: 800;
  margin: 5px 0;
  font-size: 14px;
}
.product .items .item .price {
  margin: 20px 0;
  font-weight: bold;
  font-size: 30px;
}
.product .items .item .pr-t {
  display: flex;
  align-items: center;
}
.product .items .item .pr-t span {
  text-decoration: line-through;
  font-size: 18px;
  margin-left: 10px;
  opacity: 0.8;
}
.product .items .item .text {
  font-size: 18px;
}
.product .items .item .bnt-g {
  display: flex;
  margin: 20px 0;
}
.product .items .item .bnt-g a {
  border-radius: 20px;
  padding: 15px 30px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}
.product .items .item .bnt-g .a {
  background-color: green;
  margin-right: 10px;
}
.product .items .item .bnt-g .p {
  background-color: rgb(202, 36, 36);
  border-radius: 999px;
  border: none;
}
.product .items .item .block h4{
  font-weight: bold;
  font-size: 18px;
}

.btn-left {
  text-align: center;
  margin-top: 50px;
}
.btn-left a {
  border: 1px solid #000;
  padding: 20px 40px;
  border-radius: 20px;
  display: inline-block;
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 20px;
}
.btn-left a svg {
  width: 20px;
  height: 20px;
  margin-right: 5px;
  margin-top: -3px;
}

.product-block {
  margin: 50px 0;
}
.product-block .container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}
.product-block .container .img img {
  width: 100%;
  height: 600px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 20px;
}
.product-block .container .text-block h6 {
  color: green;
  font-weight: 800;
  margin: 5px 0;
  font-size: 14px;
}
.product-block .container .text-block .price {
  margin: 20px 0;
  font-weight: bold;
  font-size: 30px;
}
.product-block .container .text-block .pr-t {
  display: flex;
  align-items: center;
}
.product-block .container .text-block .pr-t span {
  text-decoration: line-through;
  font-size: 20px;
  margin-left: 10px;
}
.product-block .container .text-block .text {
  font-size: 18px;
}
.product-block .container .text-block .bnt-g {
  display: flex;
  margin: 20px 0;
}
.product-block .container .text-block .bnt-g a {
  border-radius: 20px;
  padding: 15px 30px;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}
.product-block .container .text-block .bnt-g .a {
  background-color: green;
  margin-right: 10px;
}

.terms {
  background-color: #f3f3f3;
  padding: 50px 0;
}

.footer {
  background-color: #e3e3e3;
  padding: 50px 0;
  text-align: center;
}
.footer p {
  margin: 0;
  font-size: 20px;
}
.footer p a {
  color: #000;
  text-decoration: none;
  font-weight: bold;
}
.footer img {
  max-width: 200px;
  margin-top: 15px;
}
.footer .a {
  color: #000;
  display: inline-block;
  margin-top: 20px;
}

.carousel-control-next, .carousel-control-prev {
  opacity: 1;
}

.about {
  background-color: #f3f3f3;
  padding: 50px 0;
}
.about h2 {
  font-weight: bold;
}
.about p {
  margin: 0;
}

@media (max-width: 1200px) {
  .product .items {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 991px) {
  .product .items {
    grid-template-columns: repeat(1, 1fr);
  }
  .product-block .container {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }
  .product .items .item img, .product-block .container .img img {
    height: 500px;
  }
}
@media (max-width: 500px) {
  .header {
    background: url(../img/bg-m.jpg) center center/cover no-repeat;
  }
  .header .text img {
    width: 280px;
  }
  .btn-left {
    margin-top: 30px;
  }
  .btn-left a {
    font-size: 16px;
    width: 100%;
  }
  .header .text h1 {
    font-size: 50px;
  }
  .header .text p {
    font-size: 20px;
  }
  .header .text .inst img {
    width: 200px;
  }
  .product .items .item img {
    height: auto;
  }
  .about p {
    font-size: 14px;
  }
  .product .items {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .product .items .item .bnt-g a {
    padding: 10px;
    font-size: 12px;
  }
  .product .items .item img {
    margin-bottom: 15px;
  }
  .product .items .item h6 {
    font-size: 11px;
  }
  .product .items .item .pr-t {
    font-size: 20px;
    margin: 10px 0;
  }
}

.home-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin: 24px 0 8px;
}

.home-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: 0.2s;
}

.home-nav a:hover {
    opacity: 0.9;
    border-bottom-color: rgba(255, 255, 255, 0.6);
}

.home-nav a.active {
    border-bottom-color: #fff;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: static;
    background: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
    position: fixed;
    background-color: #fff;
    right: 25px;
    top: 25px;
    border-radius: 999px;
    box-shadow: 0px 0px 25px rgba(0, 0, 0, 0.3);
  z-index: 999999;
}

.cart-icon:hover {
    color: #666;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.bnt-g {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.bnt-g .a,
.bnt-g button.a {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    text-align: center;
    min-width: 120px;
    border-radius: 90px;
}

.bnt-g .a:hover,
.bnt-g button.a:hover {
    background: #333;
}

.bnt-g .p {
    display: inline-block;
    padding: 10px 20px;
    background: #fff;
    color: #000;
    text-decoration: none;
    border: 1px solid #000;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.bnt-g .p:hover {
    background: #000;
    color: #fff;
}

/* Стили для страницы корзины */
.cart-page {
    padding: 50px 0;
}

.cart-items {
    max-width: 800px;
    margin: 0 auto;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e3e3e3;
    margin-bottom: 20px;
}

.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
}

.cart-item-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.cart-item-info p {
    color: green;
    font-weight: 800;
    margin: 5px 0;
    font-size: 14px;
}

.cart-item-price {
    font-weight: bold;
    font-size: 24px;
    color: #333;
}

.cart-item-actions {
    display: flex;
    gap: 10px;
}

.cart-item-actions a {
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
}

.cart-item-actions .pay-btn {
    background-color: green;
}

.cart-item-actions .remove-btn {
    background-color: rgb(202, 36, 36);
    border-radius: 20px;
    padding: 10px 20px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    border: none;
}

.cart-empty {
    text-align: center;
    padding: 50px 0;
}

.cart-empty h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.cart-empty a {
    display: inline-block;
    border: 1px solid #000;
    padding: 15px 30px;
    border-radius: 20px;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}

@media (max-width: 768px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .cart-item-actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .bnt-g .a,
    .bnt-g button.a {
        display: inline-block;
        padding: 10px;
        background: #000;
        color: #fff;
        text-decoration: none;
        border: none;
        cursor: pointer;
        font-size: 12px;
        font-weight: 500;
        transition: background-color 0.3s ease;
        text-align: center;
        min-width: 120px;
        border-radius: 90px;
    }

    .product .items .item .bnt-g .a{
      margin-right: 0;
    }
    .product .items .item .bnt-g{
      flex-direction: column;
    }
    .cart-item-info{
      max-width: 200px;
      margin-left: 20px;
    }
    .product .items .item img{
      height: 220px;
      object-fit: cover;
    }
    .product .items .item .pr-t span{
      font-size: 15px;
    }
.product .items .item .block h4{
  font-weight: bold;
  font-size: 14px;
}
.cart-icon{
  z-index: 999999;
}
}