@import url("https://fonts.googleapis.com/css?family=DM+Serif+Text:400|Poppins:400");

*,
::after,
::before {
  box-sizing: border-box;
}

html {
  font-size: 100%;
} /*16px*/

:root {
  /* colours */
  --primary-100: #caf0f8;
  --primary-200: #ade8f4;
  --primary-300: #90e0ef;
  --primary-400: #48cae4;
  --primary-500: #00b4d8;
  --primary-600: #0096c7;
  --primary-700: #0077b6;
  --primary-800: #023e8a;
  --primary-900: #03045e;
  /* grey */
  --grey-50: #faf5ff;
  --grey-100: #f3e8ff;
  --grey-200: #e9d5ff;
  --grey-300: #d8b4fe;
  --grey-400: #c084fc;
  --grey-500: #a855f7;
  --grey-600: #9333ea;
  --grey-700: #7e22ce;
  --grey-800: #6b21a8;
  --grey-900: #581c87;
  /* Rest of Colours */
  --black: #222;
  --white: #fff;
  --red-light: #f8d7da;
  --less-dark: #534e4e;
  --green-light: #d1e7dd;
  --green-dark: #0f5132;
  /* Fonts */
  --headingFont: "Poppins", sans-serif;
  --bodyFont: "DM Serif Text", serif;
  --smallText: 0.7em;
  /* rest of vars */
  --backgroundColor: var(--primary-100);
  --textColor: var(--black);
  --borderRadius: 0.25rem;
  --letterSpacing: 0.25rem;
  --transition: all 0.3s ease-in-out;
  --max-width: 1080px;
  --fixed-width: 600px;
  /* Box  Shadow */
  --shadow-1: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-2: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);

  --shadow-3: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  --shadow-4: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgb(0 0 0 / 0.1);
}

body {
  background: var(--white);
  font-family: var(--bodyFont);
  font-weight: 400;
  line-height: 1.75;
  color: var(--textColor);
}

p {
  margin-bottom: 1.5rem;
  max-width: 40em;
  letter-spacing: 0.1rem;
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 1.38rem;
  font-family: var(--headingFont);
  font-weight: 400;
  line-height: 1.3;
  text-transform: capitalize;
  letter-spacing: var(--letterSpacing);
}

h1 {
  margin-top: 0;
  font-size: 1.802rem;
}

h2 {
  font-size: 1.602rem;
}

h3 {
  font-size: 1.424rem;
}

h4 {
  font-size: 1.266rem;
}

h5 {
  font-size: 1.125rem;
}

small,
.text-small {
  font-size: var(--smallText);
}

a {
  text-decoration: none;
  text-transform: capitalize;
}
ul {
  list-style-type: none;
  padding: 0;
}

.img {
  display: block;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.btn {
  cursor: pointer;
  color: var(--white);
  background: var(--primary-500);
  border: transparent;
  border-radius: var(--borderRadius);
  letter-spacing: var(--letterSpacing);
  padding: 0.375rem 0.75rem;
  box-shadow: var(--shadow-1);
  transition: var(--transition);
  text-transform: capitalize;
  display: inline-block;
}

.btn:hover {
  background: var(--primary-400);
  color: var(--primary-900);
  box-shadow: var(--shadow-3);
}
.btn-block {
  width: 100%;
}
.section-center {
  width: 85vw;
  max-width: var(--max-width);
  padding: 4rem 0;
  margin: 0 auto;
}
@media screen and (min-width: 992px) {
  .section-center {
    margin: 0 auto;
    width: 98vw;
    padding: 4rem 0;
  }
}

/* 
===========
Heading
===========
*/
header {
  background: radial-gradient(var(--white), var(--primary-400));
}
.logo-img {
  width: clamp(130px, 10vw, 150px);
}
.nav-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-header {
  display: inline-block;
  justify-content: space-between;
  align-items: center;
}
.navbar {
  width: 100%;
  max-width: 1300px;
  padding: 1rem 2rem;
  margin: 0 auto;
}

.nav-items {
  display: flex;
  margin-right: 1rem;
}
.nav-item {
  text-align: right;
  margin-left: 2rem;
}
.nav-link {
  color: var(--less-dark);
}
.nav-link:hover {
  color: var(--black);
}
.nav-toggle {
  display: none;
}
@media only screen and (max-width: 767px) {
  .cart {
    cursor: pointer;
  }
  #menuBtn {
    cursor: pointer;
  }
  .nav-toggle {
    display: inline-block;
    border-color: transparent;
    background-color: transparent;
    font-size: 2rem;
    margin-left: 0.5rem;
  }
  .nav-items {
    display: block;
    position: absolute;
    top: 4.3rem;
    right: 1rem;
    background: var(--black);
    width: 100%;
    height: 0;
    overflow: hidden;
  }

  .show-items {
    transition: var(--transition);
    z-index: 1;
    height: 306px;
  }
  .nav-item {
    margin: 0;
    margin: 1rem 2rem;
    display: block;
  }
  .nav-link {
    color: var(--white);
    font-size: 1.5rem;
  }
  .nav-link:hover {
    color: var(--primary-300);
  }

  .header-container i {
    display: inline-block;
    font-size: 2rem;
    margin-left: 1rem;
    border: transparent;
    background: none;
  }
}

.heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.heading-txt,
.heading-img {
  flex: 1 0 400px;
  margin-bottom: 2rem;
}
.heading h1 {
  font-size: 3rem;
  font-weight: 600;
}
.heading p {
  color: var(--less-dark);
  max-width: 25rem;
}
.heading-btn {
  border-radius: 15px;
}

@media screen and (max-width: 767px) {
  .heading {
    text-align: center;
  }
  .heading p {
    margin-left: auto;
    margin-right: auto;
  }
}
/* 
===========
 Collections
===========
*/
.collection {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.collection-img {
  margin-bottom: 2rem;
  margin-left: 2rem;
  min-width: 250px;
  flex: 0 0 calc(30% - 2rem);
}
@media screen and (max-width: 767px) {
  .collection-img {
    width: 100%;
  }
}
/* 
===========
 Featured
===========
*/

.featured-section {
  background: var(--backgroundColor);
}

.feature-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  position: relative;
}
.feature-title::after {
  content: "";
  background: var(--primary-900);
  height: 5px;
  width: 15%;
  border-radius: 5px;
  transform: translateX(-50%);
  margin: 2.5rem auto;
  position: absolute;
  left: 50%;
}
.feature-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.single-product {
  flex: 0 0 calc(25% - 2rem);
  margin: 1rem;
  min-width: 200px;
}
.image-container {
  margin-bottom: 1rem;
}
.product-name,
.product-price {
  color: var(--black);
}
.rating {
  color: #ffd700;
}
@media screen and (max-width: 767px) {
  .single-product {
    width: 100%;
  }
}

/* 
===========
Exclusive
===========
*/
.exclusive-section {
  background: radial-gradient(var(--white), var(--primary-400));
}
.exclusive {
  max-width: 900px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}
.exclusive-img,
.exclusive-txt {
  flex: 0 0 calc(400px);
}
.exclusive-img {
  margin-bottom: 2rem;
}
.exclusive h5 {
  font-size: 1rem;
  color: var(--less-dark);
}
.exclusive h2 {
  font-size: 2.5rem;
  font-weight: 600;
}
.exclusive p {
  font-size: 1rem;
  color: var(--less-dark);
}

@media screen and (max-width: 767px) {
  .exclusive {
    justify-content: center;
    text-align: center;
  }
  .exclusive-img,
  .exclusive-txt {
    flex: 100%;
  }
  .exclusive p {
    max-width: 20rem;
    margin: 0 auto 1rem;
  }
}

/* 
===========
Testimonials
===========
*/
.testimonial {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}
.single-card {
  -webkit-margin-after: 2rem;
  margin-block-end: 2rem;
  margin-inline: 1rem;
  padding: 1rem;
  flex: 0 0 calc(33.3% - 2rem);
  border-radius: 10px;
  box-shadow: 0 0 8px 3px rgb(0 0 0 / 0.2);
}
.single-card:hover {
  transform: translateY(-2%);
  transition: var(--transition);
}
.user-img {
  width: 50px;
  height: 50px;
  margin: 1rem auto;
}
.user-img img {
  border-radius: 50%;
}
.single-card span {
  font-size: 2rem;
  color: var(--primary-500);
}

