/* Reset */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&display=swap');
/* Use it like this */

body {
  font-family: "Instrument Serif", serif;
  font-weight: 400;
  font-style: normal;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* Navbar Container */
.navbar-container {
  width: 100%;
  border-bottom: 0;
  padding: 0 20px;
}

.navbar {
  max-width: 1200px;
  margin: 0px auto;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 14px;
}

/* Left and right sections positioned absolutely */
.nav-left,
.nav-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 30px;
}

.nav-left {
  left: 0;
}

.nav-right {
  right: 0;
}

.navbar a {
  text-decoration: none;
  color: #545454;
  transition: opacity 0.3s;
}

.navbar a:hover {
  opacity: 0.6;
}

/* Centered Logo */
.nav-logo span {
  font-family: 'Brittany Signature', cursive;
  font-size: 34px;
  letter-spacing: 1px;
  display: inline-block;
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* prevent bleed */
}

.slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.slide {
  width: 100%;
  height: auto;
  max-width: 900px;
  /* keeps it inside */
  display: block;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
  /* centers image */
}

/* Arrows (keep tight to image edges) */
.arrow.left {
  left: 50%;
  transform: translate(-460px, -50%);
}

.arrow.right {
  right: 50%;
  transform: translate(460px, -50%);
}

.arrow img {
  width: 100%;
  height: 100%;
}

/* Dots */
.dots {
  position: absolute;
  bottom: 80px;
  display: flex;
  gap: 6px;
}

.dot {
  width: 8px;
  height: 8px;
  background: #ccc;
  border-radius: 50%;
}

.dot.active {
  background: #333;
}

/* Footer */
.seperater {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 30px 30px;
  font-size: 13px;
  background-color: #f6f6f6;
  margin-top: 20px;
  color: #545454;
}

.seperater div {
  width: 1200px;
  display: flex;
  justify-content: space-between;
}

.page {
  max-width: 1300px;
  margin: 40px auto 0;
  padding: 0 24px 80px;
}


/* headline */
.headline {
  text-align: center;
  font-size: 14px;
  margin-bottom: 34px;
  color: #666;
}


/* section title */
.section-title {
  font-size: 13px;
  color: #5b5b5b;
  margin-bottom: 18px;
  margin-left: 4px;
}


/* products grid */
.products {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}


