/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lobster&family=Poppins:wght@100;300;400;500;700&display=swap');

/* Color Variables */
:root {
  --white: #FFFFFF;
  --black: #000000;
  --orange: #a54200;
  --beige: #F5E4C3;
}

/* Basic Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
  font-size: 62.5%;
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  background-color: var(--beige);
  color: var(--black);
  font-weight: 400;
  font-style: normal;
}

/* Apply 'Lobster' Font to Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Lobster', cursive;
}

a {
  text-decoration: none;
  color: var(--black);
}

li {
  list-style: none;
}

.container {
  max-width: 114rem;
  margin: 0 auto;
  padding: 0 3rem;
}

.d-flex {
  display: flex;
  align-items: center;
}

/* 
=================
Header
=================
*/

.header {
  position: relative;
  min-height: auto;
  overflow-x: hidden;
}

.header:has(.hero),
.header.has-hero {
  min-height: 100vh;
}

.logo {
  flex-shrink: 0;
  white-space: nowrap;
  text-decoration: none;
}

.logo h1 {
  white-space: nowrap;
  font-size: 2.2rem;
  line-height: 1.2;
  margin: 0;
}

.top-nav {
  background-color: var(--orange);
  font-size: 1.3rem;
  color: var(--white);
}

.top-nav div {
  justify-content: space-between;
  height: 4.5rem;
}

.top-nav a {
  color: var(--white);
  padding: 0 0.5rem;
}

/* 
=================
Navigation
=================
*/
.navigation {
  height: 6.5rem;
  line-height: normal;
}

.nav-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-list .icons {
  display: none;
}

.nav-center .nav-item:not(:last-child) {
  margin-right: 0.5rem;
}

.nav-center .nav-link {
  font-size: 1.5rem;
  padding: 0.6rem 0.8rem;
}

.nav-center .nav-link:hover {
  color: var(--orange);
}

.nav-center .hamburger {
  display: none;
  font-size: 2.3rem;
  color: var(--black);
  cursor: pointer;
}

/* Icons */

.icon {
  cursor: pointer;
  font-size: 2.5rem;
  padding: 0 1rem;
  color: #555;
  position: relative;
}

.icon:not(:last-child) {
  margin-right: 0.5rem;
}

.icon span {
  position: absolute;
  top: 3px;
  right: -3px;
  background-color: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.3rem;
  height: 2rem;
  width: 2rem;
  justify-content: center;
}

@media only screen and (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 12%;
    left: -35rem;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.2);
    background-color: var(--white);
    height: 100%;
    width: 0%;
    max-width: 35rem;
    z-index: 100;
    transition: all 300ms ease-in-out;
  }

  .nav-list.open {
    left: 0;
    width: 100%;
  }

  .nav-list .nav-item {
    margin: 0 0 1rem 0;
    width: 100%;
  }

  .nav-list .nav-link {
    font-size: 2rem;
    color: var(--black);
  }

  .nav-center .hamburger {
    display: block;
    color: var(--black);
    font-size: 3rem;
  }

  .icons {
    display: none;
  }

  .nav-list .icons {
    display: flex;
  }

  .top-nav ul {
    display: none;
  }

  .top-nav div {
    justify-content: center;
    height: 3rem;
  }
}

/* 
=================
Hero Area
=================
*/

.hero,
.hero .glide__slides {
  background-color: var(--beige);
  position: relative;
  height: calc(100vh - 6rem);
  margin: 0 4rem;
  overflow: hidden;
}

.hero .center {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  padding-top: 3rem;
}

.hero .left {
  position: absolute;
  top: 0%;
  left: 25rem;
  opacity: 0;
  transition: all 1000ms ease-in-out;
}

.hero .left h1 {
  font-size: 5rem;
  margin: 1rem 0;
  color: var(--black);
}

.hero .left p {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--black);
}

.hero .left .hero-btn {
  display: inline-block;
  padding: 1rem 3rem;
  font-size: 1.6rem;
  margin-top: 1rem;
  background-color: var(--orange);
  color: var(--white);
}

.hero .right {
  flex: 0 0 50%;
  height: 100%;
  position: relative;
  text-align: center;
}

.hero .right img {
  position: absolute;
  width: 55rem;
  opacity: 0;
  transition: all 1000ms ease-in-out;
}

.center .right img.img1 {
  width: 85%;
  right: -25%;
  bottom: -50%;
}

.center .right img.img2 {
  width: 90%;
  right: -40%;
  bottom: -40%;
}

