* {
  box-sizing: border-box;
  color: rgb(160, 158, 158);
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

.subscription {
  background-image: url(../imgs/subscribe.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: 4%;
}

.subscription__wrapper {
  min-height: 448px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}
.subscription__contorls {
  text-align: center;
  margin: 10px 0;
}
.subscription__img {
  width: 22%;
  height: 22%;
  margin: 0 0 30px;
  margin-right: 21%;
  
}
.subscription__text {
  width: 80%;
  font-size: 25px;
  line-height: 24px;
  color: #000000a1;
}




.subscription__form {
  width: 557px;
  text-align: center;
}

.subscription__form-heading {
  font-size: 39px;
  line-height: 38px;
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 5%;
}

.subscription__form-text {
  text-transform: uppercase;
  font-size: 18px;
  line-height: 30px;
  margin: 0 0 32px;
  color: #000000a1;
}

.subscription__form-inner {
  display: flex;
  justify-content: center;
}

.subscription__form-input::-webkit-input-placeholder {
  opacity: 0.67;
}

.subscription__form-input::-moz-placeholder {
  opacity: 0.67;
}

.subscription__form-input:-moz-placeholder {
  opacity: 0.67;
}

.subscription__form-input:-ms-input-placeholder {
  opacity: 0.67;
}

.subscription__form-input {
  width: 256px;
  min-height: 49px;
  background: #E1E1E1;
  border: none;
  border-radius: 20px 0 0 20px;
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  font-style: normal;
  padding: 0 0 0 22px;
  box-sizing: border-box;
  outline: none;
}

.subscription__form-input:hover {
  opacity: 0.75;
}

.subscription__form-input:focus {
  border: 1px solid #F16D7F;
  outline: none;
}

/*************************/
.fixed-cart {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: #de6844; /* צבע רקע בולט */
  color: #fff; /* צבע טקסט */
  padding: 15px;
  border-radius: 10px 10px 10px 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  text-align: center;
  display: flex;
  flex-direction: column; /* מיקום טקסט מתחת לאייקון */
  align-items: center;
  gap: 10px; /* רווח בין אייקון לטקסט */
  transition: background-color 0.3s, transform 0.3s;
}

.fixed-cart a {
  text-decoration: none;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 16px;
  display: flex;
  flex-direction: column; /* עיצוב בעמודה */
  align-items: center;
}

.fixed-cart i {
  font-size: 30px; /* גודל אייקון */
}

.fixed-cart span {
  font-weight: bold;
  font-size: 14px; /* גודל טקסט */
}

.fixed-cart:hover {
  background-color: #f2653a; /* צבע רקע משתנה בהעברת עכבר */
  transform: translateY(-50%) scale(1.1); /* הגדלה קלה */
}
h1 {
  font-family: 'Chilanka', cursive;
  padding-top: 60px;
}

h1 strong {
  color: yellow;
}

.nav ul {
  margin: 5px;
}

.nav li {
  display: list-item;
}

.nav a {
  display: inline-block;
  padding: .9em;
  color: white;
  text-decoration: none;
}

.main-nav {
  text-align: center;
  font-size: 1.1em;
  font-weight: lighter;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
}

.main-nav li {
  padding: 0 5%;
}

.nav a:hover {
  background-color: rgba(255, 255, 255, .3);
}



/* מחשב */


/* רספונסיבי לטלפונים */
@media (max-width: 768px) {
  .main-header {
    height: 300px;
    background-size: contain;        /* שומר על כל התמונה בתוך ה-header */
    background-position: top center; /* תמיד למעלה */
    background-repeat: no-repeat;
  }
}




#cart-header {
  background-image: none;
  height: 600px;
  background-size: 33%;
}

.band-name {
  text-align: center;
  margin: 0;
  font-size: 4em;
  font-weight: normal;
  color: white;
}

.band-name-large {
  font-size: 8em;
}

.content-section {
  margin: 1em;
}

.container {
  max-width: 85%;
  margin: 0 auto;
  padding: 0 1.5em;
}

.section-header {
  font-family: "Metal Mania";
  font-weight: normal;
  color: rgb(126, 78, 78);
  text-align: center;
  font-size: 2.5em;
}

.btn {
  text-align: center;
  padding: .67em .67em;
  cursor: pointer;
}

.btn-primary {
  color: white;
  background-color: #56CCF2;
  border: none;
  border-radius: .3em;
  font-weight: bold;
  margin: 10px;
}

.btn-primary:hover {
  background-color: #34454e;
}

.men {
  background-color: rgba(54, 29, 29, 0.2);
  background-size: contain;
}

.women {
  background-color: rgba(199, 193, 76, 0.162);
}

.shop-items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 10px;
  justify-items: center;
  padding: 10px;
  box-sizing: border-box;
}

#item-price1{
  text-align: center;
  color: #bc4040;
}

.shop-item {
  position: relative; /* חשוב! מאפשר למקם את הכפתור בזווית */
  display: flex;
  flex-direction: column;
  background-color: #fdfdfd;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 100%;
  min-height: 500px;
}

.shop-item:hover {
  transform: scale(1.03);
}

.shop-item-image-container {
  width: 100%;
  height: 70%; /* גובה יחסי מהכרטיס */
  overflow: hidden;
}

.shop-item-image {
  width: 100%;
  height: 95%;
  object-fit: cover;
  cursor: pointer;
}

