/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: #f3f3f3;
  /*padding-top: 70px; /* adjust if needed */
}
.hidden { display: none; }
/* Navbar container */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  /* keeps center area centered */
  background: #222;
  padding: 15px 20px;
  box-sizing: border-box;
  color: white;
}

/* Logo - stay left */
.nav-logo {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: bold;
  z-index: 1100;
}

/* Main menu alignment */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu li a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  display: inline-block;
  padding: 6px 4px;
}

.nav-menu li a:hover {
  color: #00eaff;
}

/* Dropdown base */
.dropdown {
  position: relative;
  display: inline-block;
  /* IMPORTANT: fixes hover disappearing */
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #333;
  list-style: none;
  padding: 10px 0;
  min-width: 180px;
  border-radius: 5px;
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  color: white;
}

.dropdown-menu li a:hover {
  background: #444;
}

.ProductDescription {
  width: 70vw;
  max-width: 1000px;
  margin: 40px auto;
  text-align: center;
}
.description-container {
  /*-- display: flex; */
  max-width: 80vw;
  margin: 2rem auto;
  /* padding: 0 1.5rem; */
  text-align: center;
}
.descriptionimg {
  width: 20vw; 
  padding: 0 1.5rem;
  margin-left: auto;
  margin-right: auto;            /* 20% of viewport width */
  height: auto;            /* Maintains aspect ratio */
  border-radius: 20px;     /* Adjust for roundness */
  display: block; 
  min-width: 300px;         
}
.description-header {
  
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.description-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #000;
}

.below-parallax h2 {
  margin-bottom: 15px;
}
/*----- Category header */
.category-header{
  text-align: center;
  padding: 25px;

}
/****** PRODUCT STYLES **************/
/* Product grid layout */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

/* Product card */
.product-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 15px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 10px 0;
  font-size: 0.9rem;
}

.product-card input,
.product-card select {
  width: 100%;
  max-width: 200px;
  padding: 6px 8px;
  border-radius: 6px;
}


/* Hover effect */
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 26px rgba(0, 0, 0, 0.22);
}

/* Product image */
.product-card img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 15px;
}

/* Product title */
.product-card h3 {
  margin: 10px 0 5px 0;
}

/* Product price */
.product-price {
  font-weight: bold;
  margin-top: 8px;
  font-size: 1.1em;
}

.product-option.error {
  border: 2px solid red;
}

.btn-out-of-stock {
  background-color: #ccc;
  color: #666;
  cursor: not-allowed;
  border: 1px solid #bbb;
}

.btn-out-of-stock a {
  color: #444;
  text-decoration: underline;
}

.btn-out-of-stock a:hover {
  color: #000;
}

/*==========================
    Sidecart
====================== */
/* Backdrop */
.cart-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 5;
}

.cart-backdrop.hidden {
  display: none;
}
#cart-count {
  background: red;
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
  margin-left: 6px;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  padding: 8px;
  background: white;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  z-index: 10;
  overflow: hidden;  /* sidebar itself does NOT scroll */
}

.cart-empty{
  color:#cc0000;
  text-align: center;
  background-color: lightgrey;
  font-size: 1.5em;
}

.cart-header {
  padding: 1rem;
  font-weight: bold;
  border-bottom: 1px solid #ddd;
}

.cart-items {
  flex: 1;           /* takes all remaining space */
  overflow-y: auto;  /* items scroll independently */
  min-height: 0;     /* critical for flex scroll to work */
}

.cart-item div {
  flex: 1;
}

/* below is needed */
.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-right: 10px;
  border-radius: 6px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
}

.cart-item-details {
  flex: 1;
}



.cart-item-name {
  font-size: 1rem;
  font-weight: bold;
}

.cart-item-price {
  color: #444;
  font-size: 0.9rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-footer {
  padding: 1rem;
  border-top: 1px solid #ddd;
  overflow-y: auto;  /* footer scrolls independently */
  max-height: 60vh;  /* enough room for expanded PayPal credit card form */
  flex-shrink: 0;    /* won't shrink to squeeze items */
}

.cart-sidebar.open {
  right: 0;
}
/*===== is below needed? */

body.cart-open {
  overflow: hidden;
}

.pickup-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.pickup-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  text-align: center;
}

.pickup-modal-content button {
  margin-top: 1rem;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
}

.hidden {
  display: none;
}






.cart-close-btn {
  font-size: 20px;
  background: none;
  border: none;
  cursor: pointer;
  float: right;
}



.cart-qty button {
  padding: 2px 6px;
  margin: 0 2px;
}

.cart-qty span {
  min-width: 20px;
  display: inline-block;
  text-align: center;
}


.qty-btn {
  background: #ddd;
  border: none;
  padding: 5px 8px;
  cursor: pointer;
  font-size: 1rem;
}

/* Delete button */
.delete-btn {
  background: #ff4444;
  color: white;
  border: none;
  padding: 5px 8px;
  font-size: 0.9rem;
  cursor: pointer;
  border-radius: 4px;
}

.delete-btn:hover {
  background: #cc0000;
}



#cart-overlay.show {
  display: block;
  opacity: 1;
}


.local-pickup {
  margin: 15px 0;
}