.glide__slide--active .center .right img {
  bottom: -3%;
  opacity: 1;
}

.glide__slide--active .left {
  opacity: 1;
  top: 35%;
}

/*
======================
Hero Media Query
======================
*/
@media only screen and (max-width: 1500px) {
  .hero .left {
    left: 0;
  }
}

@media only screen and (max-width: 999px) {
  .glide__slide--active .left {
    top: 15%;
  }

  .center .right img.img1 {
    width: 90%;
  }

  .center .right img.img2 {
    width: 100%;
  }
}

@media only screen and (max-width: 567px) {
  .center .right img.img1 {
    width: 30rem;
  }

  .center .right img.img2 {
    width: 33rem;
  }

  .hero,
  .hero .glide__slides {
    margin: 0;
    padding: 0 3rem;
  }

  .hero .left h1 {
    font-size: 3rem;
  }

  .hero .left span {
    font-size: 1.4rem;
  }

  .hero .left p {
    font-size: 1.5rem;
    width: 80%;
  }
}

/* Category Section */

.section {
  padding: 10rem 0 5rem 0;
  overflow: hidden;
}

.cat-center {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 114rem;
  margin: auto;
  padding: 0 3rem;
}

.cat-center .cat {
  max-width: 37rem;
  height: 25rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  text-align: center;
}

.cat-center .cat:not(:last-child) {
  margin-right: 3rem;
}

.cat-center .cat img {
  width: 36.5rem;
  height: 100%;
  margin: auto;
  object-fit: cover;
  transition: all 2s ease;
}

.cat-center .cat:hover img {
  transform: scale(1.1);
}

.cat-center .cat div {
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--white);
  width: 18rem;
  height: 5rem;
  line-height: 5rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
}

@media only screen and (max-width: 1200px) {
  .cat-center .cat img {
    width: 30rem;
  }
}

@media only screen and (max-width: 967px) {
  .cat-center .cat {
    max-width: 25rem;
    height: 20rem;
  }

  .cat-center .cat img {
    width: 25rem;
  }
}

@media only screen and (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }

  .cat-center {
    flex-direction: column;
    padding: 3rem;
  }

  .cat-center .cat {
    max-width: 100%;
    height: 30rem;
  }

  .cat-center .cat:not(:last-child) {
    margin-right: 0rem;
    margin-bottom: 5rem;
  }

  .cat-center .cat img {
    width: 100%;
  }
}

/* New Arrivals */
.title {
  text-align: center;
  margin-bottom: 5rem;
}

.title h1 {
  font-size: 3rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--black);
}

.product-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.product-item {
  position: relative;
  width: 27rem;
  margin: 0 auto;
  margin-bottom: 3rem;
}

.product-thumb img {
  width: 100%;
  height: 31rem;
  object-fit: cover;
  transition: all 500ms linear;
}

.product-info {
  padding: 1rem;
  text-align: center;
}

.product-info span {
  display: inline-block;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 1rem;
}

.product-info a {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 1rem;
  transition: all 300ms ease;
}

.product-info a:hover {
  color: var(--orange);
}

.product-item .icons {
  position: absolute;
  left: 50%;
  top: 35%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.product-item .icons li {
  background-color: var(--white);
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 2.3rem;
  cursor: pointer;
  transition: 300ms ease-out;
  transform: translateY(20px);
  visibility: hidden;
  opacity: 0;
}

.product-item .icons li:first-child {
  transition-delay: 0.1s;
}

.product-item .icons li:nth-child(2) {
  transition-delay: 0.2s;
}

.product-item .icons li:nth-child(3) {
  transition-delay: 0.3s;
}

.product-item:hover .icons li {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.product-item .icons li:not(:last-child) {
  margin-right: 0.5rem;
}

.product-item .icons li:hover {
  background-color: var(--orange);
  color: var(--white);
}

.product-item .overlay {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 100%;
}

.product-item .overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  transition: 300ms ease-out;
}

.product-item:hover .overlay::after {
  visibility: visible;
  opacity: 1;
}

.product-item:hover .product-thumb img {
  transform: scale(1.1);
}

.product-item .discount {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--orange);
  padding: 0.5rem 1rem;
  color: var(--white);
  border-radius: 2rem;
  font-size: 1.5rem;
}

@media only screen and (max-width: 567px) {
  .product-center {
    max-width: 100%;
    padding: 0 1rem;
  }

  .product-item {
    width: 40%;
    margin-bottom: 3rem;
  }

  .product-thumb img {
    height: 20rem;
  }

  .product-item {
    margin-right: 2rem;
  }

  .product-item .icons li {
    padding: 0.5rem 1rem;
    font-size: 1.8rem;
  }
}

