body {
  background-color: #151515;
  color: #ffff;
  margin: 0;
  font-family: "Electrolize", sans-serif;
}




/* big text https://patorjk.com/software/taag/#p=display&f=Standard&t=%0AHeader&x=none&v=4&h=4&w=80&we=false */


/*
 | | | | ___  __ _  __| | ___ _ __ 
 | |_| |/ _ \/ _` |/ _` |/ _ \ '__|
 |  _  |  __/ (_| | (_| |  __/ |   
 |_| |_|\___|\__,_|\__,_|\___|_|   
*/

/* Navigation bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding-right: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #381616;
  color: white;
  padding: 10px 20px;
  transition: padding 0.3s ease, background-color 0.3s ease;
}

.navbar.scrolled {
  padding: 2px 20px;
  background-color: #151515; /* optional: slightly darker on scroll */
}

.navbar .logo {
  display: flex;
  align-items: center;
}

/* Default logo size */
.navbar .logo img {
  height: 60px;
  transition: height 0.3s ease;
}

/* Smaller logo on scroll */
.navbar.scrolled .logo img {
  height: 35px;
}

.logo span {
  font-size: 1.75rem;       /* normal size */
  padding-left: 10px;
  transition: font-size 0.3s ease, opacity 0.3s ease;
  opacity: 1;
}

.navbar.scrolled .logo span {
  font-size: 0.1rem;
  opacity: 0;
  width: 0;
  padding-left: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, width 0.3s ease, padding-left 0.3s ease;
}

.paypal-cart-wrapper {
  display: inline-block;       /* make sure scaling works properly */
  transform: scale(1.0);
  transform-origin: center;    /* scale from center */
  /* Optional: adjust margin or positioning if needed */
  margin-left: 10px;           /* add some spacing if needed */
}

.paypal-cart-wrapper.scrolled {
  transform: scale(0.75);
}

.navbar nav {
  display: flex;
  align-items: center;
  gap: 15px; /* space between links */
}

.navbar nav a {
  transition: font-size 0.3s ease;
  font-size: 1.5rem;
}

.navbar.scrolled nav a {
  font-size: 0.75rem;
}

.navbar a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}

.navbar a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .logo span {
    display: none;
  }
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.nav-link .icon img {
  width: 40px;
  height: 40px;
  display: block;
}

.navbar.scrolled .nav-link .icon img {
  width: 25px;  /* smaller size */
  height: 25px;
}

/* Transitions for text and icon */
.nav-link .text,
.nav-link .icon {
  transition: all 0.3s ease;
}

/* Default state: show text and icon */
.nav-link .text {
  opacity: 1;
  transform: translateX(0);
}

/* Scrolled/mobile state: hide text, show icon */
.navbar.scrolled .nav-link .text {
  opacity: 0;
  transform: translateX(-10px);
  pointer-events: none;
  width: 0;
  overflow: hidden;
}

.navbar.scrolled .nav-link {
  gap: 0;
}

@media (max-width: 640px) {
  .navbar .nav-link .text {
    opacity: 0;
    transform: translateX(-10px);
    pointer-events: none;
    width: 0;
    overflow: hidden;
  }

  .navbar .nav-link {
    gap: 0;
  }
}


/*
  ___           _           
 |_ _|_ __   __| | _____  __
  | || '_ \ / _` |/ _ \ \/ /
  | || | | | (_| |  __/>  < 
 |___|_| |_|\__,_|\___/_/\_\
*/


/* Main content */
.main-content {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
  padding-top: 60px;
}

footer {
	text-align: center;
	padding: 40px 10px;
	color: #aaa;
	font-size: 0.9em;
}


/*
  _                    _ _               ____                     ____      _     _ 
 | |    __ _ _ __   __| (_)_ __   __ _  |  _ \ __ _  __ _  ___   / ___|_ __(_) __| |
 | |   / _` | '_ \ / _` | | '_ \ / _` | | |_) / _` |/ _` |/ _ \ | |  _| '__| |/ _` |
 | |__| (_| | | | | (_| | | | | | (_| | |  __/ (_| | (_| |  __/ | |_| | |  | | (_| |
 |_____\__,_|_| |_|\__,_|_|_| |_|\__, | |_|   \__,_|\__, |\___|  \____|_|  |_|\__,_|
                                 |___/              |___/                           
*/

/* Container for the grid */
.grid-container {
  display: grid;
  gap: 5px;
  margin: 0 auto;
  width: 100%;
  max-width: 1000px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Ensure each item is at least 250px wide */
  grid-template-rows: auto; /* Allow row height to auto-adjust */
  align-items: stretch; /* Ensures all grid items stretch equally */
}

/* Base grid item */
.grid-item {
  position: relative;
  border: 2px solid #000;
  display: flex;
  flex-direction: column; /* Stack text sections and button vertically */
  justify-content: space-between; /* Ensure space for text and button */
  align-items: center;
  font-size: clamp(1rem, 4vw, 3rem);
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: all 0.3s ease; /* Smooth transition for hover zoom */
  overflow: hidden; /* Prevents content overflow on zoom */
  min-height: 250px; /* Ensure a minimum height */
}

