@font-face {
  font-family: 'MagdaCleanMono';
  src: url('fonts/MagdaCleanMono.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'specialElite';
  src: url('fonts/SpecialElite-Regular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'CutiveMono';
  src: url('fonts/CutiveMono-Regular.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'roboto';
  src: url('fonts/RobotoCondensed-VariableFont_wght.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
}


.header {
  position: sticky;
  top: 0;
  z-index: 2000;
  display: flex;
  align-items: stretch;
  height: 90px;
  background-color: #f9f9f9;
  font-size: 12px;
  border-bottom: #dbdbdb 1px solid;
}

/* LOGO */
.logo-wrapper {

  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  width: 211px;
  border-right: #dbdbdb 1px solid;
}

.logo {
  height: 90px;
  width: 211px;
}

/* PRAWA STRONA */
.right-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

/* WYSZUKIWARKA */
.search-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: #dbdbdb 1px solid;
  padding: 5px 10px;
  position: relative;
  height:50%;
}
.search-bar i {
  color: #000000;
  font-size: 20px;
  margin-right: 10px;
  margin-left: 10px;
}

.search-bar input {
  font-size: 15px;
  height: 35px;
  flex: 1;
  border: none;
  background-color: #f9f9f9;
  font-family: 'CutiveMono';
}
.search-results {
  position: fixed;
  top: 90px;
  background: white;
  border: 1px solid #ccc;
  width: 50%;
  max-height: 300px;
  overflow-y: auto;
  z-index: 999;
  display: none;
  font-family: 'CutiveMono';
  padding-left: 10vw;
  padding-top: 20px;
}

.search-results div {
  padding: 8px 12px;
  cursor: pointer;
}

.search-results div:hover {
  background-color: #f0f0f0;
}

.cart-icon {
  text-decoration: none;
  color: black;
  font-size: 20px;
  padding-left: 15px;
  cursor: pointer;
  position: relative;
}
.cart-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}


.cart-icon:hover {
  color: #555;
}
.search-bar input:focus {
  outline: none;
}

/* MENU */
.menu {
  padding:10px;
  height: 50%;
  
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 18px;
   justify-content: center;
}

.menu a {
  text-decoration: none;
  color: black;
  font-weight: 600;
  font-size: 16px;
  white-space: nowrap;
  font-family: 'IBM Plex Mono', monospace;
  line-height: 1.6;        /* stała wysokość */
  display: inline-block;   /* stabilne pudełko */
}

.menu a:active {
  transform: scale(1); /* nie zmienia rozmiaru */
}
.menu a:active {
  transform: none !important;
  -webkit-transform: none !important; /* blokada na WebKit (iPhone/Android) */
  background-color: transparent !important; /* wyłącza podświetlenie */
}


.menu a:hover {
  border-bottom: #000000 2px solid;
}


.container {
  width: 100%;
  max-width: 3700px;
  overflow: hidden;
  min-height: 80vh;
}

.banner {
display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 700px;
  background-image: url("images/banner.webp");
  background-size: cover;
  background-position: center;

}
.banner img {
  display: block;
  margin: 0 auto;
  width: 300px;
  height: auto;
}

.products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 100px;
  max-width:70% ;
  margin: 0 auto;
  margin-bottom: 200px;
}
.product_item{
    position: relative;
    max-width: 350px;
    display: flex;
    flex-direction: column;
    margin-right: 20px;
    border: 1px solid #dbdbdb;
    border-bottom: none;
    cursor: pointer;
    overflow-wrap: break-word;
}
.price {
  text-align: end;
  padding: 5px;
}
.basket-line {
  display: flex;
  justify-content: space-between; /* lub start/center */
  align-items: center;
}
.basket-line {
  display: flex;
  justify-content: space-between; /* lub start/center */
  align-items: center;
}
.min-basket{
  padding: 5px;
}

.hr {
  height: 1px;
  background-color: #dbdbdb;
  border: none;
}

.product_img_slider {
  width: 250px;
  height: 250px;
  overflow: hidden;
  position: relative;
  

}

.product_img_slider .slider-track {
  display: flex;
 width: 200%; /* 2 obrazy = 200% */
  height: 100%;
  transition: transform 0.5s ease;
    position: relative;
  left: 0;
}

.product_img_slider img {
flex: 0 0 50%;
  height: 250px;
  object-fit: cover;
  flex-shrink: 0;
    box-sizing: border-box;
}

.product_img_slider:hover .slider-track {
  transform: translateX(-50%);
}
/* Fix dla Safari */
@supports (-webkit-hyphens: none) {
  .product_img_slider .slider-track {
    transform: translateZ(0); /* Wymusza hardware acceleration */
  }
  
  .product_img_slider img {
    max-width: 100%;
    -webkit-backface-visibility: hidden;
  }
}

h3{
    font-family: sans-serif;
}


.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
    color: #666;
  border: #dbdbdb 1px solid;
  padding: 20px 30px;
  border-top: 1px solid #ccc;
font-family: 'CutiveMono';
   padding: 20px;
  font-size: 15px;

  
  width: 78%;
    margin: 0 auto;

    bottom:0px
}