.single-card p {
  color: var(--less-dark);
}

.user-name {
  letter-spacing: 0.1rem;
  font-weight: 600;
  -webkit-margin-after: 0;
  margin-block-end: 0;
}

@media screen and (max-width: 900px) {
  .single-card {
    flex: 0 0 calc(50% - 2rem);
  }
}

@media screen and (max-width: 700px) {
  .single-card {
    flex: 0 0 80%;
  }
}

/*
===========
PARTNERSHIP
===========
*/
.partnership {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.partner-logo {
  flex: 1 0 20%;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  max-width: 200px;
}

.partner-logo:hover {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}
@media screen and (max-width: 767px) {
  .partner-logo {
    flex: 0 0 100%;
  }
}

/* 
===========
FOOTER
===========
*/
footer {
  background: var(--black);
  color: var(--white);
  padding-top: 2.5rem;
}
.footer-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  width: 90vw;
  max-width: 1300px;
  margin-inline: auto;
}
.footer-section h4 {
  font-weight: 600;
}
.footer-section p {
  color: var(--less-dark);
}
.app-store,
.store-detail {
  flex: 0 0 35%;
}

.footer-link,
.social-media {
  flex: 0 0 15%;
}
.social-media,
.footer-link,
.store-detail {
  text-align: center;
}
/* Footer App Store */
.app-store-logo img {
  max-width: 180px;
  -webkit-margin-end: 1rem;
  margin-inline-end: 1rem;
}
.app-store h5 {
  color: var(--less-dark);
  font-size: 1rem;
  letter-spacing: normal;
}
/* Footer store details */
.store-detail img {
  max-width: 200px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

/* Footer links */
.social-media ul li a {
  color: var(--less-dark);
}
.footer-link ul li a {
  color: var(--less-dark);
}

/* Footer copyright */
.copyright {
  border-top: 1px solid var(--less-dark);
  text-align: center;
  width: 90vw;
  margin-top: 2rem;
}
.copyright p {
  margin-inline: auto;
  font-size: 1rem;
  text-transform: capitalize;
}

@media screen and (max-width: 767px) {
  .app-store,
  .store-detail {
    flex: 0 0 50%;
    margin-bottom: 1.5rem;
  }

  .footer-link,
  .social-media {
    flex: 0 0 50%;
  }
}

/* 
===========
ALL PRODUCTS
===========
*/
.all-product {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.all-product h2 {
  font-size: 2rem;
  font-weight: 600;
}
select {
  border: 1px solid var(--primary-600);
  border-radius: 5px;
  padding: 0.5rem;
}
select:focus {
  outline: none;
}

.page-btn span {
  display: inline-block;
  border: 1px solid var(--primary-600);
  font-size: 1.5rem;
  font-weight: bold;
  padding: 0.75rem;
  margin-right: 1rem;
  margin-bottom: 2rem;
  cursor: pointer;
}
.page-btn span:hover {
  background: var(--primary-600);
  color: var(--white);
}

/* 
===========
SINGLE PRODUCT
===========
*/
.product-container {
  display: flex;
  margin-top: 3rem;
  justify-content: space-between;
  align-items: flex-start;
}
#product-gallery {
  flex: 0 0 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
.product-details {
  flex: 0 0 50%;
  margin-left: 2rem;
}
.prod-img {
  flex: 0 1 calc(24% - 0.6rem);
  margin-inline: 0.3rem;
  order: 2;
  cursor: pointer;
}
.main-img {
  flex: 0 0 100%;
  order: 1;
  cursor: pointer;
  margin-bottom: 1rem;
}
.product-details .product-name {
  font-size: 3rem;
  font-weight: 600;
  color: var(--black);
}
#size {
  display: block;
}
input {
  width: 50px;
  height: 40px;
  margin-top: 2rem;
  margin-right: 1rem;
  border: 1px solid var(--primary-600);
  text-align: center;
}
input:focus {
  outline: none;
}
.product-details .btn {
  border-radius: 20px;
}
.product-details h3 {
  color: var(--black);
  font-weight: 600;
  letter-spacing: normal;
  margin-top: 1.5rem;
}
.product-details h3 i {
  color: var(--primary-600);
}
.product-price {
  color: var(--black);
  font-weight: 600;
  letter-spacing: normal;
}

.related-product {
  display: flex;
  justify-content: space-between;
  align-items: first baseline;
}

.related-product h2 {
  font-size: 2rem;
  font-weight: 600;
}
.related-product p {
  margin: 0;
  color: var(--less-dark);
}

@media screen and (max-width: 767px) {
  .product-container {
    flex-wrap: wrap;
    justify-content: center;
  }
  .product-details,
  #product-gallery {
    flex: 0 0 100%;
  }
  .product-details .product-name {
    font-size: 2rem;
  }
  .related-product h2 {
    font-size: 1.5rem;
    letter-spacing: normal;
    font-weight: 600;
  }
  .related-product p {
    font-size: small;
    line-height: normal;
  }
}

