@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    box-sizing: border-box;
}

.top-bar {
    background: #51383847;

    color: rgb(255, 255, 255);
    padding: 10px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    font-size: 14px;
}


.new_one{
  height: 60px;
}

.container{
	max-width: 1170px;
	margin:auto;

}
ul{
	list-style: none;
	margin:0;
	padding:0;
}
a{
	text-decoration: none;
}
.header {
  background: linear-gradient(60deg, #000000 0%, #f59e0b 60%);
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 99;
  padding: 15px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 0;
  border-radius: 4px;

}

.header .logo {
  padding: -12px 15px;
}

.header .logo a {
  font-size: 25px;
  text-transform: capitalize;
  color: #ffffff;
  font-weight: 600;
}

.header .nav-menu {
  padding: -11px 20px;
  border-radius: 0px 0px 0px 73px;
  background-color: transparent;

}

.header .menu>.menu-item {
  display: inline-block;
  margin-left: 30px;
  position: relative;
}

.header .menu>.menu-item>a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: #ffffff;
  text-transform: capitalize;
  font-weight: 600;
  transition: all 0.3s ease;
}

.header .menu>.menu-item>a .plus {
  display: inline-block;
  height: 12px;
  width: 12px;
  position: relative;
  margin-left: 5px;
  pointer-events: none;
}