/* =========================
   WIDE / DESKTOP (3x2)
   ========================= */
@media (min-width: 900px) {
  .grid-container {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    aspect-ratio: 3 / 2;
  }

  .grid-item:not(.combined-vertical) {
    aspect-ratio: 1 / 1;
  }

  .combined-vertical {
    grid-row: span 2;
    background-size: 100% 75%; /* Only cover the top 3/4 */
    background-position: top;
    background-repeat: no-repeat;
    overflow: hidden; /* Prevent overflow */
    position: relative; /* To make sure the text stays below the image */
    height: 100%; /* Allow it to take the full height of the grid */
  }

  /* Ensure image fits properly within the top 3/4 */
  .combined-vertical::before {
    display: none; /* No dark overlay for the combined box */
  }

  .grid-item:not(.combined-vertical) {
    aspect-ratio: 1 / 1;
    background-size: cover;
  }
}

/* =========================
   MEDIUM / NARROW (2x3)
   ========================= */
@media (max-width: 899px) and (min-width: 500px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    aspect-ratio: 2 / 3;
  }

  .grid-item:not(.combined-vertical) {
    aspect-ratio: 1 / 1;
    background-size: cover;
  }

  .combined-vertical {
    grid-row: span 2;
    background-size: 100% 75%; /* Only cover the top 3/4 */
    background-position: top;
    background-repeat: no-repeat;
    overflow: hidden; /* Prevent overflow */
    position: relative;
    height: 100%; /* Allow it to take the full height of the grid */
  }
}

/* =========================
   MOBILE / TINY (1x6)
   ========================= */
@media (max-width: 499px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 1fr);
    aspect-ratio: 1 / 6;
  }

  .combined-vertical {
    grid-row: span 2;
    background-size: 100% 75%; /* Only cover the top 3/4 */
    background-position: top;
    background-repeat: no-repeat;
    overflow: hidden; /* Prevent overflow */
    position: relative;
    height: 100%; /* Allow it to take the full height of the grid */
  }
}

/* Grid item wrapper = grid child */
.grid-item-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
}

.grid-item-link {
  display: block;
  flex-grow: 1;
}


/* =========================
   Darkened Stripe - ONLY for 1x1 boxes
   ========================= */
.grid-item:not(.combined-vertical)::before {
  content: "";
  position: absolute;
  top: 32.5%; /* Start at 1/4 from top */
  left: 0;
  width: 100%;
  height: 35%; /* This will cover the center 1/4 of the box */
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
  z-index: 1;
  transition: all 0.3s ease; /* Transition for expanding the stripe */
}

/* Text inside grid item */
.grid-item .text {
  z-index: 2; /* Ensure the text is above the darkened stripe */
  color: white;
  font-weight: bold;
  text-align: center;
  width: 100%;
  flex-shrink: 0; /* Prevent text from shrinking */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  flex-direction: column;
  position: absolute; /* Ensure text can be moved */
  top: 0%; /* Move text higher */
  left: 0;
  right: 0;
  transition: transform 0.3s ease; /* Smooth transition for movement */
}

/* Main text styling */
.grid-item .text {
  font-size: clamp(1rem, 4vw, 3rem); /* Make it responsive */
  margin-bottom: 10px; /* Space between main and secondary text */
}

/* Hover Effect for 1x1 boxes (Zoom + Reveal Second Text Area) */
.grid-item:not(.combined-vertical):hover {
  transform: scale(1.05); /* Zoom effect */
  z-index: 3; /* Ensures the zoomed item stays on top */
  overflow: visible; /* Allow content to overflow */
}

/* Reveal the second text area when hovered */
.grid-item:not(.combined-vertical):hover .extra-text {
  opacity: 1; /* Show the second text area */
  transform: translateY(0); /* Slide in the second text */
}

/* Extra text styling */
.extra-text {
  font-size: 1rem;
  opacity: 0; /* Initially hidden */
  transform: translateY(25px); /* Moved a little farther down */
  transition: all 0.3s ease;
  color: white;
  text-align: center;
  position: absolute;
  top: 60%; /* Position the description farther down */
  left: 0;
  right: 0;
  z-index: 3; /* Ensure this stays above the darkened stripe */
}

/* =========================
   Hover Effect on Darkened Stripe: Expand it to fit both text areas
   ========================= */
.grid-item:hover::before {
  top: 12.5%; /* Start from slightly above center */
  height: 75%; /* Expand to fit both text sections */
}

/* =========================
   No hover effect for combined-vertical (just text box)
   ========================= */
.combined-vertical {
  background-size: 100% 75%; /* Ensure the image fills only the top 3/4 of the box */
  background-position: top;
  background-repeat: no-repeat;
  position: relative; /* Ensure text is placed at the bottom */
  height: 100%;
  overflow: hidden;
}