/* 
===========
CART ITEM
===========
*/
.cart-info {
  display: flex;
  flex-wrap: wrap;
}
table {
  width: 100%;
  border-collapse: collapse;
}
th {
  background: var(--primary-600);
  color: var(--white);
  text-align: left;
  font-weight: normal;
  padding: 0.5rem;
  letter-spacing: 2px;
}
.cart-info p {
  font-size: 0.8rem;
  margin-block: 0;
}
.cart-info small {
  /* color: var(--black); */
  font-size: 0.8rem;
}
td input {
  margin-top: 1rem;
}
.cart-info a {
  color: var(--primary-600);
  font-size: 0.8rem;
}
.cart-info img {
  display: inline-block;
  width: 80px;
  height: 80px;
  -webkit-margin-end: 1rem;
  margin-inline-end: 1rem;
}
td {
  padding-top: 1rem;
}
td:last-child,
th:last-child {
  text-align: right;
}
.total-price {
  display: flex;
  justify-content: flex-end;
}
.total-price table {
  border-top: 5px solid var(--primary-600);
  width: 100%;
  max-width: 425px;
}

@media screen and (max-width: 480px) {
  .cart-info p {
    display: none;
  }
}

/* 
===========
ACCOUNT
===========
*/

.account-section {
  background: radial-gradient(var(--white), var(--primary-400));
  /* min-height: 100vh; */
}
.account {
  display: flex;
  justify-content: center;
  align-items: center;
}
.acct-img {
  flex: 1 0 50%;
}
.acct-form {
  flex: 0 0 300px;
  box-shadow: var(--shadow-4);
  height: 400px;
  background: var(--white);
  border-radius: 5px;
  padding: 1rem auto;
  text-align: center;
  margin: auto;
  overflow: hidden;
  position: relative;
}
#indicator {
  width: 80px;
  height: 5px;
  background: var(--primary-600);
  transform: translateX(40px);
  transition: var(--transition);
}
.acct-form form {
  max-width: 300px;
  position: absolute;
  top: 4rem;
  left: auto;
  right: auto;
  margin-inline: auto;
  padding: 0 1rem;
}
#login-form {
  position: absolute;
  top: 4rem;
  transform: translateX(-400px);
  transition: var(--transition);
}
.forgot {
  color: var(--less-dark);
  text-align: left;
  font-size: 0.8rem;
}
.form-head {
  margin-top: 1rem;
  margin-inline: auto;
  text-align: center;
}
.acct-form span {
  font-size: 1rem;
  font-weight: bold;
  display: inline-block;
  -webkit-margin-end: 2rem;
  margin-inline-end: 2rem;
  text-align: center;
  cursor: pointer;
  padding: 0 1rem;
}
.acct-form input {
  width: 100%;
  height: 30px;
  border: 0.5px solid #ccc;
  border-radius: 5px;
  padding: 0 0.8rem;
  margin: 1rem auto;
  text-align: left;
}

form .btn {
  width: 100%;
  text-align: center;
  border-radius: 10px;
  margin: 1rem auto;
}

@media screen and (max-width: 690px) {
  .account {
    flex-wrap: wrap;
  }
  .acct-img {
    flex: 1 0 100%;
  }
  .acct-form {
    flex: 0 0 100%;
  }
  .acct-form form {
    width: 100%;
  }
}
