* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: "Jost", sans-serif;
  perspective: 600px;
}
/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 10;
}

.hidden {
  display: none;
}

/* Modal */
#loginModal,
#signupModal {
  position: fixed;
  top: 50px;
  left: 50%;
  transform: translate(-50%, -5px);
  background: #fff;
  padding: 150px 100px;
  width: 600px;
  z-index: 16;
  border-radius: 8px;
  text-align: center;
}

.modal input {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
}

#loginModal button,
#signupModal button {
  margin: 10px 0;
  width: 100%;
  padding: 10px;
  background: #333;
  color: #fff;
  border: none;
  cursor: pointer;
}

.modal span {
  color: rgb(235, 103, 59);
  cursor: pointer;
}
.error {
  color: rgb(235, 103, 59);
}
/* --------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
}
.hero-overlay {
  position: absolute;
  width: 100%;
  height: 80vh;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  z-index: 5;
  pointer-events: none;
}
.slider {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.slider-container {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease-in-out;
}

.slide {
  min-width: 100%;
  height: 80vh;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: absolute;
  top: 30%;
  z-index: 15;
  color: #fff;
  max-width: 700px;
  margin-left: 50px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* الأزرار */
.btn {
  padding: 12px 25px;
  margin: 5px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.book-btn {
  background-color: rgb(235, 103, 59);
  color: #fff;
}
.book-btn:hover {
  background-color: rgb(228, 87, 39);
}

.learnMore-btn {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.learnMore-btn:hover {
  background-color: #fff;
  color: #111;
}

.slider-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.slider-controls button {
  padding: 10px 15px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 18px;
}

.slider-controls button:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slider-dots {
  position: absolute;
  top: 75%;
  left: 50%;
  transform: translateX(-50%);

  display: flex;
  gap: 15px;
  z-index: 10;
}

.slider-dots .dot {
  width: 26px;
  height: 4px;
  background-color: #ccc;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.4s;
}

.slider-dots .dot.active {
  background-color: rgb(235, 103, 59);
  width: 36px;
}
/* -------------------------------- */

.header .container1 {
  width: 88%;
  height: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 10px 0;
}
.header .container1 .left-nav {
  display: flex;
  align-items: center;
}
.header .container1 .left-nav a {
  text-decoration: none;
  color: rgb(58, 58, 58);
  font-size: 14px;
  padding: 0 10px;
}
.header .container1 a {
  position: relative;
}
.header .container1 a::after {
  content: "";
  position: absolute;
  width: 2px;
  height: 0px;
  background-color: rgb(235, 103, 59);
  left: 0px;
  bottom: 0px;
  opacity: 1;
  transition: 1s;
}
.header .container1 a:hover::after {
  height: 100%;
  transition: 1s;
}
.header .container1 a::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 0px;
  background-color: rgb(235, 103, 59);
  right: 0px;
  top: 0px;
  opacity: 1;
  transition: 1s;
}
.header .container1 a:hover::before {
  height: 100%;
  transition: 1s;
}
.header .container1 .right-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .container1 .right-nav a {
  text-decoration: none;
  color: rgb(68, 68, 68);
  font-size: 14px;
  padding: 0 10px;
}
.header .container1 .right-nav a i {
  color: black;
  transition: 1s;
}
.header .container1 .right-nav a:hover i {
  color: rgb(235, 103, 59);
  transform: rotateY(180deg);
  transition: 1s;
}
.header .container2 {
  width: 88%;
  height: 75px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
}
.header .container2 .logo {
  padding: 10px;
}
.header .container2 .nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 45%;
}
.header .container2 .nav .nav-link {
  font-size: 18px;
  padding: 10px;
  text-decoration: none;
  color: black;
  position: relative;
}
.header .container2 .nav .nav-link:hover {
  color: rgb(235, 103, 59);
}
.header .container2 .nav .pages i {
  margin-left: 5px;
  font-size: 10px;
  display: inline;
}
.header .container2 .nav .nav-link::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 0;
  bottom: -2px;
  left: -2px;
  border: 2px solid rgb(235, 103, 59);
  border-top: 0;
  border-bottom: 0;
  opacity: 1;
  transition: 0.5s;
}
.header .container2 .nav .nav-link:hover::before {
  height: 101%;
  transition: 0.5s;
}
.header .container2 .nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 100%;
  top: 0px;
  left: -2px;
  border: 2px solid rgb(235, 103, 59);
  border-left: 0;
  border-right: 0;
  opacity: 1;
  transition: 0.5s;
  /* transform: scaleY(0); */
}
.header .container2 .nav .nav-link:hover::after {
  width: 103%;
  /* transform: scaleY(1); */
}
.header .container2 .icons {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header .container2 .icons a {
  font-size: 20px;
  padding: 10px;
  text-decoration: none;
  color: black;
  position: relative;
}
.header .container2 .icons a:hover {
  color: rgb(235, 103, 59);
}
.header .container3 {
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(58, 58, 58);
}
.header .container2 .icons a span {
  position: absolute;
  top: -5px;
  right: 10px;
  background-color: rgb(235, 103, 59);
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 50%;
}
.header .container2 .icons .cart:hover span {
  top: -10px;
  transition: 0.5s;
}
.header .container3 p {
  font-size: 18px;
  color: white;
}
/* drop dow */
.header .container2 .nav .drop-down {
  display: flex;
  justify-content: space-between;
  text-align: center;
  position: absolute;
  width: 280px;
  background-color: white;
  box-shadow:
    1px 1px 2px #00000070,
    -1px -1px 2px #00000070;
  border-radius: 20px;
  top: 50px;
  left: 350px;
  opacity: 0;
  visibility: hidden;
  transition: 1s;
  z-index: 10;
  transform: scale(0, 0);
  padding: 0 15px;
}
.header .container2 .nav .drop-down h4 {
  font-size: 20px;
  color: rgb(100, 100, 100);
  margin-bottom: 10px;
  border-bottom: 1px dashed rgb(235, 103, 59);
  font-weight: 300;
  height: 30px;
}
.header .container2 .nav .drop-down a {
  height: 30px;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 18px;
  transition: 0.3s;
}
.header .container2 .nav .drop-down a:hover {
  color: rgb(235, 103, 59);
  transform: scale(1.1, 1.1);
}
.header .container2 .nav .pages:hover .drop-down {
  top: 50px;
  left: 350px;
  opacity: 1;
  visibility: visible;
  transition: 1s;
  transform: scale(1, 1);
}
.header .container2 .nav .drop-down .column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0;
}
/*  */
.header .container3 p a {
  color: rgb(235, 103, 59);
  transition: 0.3s;
}
.header .container3 p a:hover {
  letter-spacing: 2px;
}

