* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

body {
  background-color: var(--color-background);
  overflow-x: hidden;
}
ul li {
  list-style: none;
}
a {
  text-decoration: none;
}
:root {
  --color-primary: #fbbf24;
  --color-secondary: #363e58;
  --color-background: #f9fafb;
  --color-text: #374151;
  --color-accent: #ef4444;
  --color-plus: #ded9d6;
}

.container {
  padding-left: 30px;
  padding-right: 30px;
  margin-left: auto;
  margin-right: auto;
}
.navbar {
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
}

.andlogo {
  color: var(--color-secondary);
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--color-background);

  border-radius: 8px;
}

.navbar .container .logo {
  display: flex;
  align-items: center;
  gap: 30px;
}
.navbar .container .logo .wellcoming {
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: var(--color-plus);
  border-radius: 20px;
  padding: 5px 10px;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
}
.navbar .container .logo .wellcoming i {
  color: var(--color-background);
  font-size: 20px;
  background-color: var(--color-secondary);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.navbar .container .logo h4 {
  color: var(--color-secondary);
  font-size: 16px;
}

.navbar .container .logo h4 span {
  color: var(--color-accent);
  margin-left: 5px;
  font-weight: bold;
}
.navbar .container .logo h1 {
  color: var(--color-primary);
  font-weight: bold;
  font-size: 30px;
}

.navbar .container ul {
  display: flex;
  justify-content: space-between;
  gap: 25px;
}

.navbar .container ul li {
  list-style: none;
}

.navbar .container ul li a {
  color: var(--color-text);
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar .container ul li a:hover {
  color: var(--color-primary);
}

.cart {
  position: relative;
}

.car-shoping {
  color: var(--color-secondary);
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
  font-size: 30px;
}

.cart .car-shoping .cartcount {
  position: absolute;
  width: 25px;
  height: 25px;
  top: -15px;
  right: -15px;
  border-radius: 50%;
  text-align: center;
  background-color: var(--color-accent);
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: bold;
  transition: height 0.3s ease;
}

.cart .showcart {
  display: flex;
  position: absolute;
  padding: 10px;
  background-color: var(--color-background);
  top: 10px;
  right: 0;
  width: 350px;
  max-height: 300px;
  flex-direction: column;
  border: 3px solid var(--color-plus);
  border-radius: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
  overflow-y: auto;
  z-index: -1;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
}

.cart .showcart.cartActive {
  transform: translateY(40px);
  opacity: 1;
  pointer-events: auto;
  z-index: 10;

  transition:
    transform 0.3s ease,
    opacity 0.3s ease,
    visibility 0s;
}

.cart .showcart .cartbox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  box-shadow:
    rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
    rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
    rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}
.viewcart {
  border: none;
  background-color: var(--color-secondary);
  color: white;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.viewcart:hover {
  background-color: var(--color-accent);
}

.cart .showcart .cartbox .counter {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cart .showcart .cartbox .counter button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-text);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
  cursor: pointer;
  border: 2px solid var(--color-secondary);
}

.cart .showcart .cartbox .counter button:hover {
  background-color: var(--color-accent);
  color: var(--color-background);
  border: none;
}
.empty {
  color: var(--color-plus);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-accent);
  padding: 10px;
}

.cart .showcart .cartbox .counter p {
  font-size: 18px;
}
.cart .showcart .cartbox .photo {
  width: 40px;
  height: 40px;
  display: flex;
  gap: 7px;
  align-items: center;
}
.cart .showcart .cartbox .photo span {
  display: block;
  color: var(--color-primary);
  font-size: 16px;
  font-weight: bold;
  width: 100px;
}
.cart .showcart .cartbox .photo img {
  width: 100%;
}

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

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

.user-content .Auth {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}
.user-content .log,
.user-content .reg,
.user-content .logout {
  padding: 10px 20px;
  color: white;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.user-content .log,
.user-content .reg {
  background-color: var(--color-primary);
}

.logout {
  background-color: var(--color-accent);
}

.log a,
.reg a {
  color: white;
  font-weight: bold;
}
.user-content i {
  transition: 0.5s ease;
  cursor: pointer;
}
.user-content .car-shoping:hover {
  color: var(--color-accent);
}

.log:hover,
.reg:hover,
.logout:hover {
  background-color: var(--color-secondary);
  color: white;
}

.landing {
  background-color: white;
  margin-top: -45px;
}

.landing .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.landing .container .info {
  flex: 1 1 400px;
  color: var(--color-text);
  background-color: transparent;
  padding: 30px;
  border-radius: 12px;
  box-shadow: rgba(126, 14, 14, 0.2) 0px 10px 25px;
  position: relative;
  z-index: 2;
  margin-top: 40px;
}

.landing .container .info h2 {
  font-size: 36px;
  color: var(--color-primary);
  margin-bottom: 20px;
  font-weight: 900;
}

.landing .container .info p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  width: 70%;
  color: var(--color-secondary);
}