/* Banner */

.banner {
  position: relative;
  background-color: var(--beige);
  padding: 14rem 20%;
}

.banner .right img {
  position: absolute;
  bottom: 0;
  right: 10%;
  width: 75rem;
}

.banner .trend,
.banner p {
  display: block;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.banner h1 {
  font-size: 5.4rem;
  color: var(--black);
  margin-bottom: 1.5rem;
}

.banner .btn {
  display: inline-block;
  margin-top: 2rem;
  background-color: var(--orange);
  color: var(--white);
  padding: 1rem 3rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.banner .btn:hover {
  background-color: var(--black);
  color: var(--white);
}

@media only screen and (max-width: 1500px) {
  .banner {
    padding: 14rem;
  }

  .banner .right img {
    right: 3rem;
    width: 70rem;
  }
}

@media only screen and (max-width: 996px) {
  .banner {
    padding: 8rem 2rem;
  }

  .banner .trend,
  .banner p {
    font-size: 1.5rem;
  }

  .banner h1 {
    font-size: 4rem;
  }

  .banner .right img {
    right: -6%;
    width: 50rem;
  }
}

@media only screen and (max-width: 768px) {
  .banner {
    display: grid;
    grid-template-columns: 1fr;
    height: 80vh;
  }

  .banner .left {
    width: 100%;
    margin-bottom: 3rem;
  }

  .banner .right {
    flex: 0 0 50%;
  }

  .banner .right img {
    right: 0;
    width: 50rem;
    left: 50%;
    transform: translateX(-50%);
  }
}

@media only screen and (max-width: 567px) {
  .banner {
    padding: 8rem 5rem;
  }

  .banner .trend,
  .banner p {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .banner h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .banner .btn {
    padding: 0.8rem 1.7rem;
    font-size: 1.4rem;
  }

  .banner .right img {
    width: 45rem;
  }
}

/* Contact */
.contact {
  background-color: var(--black);
  color: var(--white);
  padding: 10rem 20rem;
}

.contact .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.contact .row .col h2 {
  margin-bottom: 1.5rem;
}

.contact .row .col p {
  width: 70%;
  margin-bottom: 2rem;
}

.btn-1 {
  background-color: var(--orange);
  color: var(--white);
  display: inline-block;
  border-radius: 1rem;
  padding: 1rem 2rem;
  transition: background-color 0.3s ease;
}

.btn-1:hover {
  background-color: var(--black);
  color: var(--white);
}

.contact form div {
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.contact form input {
  font-family: 'Poppins', sans-serif;
  text-indent: 2rem;
  width: 100%;
  border-radius: 1rem;
  padding: 1.5rem 0;
  outline: none;
  border: 1px solid var(--black);
  background-color: var(--white);
  color: var(--black);
}

.contact form a {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--orange);
  color: var(--white);
  margin: 0.5rem;
  padding: 1rem 3rem;
  border-radius: 1rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.contact form a:hover {
  background-color: var(--black);
  color: var(--white);
}

@media only screen and (max-width: 996px) {
  .contact {
    padding: 8rem 8rem;
  }
}

@media only screen and (max-width: 768px) {
  .contact .row {
    grid-template-columns: 1fr;
    gap: 5rem 0;
  }

  .contact form div {
    width: 100%;
  }
}

@media only screen and (max-width: 567px) {
  .contact {
    padding: 8rem 1rem;
  }
}

/* Footer */
.footer {
  padding: 7rem 1rem;
  background-color: var(--orange);
}

footer .row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: 99.6rem;
  margin: 0 auto;
}

.footer .col {
  flex-direction: column;
  color: var(--white);
  align-items: flex-start;
}

.footer .col:last-child {
  flex-direction: row;
  justify-content: center;
}

.footer .col:last-child span {
  font-size: 2.5rem;
  margin-right: 0.5rem;
  color: var(--white);
}

.footer .col a {
  color: var(--white);
  font-size: 1.5rem;
  padding: 0.5rem;
  font-weight: 300;
}

.footer .col h4 {
  margin-bottom: 1rem;
}

@media only screen and (max-width: 567px) {
  footer .row {
    grid-template-columns: 1fr;
    row-gap: 3rem;
  }
}

/* Popup */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: 0.3s;
  transform: scale(1);
}

.popup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90%;
  max-width: 110rem;
  margin: 0 auto;
  height: 55rem;
  transform: translate(-50%, -50%);
  padding: 1.6rem;
  display: table;
  overflow: hidden;
  background-color: var(--white);
}

.popup-close {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 2rem;
  right: 2rem;
  padding: 0.5rem;
  background-color: var(--orange);
  border-radius: 50%;
  cursor: pointer;
  font-size: 3rem;
  color: var(--white);
}

.popup-left {
  display: table-cell;
  width: 50%;
  height: 100%;
  vertical-align: middle;
}

.popup-right {
  display: table-cell;
  width: 50%;
  vertical-align: middle;
  padding: 3rem 5rem;
}

.popup-img-container {
  width: 100%;
  overflow: hidden;
}

.popup-img-container img.popup-img {
  display: block;
  width: 60rem;
  height: 45rem;
  max-width: 100%;
  border-radius: 1rem;
  object-fit: cover;
}

.right-content {
  text-align: center;
  width: 85%;
  margin: 0 auto;
}

.right-content h1 {
  font-size: 4rem;
  color: var(--black);
  margin-bottom: 1.6rem;
}

.right-content h1 span {
  color: var(--orange);
}

.right-content p {
  font-size: 1.6rem;
  color: #555;
  margin-bottom: 1.6rem;
}

.popup-form {
  width: 100%;
  padding: 1.5rem 0;
  text-indent: 1rem;
  margin-bottom: 1.6rem;
  border-radius: 3rem;
  background-color: var(--orange);
  color: var(--white);
  font-size: 1.8rem;
  border: none;
}

.popup-form::placeholder {
  color: var(--white);
}

.popup-form:focus {
  outline: none;
}

.right-content a:link,
.right-content a:visited {
  display: inline-block;
  padding: 1.8rem 5rem;
  border-radius: 3rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--black);
  border: 1px solid var(--beige);
  transition: background-color 0.3s ease, color 0.3s ease;
}