/* ---------------------------------------------section1 -----------------------------------------------*/
.section1 {
  display: flex;
  width: 88%;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 50px 0px;
}
.section1 .product-card {
  width: 28%;
  height: 450px;
  background-color: rgb(247, 244, 243);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.8);
}
.section1 .product-card img {
  transition: 0.5s;
  height: 100%;
}
.section1 .product-card::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 30%;
  bottom: 0;
  left: 0;
  background: linear-gradient(to top, rgb(0, 0, 0), rgba(255, 255, 255, 0));
  opacity: 0.7;
}
.section1 .product-card .product-info {
  width: 100%;
  position: absolute;
  bottom: -22px;
  color: rgb(255, 255, 255);
  font-size: 16px;
  text-align: center;
  transition: 0.5s;
  z-index: 3;
}
.section1 .product-card .product-info h3 {
  font-size: 28px;
  margin-bottom: 15px;
}
.section1 .product-card .product-info a {
  text-decoration: none;
  color: rgb(235, 103, 59);
  font-size: 18px;
  text-transform: capitalize;
  font-weight: bold;
  border-bottom: 2px solid rgb(235, 103, 59);
}
.section1 .product-card:hover .product-info {
  bottom: 20px;
  transition: 0.5s;
}
.section1 .product-card:hover img {
  transform: scale(1.1);
  transition: 0.5s;
}
/*------------------------------------- section2 --------------------------------------------------*/
.section2 {
  width: 100%;
  padding: 60px 0px;
}
.section2 .trending-header {
  margin: auto;
  width: 88%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.section2 .trending-title {
  font-size: 36px;
  color: rgb(235, 103, 59);
  font-weight: 600;
  text-align: center;
}
.section2 .trending-header .trending-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 35%;
}
.section2 .trending-header .trending-nav a {
  height: 100%;
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 20px;
  transition: 0.5s;
  text-transform: capitalize;
}
.section2 .trending-header .trending-nav .active {
  color: rgb(235, 103, 59);
  position: relative;
}
.section2 .trending-header .trending-nav .active::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: rgb(235, 103, 59);
  bottom: -20px;
  left: 0px;
}
.section2 hr {
  width: 88%;
  margin: 5px auto;
}
.section2 .trending-products {
  width: 88%;
  margin: auto;
  padding: 40px 0px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  gap: 20px;
}
.section2 .trending-products .product-card {
  position: relative;
  perspective: 1000px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.section2 .trending-products .product-card .product-info {
  text-align: center;
  margin-top: 15px;
}
.section2 .trending-products .product-card .product-info a {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 5px;
  text-decoration: none;
  color: black;
}
.section2 .trending-products .product-card .product-info p {
  font-size: 20px;
  color: rgb(110, 110, 110);
  padding: 10px 0;
}
.section2 .trending-products .product-card .product-info span {
  font-size: 20px;
  padding: 0 15px;
}
.section2 .trending-products .product-card:hover .product-info a {
  color: rgb(235, 103, 59);
  transition: 0.2s;
}

.section2 .trending-products .product-card .icons {
  background-color: white;
  width: 55%;
  height: 50px;
  position: absolute;
  bottom: 115px;
  left: 20%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
  z-index: 2;
  opacity: 0;
}
.section2 .trending-products .product-card .icons a {
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: black;
  font-size: 20px;
  padding: 10px 15px;
  text-align: center;
}
.section2 .trending-products .product-card .icons a:hover {
  background-color: rgb(235, 103, 59);
  color: white;
  transition: 0.5s;
}
.section2 .trending-products .product-card:hover .icons {
  bottom: 125px;
  transition: 0.5s;
  opacity: 1;
}
.love-btn.active i {
  color: #ff4d4d;
}
.section2 .trending-products .left,
.section2 .trending-products .right {
  font-size: 30px;
  color: rgb(200, 200, 200);
  cursor: pointer;
  transition: 0.5s;
  position: absolute;
  background: none;
  border: none;
  padding: 0;
  z-index: 10;
}
.section2 .trending-products .left {
  left: -30px;
  top: 45%;
  transform: translateY(-50%);
}
.section2 .trending-products .right {
  right: -30px;
  top: 45%;
  transform: translateY(-50%);
}
.section2 .trending-products .left:hover,
.section2 .trending-products .right:hover {
  color: rgb(235, 103, 59);
  transition: 0.5s;
}
/* filter */
.section2 .filters {
  width: 88%;
  margin: 20px auto 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.filters select {
  padding: 10px 10px;
  font-size: 16px;
  color: rgb(100, 100, 100);
  border: 1px solid rgb(235, 103, 59);
  cursor: pointer;
  background-color: white;
  border-radius: 4px;
}

.products-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 100%;
  flex: 1;
}
.products-wrapper .product-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.products-wrapper .product-card img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}
/*------------------------section3---------------------------------------------------- */
.section3 {
  height: 60%;
  width: 100%;
  background-color: rgb(219, 219, 219);
  margin: 50px 0;
  border-top: 1px solid rgb(150, 150, 150);
  border-bottom: 1px solid rgb(150, 150, 150);
  position: relative;
}
.section3 h2 {
  font-size: 36px;
  color: rgb(235, 103, 59);
  padding: 30px 0;
  text-align: center;
}
.section3 .description {
  font-size: 22px;
  color: rgb(100, 100, 100);
  padding: 0 30%;
  line-height: 1.5;
  text-align: center;
}
.section3 .customer-test {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}
.section3 .customer-test img {
  border-radius: 50%;
}
.section3 .customer-test .customer-info {
  padding: 0px 10px;
}
.section3 .customer-test .customer-info p {
  font-size: 16px;
  color: rgb(110, 110, 110);
  font-weight: bold;
}
.section3 .left,
.section3 .right {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 30px;
  color: rgb(110, 110, 110);
  cursor: pointer;
  transition: 0.5s;
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
}
.section3 .left {
  left: 80px;
  top: 50%;
}
.section3 .right {
  right: 80px;
  top: 50%;
}
/* .section3 .left i , .section3 .right i{
  height: 40px;
  width: 40px;
} */

