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

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
}


/* === PRODUCT SCALE WRAPPER === */
.products-scale-wrapper {
  width: 100vw;
  transform-origin: top center;
  transform: scale(clamp(0.4, 1vw + 0.3vh, 1));
  transition: transform 0.3s ease;
}

/* HEADER */
/* HEADER SECTION */

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 66.66%; /* 2/3 of screen */
  height: 100%;
  background: #B4F5EE;
  z-index: 999;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 0;
}

header {
background-image: url(../images/icons/headerbg.png); /*old color #02D7EB */
  background-size: cover; /* << ADD THIS */
  background-position: center center; /* << ADD THIS (optional but good) */
  background-repeat: no-repeat;
padding: 30px 20px;
  position: relative; /* already present — good! */
  min-height: 25vh; /* 20% of screen height */      /* ⬅️ Add this if not already */
    z-index: 1;
}

/*
header::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -3px;
  width: 20vw;
  height: 20vw;
  background: url(../images/icons/shopbg.png) no-repeat center/contain;
  pointer-events: none;
  z-index: 2;
}
*/


.header-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
text-decoration: none;
}

.logo {
  display: flex;
  align-items: center;
  gap: clamp(4px, 1vw, 4px);
  color: white;
  font-weight: bold;
  font-size: clamp(14px, 1.5vw + 0.5vh, 24px);
  text-decoration: none;
  font-family: 'Arial Rounded MT Bold', Arial, sans-serif;
  white-space: nowrap;
  filter: invert(1);
}


.logo a {
  text-decoration: none !important;
  color: white !important;
}

.logo img {
  height: 1em; /* ✅ ties directly to font-size */
  width: auto;
  display: inline-block;
  filter: invert(1);
}



.header-center-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: clamp(16px, 2vh, 32px) 0 clamp(-12px, -1vh, 0px); /* ⬅️ tighter bottom */
}


.logo-wrapper {
  position: relative;
  display: inline-block;
}

.logo-wrapper img {
  height: clamp(180px, 22vw, 440px); /* ⬆️ Bigger at full size - origLogo was 180px, 20vw, 360px */
  width: auto;
  display: block;
  margin: 0 auto;
  margin-bottom: 30px;
}


.header-title {
  position: absolute;
  top: 78%;  /* ⬇️ Lower than before */
  font-size: clamp(18px, 3vw + 1vh, 48px);  /* ⬆️ Slightly bigger */
  font-family: 'Share Tech Mono', monospace;
  font-weight: bold;
  color: white;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}

.header-title.left {
  right: 100%;
  margin-right: 0;
  text-align: right;
  transform: translate(18%, -50%); /* ⬅️ Pull left title inward */
}

.header-title.right {
  left: 100%;
  margin-left: 0;
  text-align: left;
  transform: translate(-18%, -50%); /* ⬅️ Pull right title inward */
}

.logo-with-text {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  column-gap: clamp(0px, 0.2vw, 6px); /* 🔥 Force tight spacing */
}





.header-top a {
text-decoration: none !important;
color: inherit; /* Ensures it uses the white from .logo */
}

.header-top a:visited,
.header-top a:hover,
.header-top a:active {
text-decoration: none !important;
}

.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 14px);
  justify-content: flex-end;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-grow: 1;
  width: 50%;
  max-width: 100%;
}

.search-bar input {
  height: clamp(36px, 0.7vw + 0.7vh, 44px);
  font-size: clamp(12px, 0.5vw + 0.5vh, 16px);
  padding: 0 clamp(8px, 0.5vw + 0.5vh, 14px);
  width: clamp(220px, 25vw, 360px); /* longer input field */
  border: none;
}


.search-bar button {
  height: clamp(36px, 0.7vw + 0.7vh, 44px);
  width: clamp(36px, 0.7vw + 0.7vh, 44px); /* perfect square */
  background-color: #EC3984;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}


.search-bar button img {
  width: clamp(18px, 1vw + 1vh, 26px); /* slightly larger icon */
  height: clamp(18px, 1vw + 1vh, 26px);
  filter: invert(1);
}


.search-bar button:hover {
background-color: #e6007e;
}

.cart {
color: white;
font-weight: bold;
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
}

#cart-icon {
position: relative;
display: flex;
align-items: center;
gap: 8px;
}

.cart-icon-wrapper {
position: relative;
display: inline-block;
}

