@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap");

:root {
  --bg: #ffffff;
  --accent: #111827;
}

* {
  box-sizing: border-box;
  perspective: 600px;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--accent);
  position: relative;
  font-family: "Merriweather", serif;
}


/* start navbar */

.navbar-home {
  width: 100%;
  background-color: rgb(255, 253, 253);
  box-shadow: 0 0 3px black;
  height: 65px;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 9999999999999999;
}

.content-navbar {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.left {
  display: flex;
  align-items: center;
  gap: 12px;
}

#hamburger {
  z-index: 10000;
  position: relative;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  border: 1px solid transparent;
  z-index: 9999999;
  position: relative;
}

.icon-cart{
  width: 25px;
}

.icon-btn:focus {
  outline: 2px solid #c7d2fe;
}

.brand {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-weight: 800;
  font-size: 20px;
  font-family: "Merriweather", serif;
  text-decoration: none;
  color: black;
}

.brand:hover {
  color: black;
}
.links {
  display: none;
}

.mobile-menu {
  display: none;
  position: absolute;
  background: var(--bg);
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 2s linear;
  top: 15px;
  right: 20px;
  z-index: 9998;
  position: absolute;
}

.mobile-menu a {
  display: block;
  padding: 12px 16px 10px;
  border-radius: 6px;
  text-decoration: none;
  color: var(--accent);
  transition: background 0.2s;
  font-family: "Merriweather", serif;
  font-weight: bold;
}

.mobile-menu a:hover {
  background: #f3f4f6;
}

@media (max-width: 768px) {
  .mobile-menu {
    top: 64px;
    left: 0;
    right: 0;
  }
}

@media (min-width: 769px) {
  .mobile-menu {
    top: 64px;
    right: 16px;
    width: 300px;
    height: 570px;
  }

  .mobile-menu a {
    text-align: center;
  }
}
/* end navbar */
/* ==================================== */

/* start slid header  */
.carousel-inner {
  height: 800px;
}
.carousel-inner img {
  height: 800px;
}
.carousel-inner .carousel-caption p {
  font-size: 20px;
  font-weight: bolder;
  color: rgb(255, 255, 255);
  letter-spacing: 2px;
  word-spacing: 2px;
}
.slide-home span {
  font-size: 50px;
}
/* end slid header  */

/* -------------------------------------------------- */

/* start section product  */

.section-products h1 {
  font-family: "Merriweather", serif;
  font-weight: bold;
  letter-spacing: 2px;
}
.section-products .single-product img {
  height: 300px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px black;
}
.section-products .single-product h4 {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  padding-top: 15px;
  font-weight: bold;
  font-size: 12px;
  color: white;
}

.section-products .single-product {
  transition: all 0.5s linear;
}
.section-products .single-product:hover {
  transform: translateZ(10px);
}

/* end section product  */

/* start video  */

.video video {
  height: 500px;
  width: 350px;
}

/* end video  */

/* start footer  */
.copy-right{
  font-size: 13px;
}
/* end footer  */

/* ======================================================================= */
/* ======================================================================= */

/* start shop page */

.products .price {
  display: flex;
  justify-content: space-around;
  color: white;
  /* margin-top: 2px; */
}
.products .price h6:first-of-type{
  opacity: 0.7;
}
.products form input {
  box-shadow: 0 0 2px black;
}
.products .content-product {
  padding: 7px 7px;
  border-radius: 10px;
  box-shadow: 0 0 2px rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  /* background-color: white; */
}

.products .content-product img {
  border-radius: 10px;
  height: 220px;
  width: 100%;
}

.products .content-product .title {
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 1px;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  color: rgb(0, 0, 0);
  color: white;
  /* background-color: rgba(0, 0, 0, 0.753); */
}

.products .content-product button {
  border-radius: 10px;
}

.fa-cart-plus {
  font-size: 12px;
}

/* end shop page */

/* ========================================================== */
/* ========================================================== */

/* start single product  */

.header-product .img-product span {
  font-size: 30px;
}
.header-product .img-product img {
  height: 600px;
  border-radius: 10px;
}
.header-product .img-product .carousel-inner {
  height: 600px;
}
.header-product .content-single-product {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 5px black;
}
.header-product .content-single-product h2 {
  font-weight: bolder;
  letter-spacing: 1px;
  font-size: 26px;
}
.header-product .content-single-product h3 {
  font-weight: bolder;
  letter-spacing: 2px;
  font-size: 23px;
}
.header-product .content-single-product p {
  letter-spacing: 2px;
  word-spacing: 2px;
}

/* start color  */
.header-product .content-single-product .colors {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.header-product .content-single-product .color-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  clip: rect(0 0 0 0);
  overflow: hidden;
  border: 0;
}
.header-product .content-single-product .color-swatch {
  --size: 44px;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.06) inset;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  position: relative;
  border: 2px solid transparent;
}
.header-product .content-single-product .color-swatch::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  transition: box-shadow 0.12s ease, opacity 0.12s ease;
  opacity: 0;
}
.header-product .content-single-product .color-swatch:hover {
  transform: translateY(-3px);
}