.insta-link {
  text-decoration: none;
  color: #797979;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}
.insta-link2 {
  text-decoration: none;
  color: #640101;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 10px;
}

.insta-link2 i {  
  font-size: 26px;
  font-weight: 600;
}
.insta-link i {
  font-size: 16px;
}
.product-page {
  display: flex;
  flex-direction: row;
  gap: 60px;
  max-width: 1200px;
  margin: 50px auto;
  padding: 40px;
}

.product-left {
  flex: 1;
}
.image-viewer {
  position: relative;
  width: 100%;
  max-width: 500px; /* dostosuj do szerokości obrazka */
  margin: 0 auto 10px auto; /* auto = wyśrodkowanie */
}
.product-main-img {
  width: 500px;
  height: 500px;
  object-fit: cover;
  border: solid #ddd 1px;
}


.tile-title{
  font-family: 'iBM Plex Mono', monospace;
  font-size: 18px;
}
.tile-subtitle{
  font-family: 'cutiveMono', monospace;
  font-weight: bold;
  width: 25ch;  
  white-space: normal;
}
.tile-subtitle2{
  font-family: 'cutiveMono', monospace;

  color: #444;
}
.product-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'MagdaCleanMono';
  font-size: 16px;
  border: #000000;
}

.product-title {
  font-size: 28px;
  font-family: 'iBM Plex Mono', monospace;
}

.product-subtitle {
  font-size: 18px;
  color: #666;
  font-family: 'cutiveMono', monospace;
}

.product-price {
  font-size: 22px;
  font-weight: bold;
  margin: 10px 0;
    font-family: 'cutiveMono', monospace;
}

.product-right select,
.product-right input {
  padding: 6px;
  width: 150px;
}

.product-right button {
  padding: 10px;
  background-color: black;
  color: white;
  border: none;
  font-size: 16px;
  cursor: pointer;
  width: 200px;
}

.product-description {
  margin-top: 20px;
  line-height: 1.5;
  font-family: 'IBM Plex Mono', monospace;
  color: #000000;
  font-size: 18px;
}
.product-main-img {
  width: 100%;
  max-width: 500px;

}


.thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.thumb {
  width: 112px;
  height: 112px;
  object-fit: cover; /* przycina przy zachowaniu proporcji */
  border: 1px solid #ccc;
  cursor: pointer;
  opacity: 0.85;
  transition: all 0.2s ease;
}

.thumb:hover {
  opacity: 1;
  border: 2px solid black;
}
.product-toggle-header {
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
  margin-top: 1em;
  font-family: 'CutiveMono';
  

}
.product-toggle-header i {
  transition: transform 0.3s ease;
}

.product-toggle-header i.rotated {
  transform: rotate(180deg);
}

.product-toggle-body {
  display: none;
  margin-top: 0.5em;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
  line-height: 1.5;
}
.product-toggle-body.visible {
  display: block;
}

 .cart-container {
      max-width: 1000px;
      margin: 50px auto;
      padding: 20px;
      border: 1px solid #ccc;
    }

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

.cart-item-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border: 1px solid #ccc;
  flex-shrink: 0;
}

.cart-actions-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.cart-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 60%;
  align-items: flex-start;
}

/* czarne ikony, brak tła/obramowania */
.icon-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}
.cart-title {
  font-size: 18px;
  font-weight: 700;
  text-align: left;
}


.cart-price {
  font-size: 18px;
  font-weight: 600;
}