.pickup-note {
  margin-top: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.single-cart-btn {
  display: flex;
  justify-content: center;
  margin: 25px 0;
}

  /* Checkout button */
  .checkout-btn {
    padding: 10px;
    font-size: 0.95rem;
  }


/* =======================
   MOBILE STYLE Menu
======================= */
/* Hamburger button */
.nav-toggle {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  display: none;
}
/* ============================
          Responsive code
============================*/

/*Fix below*/

/*
@media (min-width: 480px) { /* large mobile */ 


/*}

@media (min-width: 768px) { /* tablet */ 


/*}

@media (min-width: 1024px) { /* desktop */ 


/*}

@media (min-width: 1280px) { /* wide desktop */ 



/*}


/* Desktop dropdown hover */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

/* Mobile nav */
@media (max-width: 768px) {

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    right: 0;
    top: 70px;
    background: #222;
    width: 220px;
    display: none;
    flex-direction: column;
    padding: 15px 0;
  }

  .nav-menu.show {
    display: flex;
  }

  .nav-menu li {
    padding: 10px 20px;
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
    position: relative;
    width: 100%;
    background: #333;
  }
}


/** Products grid spacing**/
@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1000px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

/* =======================
   MOBILE STYLES
======================= */







.modal.hidden { display: none; }

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 8vh;   /* pushes modal down */
  background: rgba(0, 0, 0, 0.55); /* backdrop dim */
  z-index: 1000;
}

.modal-content {
  max-width: 420px;          /* bigger */
  width:50%;
  padding: 2rem 2.25rem;     /* more breathing room */
  background: #fff;
  border-radius: 16px;       /* intentional radius */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: visible;        /* IMPORTANT — prevents clipping */
}

#modal-body {
  margin-top: 0.75rem;
}
.modal-img {
  display: block;
  margin: 0 auto 0.75rem;
  max-width: 220px;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
#modal-body img { /* this is good! */
  max-width: 100%;
  max-height: 200px;
  display: block;
  margin: 0 auto 1rem;
  object-fit: contain;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}
.modal-content.small {
  max-width: 420px;
  padding: 1.75rem;
}

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
}




/***Parallax item ****/
.parallax {
  position: relative;
  height: 70vh;
  background-image: var(--bg-image);
  background-attachment: fixed;
  background-position: center;
  background-size: 100% auto;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Frosted Glass Overlay */
.glass-overlay {
  width: 85%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}


/* Logo */
.glass-logo img {
  width: 100%;
  max-width: 260px;
  border-radius: 12px;
}


/* Text Section */
.glass-text h1 {
  font-size: 3rem;
  margin: 0;
}


.glass-text p {
  margin-top: 15px;
  font-size: 1.3rem;
  line-height: 1.5;
}

/* Footer matches your navbar styling */
.site-footer {
  background: #222;
  /* same as navbar */
  color: white;
  padding: 35px 20px;
  margin-top: 60px;
  text-align: center;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
}

.site-footer p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Footer  */
.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #00eaff;
  /* same hover color as navbar */
  opacity: 1;
}


.centered-list {
  width: 30%;
  /* Adjust as needed */
  margin: 0 auto;
  /* Centers the block */
  text-align: left;
  /* Keeps bullets + text aligned properly */
  padding: 0;
}

.centered-list ul {
  padding-left: 18px;
  /* Close bullets */
  list-style: disc;
  margin: 6px 0;
}

.centered-list>li {
  margin-bottom: 15px;
  font-weight: bold;
  list-style: none;
  /* No bullet for main items */
}

.centered-list ul li {
  margin: 4px 0;
}

/* Container to center the single button */


/* Single Add to Cart button */
.btn-add-cart {
  background: #00eaff;
  color: #000;
  padding: 12px 28px;
  font-size: 1.1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 234, 255, 0.3);
}

.btn-add-cart:hover {
  background: #00c6d1;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 234, 255, 0.45);
}

/* Container is centered on the page */
.multi-btn-group {
  width: 100%;
  margin: 8px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* space between rows */
  text-align: left;
}

/* Each row: button + label on one line */
.btn-row {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  /* space between button and text */
}

/* Make sure button stays its natural size */
.btn-row button {
  width: auto;
  /* prevents full-width behavior */
  flex: 0 0 auto;
  /* DO NOT grow */
  white-space: nowrap;
  /* keep the button text on one line */
}

/* Make sure the label doesn’t wrap under the button */
.btn-row span,
.btn-row p,
.btn-row label {
  white-space: nowrap;
}


/* Buttons */
.btn-option {
  background: #00eaff;
  color: #000;
  padding: 10px 18px;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(0, 234, 255, 0.3);
}

.btn-option:hover {
  background: #00c6d1;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 234, 255, 0.45);
}

/* Optional text label */
.btn-label {
  font-size: 1.05rem;
  color: #222;
}

/* ============================================================
   MOBILE CART SIDEBAR TIGHTENING
============================================================ */
/* Mobile stacked layout */
@media (max-width: 768px) {
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    margin: 0;
  }
}

  

 
 

  /* Prevent overflow */
 


/* ----- MOBILE: stack button + text ----- */
@media (max-width: 1400px) {
  .btn-row {
    flex-direction: column;
    /* stack button over text */
    align-items: flex-start;
    /* left-align both items */
    gap: 6px;
    /* small space between them */
  }

  /* Make sure button stays its natural size */
  .btn-row button {
    width: auto;
    flex: 0 0 auto;
  }

  /* Allow the text to wrap naturally under the button */
  .btn-row span,
  .btn-row p,
  .btn-row label {
    white-space: normal;
    text-align: left;
  }
}

/* --- Gallery---- */
div.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  /* centered horizontally */
  align-items: center;
  /* optional: centers vertically */
}

div.gallery-item {
  margin: 5px;
  /*
  border: 1px solid #ccc;
  */
  width: 250px;
}

div.gallery-item:hover {
  border: 1px solid #777;
}

div.gallery-item img {
  width: 100%;
  height: auto;
}

div.gallery-item div.desc {
  padding: 15px;
  text-align: center;
}