.header-product .content-single-product .color-input:checked + .color-swatch {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.12);
}
.header-product
  .content-single-product
  .color-input:checked
  + .color-swatch::after {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}
.header-product .content-single-product .color-swatch .tick {
  width: 60%;
  height: 60%;
  display: none;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M20.285 6.708l-11.39 11.39-5.18-5.18 1.414-1.414L8.9 15.27l9.976-9.977z"/></svg>')
    center / contain no-repeat;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="white" d="M20.285 6.708l-11.39 11.39-5.18-5.18 1.414-1.414L8.9 15.27l9.976-9.977z"/></svg>')
    center / contain no-repeat;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20%;
}
.header-product
  .content-single-product
  .color-input:checked
  + .color-swatch
  .tick {
  display: block;
}

.header-product .content-single-product .selection {
  margin-top: 18px;
  font-weight: 600;
}
.header-product .content-single-product .color-input:focus + .color-swatch {
  outline: 3px solid rgba(0, 0, 0, 0.12);
  outline-offset: 3px;
}

/* start sizes */

.header-product .content-single-product .sizes {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.header-product .content-single-product .size-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.header-product .content-single-product .size-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid #ccc;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.15s ease;
  background-color: #fff;
}

.header-product .content-single-product .size-label:hover {
  border-color: #111;
  transform: translateY(-2px);
}

.header-product .content-single-product .size-input:checked + .size-label {
  background-color: #111;
  color: #fff;
  border-color: #111;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.header-product .content-single-product .size a {
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 2px;
  letter-spacing: 3px;
}
/* end single product  */

/* ======================================================================== */
/* ======================================================================== */

/* start cart  */

.cart-empty{
  margin-top: 50%;
  margin-bottom: 50%;
}
.body-cart {
  min-height: 100vh;
  vertical-align: middle;
  display: flex;
  font-size: 0.8rem;
  font-weight: bold;
}
.body-cart .title {
  margin-bottom: 3vh;
}
.body-cart .card {
  margin: auto;
  max-width: 950px;
  width: 90%;
  box-shadow: 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 1rem;
  border: transparent;
}
@media (max-width: 767px) {
  .body-cart .card {
    margin: 3vh auto;
  }
}
.body-cart .cart {
  background-color: #fff;
  padding: 4vh 5vh;
  border-bottom-left-radius: 1rem;
  border-top-left-radius: 1rem;
}
@media (max-width: 767px) {
  .body-cart .cart {
    padding: 4vh;
    border-bottom-left-radius: unset;
    border-top-right-radius: 1rem;
  }
}
.body-cart .summary {
  background-color: #ddd;
  border-top-right-radius: 1rem;
  border-bottom-right-radius: 1rem;
  padding: 4vh;
  color: rgb(65, 65, 65);
}
@media (max-width: 767px) {
  .body-cart .summary {
    border-top-right-radius: unset;
    border-bottom-left-radius: 1rem;
  }
}
@media only screen and(max-width: 450px) {
  .body-cart .title .title-cart h4 {
    font-size: 1px;
  }
}
.body-cart .summary .col-2 {
  padding: 0;
}
.body-cart .summary .col-10 {
  padding: 0;
}
.body-cart .row {
  margin: 0;
}
.body-cart .title b {
  font-size: 1.5rem;
}
.body-cart .main {
  margin: 0;
  padding: 2vh 0;
  width: 100%;
}
.body-cart .main img {
  width: 100%;
  border-radius: 5px;
}
.body-cart .col-2,
.col {
  padding: 0 1vh;
}

.body-cart .close {
  margin-left: auto;
  font-size:2px;
  display: inline-block;
  margin-top: -50px;
}

.body-cart .back-to-shop {
  margin-top: 4.5rem;
}

.body-cart h5 {
  margin-top: 4vh;
}
.body-cart h6 {
  font-size: 2px;
}
.body-cart hr {
  margin-top: 1.25rem;
}
.body-cart .form-cart {
  padding: 2vh 0;
}
.body-cart .form-cart select {
  border: 1px solid rgba(0, 0, 0, 0.137);
  padding: 1.5vh 1vh;
  outline: none;
  width: 100%;
  background-color: rgb(247, 247, 247);
  border-radius: 10px;
}
.body-cart .form-cart input {
  border: 1px solid rgba(0, 0, 0, 0.137);
  padding: 1vh;
  margin-bottom: 4vh;
  outline: none;
  width: 100%;
  background-color: rgb(247, 247, 247);
}
.body-cart .form-cart input:focus::-webkit-input-placeholder {
  color: transparent;
}

.body-cart .content-product button {
  border: none;
  background-color: transparent;
  font-size: 18px;
}
.body-cart .content-product .quantity {
  font-size: 15px;
}
.body-cart .title{
  font-size: 8px;
}
.body-cart .close-btn span {
  font-size: 10px;
}
.body-cart .color-size{
  font-size: 8px;
}
#code {
  background-image: linear-gradient(
      to left,
      rgba(255, 255, 255, 0.253),
      rgba(255, 255, 255, 0.185)
    ),
    url("https://img.icons8.com/small/16/000000/long-arrow-right.png");
  background-repeat: no-repeat;
  background-position-x: 95%;
  background-position-y: center;
}


/* end cart  */