.cart-subtitle {
  font-size: 17px;
  color: #444;
   width: 30ch;        /* maks. ~40 znaków w wierszu */
  white-space: normal; /* pozwala łamać linie */
  overflow-wrap: break-word; /* łamie słowa, jeśli są za długie */
  text-align: left;
  font-family: 'CutiveMono';
}
.icon-btn i {
  color: #000;          /* czarne ikonki */
  font-size: 20px;      /* dopasuj jeśli chcesz większe */
}

.icon-btn:focus { outline: none; }

/* licznik ilości */
.qty-badge {
  min-width: 18px;
  text-align: center;
  font-weight: bold;
  font-family: 'MagdaCleanMono';
  font-size: 23px;
}

.cart-item:last-child {
  border-bottom: none;
}

    .cart-total {
      text-align: right;
      margin-top: 20px;
      font-weight: bold;
      font-size: 18px;
    }
.cart-item-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: black;
  width: 100%;
  gap: 20px;
}
.add-to-cart{
  font-family: 'CutiveMono';
}

.cart-info {
  display: flex;
  flex-direction: column;
  
}

    .checkout-btn {
      margin-top: 30px;
      padding: 12px 24px;
      background-color: black;
      color: white;
      border: none;
      font-size: 16px;
      cursor: pointer;
        font-family: 'CutiveMono';
        font-size: 17px;
    }

    .checkout-btn:hover {
      background-color: #333;
    }
    .continue-shopping {
      text-align: left;
      margin-top: 20px;
      margin-left: 20px;
      text-decoration: none;
    }
    .continue-shopping a {
      color: black;
      font-weight: bold;
      text-decoration: none;
      font-family: 'MagdaCleanMono';
    }
    body {
	background-color: #f8fafc;
}

.slider-container {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;


  margin-bottom: 20px;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 70vh;
  margin: 0 auto;
}

.slider {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.slider::-webkit-scrollbar {
  display: none;
}

.slider img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}

.slider-nav {
  display: flex;
  gap: 10px;
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.slider-nav .dot {
  width: 15px;
  height: 15px;
  border: 1px solid #aaa;
  border-radius: 50%;
  background-color: white;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.slider-nav .dot:hover,
.slider-nav .dot.active {
  background-color: #000;
}


/* Nakładka z logo */
.logo-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20; /* Wyżej niż slider i kropki */
  pointer-events: none; /* Pozwala klikać przez logo */
}

.logo-overlay .logo {
  width: 300px; /* Dostosuj rozmiar */
  height: auto;
  opacity: 0.9; /* Lekka przejrzystość */
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5)); /* Cień dla lepszej widoczności */
  animation: float 3s ease-in-out infinite; /* Opcjonalna animacja */
}
/* Hamburger (przycisk menu) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  margin: 10px;
  cursor: pointer;
}
.category-images {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.cat-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 100px;
}
.cat-inner {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease;
}

.category-image {
  height: 550px;
  width: 550px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

/* Domyślne obrazki */
.cat-img:nth-child(1) .category-image {
  content: url("images/categories/catcan.webp");
}

.cat-img:nth-child(2) .category-image {
  content: url("images/categories/catdiff.webp");
}

.cat-img:nth-child(3) .category-image {
  content: url("images/categories/catpack.webp");
}




.cat-img:hover .underline {
  opacity: 1;
}

.underline {
  width: 100%;
  height: 20px;
  margin-top: -5px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.cat-inner:hover .underline {
  opacity: 1;
}
.cat-img h3 {
  font-size: 30px;
  font-family: 'IBM Plex Mono', monospace;
}
.cat-img h3 {
  transition: text-decoration 0.3s ease;
  text-decoration: none;
}

.cat-img:hover h3 {
  text-decoration: underline;
}

.with-underline {
  display: inline-block;
  position: relative;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  text-decoration: underline;


}

.underline-svg {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 200px;
  height: auto;
  opacity: 0;
  margin: 10px auto 0;
}

.cat-img:hover .underline-svg {
  opacity: 1;
}

/* === FORMULARZ ZAMÓWIENIA (checkout.html) === */

.checkout-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 30px;
  border: #ccc 1px solid;
  font-family: 'Arial', sans-serif;
  color: #333;
}

.checkout-container h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 30px;
  color: #000000;
}

#orderForm {
  display: flex;
  flex-direction: column;
}