.cart-icon-wrapper img {
  width: clamp(34px, 1vw + 1vh, 38px); /* bigger cart icon */
  height: clamp(34px, 1vw + 1vh, 38px);
  filter: invert(1);
}

.cart-icon-wrapper img:hover {
  filter: invert(1) brightness(1.3);
  transform: scale(1.1);
  transition: filter 0.2s ease, transform 0.2s ease;
}

#cart-count {
position: absolute;
bottom: -4px;
right: -4px;
width: 18px;
height: 18px;
background-color: #EC3984;
color: white;
font-size: 12px;
font-weight: bold;
border-radius: 50%;
text-align: center;
line-height: 18px;
pointer-events: none;
}


/* Dropdown Styles */
.dropdown {
    position: absolute;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none; /* Initially hidden */
}

.dropdown li {
    list-style: none;
}

.dropdown li a {
    display: block;
    padding: 12px 0; /* Same padding as category-bar items */
    text-align: center;
    text-decoration: none;
    color: #121212; /* Same text color */
    font-weight: bold;
}

.dropdown li a:hover {
    background-color: #FD7DBD3D; /* Same hover effect */
    color: #EC3984; /* Same hover text color */
}

/* Show dropdown when not hidden */
.dropdown:not(.hidden) {
    display: block;
}



/* Cart total remains styled inline */
#cart-total {
  font-size: clamp(14px, 0.8vw + 0.8vh, 20px);
  color: white;
  font-weight: bold;
}

/* NAVIGATION */
nav {
display: flex;
justify-content: center;
}

.category-bar {
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 50% !important;
  height: clamp(32px, 1.5vw + 1.5vh, 40px) !important;
  background-color: white !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0 !important;
  list-style: none !important;
  z-index: 10 !important;
  font-size: clamp(12px, 1vw + 1vh, 16px) !important;
  overflow: hidden;
  flex-wrap: nowrap;
}



.category-bar li {
flex: 1; /* each button takes equal space */
}

.category-bar a {
display: block;
width: 100%;
text-align: center;
font-weight: bold;
padding: 12px 0;
text-decoration: none;
color: #121212;
}

/* Remove left border on the first button */
.category-bar li:first-child a {
border-left: none;
}



.category-bar a:hover,
.category-bar a.active {
background-color: #FD7DBD3D;
color: #EC3984;
}



.banner { /* This is the container for your image */
  width: clamp(280px, 80%, 1200px); /* Responsive width, max 1200px */
  margin: clamp(16px, 2vw, 40px) auto clamp(24px, 3vw, 48px); /* Centers the container */
  
  aspect-ratio: 1200 / 400; /* Enforces a 3:1 aspect ratio for this container */
                            /* Its height will always be 1/3 of its current width */

  overflow: hidden;     /* Crucial: Clips anything from the image that goes outside this container */
  border-radius: 8px;   /* Applies rounded corners to the container, clipping the image within */
  /* background-color: #eee; */ /* Optional: a light background in case an image is transparent or fails to load */
}

.banner img { /* This is the <img> tag itself */
  width: 100%;        /* Make the image fill the full width of the .banner container */
  height: 100%;       /* Make the image fill the full height of the .banner container */
  display: block;     /* Removes extra space below the image if it were inline */
  object-fit: cover;  /* This is the key property:
                         - Scales the image (maintaining its own aspect ratio)
                           until it's large enough to cover the entire .banner container.
                         - If the image's aspect ratio is different from the container's 3:1,
                           parts of the image will be cropped (centered by default).
                         - If the image is smaller than the container, it WILL be scaled UP.
                      */
  /* object-position: center center; */ /* Default for 'cover', ensures centering before crop.
                                           You can change this (e.g., 'top center') if you
                                           want to prioritize showing a specific part of the image. */
}


/* Sorting Options */

.sorting-wrapper {
  width: 80%;
  max-width: 1536px;
  margin: 10px auto 24px auto;
}


.sorting-options {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}


.sorting-options button {
  padding: 6px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #ccc;
  background-color: white;
  border-radius: 4px;
  transition: 0.3s;
  min-width: 130px; /* ✅ Keeps button width consistent */
  text-align: center;
}

.sorting-options button:hover {
  background-color: #f0f0f0;
}


.product-heading {
  width: 80%;
  max-width: 1536px;
  margin: 0 auto;
  color: #EC3984;
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  padding-left: 5px;
}



