 
  :root {
    --green-dark:   #1a4d2e;
    --green-mid:    #2d7a4f;
    --green-light:  #4caf78;
    --green-pale:   #e8f5ee;
    --green-accent: #38c172;
    --white:        #ffffff;
    --off-white:    #f7faf8;
    --text-dark:    #0f2d1c;
    --text-muted:   #5a7a67;
    --border:       #c8e6d4;
    --shadow:       rgba(26,77,46,.10);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--off-white);
    color: var(--text-dark);
    line-height: 1.65;
    min-height: 100vh;
  }

  /* ─── NAV ─── */
  nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--green-dark);
    border-bottom: 3px solid var(--green-accent);
    box-shadow: 0 2px 20px var(--shadow);
  }

  .nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 135px;
  }

  .nav-logo {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -.02em;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .nav-logo::before {
    content: '';
    display: inline-block;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--green-accent);
  }

  .nav-scroll {
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav-scroll::-webkit-scrollbar { display: none; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 4px 0;
    white-space: nowrap;
    flex-wrap: wrap;
  }

  .nav-links a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .78rem;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 20px;
    transition: background .2s, color .2s;
    letter-spacing: .01em;
  }
  .nav-links a:hover,
  .nav-links li.active a {
    background: var(--green-accent);
    color: var(--white);
  }

  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-shrink: 0;
  }
  .hamburger span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: .3s;
  }

  @media (max-width: 860px) {
    .hamburger { display: flex; }
    .nav-scroll {
      display: none;
      position: absolute;
      top: 62px; left: 0; right: 0;
      background: var(--green-dark);
      border-top: 1px solid rgba(255,255,255,.1);
      overflow-y: auto;
      max-height: calc(100vh - 62px);
    }
    .nav-scroll.active { display: block; }
    .nav-links {
      flex-direction: column;
      align-items: flex-start;
      padding: 12px 20px 20px;
      gap: 2px;
    }
    .nav-links a { border-radius: 8px; }
    .hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    body.menu-open { overflow: hidden; }
  }

  /* ─── PRODUCT SECTION ─── */
  .product-section {
    max-width: 1200px;
    margin: 48px auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 48px;
    align-items: start;
  }

  @media (max-width: 960px) {
    .product-section { grid-template-columns: 1fr; gap: 32px; }
  }

  /* ─── IMAGE COLUMN ─── */
  .image-col { top: 86px; }

  .generatedImage {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px var(--shadow);
    transition: box-shadow .3s;
  }
  .generatedImage:hover { box-shadow: 0 16px 60px rgba(26,77,46,.18); }

  .generatedImage img {
    width: 100%;
    display: block;
    transition: transform .5s ease;
  }
  .generatedImage:hover img { transform: scale(1.02); }

  /* ─── DESCRIPTION COLUMN ─── */
  .description { display: flex; flex-direction: column; gap: 28px; }

  .description h1 {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1.25;
    letter-spacing: -.02em;
  }

  .description > p {
    background: var(--green-pale);
    border-left: 4px solid var(--green-accent);
    border-radius: 0 12px 12px 0;
    padding: 20px 20px 20px 24px;
    font-size: .95rem;
    color: var(--text-dark);
    line-height: 1.7;
  }
  .description > p strong { color: var(--green-dark); }
  .description > p em { color: var(--text-muted); font-style: italic; }

  .description h3 {
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: -12px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .description h3::before {
    content: '';
    display: inline-block;
    width: 6px; height: 20px;
    background: var(--green-accent);
    border-radius: 3px;
  }

  /* ─── TABLE ─── */
  table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px var(--shadow);
    font-size: .9rem;
  }

  thead { background: var(--green-dark); }
  thead th {
    padding: 14px 18px;
    text-align: left;
    color: var(--white);
    font-weight: 600;
    letter-spacing: .04em;
    font-size: .8rem;
    text-transform: uppercase;
  }

  tbody tr { background: var(--white); border-bottom: 1px solid var(--border); transition: background .2s; }
  tbody tr:last-child { border-bottom: none; }
  tbody tr:hover { background: var(--green-pale); }

  tbody td {
    padding: 13px 18px;
    color: var(--text-dark);
    vertical-align: top;
  }
  tbody td:first-child { font-weight: 600; color: var(--green-mid); }

  /* ─── LIST ─── */
  .description ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .description ul li {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 10px;
    padding: 13px 16px;
    font-size: .92rem;
    color: var(--text-dark);
    transition: border-color .2s, box-shadow .2s;
    line-height: 1.5;
  }
  .description ul li:hover {
    border-color: var(--green-accent);
    box-shadow: 0 4px 16px var(--shadow);
  }
  .description ul li strong { color: var(--green-dark); }

  /* ─── DOWNLOAD BUTTON ─── */
  .download-btn {
    display: inline-flex;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(56,193,114,.35);
    transition: transform .2s, box-shadow .2s;
    align-self: flex-start;
  }
  .download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(56,193,114,.45);
  }
  .download-btn:active { transform: translateY(0); }

  .download-btn__content {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--green-dark);
    color: var(--white);
    padding: 15px 28px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .01em;
    transition: background .2s;
  }
  .download-btn:hover .download-btn__content { background: var(--green-mid); }

  .download-btn__icon { flex-shrink: 0; }

  /* ─── SIMILAR PRODUCTS ─── */
  .similar-products {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 16px;
    padding: 24px;
  }
  .similar-products h3 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--green-dark);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .similar-products h3::before { display: none; }
  .similar-products h3 i { color: var(--green-accent); }

  .similar-list { gap: 8px !important; }
  .similar-list li {
    border-radius: 8px !important;
    padding: 10px 14px !important;
    border-color: var(--border) !important;
  }
  .similar-list li a {
    color: var(--green-mid);
    text-decoration: none;
    font-weight: 500;
    font-size: .875rem;
    transition: color .2s;
  }
  .similar-list li:hover { background: var(--green-pale) !important; }
  .similar-list li a:hover { color: var(--green-dark); }

  /* ─── CONTACTS ─── */
  .contacts {
    background: var(--green-dark);
    border-radius: 16px;
    padding: 24px;
    color: var(--white);
  }
  .contacts-title {
    font-family: 'Fraunces', serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .contacts-title i { color: var(--green-accent); }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  @media (max-width: 600px) { .contact-grid { grid-template-columns: 1fr; } }

  .contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: rgba(255,255,255,.8);
    font-size: .875rem;
    font-weight: 500;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 10px;
    padding: 10px 14px;
    transition: background .2s, color .2s, border-color .2s;
  }
  .contact-link:hover {
    background: var(--green-accent);
    color: var(--white);
    border-color: var(--green-accent);
  }
  .contact-link i { font-size: 1rem; flex-shrink: 0; }

  /* ─── FOOTER ─── */
  footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.7);
    margin-top: 80px;
  }

  .footer-top {
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 28px 24px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
  }

  .footer-brand .nav-logo { font-size: 1.15rem; }
  .footer-brand img { height: 36px; width: auto; }

  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
  }

  .footer-col h5 {
    font-family: 'Fraunces', serif;
    color: var(--white);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--green-accent);
    width: fit-content;
  }

  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 6px; }
  .footer-col ul li a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .82rem;
    transition: color .2s;
  }
  .footer-col ul li a:hover { color: var(--green-accent); }

  /* ─── SCROLLBAR ─── */
  ::-webkit-scrollbar { width: 6px; height: 6px; }
  ::-webkit-scrollbar-track { background: var(--off-white); }
  ::-webkit-scrollbar-thumb { background: var(--green-light); border-radius: 3px; }
  ::-webkit-scrollbar-thumb:hover { background: var(--green-mid); }
 















  
