@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
  --accent: #FF6F61;
  --bg: #ffffff;
  --muted: #757575;
  --card: #F6F6F6;
  --text: #212121;
  --shadow: 0 6px 18px rgba(33, 33, 33, 0.08);
  font-family: Inter, system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
}
button{
  cursor: pointer;
}

body {
  width: 100%;
  height: 100vh;
  background: var(--bg);
  color: var(--text);
  overflow-x: none;
}

body::-webkit-scrollbar {
  display: none;
}

header {
  width: 100vw;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  /* border-bottom: 2px solid var(--muted); */
  align-items: center;
  position: sticky;
  top: 0;
  box-shadow: 0 0 10px var(--muted);
  background: var(--bg);
  z-index: 10;
}

header img {
  width: 11%;
  height: 50%;
  object-fit: cover;
  opacity: 0.8;
}

header .cart {
  width: auto;
  display: flex;
  text-align: center;
  align-items: center;
  gap: 15px;
  margin-right: 20px;
  font-weight: 700;
  font-size: 18px;
  color: var(--muted);
}

.cart div {
  font-size: 22px;
  background: var(--card);
  padding: 5px;
  border-radius: 10px;
  box-shadow: 0 0 10px 0 var(--card);

}

.cart div:hover {
  cursor: pointer;
  background: var(--accent);
  box-shadow: 0 0 10px 2px var(--accent);
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  height: 100vh;
  background-color: var(--bg);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.4s ease;
  box-shadow: -5px 0 10px rgba(0, 0, 0, 0.2);
}

.sidebar-header {
  display: flex;
  height: auto;
  /* flex-direction: column; */
  margin-left: 25px;
  margin-top: 35px;
  width: 100%;
}

.sidebar-header button {
  width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: flex-start;
  padding: 10px;
  gap: 10px;
  border-radius: 20px;
  background: var(--accent);
  color: var(--card);
  border: none;
  font-size: .9rem;
}

.sidebar-header button:hover {
  cursor: pointer;
  color: var(--accent);
  background-color: var(--bg);
  box-shadow: var(--shadow);
}

.sidebar-header h2 {
  color: #5c5c5c;
  margin-left: 150px;
  display: flex;
  font-size: 1.7rem;
}

.sidebar-main {
  width: 100%;
  height: 75%;
  background: var(--bg);
  margin-top: 35px;
  padding-bottom: 80px;
  display: block;
  gap: 15px;
  overflow-y: auto;
}

.sidebar-main::-webkit-scrollbar {
  display: none;
}

.sidebar-item {
  width: 100%;
  height: 150px;
  background: var(--card);
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.sidebar-item img {
  width: 25%;
  height: 90%;
  object-fit: contain;
  border-radius: 15%;
  /* margin: auto 0; */
}

.sidebar-item-txt {
  margin-left: 20px;
  max-width: 40%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .9rem;
  overflow-y: hidden;
}

.sidebar-item-txt p {
  height: 80px;
}

.sidebar-price-dlt {
  display: flex;
  flex-direction: column;
  margin-left: 30px;
  width: 25%;
  gap: 25px;
  align-items: center;

}

.sidebar-price-dlt p {
  font-weight: 600;
  font-size: 1rem;
  color: var(--accent);

}

.sidebar-price-dlt button {
  width: 75%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: .8rem;
}

.sidebar-price-dlt button:hover {
  background: #ff4b3e;
}

.sidebar-footer {
  width: 100%;
  height: 160px;
  /* margin-bottom: 10px; */
  background: var(--card);
  box-shadow: 6px 0px 7px 0 var(--muted);
  position: fixed;
  bottom: 0;
}

#subtotal {
  width: 100%;
  /* height: 40%; */
  margin-top: 25px;
  display: flex;
  gap: 30%;
  /* justify-content: space-between; */
  align-items: center;
  padding: 0 25px;
}

#subtotal h3 {
  font-size: 1.1rem;
}

#subtotal p {
  font-size: .9rem;
}

#tax {
  width: 100%;
  margin-top: 10px;
  display: flex;
  gap: 34%;
  padding: 0 25px;
}

#tax h3 {
  font-size: .9rem;
}

#tax p {
  font-size: .8rem;
}

#total {
  width: 100%;
  /* height: 40%; */
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  gap: 32%;
  align-items: center;
  padding: 0 25px;
}

#total h3 {
  font-size: 1.2rem;
}

#total p {
  font-size: 1rem;
}

.order-btn {
  width: 40%;
  height: 40px;
  border: none;
}
.order-btn button {
  width: 100%;
  height: 100%;
  background: var(--accent);
  color: white;
  border: none;
  display: flex;
  justify-content: center;
  /* padding: 0 auto; */
  font-size: 1.5rem;
  /* padding-left: 350px; */
  font-weight: 600;
 
}
.order-btn button:hover{
  background: #ff4b3e;
}

main {
  margin-top: 25px;
  width: 100%;
  /* text-align: center; */
}

main .select {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 35px;
}

#men {
  color: var(--text);
}


.select button {
  padding: 10px 15px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--muted);
}

.select button:hover {
  border-bottom: 3px solid var(--accent);
  cursor: pointer;
}