.section3 .left:hover,
.section3 .right:hover {
  background-color: rgb(235, 103, 59);
  color: rgb(255, 255, 255);
  transition: 0.5s;
}

/* -------------------------------------------------section6 ------------------------------------------------------------*/
.section6 {
  width: 100%;
}
.section6 .services-container {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 60px 0;
}
.section6 .services-container .service-card {
  text-align: center;
}
.section6 .services-container .service-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
  color: rgb(0, 0, 0);
}
.section6 .services-container .service-card p {
  color: rgb(110, 110, 110);
  padding: 0 50px;
}

.section6 .services-container .service-card .icon {
  position: relative;
  width: 60px;
  height: 60px;
  margin: auto;
  margin-bottom: 10px;
  overflow: hidden;
}

.section6 .services-container .service-card .icon i {
  font-size: 50px;
  position: absolute;
  color: rgb(150, 150, 150);
  display: block;
  transition: 0.5s;
}

.section6 .services-container .service-card .icon .front {
  top: 0;
  opacity: 1;
}

.section6 .services-container .service-card .icon .back {
  top: 100%;
  opacity: 0;
  color: rgb(235, 103, 59);
}

.section6 .services-container .service-card .icon:hover .front {
  top: -100%;
  opacity: 0;
}

.section6 .services-container .service-card .icon:hover .back {
  top: 0;
  opacity: 1;
}
/* -------------------------------------------section7------------------------------------------- */
.footer {
  width: 100%;
  background-color: rgb(58, 58, 58);
  color: white;
}
.footer .container1 {
  width: 88%;
  min-height: 120px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  padding: 20px 0 0;
  border-bottom: 1px solid rgb(100, 100, 100);
}
.footer .container1 .text h4 {
  font-size: 25px;
  margin-bottom: 15px;
}
.footer .container1 .text p {
  font-size: 18px;
  color: rgb(200, 200, 200);
}
.footer .container1 .contact {
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer .container1 .contact input {
  width: 450px;
  height: 50px;
  border: none;
  outline: none;
  padding: 0 10px;
  font-size: 16px;
}
.footer .container1 .contact a {
  text-decoration: none;
  background-color: rgb(235, 103, 59);
  color: white;
  height: 50px;
  padding: 10px 30px;
  font-size: 22px;
  margin-left: 10px;
  transition: 0.5s;
}
.footer .container1 .contact a:hover {
  transform: scale(1.1, 1.1);
}

.footer .container1 .social a i {
  font-size: 24px;
  color: white;
  margin: 0 5px;
  transition: 0.5s;
}
.footer .container1 .social a i:hover {
  color: rgb(235, 103, 59);
  transition: 0.5s;
  transform: scale(1.1, 1.1);
}
.footer .container2 {
  width: 88%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 50px 0;
  border-bottom: 1px solid rgb(100, 100, 100);
}
.footer .container2 .footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer .container2 .logo {
  display: flex;
  width: 120px;
  height: 120px;
  padding: 30px 9px;
  align-items: end;
  background-color: white;
  border-radius: 50%;
  align-self: flex-start;
}

.footer .container2 .footer-column h4 {
  font-size: 22px;
  margin-bottom: 25px;
}
.footer .container2 .footer-column a {
  text-decoration: none;
  color: rgb(200, 200, 200);
  font-size: 16px;
  margin-bottom: 10px;
  transition: 0.5s;
}
.footer .container2 .footer-column a:hover {
  text-decoration: underline;
  transform: scale(1.1, 1.1);
  transition: 0.5s;
}
.footer .container3 {
  width: 88%;
  text-align: center;
  margin: auto;
  padding: 30px 0;
}
.footer .container3 p {
  font-size: 16px;
  color: rgb(200, 200, 200);
}
.footer .container3 p a {
  text-decoration: none;
  color: rgb(235, 103, 59);
  transition: 0.5s;
}
.footer .container3 p a:hover {
  letter-spacing: 2px;
  transition: 0.5s;
  text-decoration: underline;
}
@keyframes heartColorChange {
  0% {
    color: rgb(0, 0, 0);
    transform: scale(1, 1);
  }
  50% {
    color: rgb(235, 103, 59);
    transform: scale(1.2, 1.2);
  }
  100% {
    color: rgb(0, 0, 0);
    transform: scale(1, 1);
  }
}
.footer .container3 p i {
  animation: heartColorChange 1s infinite;
}

/* ---------------------- */
/* =========================
   PRODUCT MODAL
========================= */
/* Modal Wrapper */
.product-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-modal.hidden {
  display: none;
}

.product-modal .modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}

