/* Header */
    .headery {
      background: #d3a85b;
      color: #fff;
      padding: 15px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 15px;
    }
    .headery h2 {
      margin: 0;
      font-size: 20px;
    }
    .headery span {
      font-size: 14px;
      font-weight: bold;
    }

    /* Container */
    .containery {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 20px;
      padding: 30px;
    }

    /* Cart */
    .carty {
      background: #fff;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .carty h3 {
      margin-bottom: 15px;
      color: #681730;
    }
    .cart-itemy {
      display: flex;
      justify-content: space-between;
      align-items: center;
      border-bottom: 1px solid #eee;
      padding: 12px 0;
    }
    .cart-itemy img {
      width: 50px;
      margin-right: 15px;
      border-radius: 10px;
    }
    .item-infoy {
      flex: 1;
      display: flex;
      align-items: center;
    }
    .item-infoy h4 {
      margin: 0;
      font-size: 16px;
      color: #333;
    }
    .pricey {
      font-weight: bold;
      color: #681730;
    }
    .quantityy {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .quantityy button {
      background: #681730;
      border: none;
      color: #fff;
      padding: 4px 10px;
      border-radius: 5px;
      cursor: pointer;
      font-size: 14px;
    }
    .quantityy input {
      width: 40px;
      text-align: center;
      border: 1px solid #ccc;
      border-radius: 5px;
      padding: 4px;
    }

    /* Order Summary */
    .summaryy {
      background: #fff;
      padding: 20px;
      border-radius: 15px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    .summaryy h3 {
      margin-bottom: 15px;
      color: #681730;
    }
    .summaryy p {
      display: flex;
      justify-content: space-between;
      margin: 8px 0;
      font-size: 15px;
    }
    .summaryy .totaly {
      font-weight: bold;
      font-size: 18px;
      color: #681730;
      border-top: 1px solid #ddd;
      padding-top: 10px;
    }

    /* Buttons */
    .actionsy {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      gap: 10px;
    }
    .btny {
      flex: 1;
      padding: 12px;
      border: none;
      border-radius: 8px;
      font-size: 15px;
      cursor: pointer;
      font-weight: bold;
    }
    .btn-primaryy {
      background: #681730;
      color: #fff;
    }
    .btn-secondaryy {
      background: #d3a85b;
      color: #fff;
    }

.cart-itemy {
  display: flex;
  align-items: center;       /* vertical centering of children */
  justify-content: space-between;  /* space items out horizontally */
  padding: 10px 15px;
  border-bottom: 1px solid #ddd;
}

.item-infoy {
  display: flex;
  align-items: center;
  flex: 1;   /* allows it to grow, pushing other items */
}

.item-infoy img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin-right: 10px;
}

.item-infoy h4 {
  font-size: 16px;
  margin: 0;
}

.pricey {
  flex: 0 0 80px;  /* fixed width (or min width) */
  text-align: right;
  font-size: 16px;
  margin-right: 20px;
}

.quantityy {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 20px;
}

.quantityy button {
  width: 28px;
  height: 28px;
  border: 1px solid #ccc;
  /*background: #fff;*/
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
}

.quantityy input {
  width: 40px;
  height: 28px;
  text-align: center;
  border: 1px solid #ccc;
  margin: 0 5px;
  font-size: 14px;
}

.shoping__cart__item__close {
  flex: 0 0 auto;
  cursor: pointer;
  font-size: 20px;
  color: #999;
  padding: 0 10px;
}

.shoping__cart__item__close span {
  display: block;
}


/* Profile container */
    .profile-menu1 {
      position: relative;
      display: inline-block;
    }

    /* Profile icon */
    .profile-icon1 {
      font-size: 25px;
      cursor: pointer;
    }

    /* Dropdown menu */
    .dropdown1 {
      display: none;
      position: absolute;
      top: 25px;
      right: 0;
      background-color: #fff;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      border-radius: 8px;
      min-width: 180px;
      z-index: 1000;
    }

    .dropdown1 a {
      display: block;
      padding: 12px;
      text-decoration: none;
      color: #333;
      border-bottom: 1px solid #eee;
    }

    .dropdown1 a:last-child {
      border-bottom: none;
    }

    .dropdown1 a:hover {
      background-color: #f5f5f5;
      margin-top: 1px;
    }

    /* Show dropdown on hover */
    .profile-menu1:hover .dropdown1 {
      display: block;
    }

    .iconp{
  margin-top: 0px;
}

.search-box2{
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .containery {
    display: block;
    padding: 15px;
  }

  .headery {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .headery h2 {
    font-size: 18px;
  }

  .headery span {
    font-size: 13px;
  }

  .carty,
  .summaryy {
    width: 100%;
    padding: 15px;
    box-shadow: none;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .cart-itemy {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
  }

  .item-infoy {
    width: 100%;
    margin-bottom: 10px;
  }

  .item-infoy img {
    width: 70px;
    height: 70px;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .pricey {
    flex: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    margin: 0 0 10px 0;
  }

  .quantityy {
    width: 100%;
    justify-content: flex-start;
    margin: 0 0 10px 0;
  }

  .quantityy button {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .quantityy input {
    width: 50px;
    height: 32px;
    font-size: 16px;
  }

  .shoping__cart__item__close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    padding: 0;
  }

  .actionsy {
    flex-direction: column;
    gap: 15px;
  }

  .btny {
    width: 100%;
  }

  .dropdown1 {
    position: static;
    box-shadow: none;
    border-radius: 0;
    width: 100vw;
    left: 0;
    top: auto;
  }

  .iconp {
    margin-top: 5px;
  }

  .search-box2 {
    margin-bottom: 15px;
  }
}


/* Mobile-First Layout */
@media (max-width: 768px) {
  .containery {
    display: block;
    padding: 15px;
  }

  .headery {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .headery h2 {
    font-size: 18px;
  }

  .headery span {
    font-size: 13px;
  }

  .carty,
  .summaryy {
    width: 100%;
    padding: 15px;
    box-shadow: none;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .cart-itemy {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
  }

  .item-infoy {
    width: 100%;
    margin-bottom: 10px;
  }

  .item-infoy img {
    width: 70px;
    height: 70px;
    margin-right: 0;
    margin-bottom: 8px;
  }

  .pricey {
    flex: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    margin: 0 0 10px 0;
  }

  .quantityy {
    width: 100%;
    justify-content: flex-start;
    margin: 0 0 10px 0;
  }

  .quantityy button {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .quantityy input {
    width: 50px;
    height: 32px;
    font-size: 16px;
  }

  .shoping__cart__item__close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    padding: 0;
  }

  .actionsy {
    flex-direction: column;
    gap: 15px;
  }

  .btny {
    width: 100%;
  }

  .dropdown1 {
    position: static;
    box-shadow: none;
    border-radius: 0;
    width: 100vw;
    left: 0;
    top: auto;
  }

  .iconp {
    margin-top: 5px;
  }

  .search-box2 {
    margin-bottom: 15px;
  }
}


/**/

.search-box1 {
  display: flex;
  margin-top: 20px;
      margin-left: 470px;
    margin-bottom: -50px;
}

/**/

.search-box1 input {
  padding: 12px;
  width: 300px;
  border: 1px solid #ddd;
  border-radius: 5px 0 0 5px;
  outline: none;
}

/**/

.search-box1 button {
  background: #fff;
  border: 1px solid #ddd;
  border-left: none;
  padding: 12px 15px;
  cursor: pointer;
  border-radius: 0 5px 5px 0;
}

/**/

.search-box1 input {
  border-radius: 0px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .search-box1 {
    width: 90%; /* Adjust width on smaller screens */
    margin-left: 5%;
    margin-right: 5%;
  }

  .search-box1 input {
    width: 80%; /* Adjust input width on smaller screens */
  }

  .search-box1 button {
    width: 20%; /* Adjust button width on smaller screens */
  }
}





@media (max-width: 768px) {
  .summaryy {
    width: 100%;
    padding: 15px;
    box-shadow: none;
    border-radius: 10px;
    margin-bottom: 20px;
  }

  .summaryy h3 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .summaryy p {
    font-size: 14px;
    margin: 6px 0;
  }

  .summaryy .totaly {
    font-size: 16px;
    padding-top: 8px;
  }

  .actionsy {
    flex-direction: column;
    gap: 15px;
  }

  .btny {
    width: 100%;
    padding: 12px;
    font-size: 16px;
  }
}