.right-content a:hover {
  background-color: var(--orange);
  border: 1px solid var(--beige);
  color: var(--black);
}

.hide-popup {
  transform: scale(0.2);
  opacity: 0;
  visibility: hidden;
}

@media only screen and (max-width: 1200px) {
  .right-content {
    width: 100%;
  }

  .right-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.3rem;
  }
}

@media only screen and (max-width: 998px) {
  .popup-right {
    width: 100%;
  }

  .popup-left {
    display: none;
  }

  .right-content h1 {
    font-size: 5rem;
  }
}

@media only screen and (max-width: 768px) {
  .right-content h1 {
    font-size: 4rem;
  }

  .right-content p {
    font-size: 1.6rem;
  }

  .popup-form {
    width: 90%;
    margin: 0 auto;
    padding: 1.8rem 0;
    margin-bottom: 1.5rem;
  }

  .goto-top:link,
  .goto-top:visited {
    right: 5%;
    bottom: 5%;
  }
}

@media only screen and (max-width: 568px) {
  .popup-right {
    padding: 0 1.6rem;
  }

  .popup-content {
    height: 35rem;
    width: 90%;
    margin: 0 auto;
  }

  .right-content {
    width: 100%;
  }

  .right-content h1 {
    font-size: 3rem;
  }

  .right-content p {
    font-size: 1.4rem;
  }

  .popup-form {
    width: 100%;
    padding: 1.5rem 0;
    margin-bottom: 1.3rem;
  }

  .right-content a:link,
  .right-content a:visited {
    padding: 1.5rem 3rem;
  }

  .popup-close {
    top: 1rem;
    right: 1rem;
    padding: 0.5rem;
  }
}

/* All Products */
.section .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4rem;
}

.all-products .top select {
  font-family: 'Poppins', sans-serif;
  width: 20rem;
  padding: 1rem;
  border: 1px solid var(--black);
  appearance: none;
  outline: none;
  background-color: var(--white);
  color: var(--black);
}

form {
  position: relative;
  z-index: 1;
}

form span {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  font-size: 2rem;
  z-index: 0;
}

@media only screen and (max-width: 768px) {
  .all-products .top select {
    width: 15rem;
  }
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  padding: 3rem 0 5rem 0;
  justify-content: center;
}