/* Product Section */
.product-container {
  width: 80%;
  max-width: 1536px; /* 80% of 1920px */
  margin: 0 auto;
  padding: clamp(16px, 3vw, 50px);
  background: linear-gradient(to bottom, #FF7ABC, #B4F5EE);
}

/* Grid Layout for Products */
.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: clamp(16px, 1vw, 24px);
  justify-content: center;
  width: 100%;
  max-width: 1536px; /* or remove if it's limiting you */
  margin: 0 auto;
}


@media (min-width: 1920px) {
  .products-scale-wrapper {
    transform: scale(1); /* Freeze scale */
  }
}

/* Product Box */
.product {
  background: white;
  padding: clamp(8px, 1vw, 12px);
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  font-size: clamp(12px, 0.9vw + 0.3vh, 16px);
  
  max-width: 250px;     /* ✅ cap width */
  width: 100%;          /* ✅ scale down when needed */
  margin: 0 auto;       /* ✅ center when grid has extra space */
}

.product:hover {
  transform: scale(1.05);
}

/* Product Images */
.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Product Info */
.product-info {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
  font-weight: bold;
}

/* Sale Pricing */
.sale-price {
  color: red;
  font-weight: bold;
}

.original-price {
  text-decoration: line-through;
  color: gray;
  margin-left: 2px;
}

/* Quantity & Add to Cart */
.quantity-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.quantity-bar input {
  width: 50px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 2px;
}

.add-to-cart {
  background-color: #EC3984;
  color: white;
  border: none;
  padding: 2px 10px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 4px;
  transition: 0.3s;
}

.add-to-cart:hover {
  background-color: #d31d69;
}



/* Footer */
footer {
display: flex;
justify-content: space-between;
align-items: center;
padding: 30px 10%;
background-color: #02D7EB;
flex-wrap: wrap;
}

/* SOCIAL SECTION */
footer .socials {
flex: 1;
display: flex;
/* CHANGE: Reduced gap for tighter spacing */
gap: 5px;
justify-content: flex-start;
flex-direction: column;
align-items: flex-start;
}

footer .social-icons {
display: flex;
gap: 1px;
align-items: center;
flex-wrap: wrap;
}

footer .socials img {
width: 48px;
height: 48px;
}

/* Newsletter Form (inline with label) */
footer .newsletter-form {
display: flex;
align-items: center;
gap: 10px;
margin-top: 8px;
}

footer .newsletter-form label {
color: white;
font-size: 16px;
font-weight: bold;
}

footer .newsletter-form input[type="email"] {
padding: 6px 10px;
border: none;
border-radius: 4px;
font-size: 14px;
width: 200px;
}


footer .newsletter-form button {
padding: 8px 14px;
background-color: #ffffff;
color: #02D7EB;
border: none;
border-radius: 4px;
font-weight: bold;
cursor: pointer;
}

footer .newsletter-form button:hover {
background-color: #e0f9fb;
}

/* Newsletter Link (not used anymore but kept for compatibility) */
footer .newsletter-link {
font-size: 18px;
text-decoration: none;
color: white;
font-weight: bold;
margin-left: 12px;
}

/* COPYRIGHT TEXT BELOW SOCIALS */
footer .copyright {
color: white;
font-size: 14px;
font-weight: bold;
margin-top: 10px;
}

/* LINK SECTION */
footer .links {
flex: 1;
display: grid;
grid-template-columns: repeat(2, max-content);
justify-content: center;
gap: 8px 30px;
text-align: center;
}

footer .links a {
text-decoration: none;
color: white;
font-size: 18px;
font-weight: bold;
}

/* Address & Opening Times Section */
footer .footer-address {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px; /* Provides space between address and hours */
  text-align: center;
  color: white;
  font-size: 18px;
  font-weight: bold;
}

/* PAYMENT SECTION */
footer .payment-icons {
flex: 1;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 10px;
}

footer .payment-icons-top {
display: flex;
gap: 15px;
align-items: center;
}

footer .payment-icons img {
width: auto;
height: 32px;
}

/* CONTACT UNDER PAYMENT */
footer .payment-contact {
display: flex;
flex-direction: column;
gap: 4px;
align-items: flex-end;
}

footer .contact-item {
display: flex;
align-items: center;
gap: 6px;
font-size: 18px;
font-weight: bold;
color: white;
}