#orderForm p {
  margin: 0;
  font-size: 16px;
}

#orderForm label {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 15px;
  color: #444;
}

#orderForm input[type="text"],
#orderForm input[type="email"],
#orderForm input[type="tel"] {
  width: 100%;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  box-sizing: border-box;
  margin-top: 5px;
}
.notes-textarea {
  width: 100%;
  resize: none;
  padding: 10px 12px;
  font-size: 16px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background-color: #fff;
  box-sizing: border-box;
  margin-top: 5px;
  font-family: 'IBM Plex Mono', monospace;
}
.notes-textarea::placeholder {
  color: #aaa;
}
#orderForm input[type="checkbox"] {
  margin-right: 8px;
}

#orderForm button[type="submit"] {
  background-color: #000000;
  color: #fff;
  font-size: 18px;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
  transition: background-color 0.3s ease;
}

#orderForm button[type="submit"]:hover {
  background-color: #000000;
}
.delivery-container {
  margin-top: 10px;
  margin-bottom: 0;
}
.paczkomat-field{
  margin-bottom: 10px;
}
/* === LOADING OVERLAY === */
#loadingOverlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 20px;
}

.spinner {
  border: 5px solid #ccc;
  border-top: 5px solid #a0522d;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#loadingOverlay p {
  margin-top: 12px;
  color: #333;
}
.checkout-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 30px;
  font-family: 'Arial', sans-serif;

}

.thx-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 30px;
  border: #ccc 1px solid;
  color: #333;
  text-align: center;
  min-height: 60vh;
  align-items: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-family: 'CutiveMono', monospace;
  font-size: 20px;
}
.thx-container a  {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}
.thx-container h1, .contact-container h1, .reg-container h1 {
  font-family: 'IBM Plex Mono', monospace;
  margin-bottom: 20px;
}
.reg-container{
    max-width: 78%;
  margin: 60px auto;
  padding: 30px;
  border: #ccc 1px solid;
  color: #333;
  text-align: left;
  min-height: 60vh;

  display: flex;
  align-items: flex-start;
  flex-direction: column;
  font-family:'IBM Plex Mono', monospace;
  font-size: 18px;
}
.reg-image {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  margin: auto;
  margin-top: 50px;
}
.reg-container p {
  margin-left: 40px;
}
.reg-container li {
  margin-left: 80px;
}
.reg-container h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 25px;
}
.reg-container a  {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}
.thankyou-image {
  width: 300px;
  height: auto;
  margin-top: 60px;
}
.contact-container {
  max-width: 600px;
  margin: 60px auto;
  padding: 30px;
  border: #ccc 1px solid;
  font-family: 'IBM Plex Mono', monospace;
  color: #333;
  text-align: center;
  min-height: 60vh;
  align-items: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-size: 18px;
}
.contact-container a  {
  color: #000000;
  font-weight: bold;
  text-decoration: none;
}
.cart-added-notification{
  position: fixed;
  top: 0;
  right: 0;
  background-color: #ffffff;
  color: black;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 16px;
  z-index: 10000;
  width: 25vw;
  height:100vh;

}
#emailLink {
  color: #666;
  font-weight: bold;
  text-decoration: none;
}
.about {
  max-width: 800px;
  margin: 60px auto;
  padding: 30px;
  border: #ccc 1px solid;
  color: #333;
  text-align: center;
  min-height: 60vh;
  align-items: center;
  display: flex;
  align-items: center;
  flex-direction: column;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 18px;
}
.about-image {
  width: 300px;
  height: auto;
  margin-bottom: 20px;
}
.about h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #000000;
  font-family: 'iBM Plex Mono', monospace;
}
.about h2 {
  font-size: 20px;
  line-height: 1.6;
  color: #000000;
  margin-bottom: 20px;
  font-weight: bold;
}
.dedication-wrapper {
    display: flex;
    justify-content: center;
    margin: 40px 0;
  }

  .dedication-instax {
    width: 300px; /* większy blok */
    background-color: white;
    border: 2px solid #eee;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
    font-family: 'Caveat', cursive;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .dedication-instax img {
    width: 100%;
    aspect-ratio: 1 / 1; /* kwadrat */
    object-fit: cover;
    margin-bottom: 10px;
  }

  .dedication-instax textarea {
    width: 100%;
    resize: none;
    border: none;
    background: transparent;
    outline: none;
    text-align: center;
    font-size: 1.3em;
    font-family: 'Caveat', cursive;
    color: #333;
    height: 2.2em; 
    line-height: 1.2em;
    overflow: hidden;
  }

  .dedication-instax textarea::placeholder {
    color: #aaa;
    font-style: italic;
  }
.package-container {
  display: flex;
  gap: 30px;
  width: max-content;         
  margin: 10px auto;          
}

  .package-option {
    text-align: center;
  }

  .package-option img {
    width: 100px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .package-option img:hover {
    transform: scale(1.05);
  }

  .package-option input[type="radio"] {
    margin-right: 5px;
  }
.swipe-hint {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.5s ease;
}
/* --- Stopka: sekcja linków dopasowana do footer --- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  max-height: 100%;
  margin: 0 auto;
  padding: 30px 20px;
  box-sizing: border-box;
  font-family: 'IBM Plex Mono', monospace;
  background: inherit; /* korzysta z tego samego tła co footer */
  color: inherit; /* dziedziczy kolor tekstu ze stopki */
}

.footer-links .footer-col {
  flex: 1 1 220px;
  min-width: 200px;

}

.footer-links h4 {
  font-size: 0.95rem;
  margin: 0 0 10px;
  text-transform: none;
  color: #2b2a28;
}

.footer-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 6px 0;
}