.shop-item-title {
  margin-top: 1%;
  margin-bottom: -2%;
  font-size: 1em;
  color: #000000;
  text-align: right; /* אם אתה רוצה יישור לימין */
    margin-right: 3%;

}


.shop-item-price {
  color: #000000;
  font-size: 1em;
  text-align: right;
  margin-right: 3%;
  margin-bottom: 2%;
}

.shop-item-new {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 10px;

  color: rgb(220, 0, 0);
  
  font-size: 0.9em;
  text-align: right;
}


.shop-item-button:hover {
  background-color: #555;
}

.shop-item-button {
  width: 100%;
}
.add-to-cart-btn {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: #d7f64c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease;
  z-index: 2; /* רק למקרה שמשהו מכסה אותו */
}

.add-to-cart-btn:hover {
  background-color: #218838;
}

.add-to-cart-btn i {
  font-size: 20px;
}

.cart-header {
  font-weight: bolder;
  font-size: 1.25em;
  color: #333;
}

.cart-column {
  display: flex;
  align-items: center;
  border-bottom: 1px solid black;
  margin-right: 1.5em;
  padding-bottom: 10px;
  margin-top: 20px;
}

.cart-row {
  display: flex;
}

.cart-item {
  width: 45%;
}

.cart-price {
  width: 20%;
  font-size: 1.2em;
  color: #333;
}

.cart-quantity {
  width: 35%;
}

.cart-item-title {
  color: #333;
  margin-left: .5em;
  font-size: 1.2em;
}

.cart-item-image {
  width: 75px;
  height: auto;
  border-radius: 10px;
}

.btn-danger {
  color: white;
  background-color: #7a4040;
  border: none;
  border-radius: .3em;
  font-weight: bold;
}

.btn-danger:hover {
  background-color: #494558;
}

.cart-quantity-input {
  height: 34px;
  width: 50px;
  border-radius: 5px;
  border: 1px solid #56CCF2;
  background-color: #eee;
  color: #333;
  padding: 0;
  text-align: center;
  font-size: 1.2em;
  margin-right: 25px;
}

.cart-row:last-child {
  border-bottom: 1px solid rgb(7, 7, 7);
}

.cart-row:last-child .cart-column {
  border: none;
}

.cart-total {
  text-align: end;
  margin-top: 20px;
  margin-right: 40px;
}

.cart-total-title {
 
  font-size: 1.5em;
  color: black;
  margin-right: 20px;
}

.cart-total-price {
  color: #333;
  font-size: 2.1em;
}

.btn-purchase {
  display: block;
  margin: 40px auto 80px auto;
  font-size: 1.35em;
}

.main-footer {
  background-color: rgba(0, 0, 0, .6);
  color: white;
  padding: .20em 0;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .main-header {
    height: auto; /* Allow height to adjust */
    background-size: cover; /* Cover the entire header */
  }

  .band-name {
    font-size: 3em; /* Reduce font size for mobile */
  }

  .shop-item {
    margin: 20px 0; /* Reduce margins for mobile */
  }

  .shop-item-image {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
  }

  .cart-row {
    flex-direction: column; /* Stack cart items vertically */
    align-items: flex-start; /* Align items to the start */
  }

  .cart-item {
    width: 100%; /* Full width for mobile */
  }

  .cart-price {
    width: 100%; /* Full width for mobile */
    text-align: left; /* Align text to the left */
  }

  .cart-quantity {
    width: 100%; /* Full width for mobile */
    text-align: left; /* Align text to the left */
  }

  .btn-purchase {
    width: 100%; /* Full width for mobile */
  }

  .women {
    background-color: rgb(246, 244, 238);
  }
}
nav {
  background-color: #333; /* Dark background color */
  width: 100%; /* Full width for the navigation */
}

.nav-container {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
  align-items: center; /* Center items vertically */
  padding: 10px 15px; /* Padding for the nav container */
}

.toggle-button {
  display: none; /* Hidden by default */
  background-color: #333; /* Dark background */
  color: white; /* White text */
  border: none; /* No border */
  font-size: 24px; /* Size of the icon */
  cursor: pointer; /* Pointer cursor */
  margin-right: auto; /* Push links to the right */
}

.nav-links {
  list-style: none; /* Remove default list styles */
  padding: 0; /* Remove default padding */
  margin: 0; /* Remove default margin */
  display: flex; /* Horizontal layout for desktop */
}

.nav-links li {
  margin: 0 15px; /* Space between items */
}

.nav-links a {
  color: #fff; /* White text color */
  text-decoration: none; /* Remove underline */
  font-size: 18px; /* Font size for links */
  transition: color 0.3s; /* Smooth color transition */
}

.nav-links a:hover {
  color: #f39c12; /* Change color on hover */
}

/* Mobile Styles */
@media only screen and (max-width: 800px) {

  .toggle-button {
      display: block;
      margin-left: auto;   /* במקום margin-right */
      margin-right: 0;
  }

  .nav-links {
      display: none;
      flex-direction: column;
      background-color: #333;
      position: absolute;
      top: 50px;
      right: 0;        /* במקום left */
      left: auto;      /* חשוב להוסיף */
      width: 100%;
      z-index: 1000;
  }

  .nav-links.active {
      display: flex;
  }

  .nav-links li {
      margin: 10px 0;
      text-align: center;
  }
}