.pagination span {
  display: inline-block;
  padding: 1rem 1.5rem;
  border: 1px solid var(--orange);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.pagination span:hover {
  border: 1px solid var(--orange);
  background-color: var(--orange);
  color: var(--white);
}

/* Cart Items */
.cart {
  margin: 10rem auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.cart-info {
  display: flex;
  flex-wrap: wrap;
}

th {
  text-align: left;
  padding: 0.5rem;
  color: var(--white);
  background-color: var(--orange);
  font-weight: normal;
}

td {
  padding: 1rem 0.5rem;
}

td input {
  width: 5rem;
  height: 3rem;
  padding: 0.5rem;
  border: 1px solid var(--black);
  border-radius: 0.5rem;
}

td a {
  color: var(--orange);
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

td a:hover {
  color: var(--black);
}

td img {
  width: 8rem;
  height: 8rem;
  margin-right: 1rem;
  object-fit: cover;
}

.total-price {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  margin-top: 2rem;
}

.total-price table {
  border-top: 3px solid var(--orange);
  width: 100%;
  max-width: 35rem;
}

td:last-child {
  text-align: right;
}

th:last-child {
  text-align: right;
}

.checkout {
  display: inline-block;
  background-color: var(--orange);
  color: var(--white);
  padding: 1rem 2rem;
  margin-top: 1rem;
  border-radius: 0.5rem;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.checkout:hover {
  background-color: var(--black);
  color: var(--white);
}

@media only screen and (max-width: 567px) {
  .cart-info p {
    display: none;
  }
}



/* Login Form */
.login-form {
  padding: 5rem 0;
  max-width: 50rem;
  margin: 5rem auto;
}

.login-form form {
  display: flex;
  flex-direction: column;
}

.login-form form h1 {
  margin-bottom: 1rem;
  color: var(--black);
}

.login-form form p {
  margin-bottom: 2rem;
  color: var(--black);
}

.login-form form label {
  margin-bottom: 1rem;
  color: var(--black);
}

.login-form form input {
  border: 1px solid var(--black);
  outline: none;
  padding: 1.5rem 0;
  text-indent: 1rem;
  font-size: 1.6rem;
  margin-bottom: 2rem;
  border-radius: 0.5rem;
  background-color: var(--white);
  color: var(--black);
}

.login-form form input::placeholder {
  font-size: 1.6rem;
  color: var(--black);
}

.login-form form .buttons {
  margin-top: 1rem;
}

.login-form form button {
  outline: none;
  border: none;
  font-size: 1.6rem;
  padding: 1rem 3rem;
  margin-right: 1.5rem;
  background-color: var(--orange);
  color: var(--white);
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.login-form form button:hover {
  background-color: var(--black);
  color: var(--white);
}

.login-form form p a {
  color: var(--orange);
  text-decoration: underline;
}


/* Logout Modal Styles */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  z-index: 1000;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  /* Black w/ opacity */
}

.modal-content {
  background-color: var(--beige);
  margin: 15% auto;
  /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid var(--orange);
  width: 30%;
  /* Could be more or less, depending on screen size */
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.close-button {
  color: var(--black);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-button:hover,
.close-button:focus {
  color: var(--orange);
  text-decoration: none;
}

.modal-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.cancel-btn {
  background-color: var(--orange);
  color: var(--white);
}

.cancel-btn:hover {
  background-color: #943800;
  /* Darker shade of orange */
}

.logout-btn {
  background-color: var(--black);
  color: var(--white);
}

.logout-btn:hover {
  background-color: #333333;
  /* Darker shade of black */
}


/* Specific styles for #admin-header */
#admin-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#admin-header .welcome {
  display: flex;
  align-items: center;
}

#admin-header .welcome a {
  text-decoration: none;
  font-size: 16px;
}

#admin-header .nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

#admin-header .nav-links li {
  margin: 0 10px;
}

#admin-header .nav-links a {
  text-decoration: none;
}


/* Admin Dashboard Styles */

/* Navigation */
.navigation .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--black);
}

/* Main Admin Section */
.main-admin {
  background-color: var(--beige);
}

/* Active Navigation Link */
.nav-link.active {
  color: var(--orange);
  font-weight: bold;
}

/* Error Message Styles */
.error-message {
  color: red;
  font-size: 1.4rem;
  margin-top: 0.5rem;
  display: none;
  /* Hidden by default */
}

/* Pagination Styles */
.pagination .container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.pagination .container a,
.pagination .container span {
  margin: 0 5px;
  padding: 8px 12px;
  background-color: #f4f4f4;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
  /* Add transition for background color */
}

.pagination .container span {
  background-color: #333;
  color: #fff;
}

.pagination .container a:hover {
  background-color: #ddd;
  /* Only the background-color changes on hover */
}

.pagination .container a i {
  font-size: 20px;
  vertical-align: middle;
}