footer .contact-item img {
width: 16px;
height: 16px;
}

/* UPDATED to fix floating text issue */
footer .neko-is-autistic {
    margin-left: 0;
    margin-bottom: 0;
    /* CHANGE: Reduced margin for tighter spacing */
    margin-top: 5px;
    font-weight: bold;
    color: white;
    width: 100%;
    text-align: left;
}

.footer-highlight {
height: 34px; /* adjust height as needed */
width: 70%;
background-color: #FD7EBE; /* solid pink or your preferred tone */
margin: 0 auto;
padding: 0;
margin-top: 2%;
}


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

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

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




  .product-image-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
  }
  

.product-image {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}


.product-image-wrapper .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(240, 240, 240, 0.7);
  color: white;
  font-weight: bold;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  border: 2px solid white;
  text-shadow: 1px 1px 0 black, -1px 1px 0 black, 1px -1px 0 black, -1px -1px 0 black;
  border-radius: 4px;
}

.add-to-cart.disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.7;
}

/* .sale-ribbon {
  position: absolute;
  top: 75px;
  left: -22px;            /* ⬅️ Halfway between -30px and -15px */
  /* width: 140px;
  background: #b30000;
  color: white;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  padding: 6px 0;
  transform: rotate(-45deg);
  transform-origin: 0 0;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  font-family: sans-serif;
} */

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-overlay.hidden {
  display: none;
}

/* Modal Content Box */
.modal-content {
  background: white;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #666;
  cursor: pointer;
}

.close-btn:hover {
  color: #000;
}

/* Modal Body Layout */
.modal-body {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

/* Image and Description */
.modal-left {
  flex: 1 1 300px;
  text-align: center;
}

.modal-left p {
  margin-top: 10px;
  font-size: 15px;
  color: #555;
}

/* Price + Quantity + Add */
.modal-right {
  flex: 1 1 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.modal-right h3 {
  font-size: 22px;
  margin-bottom: 2px;
}

.modal-right p {
  font-size: 18px;
  font-weight: bold;
}

.modal-right .quantity-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-right .quantity-bar input {
  width: 60px;
  padding: 6px;
  font-size: 16px;
}

/* Style only the qty buttons */
.modal-right .qty-btn {
padding: 0 12px;
font-size: 20px;
border: none;
background: none;
cursor: pointer;
user-select: none;
height: 100%;
width: 40px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s;
}

.modal-right .qty-btn:hover {
background-color: #f0f0f0;
}

/* Modal cart button style */
#modal-add-cart {
background-color: #EC3984;
color: white;
border: none;
padding: 10px 14px;
font-size: 18px;
border-radius: 6px;
cursor: pointer;
transition: background 0.2s;
}

#modal-add-cart:hover {
background-color: #d31d69;
}



body.modal-open {
  overflow: hidden;
}

/* modal image */
.modal-image-wrapper {
  width: 100%;
  max-width: 90vw;
  aspect-ratio: 1 / 1;
  min-width: 250px;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.image-overlay-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



.modal-image-wrapper .product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 10;
}


/* Description Box */
.modal-description-box {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px;
  font-size: 14px;
  background-color: #fefefe;
  margin: 10px 0;
  min-height: 80px;
  white-space: pre-wrap;
}

/* Align Stock & Price Row */
.stock-price-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-weight: bold;
  font-size: 15px;
}

/* SALE + LIVE banners  */



.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;         /* Full width of the image */
  height: 100%;        /* Full height of the image */
  object-fit: contain; /* Maintains aspect ratio */
  pointer-events: none;
  z-index: 10;
}

/* Quantity styles */

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  height: 40px;
}

.qty-btn {
  padding: 0 12px;
  font-size: 20px;
  border: none;
  background: none;
  cursor: pointer;
  user-select: none;
  height: 100%;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.qty-btn:hover {
  background-color: #f0f0f0;
}

.quantity-input {
  width: 50px;
  border: none;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  height: 100%;
  outline: none;
  appearance: none;
  -moz-appearance: textfield;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-bar .add-to-cart {
  height: 40px;
  padding: 0 14px;
  font-size: 18px;
  background-color: #EC3984;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-bar .add-to-cart:hover {
  background-color: #d31d69;
}

/* Carousel */

#banner-carousel {
  position: relative;
  width: clamp(280px, 80%, 1200px);
  height: auto;
  aspect-ratio: 3 / 1;
  margin: clamp(32px, 4vw, 64px) auto clamp(24px, 3vw, 48px);
  overflow: hidden;
  border-radius: 12px;
}

#banner-carousel .carousel-inner {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

#banner-carousel .carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 12px;
}