.footer-links a {
  color: #4a3b2f;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .mt24 {
  margin-top: 24px;
}

.footer-links i {
  margin-right: 6px;
  color: #7b4b2a;
}

/* ✅ Responsywność — kolumny zwijają się płynnie */
@media (max-width: 1024px) {
  .footer-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
  }
  .footer-links .footer-col {
    flex: 1 1 45%;
  }
}

@media (max-width: 720px) {
  .footer-links {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-links .footer-col {
    flex: 1 1 100%;
  }
}


/* Responsywność */
@media (max-width: 1024px) {
  .footer-nav {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

@media (max-width: 720px) {
  .footer-nav {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-col h4 {
    margin-top: 12px;
  }
}

/* ——— USTAWIENIA ——— */
:root {
  --promo-duration: 10s;         /* całkowity czas cyklu (skręć do 6s lub wydłuż do 10s) */
}

/* ——— PASEK ——— */
.promo-banner {
  width: 100%;
  overflow: hidden;     
    height:25px;         
background-color: #535353;
  color: white;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
  font-size: large;
  display: flex;
  align-items: center;
  justify-content: center;
    font-family: cutiveMono;

}

/* ——— TEKST + ANIMACJA ——— */
.promo-text {
  display: inline-block;
  white-space: nowrap;
  will-change: transform, opacity;
  animation: slide-pause var(--promo-duration) ease-in-out infinite;
  /* drobne wygładzenie ruchu */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Klucz: wjazd → pauza na środku → wyjazd */
@keyframes slide-pause {
  /* start poza ekranem po prawej */
  0%   { transform: translateX(60vw); opacity: 0; }
  /* płynny wjazd i pełna widoczność */
  15%  { transform: translateX(0);     opacity: 1; }
  /* pauza na środku (czytelność) */
  55%  { transform: translateX(0);     opacity: 1; }
  /* płynny wyjazd w lewo i zanik */
  85%  { transform: translateX(-60vw); opacity: 0; }
  100% { transform: translateX(-60vw); opacity: 0; }
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* auto wrap */
  gap: 28px 40px;
  padding-top: 24px;
  width: 100%;
  box-sizing: border-box;
}

/* drobne uelastycznienia, żeby nic się nie „rozpychało” */
.footer-links .footer-col { min-width: 0; }
.footer-links h4 { font-size: .95rem; margin: 0 0 10px; color: #2b2a28; }
.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin: 6px 0; }
.footer-links a { color: #4a3b2f; text-decoration: none; font-size: .9rem; }
.footer-links a:hover { text-decoration: underline; }
.footer-links i { margin-right: 6px; color: #7b4b2a; }
.footer-info { font-size: .9rem; line-height: 1.6; }
.footer-info a { color: #7b4b2a; font-weight: 600; text-decoration: none; }
.footer-info a:hover { text-decoration: underline; }

/* dolna część stopki, jeśli używasz */
.footer-bottom { display:flex; flex-wrap:wrap; gap:16px; justify-content:space-between; margin-top:22px; }
/* ✅ Ulepszenie dla ekranów mobilnych */
@media (max-width: 600px) {
  .promo-banner {
    font-size: 12px; /* mniejszy tekst */
    padding: 6px 0;
  }

  .promo-text {
    animation: slide-pause-mobile var(--promo-duration) ease-in-out infinite;
  }

  @keyframes slide-pause-mobile {
    0%   { transform: translateX(100%); opacity: 0; }
    15%  { transform: translateX(0);    opacity: 1; }
    65%  { transform: translateX(0);    opacity: 1; }
    90%  { transform: translateX(-100%); opacity: 0; }
    100% { transform: translateX(-100%); opacity: 0; }
  }
}

/* ——— DOSTĘPNOŚĆ: ogranicz ruch, jeśli użytkownik woli mniej animacji ——— */
@media (prefers-reduced-motion: reduce) {
  .promo-text {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Ukryj menu domyślnie na mobile */
@media (min-width: 769px){
  .image-viewer {
  position: relative;
  width: 100%;
  max-width: 500px; /* dostosuj do szerokości obrazka */
  margin: 0 auto; /* auto = wyśrodkowanie */
}
body{
  margin: 0;
}
.product-main-img {
  width: 500px;
  height: 500px;
  object-fit: cover;

}

}
@media (max-width: 768px) {
  .header {
    flex-direction: column;
    height: auto;
    padding: 0;
  z-index: 100000;
  }
  .reg-container{
  font-size: 15px;
  min-width: 100%;
}
.logo-wrapper {
  min-width: 100%;
  margin: 0 auto;
  max-height: 30px;
  margin-top: 20px;
  margin-bottom: 0;


}
.logo-wrapper img {
  max-height: 70px;
  width: auto;


}

.search-bar{
  border: none;
  padding:0;

}
  .category-images {
    gap: 20px; /* mniejszy odstęp między obrazkami */
  }

  .cat-img {
    flex: 1 1 40%; /* dwa obrazki w rzędzie */
    max-width: 45%;
  }

  .category-image {
    width: 100%;
    height: auto;
    max-height: 200px; /* proporcjonalnie mniejsze */
  }

  .cat-img h3 {
    font-size: 18px; /* mniejsza czcionka */
  }

  .underline-svg {
    max-width: 120px; /* też zmniejszamy podkreślenie */
  }

  .search-bar {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;


    width: 100%;

  }

  .search-bar i,
  .cart-icon,
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    width: auto;

  }

  .search-bar input {
    flex-grow: 1;
    min-width: 0;
    max-width: 100%;
    font-size: 14px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    margin: 0 5px;
  }

  .menu-toggle {
    display: block;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
     margin-left: auto;
  }

  .cart-icon {
    font-size: 18px;
    padding: 0 5px;
  }

  .menu {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

  .menu ul {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 0;
    gap: 10px;
    border-top: 1px solid #ccc;
    width: 100%;
    margin: 0 auto;
  }

  .menu ul.active {
    display: flex;
  }

  .right-side {
    flex-direction: column;
    align-items: flex-start;
    padding: 10px;
  }
  .products {
    width: 100%;
    padding: 10px;
    display: grid;

    gap: 10px;
    box-sizing: border-box;
  }

  .product_item {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border: 1px solid #dbdbdb;
    box-sizing: border-box;
      max-width: 350px;
  margin: 0 auto 20px auto; /* Wyśrodkowanie i odstęp */
  }

  .product_img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
  }


    .product-page {
    flex-direction: column;
    gap: 30px;
    padding: 20px;
  }

  .product-left,
  .product-right {
    width: 100%;
  }

  .product-main-img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .thumbnails {
    justify-content: center;
    flex-wrap: wrap;
  }

  .thumb {
    width: 90px;
    height: 90px;
  }
}

/* Dwa produkty w rzędzie na średnich ekranach */
@media (min-width: 769px) and (max-width: 1199px) {
  .products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    max-width: 90%;
    margin: 0 auto 100px auto;
  }

  .product_item {
    margin: 0 auto;
    max-width: 100%;
  }
}
/* === SIDE CART: wysuwany panel po dodaniu do koszyka === */
#cartNotification { display: none !important; }

/* tło przyciemniające i blokujące interakcje */
.overlay-dim {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 9998;
}

/* aktywne przyciemnienie */
.overlay-dim.show {
  opacity: 1;
  pointer-events: auto;
}

/* panel boczny */
.side-cart {
  position: fixed;
  top: 0; right: 0;
  width: min(440px, 100%);
  height: 100vh;
  background: #fff;
  box-shadow: -2px 0 16px rgba(0,0,0,.18);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  font-family: 'IBM Plex Mono', monospace;
}

.side-cart.open { transform: translateX(0); }

/* nagłówek z X */
.side-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid #eee;
  font-weight: 700;
  font-size: 20px;

}

.side-cart-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

/* ciało */
.side-cart-body {
  padding: 16px 18px;
  overflow-y: auto;
  gap: 16px;
  display: flex;
  flex-direction: column;
}

/* karta produktu */
.side-cart-product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
}

.side-cart-product img {
  width: 400px;
  height: 400px;
  object-fit: cover;
  border: 1px solid #ddd;
}

.side-cart-title { font-weight: 700; }
.side-cart-sub   { color: #444; margin: 6px 0; }
.side-cart-line  { font-size: 15px; }

.side-cart-summary {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-weight: 700;
}

/* stopka z przyciskami */
.side-cart-actions {
  margin-top: auto;
  padding: 14px 18px;
  border-top: 1px solid #eee;
  display: flex;
  gap: 10px;
}

.side-cart-actions .btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  cursor: pointer;
  font-family: 'CutiveMono';
  font-size: 16px;
}

.side-cart-actions .btn-primary {
  background: #000;
  color: #fff;
}

.side-cart-actions .btn-secondary {
  background: #f3f3f3;
  color: #000;
  border: 1px solid #ddd;
}

/* zablokuj przewijanie strony, gdy panel otwarty */
body.no-scroll { overflow: hidden; }
/* pasek nad kafelkami, delikatna etykieta */
.category-hint__header {
  font-size: 12px;
  letter-spacing: .02em;
  color: #777;
  padding: 8px 10px 4px;
  text-transform: uppercase;
}

/* pojedynczy kafelek kategorii */
.category-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .12s ease, background-color .12s ease;
  background: #f7f7f8;
  margin: 6px 8px;
}

.category-hint:hover {
  background: #f0f0f2;
  transform: translateY(-1px);
}

.category-hint img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.category-hint__text {
  color: #111;
  font-weight: 600;
  font-size: 14px;
}

/* cienka linia oddzielająca kafelki od wyników produktów */
.category-hint__divider {
  height: 1px;
  background: #e7e7ea;
  margin: 6px 10px 8px;
}

/* (opcjonalnie) lekka karta dla wyników produktów, żeby wizualnie pasowały */
.search-result-item {
  padding: 10px 12px;
  border-radius: 8px;
  margin: 6px 8px;
  cursor: pointer;
}
.search-result-item:hover {
  background: #f7f7f8;
}
.btn-map{
background-color: #000;
color: #fff;
border: none;
padding: 5px 10px;
  border-radius: 6px;
}
/* mobilki: panel pełna szerokość */
@media (max-width: 480px) {
  .side-cart {
    width: 80%;
    max-height: 100vh;
  }
  .side-cart-product img{
    width: 95%;
    height: auto;
  }
@media (max-width: 480px) {
  .side-cart-actions {
    flex-direction: column; 
    margin-bottom: 80px;
  }

  .side-cart-actions .btn {
    width: 100%; /* opcjonalnie, żeby przyciski były pełnej szerokości */
  }
}
.side-cart-header{
  border: none;
  margin-top: 60px;
}
}
/* === SIDE CART: układ "zdjęcie duże + tekst pod spodem" === */
.side-cart-product {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px;
}

.side-cart-product img.side-cart-hero {
  width: 100%;
  height: auto;           /* zachowaj proporcje */
  max-height: 360px;      /* opcjonalnie: ogranicz wysokość, usuń jeśli chcesz pełną */
  object-fit: cover;      /* wypełnij kadr, podmień na 'contain' jeśli chcesz całe zdjęcie */
  border: 1px solid #ddd;
}

.side-cart-meta { padding-top: 2px; }

.side-cart-title { font-weight: 700; font-size: 18px; }
.side-cart-sub   { color: #444; margin: 6px 0 8px; }
.side-cart-line  { font-size: 15px; }
.side-cart-summary {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid #eee;
  font-weight: 700;
}

@media (min-width: 1500px){
   .products {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 10px;
  }
}
@media (max-width: 768px) {
  .products {

    gap: 15px;
    padding: 10px;
  }
  .search-results {
    width: 100%;
  }
  .product_item {
    max-width: 350px;
    margin: 0 auto;
    margin-top: 20px;
  }
  .product_img_slider {
  width: 350px;
  height: 350px;
  overflow: hidden;
  position: relative;
  

}
.product_img_slider img {
   width: 50%;
  height: 350px;
  object-fit: cover;
  flex-shrink: 0;
}

.image-viewer {
  position: relative;
  width: 100%;
  max-width: 500px; /* dostosuj do szerokości obrazka */
  margin: 0 auto; /* auto = wyśrodkowanie */
}
.product-main-img {
  width: 600px;
  height: 600px;
  object-fit: cover;

}

}

@media (max-width: 750px) {
  .products {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 10px;
  }
  
  .product_item {
    max-width: 300px;
    margin: 0 auto;
    margin-top: 20px;
  }
  .product_img_slider {
  width: 300px;
  height: 300px;
  overflow: hidden;
  position: relative;
  

}
.product_img_slider img {
   width: 50%;
  height: 300px;
  object-fit: cover;
  flex-shrink: 0;
}
.image-viewer {
  position: relative;
  width: 100%;
  max-width: 500px; /* dostosuj do szerokości obrazka */
  margin: 0 auto 10px auto; /* auto = wyśrodkowanie */
}
.product-main-img {
  width: 350px;
  height: 350px;
  object-fit: cover;

}
}
@media (min-width: 1200px) {
  .category-images {
    flex-wrap: nowrap;
  }
  .category-images .cat-img {
    flex: 1 1 0;      /* każdy zajmie 1/3 szerokości */
    max-width: 33%;   /* limit dla bezpieczeństwa */
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .category-images {
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
  }

  .category-images .cat-img {
    flex: 1 1 45%;   /* dwie kolumny */
    max-width: 45%;
  }

  .category-image {
    width: 100%;
    height: auto;
    max-height: 350px; /* żeby nie były za duże */
  }

  .cat-img h3 {
    font-size: 24px;
  }
}
@media (max-width: 768px) {
  .search-results {
    position: fixed;  
    top: 125px;            /* trochę niżej od inputa */
    left: 0;
    width: 100%;
    max-height: 60vh;     /* przewijanie na 60% wysokości ekranu */
    overflow-y: auto;
    padding-left: 0;      /* usuń odsunięcie */
    box-sizing: border-box;
     z-index: 2000;    
  }

  .search-results div {
    padding: 12px;
    font-size: 14px;
    line-height: 1.4;
  }

  .search-results .no-results {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
  }
}
@media (min-width: 1000px) {
  .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px; /* możesz dopasować */
    margin: 0 auto 100px auto;
    padding: 20px;
  }

  .product_item {
    max-width: 100%;
    margin: 0 auto;
  }
}
/* Cookie banner (minimal) */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 10000;
  font-family: 'IBM Plex Mono', monospace; line-height: 1.35;
}
.cookie-inner {
  background: #111; color: #fff; padding: 12px 14px; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.cookie-actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.cb-btn { padding: 10px 12px; border: 0; cursor: pointer; border-radius: 10px; font-family: inherit; }
.cb-accept { background: #fff; color: #000; }
.cb-reject { background: #2c2c2c; color: #fff; border: 1px solid #444; }
/* --- Availability UI --- */
.badge-unavail {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 3;
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: .3px;
}

/* kafelek w katalogu, gdy brak dostępności */
.product_item.unavailable { opacity: .9; }
.product_item.unavailable .min-basket { display: none; } /* ukryj mały koszyczek */

/* strona produktu – ramka z info zamiast przycisku */
.product-unavail-note {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #ffe9e9;
  border: 1px solid #f5caca;
  color: #7a1c1c;
  font-family: 'IBM Plex Mono', monospace;
}

/* żeby plakietka dobrze usiadła przy zdjęciu na stronie produktu */
.image-viewer { position: relative; }