.container {
  width: 80%;
  display: grid;
  margin-top: 50px;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 5%;
  /* justify-self: center; */
  margin: 25px auto;
  color: #ffffff;
  margin-bottom: 250px;
}

#women-container {
  display: none;
}

.items {
  width: 350px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.items:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.items img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.items h3 {
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.items p {
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  margin-bottom: 15px;
}

.price-add {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center ;
}

.price-add p {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--accent);
  padding-top: 12px;

}

.price-add button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.price-add button:hover {
  background: #ff4b3e;
}

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  background: rgba(0, 0, 0, 0.2);
  z-index: 998;
  display: none;
}
.footer {
  background: #111;
  color: #eee;
  padding: 50px 10%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  bottom: 0;
  width: 100%;
}

.footer-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 30px;
}

.footer-about {
  flex: 1;
  min-width: 250px;
}

.footer-about h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
}

.footer-links {
  list-style: none;
  flex: 1;
  min-width: 200px;
}

.footer-links h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  width: 100%;
  font-size: 0.9rem;
  color: #bbb;
}

.footer-bottom span {
  color: #ff4b4b;
  font-weight: bold;
}


@media (max-width: 915px) {
  .footer{
    transform: translateY(100%);
    
  }
}


@media (max-width: 1024px) {
  header img {
    width: 16%;
  }
  
  .cart div {
    font-size: 20px;
  }
  
  .items {
    justify-self: center;
  }
  
  .cart-sidebar {
    width: 50%;
  }
  
  .sidebar-header h2 {
    margin-left: 100px;
    font-size: 1.5rem;
  }
  
  .sidebar-item {
    height: 130px;
  }
  
  .sidebar-item img {
    width: 28%;
  }
  
  .sidebar-item-txt {
    max-width: 40%;
    font-size: 0.85rem;
  }
  
  .sidebar-price-dlt {
    margin-left: 20px;
    width: 25%;
  }
  
  .sidebar-price-dlt p {
    font-size: 0.9rem;
  }
  
  .sidebar-price-dlt button {
    width: 80%;
    font-size: 0.75rem;
  }
  .order-btn {
    width: 50%;
  }
  #tax{
    gap: 36%;
  }
}



@media (max-width: 768px) {
  header img {
    width: 20%;
  }
  
  .cart p {
    font-size: 1rem;
  }
  
  .cart div {
    font-size: 18px;
  }
  
  .cart-sidebar {
    width: 50%;
  }
  
  .items {
    width: 300px;
  }
  
  .container {
    gap: 4%;
  }
  
  .sidebar-header {
    /* flex-direction: column; */
    /* align-items: flex-start; */
    margin-left: 20px;
    margin-top: 20px;
    gap: 40px;
  }
  
  .sidebar-header button {
    width: 100px;
    padding: 8px;
    font-size: 0.8rem;
  }
  
  .sidebar-header h2 {
    margin: 15px 0 0 0;
    font-size: 1.4rem;
  }
  
  .sidebar-item {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 15px;
  }
  
  .sidebar-item img {
    width: 80%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
  }
  
  .sidebar-item-txt {
    max-width: 100%;
    margin: 10px 0;
    font-size: 0.9rem;
  }
  
  .sidebar-item-txt p {
    height: auto;
  }
  
  .sidebar-price-dlt {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-left: 0;
    gap: 10px;
  }
  
  .sidebar-price-dlt p {
    font-size: 1rem;
  }
  
  .sidebar-price-dlt button {
    width: auto;
    padding: 8px 12px;
    font-size: 0.85rem;
  }
  #subtotal{
    gap: 25%;
  }
  #tax{
    gap: 32%;
  }
  #total{
    gap:27%
  }
  .footer{
    margin-top: 0px;
  }
  
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-links,
  .footer-about {
    min-width: unset;
  }
  
  .footer-links h4 {
    margin-top: 20px;
  }
  
}

@media (max-width: 480px) {
  header img {
    width: 25%;
  }
  
  .cart p {
    font-size: .8rem;
  }
  
  .cart div {
    font-size: 16px;
  }
  
  .cart-sidebar {
    width: 70%;
  }
  
  .sidebar-header {
    margin-left: 15px;
    margin-top: 15px;
  }
  
  .sidebar-header button {
    width: 90px;
    padding: 7px;
    font-size: 0.7rem;
  }
  
  .sidebar-header h2 {
    margin: 10px 0 0 0;
    font-size: 1.2rem;
  }
  
  .sidebar-item {
    padding: 10px;
  }
  
  .sidebar-item img {
    width: 100%;
  }
  
  .sidebar-item-txt h3 {
    font-size: 1rem;
  }
  
  .sidebar-item-txt p {
    font-size: 0.85rem;
  }
  
  .sidebar-price-dlt p {
    font-size: 0.9rem;
  }
  
  .sidebar-price-dlt button {
    font-size: 0.75rem;
    padding: 7px 10px;
  }
  
  .order-btn {
    width: 70%;
  }
  .container {
    gap: 2%;
    
  }
  .footer{
transform: translateY(50%);
    margin-top: 0px;
  }
#tax{
    gap: 45%;
  }

}

@media (max-width: 380px) {
  .items {
    margin-right: 40px;
  }

}