.header .menu>.menu-item>a .plus:before,
.header .menu>.menu-item>a .plus:after {
  content: '';
  position: absolute;
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  background-color: #ffffff;
  height: 2px;
  width: 100%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.header .menu>.menu-item:hover>a .plus:before,
.header .menu>.menu-item:hover>a .plus:after {
  background-color: #080606;
}

.header .menu>.menu-item>a .plus:after {
  transform: translate(-50%, -50%) rotate(-90deg);
}

.header .menu>.menu-item>.sub-menu>.menu-item>a:hover{
  color: #0731e9;
}
.header .menu>.menu-item:hover>a {
  color: #000000;
}

.header .menu>.menu-item>.sub-menu {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  width: 280px;
  position: absolute;
  left: 0;
  top: 100%;
  background-color: #ffffff;
  padding: 10px 0;
  border-top: 3px solid #e91e63;
  transform: translateY(10px);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

@media(min-width: 992px) {
  .header .menu>.menu-item-has-children:hover>.sub-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header .menu>.menu-item-has-children:hover>a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

.header .menu>.menu-item>.sub-menu>.menu-item {
  display: block;
}

.header .menu>.menu-item>.sub-menu>.menu-item>a {
  display: block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  transition: all 0.3s ease;
  text-transform: capitalize;
}

.header .open-nav-menu {
  height: 34px;
  width: 40px;
  margin-right: -7px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header .open-nav-menu span {
  display: block;
  height: 3px;
  width: 24px;
  background-color: #000000;
  position: relative;
}

.header .open-nav-menu span:before,
.header .open-nav-menu span:after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000;
  box-sizing: border-box;
}
.header .open-nav-menu span:before {
  top: -7px;
}

.header .open-nav-menu span:after {
  top: 7px;
}

.header .close-nav-menu {
  height: 40px;
  width: 40px;
  background-color: #ffffff;
  margin: 0 0 15px 15px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.header .close-nav-menu img {
  width: 16px;
}

.header .menu-overlay {
  position: fixed;
  z-index: 999;
  background-color: rgba(0, 0, 0, 0.5);
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

#app_button{  
  font-size: 10px;
  background: #00000075;
  border-radius: 20px;
  color: #f1f1f1;
  padding: 0.5rem 1rem;
  outline: 2px solid rgba(255, 255, 255, 0.897);
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.2s ease;
  margin: 0.5rem; /* Add margin for better spacing */
  text-align: center;  
  
}
#app_button:hover{
  outline: 1px solid rgba(255, 255, 255, 0.897);
  /* background: #000000b5; */
  color: #ffffff;
  cursor: pointer;
  box-shadow: 1px 1px 4px 1px #1a0404;
  
}
/* responsive */
@media(max-width: 991px) {
  .header .menu-overlay.active {
    visibility: visible;
    opacity: 1;
 }
 .header .nav-menu {
    position: fixed;
    right: -280px;
    visibility: hidden;
    width: 280px;
    height: 100%;
    top: 0;
    overflow-y: auto;
    background: linear-gradient(60deg, #5b4014eb 0%, #f59e0b 60%);
    background-position: 56% 128%;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.5s ease;
  }
  .header .nav-menu.open {
    visibility: visible;
    right: 0px;
  }
  .header .menu>.menu-item {
    display: block;
    margin: 0;
  }
  .header .menu>.menu-item-has-children>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
   }
  .header .menu>.menu-item>a {
    color: #ffffff;
    padding: 12px 15px;
    /* border-bottom: 1px solid #333333; */
  }
  .header .menu>.menu-item:first-child>a {
    border-top: 1px solid #333333;
  }
  .header .menu>.menu-item>a .plus:before,
  .header .menu>.menu-item>a .plus:after {
    background-color: #ffffff;
  }
  .header .menu>.menu-item-has-children.active>a .plus:after {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  .header .menu>.menu-item>.sub-menu {
    width: 100%;
    position: relative;
    opacity: 1;
    visibility: visible;
    border: none;
    background-color: transparent;
    box-shadow: none;
    transform: translateY(0px);
    padding: 0px;
    left: auto;
    top: auto;
    max-height: 0;
    overflow: hidden;
  }

  .header .menu>.menu-item>.sub-menu>.menu-item>a {
    padding: 12px 45px;
    color: #ffffff;
    /* border-bottom: 1px solid #333333; */
  }
  .header .close-nav-menu,
  .header .open-nav-menu {
    display: flex;
  }
  .header .logo a {
    font-size: 15px;
  }
  .header{
    position: absolute;
    top: -24px;
  }
}
/* Card Container */
.S-Card {
  border-radius: 15px;
  box-shadow: 0px 1px 6px 0px #454840;
  outline: 1px solid rgb(92, 87, 87);
  width: 70%; /* Reduce width */
  max-width: 500px; /* Medium size */
  margin: 20px auto;
  background: linear-gradient(60deg, #5b4014eb 0%, #f59e0b 60%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 10px;
}

/* Image + History Info Section */
.image-history-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px;
  gap: 10px;
}

/* Image Container */
.main-image-container {
  width: 45%; /* Reduce image width */
  text-align: center;
}

.main-product-image {
  width: 100%;
  max-height: 250px; /* Reduce image height */
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Product Details */
.history-info {
  width: 55%;
  background: #533709eb;
  padding: 10px; /* Reduce padding */
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 10px;
}

.product-title {
  font-size: 18px; /* Reduce font size */
  font-weight: bold;
  color: #fff;
  text-align: center;
  margin-bottom: 8px;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px; /* Smaller text */
  margin-bottom: 5px;
}

.product-table th, 
.product-table td {
  border: 1px solid #fff;
  padding: 5px; /* Reduce padding */
  text-align: left;
  color: #fff;
}

.product-table th {
  background: rgba(255, 255, 255, 0.2);
}

/* Thumbnails Section */
.thumbnail-container {
  text-align: center;
  padding: 5px;
}

.thumbnail {
  width: 40px; /* Reduce size */
  height: 40px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s;
  border-radius: 5px;
  margin: 3px;
}

.thumbnail:hover {
  border: 2px solid #ffffff;
}

/* Order Button */
.Order-button {
  background: #2b1d1d93;
  color: aliceblue;
  border: none;
  font-size: 14px;
  padding: 8px;
  border-radius: 15px;
  width: 100%;
  text-align: center;
  cursor: pointer;
  transition: 0.3s;
}

.Order-button:hover {
  background: #08070783;
  color: rgb(227 227 224 / 81%);
  outline: 1px solid rgb(49, 48, 48);
}

/* Responsive Design */
@media (max-width: 768px) {
  .S-Card {
      width: 90%;
  }
  
  .image-history-section {
      flex-direction: column;
  }

  .main-image-container, .history-info {
      width: 100%;
  }

  .main-product-image {
      max-height: 59vh;
  }

  .thumbnail {
      width: 35px;
      height: 35px;
  }
}

@media (max-width: 480px) {
  .S-Card {
      width: 95%;
      padding: 5px;
  }

  .thumbnail {
      width: 30px;
      height: 30px;
  }
}

/* Modal Styles */
.order-form-modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
     /* Center the modal vertically */
    transition: 0.3s ease; /* Smooth transition for opening */
}

/* Modal Content */
.order-form-content {
    background-color: #fff;
    margin: auto;
    padding: 30px;
    border-radius: 10px; /* Rounded corners */
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

/* Close Button */
.close {
    color: red;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

/* Heading */
h2 {
    text-align: center;
    color: #333;
    font-family: 'Arial', sans-serif;
    margin-bottom: 20px;
}

/* Form Elements */
.order-form-content input[type="text"],
.order-form-content input[type="email"],
.order-form-content input[type="number"],
.order-form-content input[type="submit"] {
    width: 100%;
    padding: 12px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 4px; /* Rounded input fields */
    font-size: 13px;
    box-sizing: border-box; /* Ensure padding is included in width */
}

.order-form-content input[type="submit"] {
    background-color: #28a745;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.order-form-content input[type="submit"]:hover {
    background-color: #218838;
}

/* Styling labels */
.order-form-content label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .order-form-content {
        width: 90%;
    }
}