#banner-carousel .carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  z-index: 2;
}

#banner-carousel .carousel-arrow.left { left: 10px; }
#banner-carousel .carousel-arrow.right { right: 10px; }

#banner-carousel .carousel-dots {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

#banner-carousel .carousel-dots span {
  display: inline-block;
  height: 10px;
  width: 10px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  margin: 0 2px;
  cursor: pointer;
}

#banner-carousel .carousel-dots .active {
  background: white;
}


@media (max-width: 1200px) {
  #banner-carousel {
  position: relative;
  width: clamp(280px, 80%, 1200px);
  height: auto;
  aspect-ratio: 3 / 1;
  margin: clamp(32px, 4vw, 64px) auto clamp(24px, 3vw, 48px);
  overflow: hidden;
  border-radius: 12px;
}
}



/* === FINAL RESPONSIVE RESTORATIONS === */

/* ---------------- TRUE RESTORED STYLES ---------------- */

/* 1. Restore logo scaling exactly like original */


/* 2. Title: same layout, but font-size now scales */




.category-bar li a {
font-size: clamp(12px, 1vw, 16px);
white-space: nowrap;
}





/* 2. Header Title — scale immediately with smaller vw base */




/* === HEADER TITLE SCALING + POSITION === */


.copyright-mobile {
  display: none;
}




/* Locks everything inside to max 1920px and centers */
.site-wrapper {
  max-width: 1920px;
  margin: 0 auto;
  position: relative;
}

/* MOBILE VIEW */
@media (max-width: 768px) {
  /* Global layout fix */
  * {
    box-sizing: border-box;
  }

  /* 1. Hide category bar, search bar, and logo text */
  .category-bar,
  .search-bar,
  .logo span,
  .header-top .logo {
    display: none !important;
  }

  /* 2. Show hamburger menu */
  .hamburger {
    display: block;
    position: absolute;
    bottom: clamp(10px, 2vh, 20px);
    left: clamp(12px, 3vw, 24px);
    width: clamp(28px, 5vw, 40px);
    height: clamp(24px, 5vw, 36px);
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger div {
    width: 100%;
    height: 4px;
    background-color: white;
    margin: 5px 0;
    border-radius: 2px;
  }

  /* 3. Full-width banner + carousel, no corners */
  .banner,
  #banner-carousel,
  #banner-carousel img {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
  }

  #banner-carousel .carousel-arrow {
    font-size: 1.2rem;
    padding: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
  }

  /* 4. Center sorting buttons */
  .sorting-options {
    justify-content: center;
  }

  /* 5. Mobile search in menu */
  .mobile-search {
    display: flex !important;
    margin-bottom: 12px;
  }

  .mobile-search input {
    width: 100%;
  }

  /* 6. Product container full width */
  .product-container {
    width: 100% !important;
    max-width: none !important;
    padding: clamp(16px, 3vw, 50px);
  }

  .product-heading {
    width: 100%;
    max-width: 1536px;
    margin: 0 auto;

  }

  /* 7. Products: 2 per row with tighter gap */
  .products {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }
  
  .header-center-logo {
    margin-top: clamp(-20px, -3vh, 0px);     /* Already tight on top */
    margin-bottom: clamp(-32px, -4vh, -8px); /* ⬅️ Much less space at bottom */
  }

  .header-title.left {
    right: 100%;
    margin-right: 0;
    text-align: right;
    transform: translate(28%, -50%); /* ⬅️ Pull left title inward */
  }
  
  .header-title.right {
    left: 100%;
    margin-left: 0;
    text-align: left;
    transform: translate(-24%, -50%); /* ⬅️ Pull right title inward */
  }
  


  .quantity-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap;
  }
  

  .quantity-bar .add-to-cart {
    min-width: 38px;
    max-width: 42px;
    padding: 0 8px;
    font-size: 16px;
    height: 38px;
    flex-shrink: 0;
  }

  .quantity-bar .qty-btn {
    padding: 0 8px;
    width: 32px;
    height: 38px;
    font-size: 18px;
  }
  
  .quantity-bar .quantity-input {
    width: 42px;
    height: 38px;
    font-size: 16px;
    text-align: center;
  }
  
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 5%;
    display: flex;
  }

  footer .socials,
  footer .links,
  footer .footer-address,
  footer .payment-icons,
  footer .payment-contact,
  footer .copyright {
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  footer .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }

  /* FIX: Ensure newsletter label centers and has less top margin */
  footer .neko-is-autistic {
    text-align: center;
    /* CHANGE: Reduced margin for tighter spacing */
    margin-top: 10px;
  }

  /* CHANGE: This block was updated to fix the link spacing */
  footer .links {
    margin-bottom: 2%;
    display: grid;
    /* This brings the columns closer together */
    grid-template-columns: repeat(2, max-content);
    gap: 10px 20px;
    justify-items: center;
    text-align: center;
    /* This centers the group of links */
    justify-content: center;
  }
  
  /* ADDED for mobile spacing */
  footer .footer-address {
    margin-top: 30px;
    margin-bottom: 30px;
    gap: 15px;
  }

  footer .payment-icons-top {
    justify-content: center;
    flex-wrap: wrap;
  }

  footer .payment-contact {
    margin-top: 8px;
  }

  footer .contact-item {
    justify-content: center;
  }

  footer .newsletter-form {
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  footer .newsletter-form label,
  footer .newsletter-form input,
  footer .newsletter-form button {
    width: 100%;
    max-width: 300px;
  }

  .footer-highlight {
    width: 90%;
  }


  .socials .copyright {
    display: none;
  }

  /* Show new one at the bottom */
  .copyright-mobile {
    display: block;
    text-align: center;
    opacity: 0.7;
    font-size: 0.85rem;
    margin-top: 24px;
    color: white;
    font-weight: bold;
  }
  footer {
    position: relative; /* anchor absolute copyright */
  }

/*
 header::after {
  content: "";
  position: absolute;
  bottom: 0px;
  right: -3px;
  width: 35vw;
  height: 35vw;
  background: url(../images/icons/shopbg.png) no-repeat center/contain;
  pointer-events: none;
  z-index: 2;
} */


#banner-carousel .carousel-arrow {
  display: none;

}

  
  