.landing .container .info .learn-more {
  padding: 12px 25px;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.landing .container .info .learn-more:hover {
  background-color: var(--color-secondary);
}

.landing .container .photo {
  flex: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.landing .container .photo img {
  width: 350%;
  height: 600px;
  border-radius: 12px;
  margin-right: 200px;
  object-fit: cover;
}

/* curverd */
.curved {
  --size: 65px;
  --R: calc(var(--size) * 1.28);
  --position: top;
  position: relative;
  z-index: 5;
  margin-top: -75px;

  -webkit-mask:
    radial-gradient(
        var(--R) at left 50% var(--position) calc(1.8 * var(--size)),
        #000 99%,
        #0000 101%
      )
      left calc(50% - 2 * var(--size)) var(--position) 0 / calc(4 * var(--size))
      100%,
    radial-gradient(
        var(--R) at left 50% var(--position) calc(-0.8 * var(--size)),
        #0000 99%,
        #000 101%
      )
      left 50% var(--position) var(--size) / calc(4 * var(--size)) 100% repeat-x;

  background: var(--color-plus);
  height: calc(var(--size) + 100px);
}

.curved-bottom {
  --size: 25px;
  --R: calc(var(--size) * 1.28);
  --position: bottom;
  position: relative;
  z-index: 3;

  -webkit-mask:
    radial-gradient(
        var(--R) at left 50% var(--position) calc(1.8 * var(--size)),
        #000 99%,
        #0000 101%
      )
      left calc(50% - 2 * var(--size)) var(--position) 0 / calc(4 * var(--size))
      100%,
    radial-gradient(
        var(--R) at left 50% var(--position) calc(-0.8 * var(--size)),
        #0000 99%,
        #000 101%
      )
      left 50% var(--position) var(--size) / calc(4 * var(--size)) 100% repeat-x;

  background: var(--color-plus);
  height: calc(var(--size) + 80px);
}

.products {
  padding: 50px 0;
}
.products h1 {
  text-align: center;
  color: var(--color-accent);
}
.products > p {
  margin-bottom: 50px;
}
.products .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}
.products .container .box {
  flex: calc(25% - 25px);
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.products .container .box .btns {
  display: flex;
  gap: 10px;
}
.products .container .box .btns button {
  flex: 1;
  padding: 10px;
  background-color: var(--color-text);
  color: var(--color-plus);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.products .container .box .btns .details {
  background-color: var(--color-primary);
  color: var(--color-secondary);
}

.products .container .box:hover {
  transform: translateY(-10px);
  box-shadow: rgba(0, 0, 0, 0.2) 0px 8px 20px;
}

.products .container .box::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 5px;
  top: 0;
  left: 50%;
  transition: all 0.5s ease;
  background-color: var(--color-accent);
}

.products .container .box:hover::after {
  width: 100%;
  left: 0;
}

.products .container .box .photo {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  padding: 15px;
  width: 100%;
  transition: background-color 0.3s ease;
}
.products .container .box:hover .photo {
  background-color: var(--color-plus);
}

.products .container .box .photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  display: block;
}

.products .container .box .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px;
  color: var(--color-text);
}
.products .container .box .info .priceAndrate {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
}
.products .container .box .info h3 {
  padding: 5px;
  color: var(--color-primary);
  font-size: 18px;
  text-overflow: ellipsis;
}

.products .container .box .info p {
  font-size: 14px;
  font-weight: bold;
  margin: 0 0 10px 0;
}
.products .container .box .info p span {
  color: var(--color-accent);
}

.products .container .box .info button:hover {
  background-color: var(--color-accent);
  color: var(--color-background);
}

.footer {
  margin-top: 150px;
  color: white;
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
  background-color: var(--color-plus);
}

.curved-footer {
  --size: 65px;
  --R: calc(var(--size) * 1.28);
  --position: top;
  position: relative;
  z-index: 3;
  bottom: 100px;

  -webkit-mask:
    radial-gradient(
        var(--R) at left 50% var(--position) calc(1.8 * var(--size)),
        #000 99%,
        #0000 101%
      )
      left calc(50% - 2 * var(--size)) var(--position) 0 / calc(4 * var(--size))
      100%,
    radial-gradient(
        var(--R) at left 50% var(--position) calc(-0.8 * var(--size)),
        #0000 99%,
        #000 101%
      )
      left 50% var(--position) var(--size) / calc(4 * var(--size)) 100% repeat-x;

  background: var(--color-plus);
  height: calc(var(--size) + 80px);
}

.footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-logo p {
  font-size: 16px;
  width: 450px;
  color: var(--color-text);
  line-height: 1.5;
}

.footer-links h3,
.footer-social h3,
.footer-logo h2 {
  font-size: 30px;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--color-accent);
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links ul li a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--color-accent);
}