/* Text box for combined-vertical (big box) at the bottom half */
.combined-vertical .text-box {
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  color: white;
  padding: 15px;
  text-align: center;
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: bold;
  z-index: 2;
}

/* Title for combined-vertical box */
.combined-vertical .title {
  font-size: clamp(1rem, 3vw, 2rem); /* Match the font size of the 1x1 boxes */
  font-weight: bold;
  margin-bottom: 5px; /* Space between title and description */
  color: white;
}

/* Description for combined-vertical box */
.combined-vertical .description {
  font-size: clamp(0.8rem, 2.5vw, 1.5rem); /* Slightly smaller for description */
  color: white;
  margin-top: 10px; /* Add some space between title and description */
}

/* =========================
   Hover effect for text movement
   ========================= */
.grid-item:not(.combined-vertical):hover .text {
  transform: translateY(-30px); /* Moves the text up by 30px on hover */
}

.button-container {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 5; /* Above card link */
  pointer-events: auto;
  z-index: 5;
  position: absolute;

}


.bottom-button {
  background: rgba(0, 0, 0, 0.75);
  color: white;
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
  pointer-events: auto;
}

.bottom-button:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}


.grid-item-link {
  z-index: 1;
}





































































































































/*.filter-buttons {
/*  text-align: center;
/*  margin-bottom: 20px;
/*}
/*
/*.filter-buttons button {
/*  background-color: #444;
/*  color: white;
/*  border: none;
/*  padding: 8px 16px;
/*  margin: 5px;
/*  cursor: pointer;
/*  border-radius: 4px;
/*}
/*
/*.filter-buttons button:hover,
/*.filter-buttons button.active {
/*  background-color: #d9d9d9;
/*  color: black;
/*}
/*
/*summary {
/*  font-size: 1.2em;
/*  font-weight: bold;
/*  cursor: pointer;
/*  color: #ffff;
/*}
/*
/*.masonry-grid {
/*  max-width: 1000px;
/*  margin: 0 auto;
/*  overflow: hidden;
/*}
/*
/*.grid-item {
/*  width: 30%;
/*  padding: 5px;
/*  box-sizing: border-box;
/*  display: inline-block;
/*  vertical-align: top;
/*  margin-bottom: 20px;
/*}
/*
/*.grid-item img {
/*  max-width: 100%;
/*  height: auto;
/*  display: block;
/*  border-radius: 8px;
/*  object-fit: cover;
/*}
/*
/*@media (max-width: 768px) {
/*  .grid-item {
/*    width: 48%;
/*  }
/*}
/*
/*@media (max-width: 480px) {
/*  .grid-item {
/*    width: 100%;
/*  }
/*}

/*paypal-add-to-cart-button {
/*  --primary-color: #767676;
/*  --primary-text-color: black;
/*  --border-radius: 999px;
/*  --height: 40px;
/*  font-size: 14px;
/*}
/*
/* Fancybox content styling */
/*.fancybox-content-template {
/*  color: white;
/*  padding: 15px;
/*}
/*
/*.fancybox__container {
/*  padding: 0 !important;
/*}
/*
/*.fancybox__slide {
/*  background: transparent !important;
/*  overflow: hidden !important;
/*}
/*
/*.fancybox__content {
/*  width: 90vw !important;
/*  max-width: 1100px;
/*  height: auto !important;
/*  max-height: 90vh;
/*  margin: auto;
/*  background: #222 !important; /* Match your .popup-content background */
/*  border-radius: 8px;
/*  padding: 0 !important;
/*}
/*
/*
/*.popup-content {
/*  display: flex;
/*  flex-wrap: nowrap;
/*  flex-direction: row;
/*  gap: 30px;
/*  width: 100%;
/*  max-width: 1000px;
/*  max-height: 90vh;
/*  overflow: auto;
/*  box-sizing: border-box;
/*  padding: 20px;
/*  background: #222;
/*  border-radius: 8px;
/*  color: white;
/*  overflow-x: hidden;
/*
/*}
/*
/* Left image */
/*.popup-content img {
/*  flex: 1 1 50%;
/*  max-width: 50%;
/*  max-height: 80vh;
/*  width: auto;
/*  height: auto;
/*  border-radius: 8px;
/*  object-fit: contain;
/*}

/* Right PayPal block */
/*.paypal-container {
/*  flex: 1 1 50%;
/*  display: flex;
/*  flex-direction: column;
/*  align-items: center;
/*  justify-content: center;
/*  min-width: 300px;
/*  min-height: 200px;
/*  box-sizing: border-box;
/*  padding: 20px;
/*}
/*
/*paypal-add-to-cart-button {
/*  width: 100% !important;
/*  max-width: 400px;
/*}
/*
/*@media (max-width: 768px) {
/*  .popup-content {
/*    flex-direction: column;
/*    max-height: none;
/*  }
/*
/*  .popup-content img,
/*  .paypal-container {
/*    max-width: 100%;
/*    width: 100%;
/*  }
/*}