.seri-ilan {
  margin: 2rem 0 3rem;
}

.d-flex.custom_d_flex {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.custom_div_flex {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid #e8e8e8;
  display: flex;
  flex-direction: column;
}

.custom_div_flex:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
  border-color: #d4c9b8;
}

.custome_image_class {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
  background: #f0f0f0;
}

.custom_div_flex:hover .custome_image_class {
  transform: scale(1.03);
}

/* Product link styling */
.custom_div_flex > a:last-child {
  padding: 1rem 1.2rem 1.2rem;
  text-decoration: none;
  color: #3a3a3a;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: color 0.2s;
  background: white;
  border-top: 1px solid #efefef;
  text-align: left;
  word-break: break-word;
}

.custom_div_flex > a:last-child:hover {
  color: #8b7355;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
footer {
  background: #2a2a2a;
  color: #cccccc;
  margin-top: 4rem;
  padding: 2.5rem 2rem 2rem;
}

.footer-top {
  max-width: 1400px;
  margin: 0 auto 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #4a4a4a;
  padding-bottom: 1.2rem;
}

.footer-brand .nav-logo {
  background: linear-gradient(135deg, #d4c9b8, #c4a87a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.5rem;
}

.footer-brand img {
  max-height: 50px;
  width: auto;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-col h5 {
  color: #c4a87a;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #b0b0b0;
  font-size: 0.85rem;
  transition: all 0.2s;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: #c4a87a;
  transform: translateX(4px);
}
 
@media (max-width: 1024px) {
  .d-flex.custom_d_flex {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
  }
  
  .container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  .nav-scroll.active .nav-links {
    display: flex;
    flex-direction: column;
    background: white;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 2rem;
    gap: 1rem;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    max-height: 70vh;
    overflow-y: auto;
  }
  
  .nav-scroll.active {
    display: block;
  }
  
  .nav-links li a {
    white-space: normal;
    font-size: 1rem;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  .category-hero {
    padding: 2rem 1.5rem;
  }
  
  .category-hero h1 {
    font-size: 1.8rem;
  }
  
  .category-hero h1 i {
    font-size: 1.6rem;
  }
  
  .category-hero p {
    font-size: 1rem;
  }
  
  .d-flex.custom_d_flex {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.2rem;
  }
  
  .custome_image_class {
    height: 180px;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 1rem;
  }
  
  .category-hero h1 {
    font-size: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .d-flex.custom_d_flex {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .footer-top {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  
  .custom_div_flex > a:last-child {
    font-size: 0.85rem;
    padding: 0.8rem 1rem;
  }
}

@media (min-width: 861px) {
  .hamburger {
    display: none;
  }
  
  .nav-links {
    display: flex;
  }
}

/* ============================================
   ANIMATIONS & UTILITIES
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.seri-ilan {
  animation: fadeInUp 0.5s ease-out;
}

.category-hero {
  animation: fadeInUp 0.4s ease-out;
}

/* Scrollbar styling - neutral */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #e8e8e8;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #8b7355;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #5a5a5a;
}

/* Empty state message */
.seri-ilan:empty:after {
  content: "Ładowanie produktów...";
  display: block;
  text-align: center;
  padding: 3rem;
  color: #888888;
  font-size: 1rem;
}