.product {
  width: 240px;
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.product:hover .photo {
  scale: 102%;
}


.product .photo {
  width: 100%;
  height: 300px;
  background-color: #eee;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.01) inset;
}


.meta {
  margin-top: 8px;
  display: flex;
  gap: 8px;
  align-items: center;
}


.title {
  flex: 1;
  color: #111;
  font-size: 13px
}

.price {
  font-weight: 300
}

.old {
  color: #9b9b9b;
  text-decoration: line-through;
  font-size: 10px;
  margin-right: 6px
}

.copyright {
  width: 100%;
  background-color: #f6f6f6;
  margin-top: 20px;
  padding: 20px;
  display: flex;
  justify-content: center;
  font-size: 12px;
}

.headingContainer {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 50px;
}

.heading1 {
  text-align: center;
  font-size: 30px;
}

p {
  text-align: justify;
  font-family: "Instrument Serif", serif;
  font-size: 18px;
  color: #545454;
  margin-top: 100px;
}

.pcontainer {
  max-width: 1100px;
}

.pcont {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.support-box {
  display: flex;
  justify-content: center;
  margin-top: 100px;
  height: 60px;
}

.support-container {
  display: flex;
  border: 1px solid #000;
  overflow: hidden;
  font-family: "Instrument Serif", serif;
}

.currency {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  font-weight: 500;
  background-color: #fff;
  border-right: 1px solid #000;
  font-size: 30px;
}

.support-container input {
  width: 250px;
  border: none;
  outline: none;
  padding: 10px;
  text-align: left;
  font-size: 30px;
  background-color: #fff;
  font-family: 'SlagFont', serif;
}

.support-container button {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  font-family: "Instrument Serif", serif;
}

.support-container button:hover {
  background-color: #222;
}

/* QR Modal */
.qr-modal {
  display: flex;
  /* Hidden by default */
  visibility: hidden;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent background */
  justify-content: center;
  align-items: center;
  opacity: 0%;

}

.qr-content {
  background-color: #fff;
  margin: 10% auto;
  /* Center vertically */
  padding: 40px;
  border-radius: 12px;
  width: 300px;
  text-align: center;
  position: relative;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.close-btn {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}


h3 {
  font-family: 'SlagFont', serif;
}

/* footer area */

footer {
  height: 300px;
  background-color: #f6f6f6;
  display: flex;
  justify-content: center;
  margin-top: 100px;
}

.innerfooter {
  width: 1200px;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  align-items: center;
}

.innerfooter .linkContainer {
  display: flex;
  flex-direction: column;
}

.linkContainer a {
  margin: 10px;
  text-decoration: none;
  color: #545454;
  font-size: 14px;
}

.linkContainer a:hover {
  text-decoration: underline;
}

.logoContainer span {
  font-family: 'Brittany Signature', cursive;
  font-size: 36px;
}

main {
  width: 1200px;
  padding: 20px;
}

.content {
  width: 100%;
  display: flex;
  justify-content: center;
}

main h1 {
  text-align: center;
  font-weight: 1;
}

main h2 {
  font-size: 1.4em;
    font-weight: 600;
  margin-top: 50px;
  margin-bottom: 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 4px;
  font-family: "Instrument Serif", serif;
  
}

main ul {
  margin-top: 5px;
  margin-left: 20px;
}

main li {
  margin-bottom: 5px;
}

main p {
  margin: 10px 0;
}

main ol {
  margin-top: 5px;
  margin-left: 20px;
}

main h3 {
    font-family: "Instrument Serif", serif;
    font-weight: 600;
    margin-top: 50px;
}

main p {
    font-family: "Instrument Serif", serif;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 350px;
  height: 100%;
  background: #fff;
  border-left: 1px solid #ddd;
  box-shadow: -4px 0 10px rgba(0,0,0,0.1);
  transition: right 0.4s ease;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #ddd;
}

.cart-header h2 {
  font-size: 22px;
  font-weight: 600;
}

.close-cart {
  cursor: pointer;
  font-size: 20px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 10px 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid #ddd;
  padding: 10px;
  margin-bottom: 10px;
  position: relative;
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-info p {
  margin: 0;
  font-size: 14px;
}

.cart-item-info .price {
  font-weight: bold;
  font-size: 15px;
  margin-top: 4px;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin-top: 5px;
}

.quantity button {
  background: none;
  border: 1px solid #ccc;
  width: 20px;
  height: 20px;
  line-height: 18px;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
}

.remove-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #555;
}

.cart-footer {
  border-top: 1px solid #ddd;
  padding: 20px;
}

.cart-total {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

.checkout-btn {
  width: 100%;
  padding: 12px;
  border: none;
  background: #000;
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.3s ease;
}

.checkout-btn:hover {
  background: #333;
}

/* ========================= */
/* 📱 Mobile Navbar Styling  */
/* ========================= */

.mobile-nav {
  display: none;
  width: 100%;
  padding: 14px 20px;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.menu-icon, .cart-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-icon img, .cart-icon img {
  width: 22px;
  height: 22px;
}

.nav-logo-mobile span {
  font-family: 'Brittany Signature', cursive;
  font-size: 30px;
}

/* Mobile menu panel */
.mobile-menu {
  position: fixed;
  top: 0;
  left: -280px;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  padding: 80px 20px;
  gap: 20px;
  transition: left 0.3s ease;
  z-index: 999;
}

.mobile-menu.open {
  left: 0;
}

.mobile-menu a {
  text-decoration: none;
  color: #333;
  font-size: 16px;
  transition: color 0.2s ease;
}

.mobile-menu a:hover {
  color: #666;
}

/* ========================= */
/* 🖥️ Responsive Visibility */
/* ========================= */

@media (max-width: 900px) {

  .products {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
  }

  .product {
    width: 45%;
  }

  footer {
    height: auto;
    padding: 40px 20px;
    margin: 0;
  }

  .innerfooter {
    flex-direction: row;
    align-items:center;
  }

  .linkContainer {
    align-items: left;
  }

  .linkContainer a {
        font-size: 12px;
  }

  .seperater div {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    height: 0px;
  }
}

/* --- Responsive Navbar Visibility --- */
@media (max-width: 768px) {
  /* Hide desktop navbar on mobile */
  .navbar {
    display: none;
  }

  /* Show mobile navbar */

  
.mobile-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
}


  .products {
    justify-content: space-between;
    gap: 0px;
  }

  .product {
    overflow: hidden;
    width: 49%;
    margin-top: 20px;
  }

  .product .photo {
    position: relative;
    height: 25%;
  }

header {
  position: fixed;
  top: 0;
  width: 100%;
  transition: background 0.3s ease, transform 0.3s ease;
  z-index: 1000;
  background: #fff;
  transition: background 0.3s ease, transform 0.3s ease;
  border-bottom: #f6f6f6 solid 1px;
}
  
  .mobile-navbar {
    display: flex;
  }

  .seperater div {
    display: flex;
    flex-direction: row;
  }
  
  .hero {
    height: fit-content;
    z-index: -1;
  }

.nav-logo-mobile span {
  color: black;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.nav-hidden {
  transform: translateY(-100%);
}

.nav-scrolled {
  background: white !important;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}


.nav-scrolled .nav-logo-mobile span {
  color: black;
}

.cart-sidebar {
  width: 80%;
  right: -80%;
}

.cart-items {
  font-size: 10px;
}

.cart-item-info p {
  margin: 0;
  font-size: 11px;
}

.cart-item-info .price {
  font-weight: bold;
  font-size: 12px;
  margin-top: 10px;
}

.headingContainer {
  margin-top: 110px;
}

.pcontainer {
    padding: 30px; 
}

p {
    margin-top: 10px;
}

.support-container input {
    width: 60%;
}

.support-container {
    width: 80%;
    position: relative;
}

.support-container button {
    right: 0;
    position: absolute;
    height: 100%;
}

.support-box {
      margin-top: 30px;
      margin-bottom: 100px;
}

}

@media (min-width: 769px) {
  /* Hide mobile navbar on PC */
  .mobile-navbar {
    display: none;
  }
}

.logoContainer img {
  width: 50px;
}

.nav-logo-mobile img {
  width: 40px;
}