.product-modal .modal-content {
  position: relative;
  background: #fff;
  width: 70%;
  max-width: 800px;
  border-radius: 12px;
  padding: 25px;
  z-index: 2;
  animation: scaleIn 0.3s ease;
}

/* Animation */
@keyframes scaleIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 30px;
  cursor: pointer;
  color: #333;
}

.modal-body {
  display: flex;
  gap: 25px;
  justify-content: center;
  align-items: center;
}

.modal-body img {
  width: 300px;
  height: 350px;
  object-fit: cover;
  border-radius: 10px;
}

.modal-info {
  flex: 1;
  text-align: center;
}

.modal-info h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.modal-info .price {
  font-size: 22px;
  color: rgb(235, 103, 59);
  margin: 10px 0;
}

.modal-info p {
  line-height: 1.6;
  color: #555;
}
.modal-info .add-to-cart-btn {
  margin-top: 20px;
  padding: 12px 20px;
  background-color: rgb(235, 103, 59);
  color: white;
  border: none;
  cursor: pointer;
  font-size: 18px;
  border-radius: 6px;
}
.modal-info .add-to-cart-btn:hover {
  background-color: rgb(235, 103, 59);
  opacity: 0.8;
}

/* -------------------------- */
/* ====== Cart Modal ====== */