.pagination .container a:first-child,
.pagination .container a:last-child {
  padding: 8px;
}


/* Success Message Styles */
.success-message {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #4BB543;
  /* Green background */
  color: #fff;
  padding: 15px 20px;
  border-radius: 5px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* Profile and Addresses Containers */
.profile-container,
.addresses-container {
  max-width: 800px;
  margin: 5rem auto;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--orange);
  border-radius: 8px;
}

.profile-container h1,
.addresses-container h1,
.addresses-container h2 {
  margin-bottom: 2rem;
  color: var(--black);
}

.profile-container form label,
.addresses-container form label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.profile-container form input,
.addresses-container form input,
.addresses-container form textarea {
  width: 100%;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--black);
  border-radius: 5px;
}

.profile-container form button,
.addresses-container form button {
  background-color: var(--orange);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.profile-container form button:hover,
.addresses-container form button:hover {
  background-color: var(--black);
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
}

.address-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.address-list li {
  background-color: var(--beige);
  padding: 1rem;
  border: 1px solid var(--black);
  margin-bottom: 1rem;
  border-radius: 5px;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  margin-top: 1rem;
}

.btn:hover {
  background-color: var(--black);
  color: var(--white);
}

/* Popup Message Styles */
.popup-message {
  position: fixed;
  top: 20px;
  /* Adjust as needed */
  right: 20px;
  /* Adjust as needed */
  background-color: #ffcc00;
  /* Background color of your choice */
  color: #000;
  /* Text color */
  padding: 15px 20px;
  border-radius: 5px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  opacity: 0;
  animation: fadeInOut 5s forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }

  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }

  100% {
    opacity: 0;
    transform: translateY(-20px);
  }
}

.container.cart {
  padding: 20px;
}

.cart-header {
  margin-bottom: 20px;
}

.cart-table table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th,
.cart-table td {
  padding: 15px;
  border-bottom: 1px solid #eaeaea;
  text-align: left;
}

.cart-product {
  display: flex;
  align-items: center;
}

.cart-product img {
  width: 60px;
  height: 60px;
  margin-right: 15px;
}

.quantity-controls {
  display: flex;
  align-items: center;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid #ccc;
  background: #f8f8f8;
  cursor: pointer;
}

.quantity-controls input {
  width: 50px;
  text-align: center;
  border: none;
  background: #fff;
}

.cart-summary {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
}

.cart-actions {
  display: flex;
  gap: 10px;
}

.update-cart-btn {
  padding: 10px 20px;
  background-color: #ff5722;
  color: #fff;
  border: none;
  cursor: pointer;
}

.checkout.btn {
  padding: 10px 20px;
  background-color: #ff5200;
  color: #fff;
  text-decoration: none;
  text-align: center;
}


/* Tabs */
.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.sidebar a.active {
  font-weight: bold;
  color: #ff5722;
}

/* Modal */
.profile-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.profile-modal .modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 50%;
  border-radius: 8px;
}

.profile-modal .close-button {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.profile-modal .close-button:hover,
.profile-modal .close-button:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Address List */
.address-list .address-item {
  background-color: #fafafa;
  padding: 15px;
  border: 1px solid #eaeaea;
  margin-bottom: 15px;
  border-radius: 4px;
  position: relative;
}

.address-item p {
  margin-bottom: 10px;
  font-size: 1.6rem;
  color: #555;
}

.address-item button {
  background-color: #ff5722;
  color: #fff;
  padding: 8px 15px;
  font-size: 1.4rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.address-item button:hover {
  background-color: #e64a19;
}

.address-item form {
  display: inline-block;
  margin-right: 10px;
}

/* Button Styles */
.btn {
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  text-transform: uppercase;
}

.add-to-cart {
  background-color: #f57224;
  /* Orange color similar to Lazada */
  color: #fff;
}

.buy-now {
  background-color: #d3232a;
  /* Red color for Buy Now */
  color: #fff;
  margin-left: 10px;
}

.btn:hover {
  opacity: 0.9;
}

/* Search Popup */
.search-container {
  position: relative;
  display: inline-block;
}
.search-popup {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background-color: var(--white);
  border: 1px solid var(--black);
  padding: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
  z-index: 1000;
  white-space: nowrap;
}
.search-container.active .search-popup {
  display: block;
}
.search-popup input[type="text"] {
  padding: 6px 10px;
  width: 160px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
}
.search-popup button {
  padding: 6px 12px;
  margin-left: 5px;
  background-color: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}
.search-popup button:hover {
  background-color: #e06600;
}