@media (max-width: 380px) {
  /* Global layout fix */
  * {
    box-sizing: border-box;
  }

  .header-title.left {
    right: 100%;
    margin-right: 0;
    text-align: right;
    transform: translate(38%, -50%); /* ⬅️ Pull left title inward */
  }
  
  .header-title.right {
    left: 100%;
    margin-left: 0;
    text-align: left;
    transform: translate(-36%, -50%); /* ⬅️ Pull right title inward */
  }
}

@media (max-width: 360px) {
  /* Global layout fix */
  * {
    box-sizing: border-box;
  }
  
  .header-title {
    top: 74% !important; /* ⬆️ Move text upward (from 78% to 70%) */
  }

  .header-title.left {
    right: 100%;
    margin-right: 0;
    text-align: right;
    transform: translate(38%, -50%); /* ⬅️ Pull left title inward */
  }
  
  .header-title.right {
    left: 100%;
    margin-left: 0;
    text-align: left;
    transform: translate(-36%, -50%); /* ⬅️ Pull right title inward */
  }
}



/* DARK BACKGROUND WHEN MENU IS OPEN */
.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* darkened overlay */
  z-index: 998;
  display: none;
}


/* MOBILE SLIDEOUT MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 66.66%; /* 2/3 of screen */
  height: 100%;
  background: #B4F5EE;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.mobile-menu.hidden {
  transform: translateX(-100%); /* Keep it off-screen when hidden */
}

.mobile-menu.show {
  transform: translateX(0%);
}

/* HIDE HAMBURGER WHEN MENU IS OPEN */
body.menu-open .hamburger {
  display: none;
}

/* SEARCH BAR AT TOP OF MENU */
.mobile-search {
  display: flex;
  padding: 12px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
}

.mobile-search input {
  flex: 1;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
}