#cartModal {
  position: fixed;
  top: 200px;
  left: 50%;
  transform: translate(-50%, -50px);
  background: rgb(56, 55, 55, 0.5);
  padding: 150px 100px;
  height: 100vh;
  width: 100%;
  z-index: 16;
  border-radius: 8px;
  text-align: center;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 10px;
  margin-bottom: 12px 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
}

.cart-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-info {
  flex: 1;
  padding-left: 10px;
}

.cart-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.cart-info p {
  margin: 6px 0;
  font-size: 14px;
  color: #555;
}

.qty-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 8px;
}

.qty-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 6px;
  cursor: pointer;
  background: #f8f8f8;
  font-weight: 700;
}

.qty {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.item-total {
  font-weight: 700;
  font-size: 20px;
}

.delete-item {
  cursor: pointer;
  color: #ff4d4d;
  font-size: 18px;
  text-align: center;
}
.cart-summary p {
  font-size: 20px;
  font-weight: 700;
}
.cart-summary {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}
.cart-summary button {
  width: 70%;
  font-size: 18px;
  max-width: 320px;
  padding: 12px 0;
  border: none;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 700;
}

.cart-summary button:first-child {
  background: #111;
}

.cart-summary button:last-child {
  background: #ff6b4a;
}

.cart-summary button:hover {
  opacity: 0.9;
}

/* Overlay */

.cart-modal {
  position: fixed;
  width: 100%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  margin: auto;
  padding: 25px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.65);
  position: relative;
}

/* Close button */
#closeCartModal {
  position: absolute;
  top: 12px;
  right: 12px;
  cursor: pointer;
  font-size: 22px;
  color: #333;
}

.cart-card {
  display: flex;
  gap: 15px;
  margin: 15px 0;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 10px;
}

.cart-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
}

.cart-info h3 {
  margin: 20px;
}

/* ----------------- */
/* ===== Confirm Modal ===== */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 999;
}

.confirm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(3px);
}

.confirm-box {
  position: relative;
  background: #fff;
  width: 90%;
  max-width: 420px;
  margin: 120px auto;
  padding: 30px 25px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: pop 0.35s ease;
}

@keyframes pop {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.confirm-close {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}

.confirm-icon i {
  font-size: 70px;
  color: #4caf50;
  margin-bottom: 15px;
}

.confirm-box h2 {
  margin-bottom: 8px;
}

.confirm-box p {
  color: #555;
  margin-bottom: 20px;
}

.shipping-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #f7f7f7;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 600;
}

.shipping-box i {
  color: #ff9800;
}

.confirm-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 10px;
  cursor: pointer;
}

.confirm-btn:hover {
  opacity: 0.9;
}

.hidden {
  display: none;
}

.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #ff6b4a;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 24px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.scroll-top.show {
  display: flex;
  opacity: 1;
}

.scroll-top:hover {
  transform: translateY(-3px);
}