.footer-social .social-icons {
  display: flex;
  gap: 15px;
}

.footer-social .social-icons a i {
  font-size: 30px;
  color: var(--color-secondary);
  transition: transform 0.3s ease;
}

.footer-social .social-icons a:hover i {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  border-top: 1px solid var(--color-secondary);
  padding: 15px;
  font-size: 16px;
  color: var(--color-secondary);
  font-weight: bold;
}
/* ///////////////////////////////////////////// Cart Page */

.cartMainImage {
  background-image: url("../Images/cartmain.jpg");
  background-repeat: no-repeat;
  height: 280px;
  background-size: cover;
  flex-shrink: 0;
}

.cart-container .container {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  align-items: start;
}

.cart-container .cart-title {
  padding: 10px;
  font-size: 40px;
  grid-column: 1/6;
  color: var(--color-secondary);
}

.cartScroll {
  grid-column: 1/5;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow-y: auto;
  padding-right: 10px;
}

.cart-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-plus);
  padding: 15px;
  align-items: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  width: 100%;
}

.cart-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}
.cart-card:hover .cardphot img {
  transform: scale(1.1);
}
.cardleft {
  flex: 30%;
  display: flex;
  align-items: start;
  gap: 15px;
}
.cardleft .cardphot {
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  border: 1px solid var(--color-secondary);
  box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;

  overflow: hidden;
  flex-shrink: 0;
}

.cart-card img {
  width: 60%;

  object-fit: cover;
  transition: all 0.3s ease;
}

.card-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  height: 100%;
}
.cardtitle {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}
.card-name {
  color: var(--color-text);
}
.content-card {
  width: 80%;
  color: #b1b1b1;
  font-weight: 100;
}

.card-price {
  font-size: 22px;
  color: var(--color-accent);
  margin-top: 15px;
}
.card-rate {
  font-size: 18px;
  color: var(--color-primary);
  margin-top: 15px;
}
.card-rate-span,
.card-price-span {
  font-size: 16px;
  color: var(--color-text);
  margin-right: 5px;
}

.cart-qty {
  display: flex;
  gap: 20px;
  align-items: center;
}

.cart-qty button {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: none;
  border: 1px solid var(--color-secondary);
  background-color: var(--color-plus);
  color: var(--color-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.cart-qty button:hover {
  background-color: var(--color-accent);
  color: var(--color-background);
  border: none;
}
.cart-qty .span-count {
  font-size: 30px;
}

.remove-btn {
  background: none;
  border: none;
  color: var(--color-plus);
  font-size: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.remove-btn:hover {
  transform: scale(1.1);
  color: var(--color-accent);
}

.cartSummary {
  grid-column: 5 / 8;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cartSummary h3 {
  font-size: 20px;
  color: #222;
  margin-bottom: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #444;
}

.summary-row.total {
  font-size: 18px;
  font-weight: bold;
  border-top: 1px solid #eee;
  padding-top: 10px;
}

.checkout-btn {
  margin-top: 15px;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.checkout-btn:hover {
  background: var(--color-plus);
}

.back-btn {
  background: transparent;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.3s ease;
  width: 100%;
}

.back-btn:hover {
  background: #f5f5f5;
}
.empty-cart-msg {
  text-align: center;
  color: var(--color-accent);
  font-size: 50px;
  margin-top: 50px;
}

.feedback-info {
  text-align: center;
}
.feedback-info p,
.products > p {
  color: var(--color-text);
  opacity: 0.7;
  text-align: center;
  font-style: italic;
}
.feedback-info h1 {
  color: var(--color-accent);
  font-weight: bold;
}

.swiper {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  height: 400px;
  overflow: hidden;
  padding: 60px 150px !important;
  border-radius: 10px;
}

.swiper-slide {
  background: var(--color-background);
  border-radius: 18px;
  /* width: 400px; */
  text-align: center;
  padding: 15px;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow:
    rgba(6, 24, 44, 0.4) 0px 0px 0px 2px,
    rgba(6, 24, 44, 0.65) 0px 4px 6px -1px,
    rgba(255, 255, 255, 0.08) 0px 1px 0px inset;
}

.pho {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  padding: 10px;
  margin-bottom: 12px;
  border: 3px solid var(--color-secondary);
  transform: scale(1.05);
}

.pho img {
  width: 100%;
  height: 100%;
  transform: scale(1.5);
  object-fit: cover;
}

.rate {
  color: gold;
  margin: 8px 0;
}

.swiper-slide p {
  font-size: 14px;
  color: #666;
  max-width: 350px;
  line-height: 1.6;
}

.swiper-button-prev,
.swiper-button-next {
  border: 2px solid var(--color-secondary);
  padding: 10px;
  border-radius: 50%;
  font-weight: bold !important;
  font-size: 50px !important;
  color: var(--color-accent) !important;
}