.mobile-search button {
  width: 40px;
  height: 40px;
  background: #FD7EBE; /* 🎨 Bright pink */
  border: none;
  border-radius: 6px;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-search img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

/* FULL-WIDTH MENU LINKS */
.mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-menu li {
  width: 100%;
  border-top: 1px solid #EC3984;
}

.mobile-menu li:last-child {
  border-bottom: 1px solid #EC3984;
}

.mobile-menu a {
  display: block;
  padding: 16px;
  width: 100%;
  color: #EC3984;
  text-align: center; /* ⬅️ Center the text */
  text-decoration: none;
  font-weight: bold;
  background: transparent;
}


.mobile-menu a:hover {
  background-color:#FD7DBD3D;
}

/* GENERIC UTILITY */
.hidden {
  display: none;
}

.products-scale-wrapper {
  width: 100vw;
  transform-origin: top center;
  transform: scale(clamp(0.36, 1vw + 0.3vh, 1));
  transition: transform 0.3s ease;
}

.product {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.product-info {
  margin-top: auto;
}


.product h3,
.product-info,
.product-info .stock,
.product-info .quantity,
.product-price,
.add-to-cart,
.stock-price-row{
  color: #121212;
}

.sorting-options button{
  color: #121212;
}

.quantity-bar input,
.quantity-input {
  color: #121212; /* Desired text color for the number */
}

.quantity-bar button {
  color: #121212; /* If your + / − symbols are text */
}


/* ---- Fix: force menu above transformed products ---- */

/* make the menu and dim overlay absolutely topmost when open */
body.menu-open .mobile-menu,
body.menu-open #mobile-overlay {
  z-index: 99999 !important;
}

/* remove the transform on the products wrapper while menu is open
   (prevents it creating a stacking context that sits over fixed elements) */
body.menu-open .products-scale-wrapper {
  transform: none !important;
  transition: none !important; /* optional: avoid weird animation */
  will-change: auto !important;
}

/* also reduce product overlay stacking while menu is open as a belt-and-braces measure */
body.menu-open .product-image-wrapper .overlay,
body.menu-open .product-overlay {
  z-index: 0 !important;
  pointer-events: none; /* keep menu clicks working */
}

}

/* Dropdown for category-bar (Mehr) — replaces previous dropdown rules
   - same width & padding as the category buttons
   - sits flush under the button (no gap)
   - identical hover/focus styling
*/
.category-bar {
  /* allow the dropdown to escape the bar (overrides any overflow:hidden) */
  overflow: visible !important;
}

.category-bar > li {
  position: relative; /* positioning context for the dropdown */
  overflow: visible;
}

/* Make the "Mehr" control visually identical to other category items */
.category-bar a,
.category-bar .more-button {
  display: block;
  width: 100%;
  text-align: center;
  font-weight: bold;
  padding: 12px 0;           /* same vertical padding as buttons */
  text-decoration: none;
  color: #121212;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Hover/focus state identical for links and button */
.category-bar a:hover,
.category-bar a.active,
.category-bar .more-button:hover,
.category-bar .more-button:focus {
  background-color: #FD7DBD3D;
  color: #EC3984;
  outline: none;
}

/* Dropdown positioned flush beneath the button and matches its width */
.category-bar .dropdown {
  position: absolute;
  top: 100%;        /* flush under the button (no gap) */
  left: 0;          /* align with left edge of the li/button */
  width: 100%;      /* same width as the li/button */
  min-width: 0;
  background: #ffffff;
  border-radius: 0 0 6px 6px; /* square top edge to appear attached; rounded bottom */
  border-top: 1px solid rgba(0,0,0,0.03); /* subtle seam for crisp join */
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  padding: 0;
  z-index: 1200;
  display: none;    /* shown by JS when .hidden is removed */
  pointer-events: auto;
}

/* visible when JS toggles .hidden off */
.category-bar .dropdown:not(.hidden) {
  display: block;
}

/* dropdown items use the same vertical padding + centered text as the buttons */
.category-bar .dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-bar .dropdown li a {
  display: block;
  padding: 12px 0;     /* identical vertical spacing to the category links */
  text-align: center;  /* match button text alignment */
  text-decoration: none;
  color: #121212;
  font-weight: 600;
  white-space: nowrap;
}

/* Hover / focus for dropdown items matches the main buttons */
.category-bar .dropdown li a:hover,
.category-bar .dropdown li a:focus {
  background-color: #FD7DBD3D;
  color: #EC3984;
}

/* Remove inner focus padding in Firefox for button */
.category-bar .more-button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

/* visible focus style for accessibility */
.category-bar .more-button:focus {
  box-shadow: inset 0 0 0 2px rgba(236,57,132,0.12);
  border-radius: 0;
}