﻿/* ═══════════════════════════════════════════════════════════════════
   Wody New theme — merged stylesheet
   Source: jasna/assets/site.css + assets/css/extras.css
═══════════════════════════════════════════════════════════════════ */

:root {
  --primary: #00b6d9;
  --primary-dark: #007fa3;
  --navy: #012a5e;
  --navy-deep: #001b3d;
  --ink: #0c2136;
  --muted: #5b6b7c;
  --mint: #e6fbff;
  --paper: #f6faf9;
  --white: #ffffff;
  --radius: 20px;
  --shadow: 0 20px 45px -20px rgba(1, 42, 94, .35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: 'Poppins', sans-serif;
  color: var(--navy-deep);
  line-height: 1.2;
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--mint);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(0, 182, 217, .55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px rgba(0, 182, 217, .7);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(1, 42, 94, .18);
  color: var(--navy-deep);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-light {
  background: #fff;
  color: var(--navy-deep);
}

.btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .25);
}

/* ---------- HEADER ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(1, 42, 94, .07);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width .25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.burger {
  display: none;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 100% at 85% 0%, #eafcff 0%, var(--paper) 45%, #ffffff 100%);
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .5;
}

.hero-shape.one {
  width: 520px;
  height: 520px;
  top: -220px;
  right: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 182, 217, .35), transparent 70%);
}

.hero-shape.two {
  width: 340px;
  height: 340px;
  bottom: -140px;
  left: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(1, 42, 94, .12), transparent 70%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  padding: 80px 24px 60px;
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  margin-bottom: 20px;
  letter-spacing: -.01em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 19px;
  color: var(--navy);
  margin-bottom: 14px;
}

.hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  color: var(--navy-deep);
}

.hero-stats div span {
  font-size: 13px;
  color: var(--muted);
}

.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image .glow {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 182, 217, .28) 0%, rgba(0, 182, 217, 0) 70%);
}

.hero-image .photo-frame {
  position: relative;
  z-index: 1;
  width: 82%;
  aspect-ratio: 4/5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image .photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  padding: 12px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
}

.hero-badge.b1 {
  top: 6%;
  left: -2%;
}

.hero-badge.b2 {
  bottom: 8%;
  right: -2%;
}

.hero-badge .dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.wave {
  display: block;
  width: 100%;
  line-height: 0;
}

/* ---------- SECTION GENERIC ---------- */
section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 16px;
}

.section-head p {
  color: var(--muted);
  font-size: 16px;
}

.section-head.left {
  margin: 0 0 44px;
  text-align: left;
}

/* ---------- PROPERTIES / FEATURES ---------- */
.properties {
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.properties::before {
  content: none;
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 182, 217, .16), transparent 70%);
}

.properties .section-head h2 {
  color: var(--navy-deep);
}

.properties .section-head p {
  color: var(--muted);
}

.mineral-total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  margin: -20px auto 50px;
  color: var(--primary-dark);
  font-family: 'Poppins', sans-serif;
}

.mineral-total strong {
  font-size: 42px;
  font-weight: 800;
}

.mineral-total span {
  font-size: 14px;
  color: var(--muted);
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  transition: transform .3s ease, background .3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  background: var(--mint);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #fff;
}

.feature-card h4 {
  color: var(--navy-deep);
  font-size: 19px;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.feature-card .value {
  display: inline-block;
  margin-top: 14px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
  font-size: 14px;
}

/* ---------- ABOUT / HISTORIA ---------- */
.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image .frame {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -26px;
  left: -26px;
  background: #fff;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: var(--shadow);
  text-align: center;
}

.about-badge strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  color: var(--primary-dark);
}

.about-badge span {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.about-text h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.about-text .btn {
  margin-top: 16px;
}

/* ---------- PHILOSOPHY / CTA ---------- */
.philosophy {
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}

.philosophy::after {
  content: none;
  position: absolute;
  bottom: -160px;
  left: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 182, 217, .14), transparent 70%);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.philosophy-content h2 {
  color: var(--navy-deep);
  font-size: clamp(26px, 3.2vw, 36px);
  margin-bottom: 18px;
}

.philosophy-content p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
}

.philosophy-list {
  display: grid;
  gap: 14px;
  margin: 26px 0 32px;
}

.philosophy-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.philosophy-list li .tick {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--mint);
  border: 1px solid rgba(0, 182, 217, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-dark);
}

.philosophy-list .tick svg path {
  stroke: var(--primary-dark);
}

.philosophy-image {
  display: flex;
  justify-content: center;
}

.philosophy-image img {
  max-width: 90%;
  filter: drop-shadow(0 26px 30px rgba(0, 0, 0, .25));
}

/* ---------- PRODUCTS SLIDER ---------- */
.products {
  background: var(--white);
}

.products-head {
  max-width: 640px;
  margin: 0 auto 20px;
  text-align: center;
}

.products-head h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  margin-bottom: 14px;
}

.products-head p {
  color: var(--muted);
  font-size: 16px;
}

.wave-divider {
  display: block;
  margin: 22px auto 50px;
}

.product-slider-wrap {
  position: relative;
}

.product-slider {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 10px 4px 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

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

.product-card {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 270px;
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 26px;
  padding: 30px 24px 26px;
  text-align: center;
  box-shadow: 0 25px 50px -30px rgba(1, 42, 94, .25);
  transition: transform .3s ease, box-shadow .3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 55px -25px rgba(1, 42, 94, .3);
}

.product-card .badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  background: var(--mint);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.product-card .prod-img {
  width: 100%;
  height: 190px;
  object-fit: contain;
  margin-bottom: 16px;
}

.product-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.product-card .prod-note {
  color: var(--muted);
  font-size: 13.5px;
  min-height: 38px;
  margin-bottom: 12px;
}

.rating {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.rating .stars {
  color: #f5a623;
  letter-spacing: 1px;
  font-size: 14px;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.price-row .now {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--navy-deep);
}

.price-row .old {
  font-size: 14px;
  color: #9aa9b8;
  text-decoration: line-through;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  cursor: pointer;
  border: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:nth-child(even) .btn-cart {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-cart:hover {
  transform: translateY(-2px);
}

.slider-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .1);
  box-shadow: 0 16px 30px -14px rgba(1, 42, 94, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  color: var(--navy-deep);
  transition: background .2s ease, color .2s ease;
}

.slider-arrow:hover {
  background: var(--primary-dark);
  color: #fff;
}

.slider-arrow.prev {
  left: -20px;
}

.slider-arrow.next {
  right: -20px;
}

/* ---------- BLOG ---------- */
.blog {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 40px -28px rgba(1, 42, 94, .3);
  transition: transform .3s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
}

.blog-card .blog-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card .blog-body {
  padding: 26px 24px 28px;
}

.blog-date {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 10px;
  display: block;
}

.blog-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
  line-height: 1.35;
}

.blog-card p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 16px;
}

.blog-link {
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-deep);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.blog-link svg {
  transition: transform .2s ease;
}

.blog-link:hover svg {
  transform: translateX(4px);
}

/* ---------- TEAM ---------- */
.team {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
  border-radius: 24px;
  background: var(--paper);
  border: 1px solid rgba(1, 42, 94, .06);
}

.team-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--mint), #fff);
  border: 2px dashed rgba(0, 182, 217, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.team-card h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 13px;
  color: var(--primary-dark);
  font-weight: 600;
  margin-bottom: 14px;
  display: block;
}

.team-card .placeholder-tag {
  font-size: 11px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed rgba(1, 42, 94, .2);
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-block;
  margin-bottom: 14px;
}

.team-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.team-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
}

/* ---------- FINAL CTA ---------- */
.final-cta {
  background: var(--white);
  display: none;
}

.final-cta-box {
  position: relative;
  background: linear-gradient(120deg, rgba(1, 42, 94, .62), rgba(0, 120, 160, .5)), url('assets/philosophy-wide.jpg') center/cover;
  border-radius: 32px;
  padding: 64px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  overflow: hidden;
}

.final-cta-box h2 {
  font-size: clamp(24px, 3vw, 32px);
  max-width: 520px;
  color: #fff;
}

.final-cta-box span {
  color: #c9d7e6;
}

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

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .slider-arrow {
    display: none;
  }
}

/* ---------- FOOTER ---------- */
footer {
  background: var(--paper);
  color: var(--muted);
  padding-top: 76px;
  border-top: 1px solid rgba(1, 42, 94, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(1, 42, 94, .1);
}

.footer-logo-chip {
  display: inline-flex;
  background: none;
  border: none;

  padding: 0;
  margin-bottom: 16px;
}

.footer-logo-chip img {
  height: 45px;
  width: auto;
}

.footer-col h5 {
  color: var(--navy-deep);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 11px;
}

.footer-col a {
  font-size: 14px;
  transition: color .2s ease;
}

.footer-col a:hover {
  color: var(--primary-dark);
}

.footer-newsletter {
  display: flex;
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .12);
  border-radius: 999px;
  padding: 6px;
  margin-top: 10px;
}

.footer-newsletter input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--ink);
  padding: 10px 14px;
  font-size: 14px;
}

.footer-newsletter input::placeholder {
  color: var(--muted);
}

.footer-newsletter button {
  background: var(--primary);
  border: none;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13.5px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(1, 42, 94, .06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.footer-social a:hover {
  background: var(--primary);
}

.footer-social a:hover [fill="#dfe9f5"] {
  fill: #fff;
}

.footer-social a:hover [stroke="#dfe9f5"] {
  stroke: #fff;
}

.footer-legal {
  display: flex;
  gap: 22px;
}

[fill="#dfe9f5"] {
  fill: #0c2136;
}

[stroke="#dfe9f5"] {
  stroke: #0c2136;
}

[fill="#001b3d"] {
  fill: #e6fbff;
}

@media (max-width:960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-image {
    order: -1;
    margin-bottom: 10px;
  }

  .hero-image .photo-frame {
    width: 64%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 380px;
  }

  .about-badge {
    left: 16px;
    bottom: -20px;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
  }

  .philosophy-image {
    order: -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    display: none;
  }

  .final-cta-box {
    flex-direction: column;
    text-align: center;
  }
}

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

  .hero-stats {
    gap: 22px;
  }

  .hero-badge {
    display: none;
  }

  section {
    padding: 64px 0;
  }

  .woocommerce-account section,
  .account-container,
  .woocommerce-checkout section,
  .woocommerce-checkout section .container,
  .woocommerce-cart section {
    padding-top: 0 !important;
  }

  .hero-shape.one {
    display: none;
  }

  .woocommerce-checkout section.page-hero,
  .woocommerce-cart section {
    padding-bottom: 0;
  }
}

/* ================= SHARED SITE-WIDE ADDITIONS ================= */

/* active nav state */
.nav-links a.active {
  color: var(--primary-dark);
}

.nav-links a.active::after {
  width: 100%;
}

/* ---------- PAGE HERO (subpages) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0 84px;
  background: radial-gradient(120% 100% at 85% 0%, #eafcff 0%, var(--paper) 45%, #ffffff 100%);
}

.page-hero.wc-cart-hero,
.page-hero.wc-checkout-hero {
  padding-bottom: 0;
}

.page-hero .hero-shape.one {
  width: 420px;
  height: 420px;
  top: -180px;
  right: -140px;
  display: none;
}

.page-hero .hero-shape.two {
  width: 280px;
  height: 280px;
  bottom: -120px;
  left: -100px;
  display: none;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 22px;
  position: relative;
  z-index: 2;
}

.breadcrumb a {
  color: var(--muted);
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.breadcrumb span.sep {
  color: #b9c6d3;
}

.breadcrumb span.current {
  color: var(--navy-deep);
  font-weight: 700;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1320px;
}

.page-hero h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  margin-bottom: 16px;
  letter-spacing: -.01em;
}

.page-hero p.lead {
  font-size: 16.5px;
  color: var(--muted);
  max-width: 600px;
}

.page-hero .wave {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
}

/* ---------- SHOP FILTERS ---------- */
.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 44px;
}

.shop-filters button {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  background: var(--paper);
  border: 1px solid rgba(1, 42, 94, .1);
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.shop-filters button.active,
.shop-filters button:hover {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.shop-grid .product-card {
  width: 100%;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid rgba(1, 42, 94, .08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item .ico {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--mint);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 14.5px;
  color: var(--navy-deep);
}

.trust-item span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- PRODUCT DETAIL ---------- */
.product-detail {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: flex-start;
}

.gallery-main {
  border-radius: 28px;
  overflow: hidden;
  background: var(--paper);
  /* box-shadow: var(--shadow); */
  margin-bottom: 16px;
}

.gallery-main img {
  width: 100%;
  height: 460px;
  object-fit: contain;
  padding: 20px;
}

.gallery-thumbs {
  display: flex;
  gap: 12px;
}

.gallery-thumbs .thumb {
  width: 76px;
  height: 76px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--paper);
  border: 2px solid transparent;
  cursor: pointer;
}

.gallery-thumbs .thumb.active {
  border-color: var(--primary);
}

.gallery-thumbs .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-badge-row {
  display: none;
  gap: 10px;
  margin-bottom: 16px;
}

.pd-info h1 {
  font-size: clamp(26px, 3.2vw, 34px);
  margin-bottom: 12px;
}

.pd-info .rating {
  justify-content: flex-start;
  margin-bottom: 18px;
}

.pd-price {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(1, 42, 94, .08);
}

.pd-price .now {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 32px;
  color: var(--navy-deep);
}

.pd-price .old {
  font-size: 17px;
  color: #9aa9b8;
  text-decoration: line-through;
}

.pd-price .unit {
  font-size: 13px;
  color: var(--muted);
}

.pd-info p.desc {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.pd-buy-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.qty-select {
  display: flex;
  align-items: center;
  border: 1px solid rgba(1, 42, 94, .15);
  border-radius: 999px;
  overflow: hidden;
}

.qty-select button {
  width: 42px;
  height: 46px;
  background: var(--paper);
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: var(--navy-deep);
}

.qty-select span {
  width: 44px;
  text-align: center;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
}

.pd-buy-row .btn-cart {
  width: auto;
  flex: 1;
  padding: 15px 30px;
}

.pd-mini-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid rgba(1, 42, 94, .08);
}

.pd-mini-trust div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.pd-mini-trust svg {
  color: var(--primary-dark);
  flex-shrink: 0;
}

/* ---------- TABS ---------- */
.tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(1, 42, 94, .1);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tabs-nav button {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  background: none;
  border: none;
  padding: 14px 22px;
  cursor: pointer;
  position: relative;
  top: 1px;
}

.tabs-nav button.active {
  color: var(--navy-deep);
  border-bottom: 2px solid var(--primary);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 640px;
}

.spec-table tr {
  border-bottom: 1px solid rgba(1, 42, 94, .07);
}

.spec-table td {
  padding: 12px 4px;
  font-size: 14.5px;
}

.spec-table td:first-child {
  color: var(--muted);
}

.spec-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy-deep);
  font-family: 'Poppins', sans-serif;
}

.spec-group-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 26px 0 10px;
}

.spec-group-title:first-child {
  margin-top: 0;
}

.review-placeholder {
  background: var(--paper);
  border: 1px dashed rgba(1, 42, 94, .2);
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  max-width: 520px;
}

/* ---------- RELATED PRODUCTS / POSTS ---------- */
.related-head {
  margin-bottom: 36px;
}

.related-head h3 {
  font-size: 24px;
}

/* ---------- ARTICLE / WPIS ---------- */
.article-hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
  margin-top: 36px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13.5px;
  margin-bottom: 18px;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.article-body {
  max-width: 740px;
  margin: 0 auto;
  font-size: 17px;
  color: #2b3a4a;
}

.article-body p {
  margin-bottom: 22px;
}

.article-body h2 {
  font-size: 26px;
  margin: 40px 0 18px;
}

.article-body h3 {
  font-size: 21px;
  margin: 32px 0 14px;
}

.article-body ul {
  margin: 0 0 22px;
  padding-left: 0;
}

.article-body ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: #2b3a4a;
}

.article-body ul li::before {
  content: none;
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

nav.woocommerce-MyAccount-navigation .woocommerce-MyAccount-navigation-link {
  margin: 0;
  padding: 0;
}

.article-pull {
  border-left: 3px solid var(--primary);
  padding: 6px 0 6px 26px;
  margin: 32px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: var(--navy-deep);
}

.article-inline-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 24px;
  margin: 32px 0;
}

.author-box {
  max-width: 740px;
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px;
  background: var(--paper);
  border-radius: 22px;
}

.author-box .avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--mint), #fff);
  border: 2px dashed rgba(0, 182, 217, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  flex-shrink: 0;
}

.author-box strong {
  display: block;
  font-size: 15px;
  color: var(--navy-deep);
}

.author-box span {
  font-size: 13.5px;
  color: var(--muted);
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 740px;
  margin: 36px auto 0;
}

.tag-row a {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--mint);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ---------- BLOG LISTING EXTRAS ---------- */
.featured-post {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 55px -30px rgba(1, 42, 94, .3);
  margin-bottom: 56px;
}

.featured-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
}

.featured-post .fp-body {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-post .fp-body h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}

.pagination a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy-deep);
  background: var(--paper);
  border: 1px solid rgba(1, 42, 94, .08);
}

.pagination a.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-color: transparent;
}

.pagination a.next {
  width: auto;
  padding: 0 18px;
  gap: 6px;
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.contact-card {
  background: var(--paper);
  border-radius: 24px;
  padding: 32px 28px;
  text-align: center;
}

.contact-card .ico {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--muted);
  font-size: 14.5px;
}

.contact-card a {
  color: var(--muted);
}

.contact-card a:hover {
  color: var(--primary-dark);
}

.contact-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  margin-bottom: 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(1, 42, 94, .14);
  border-radius: 14px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.map-placeholder {
  border-radius: 28px;
  overflow: hidden;
  height: 100%;
  min-height: 420px;
  background-color: none;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--ink);
  text-align: center;
  padding: 0;
  gap: 14px;
}

.map-placeholder .pin {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(0, 182, 217, .2);
}

.map-placeholder h4 {
  color: var(--navy-deep);
  font-size: 18px;
}

.map-placeholder p {
  color: var(--muted);
  font-size: 14px;
  max-width: 280px;
}

.hours-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted);
  width: 100%;
  max-width: 220px;
}

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

  .product-detail {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .featured-post {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-main {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }
}

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

  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- PRODUCT: MINI SPEC (in info column) ---------- */
.spec-mini {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(1, 42, 94, .08);
}

.spec-mini h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 14px;
}

.spec-mini .spec-table {
  max-width: none;
}

.spec-mini .spec-table td {
  padding: 9px 4px;
  font-size: 13.5px;
}

/* ---------- PRODUCT SECTIONS (stacked, themed) ---------- */
.product-section {
  background: var(--white);
}

.product-section.alt {
  background: var(--paper);
}

.opis-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: flex-start;
}

.opis-grid .desc-text p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 16px;
}

.opis-points {
  display: grid;
  gap: 16px;
}

.opis-points .trust-item {
  background: var(--paper);
  border-radius: 18px;
  padding: 18px 20px;
}

/* ---------- MINERAL COMPOSITION (dark, 3-col) ---------- */
.mineral-grid {
  display: grid;
  grid-template-columns: 1fr .8fr 1fr;
  gap: 40px;
  align-items: center;
}

.mineral-col h5 {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 16px;
  text-align: center;
}

.mineral-table {
  width: 100%;
  border-collapse: collapse;
}

.mineral-table tr {
  border-bottom: 1px solid rgba(1, 42, 94, .1);
}

.mineral-table td {
  padding: 12px 6px;
  font-size: 14.5px;
  color: var(--muted);
}

.mineral-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--navy-deep);
  font-family: 'Poppins', sans-serif;
}

.mineral-photo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.mineral-photo .frame {
  width: 200px;
  border-radius: 26px;
  overflow: hidden;
  background: none;
  border: none;
  padding: 18px;
}

.mineral-photo img {
  width: 100%;
  display: block;
  max-height: 500px;
  object-fit: contain;
}

.mineral-photo .cap {
  font-size: 12.5px;
  color: var(--muted);
  text-align: center;
}

.mineral-source-note {
  display: none;
  text-align: center;
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 40px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- REVIEWS SECTION ---------- */
.reviews-wrap {
  display: flex;
  justify-content: center;
}

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

  .mineral-grid {
    grid-template-columns: 1fr;
  }

  .mineral-photo {
    order: -1;
  }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  position: relative;
  overflow: hidden;
  background: var(--white);
  color: var(--ink);
}

.testimonials::before {
  content: none;
  position: absolute;
  top: -180px;
  left: -160px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 182, 217, .14), transparent 70%);
}

.testimonials::after {
  content: none;
  position: absolute;
  bottom: -200px;
  right: -160px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(1, 42, 94, .05), transparent 70%);
}

.testimonials .section-head {
  position: relative;
  z-index: 1;
}

.testimonials .section-head h2 {
  color: var(--navy-deep);
}

.testimonials .section-head p {
  color: var(--muted);
}

.testi-mock-note {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin: -38px 0 46px;
  position: relative;
  z-index: 1;
}

.testi-slider-wrap {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.testi-card {
  display: none;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 26px;
  padding: 52px 48px;
  box-shadow: var(--shadow);
}

.testi-card.active {
  display: block;
}

.testi-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--mint), #fff);
  border: 2px dashed rgba(0, 182, 217, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.testi-stars {
  color: #ffb800;
  letter-spacing: 3px;
  font-size: 16px;
  margin-bottom: 18px;
}

.testi-quote {
  font-size: 18.5px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: 24px;
}

.testi-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 16px;
}

.testi-role {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: .02em;
}

.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testi-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(1, 42, 94, .18);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
}

.testi-dots button.active {
  background: var(--primary);
  width: 26px;
  border-radius: 999px;
}

@media (max-width:600px) {
  .testi-card {
    padding: 38px 26px;
  }

  .testi-quote {
    font-size: 16.5px;
  }
}

/* ---------- HERO SLIDER (background photo carousel) ---------- */
.hero-slider {
  background: var(--mint);
  min-height: 660px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.4s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(1, 42, 94, .6) 0%, rgba(1, 60, 100, .42) 45%, rgba(0, 150, 190, .16) 100%);
}

.hero-slider .hero-grid {
  grid-template-columns: 1fr;
  padding: 150px 24px 130px;
}

.hero-slider .hero-copy {
  max-width: 640px;
}

.hero-slider .eyebrow {
  background: rgba(255, 255, 255, .16);
  color: #fff;
}

.hero-slider .eyebrow::before {
  background: var(--primary);
}

.hero-slider h1 {
  color: #fff;
}

.hero-slider .hero-sub {
  color: #eaf6fb;
}

.hero-slider p.lead {
  color: rgba(255, 255, 255, .85);
}

.hero-slider .hero-stats strong {
  color: #fff;
}

.hero-slider .hero-stats span {
  color: #c9d7e6;
}

.hero-slider .btn-ghost {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
}

.hero-slider .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .14);
}

.hero-dots {
  position: absolute;
  z-index: 2;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
}

.hero-dots button.active {
  background: var(--primary);
  width: 28px;
  border-radius: 999px;
}

@media (max-width:960px) {
  .hero-slider .hero-grid {
    padding: 120px 24px 100px;
  }

  .hero-dots {
    bottom: 46px;
  }
}

@media (max-width:600px) {
  .hero-slider {
    min-height: 580px;
  }

  .hero-dots {
    bottom: 40px;
  }
}

/* ═══ EXTRAS (WP overrides & additions) ═══════════════════════════ */

/* ── Theme extras — WP-specific additions on top of jasna site.css ─────── */

/* ── Eyebrow — linie po bokach (premium/editorial) ───────────────────── */
.eyebrow {
  background: none !important;
  border-radius: 0 !important;
  padding: 4px 0 !important;
  gap: 12px;
  color: var(--primary-dark);
}

.eyebrow::before {
  width: 28px !important;
  height: 1.5px !important;
  border-radius: 0 !important;
  background: var(--primary) !important;
}

.eyebrow::after {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: var(--primary);
}

.hero-slider .eyebrow {
  background: none !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

.hero-slider .eyebrow::before,
.hero-slider .eyebrow::after {
  background: var(--primary) !important;
}

/* ── Sticky header scroll effect ─────────────────────────────────────── */
header {
  z-index: 900;
  /* override jasna's z-index:100 so mini cart appears above */
  transition: background .3s ease, backdrop-filter .3s ease, box-shadow .3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(1, 27, 61, .1);
}

/* ── Mini Cart ────────────────────────────────────────────────────────── */
.mc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(1, 27, 61, .45);
  z-index: 1000;
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity .28s ease;
}

.mc-overlay.open {
  display: block;
  opacity: 1;
}

.mini-cart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(500px, 100vw);
  background: #fff;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: -4px 0 32px rgba(1, 27, 61, .18);
}

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

.mc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1.5px solid #edf1f8;
  flex-shrink: 0;
}

.mc-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy, #012a5e);
  margin: 0;
}

.mc-close {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1.5px solid #e0e8f2;
  background: transparent;
  color: var(--muted, #5b6b7c);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .15s;
}

.mc-close:hover {
  background: #f0f5fb;
  color: var(--navy, #012a5e);
}

.mc-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.mc-loading {
  text-align: center;
  color: var(--muted, #5b6b7c);
  font-size: 14px;
  padding: 40px 0;
}

.mc-empty {
  text-align: center;
  padding: 48px 16px;
}

.mc-empty svg {
  opacity: .3;
  margin-bottom: 12px;
}

.mc-empty p {
  color: var(--muted, #5b6b7c);
  font-size: 14px;
  margin: 0 0 16px;
}

/* Cart item row */
.mc-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #f0f4fa;
}

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

.mc-item-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1px solid #edf1f8;
}

.mc-item-img-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--mint, #e6fbff);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary, #00b6d9);
}

.mc-item-info {
  flex: 1;
  min-width: 0;
}

.mc-item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #012a5e);
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mc-item-meta {
  font-size: 12.5px;
  color: var(--muted, #5b6b7c);
  margin: 0 0 6px;
}

.mc-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.mc-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary, #00b6d9);
}

.mc-qty-ctrl {
  display: flex;
  align-items: center;
  background: #f4f7fc;
  border-radius: 8px;
  overflow: hidden;
}

.mc-qty-btn {
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: var(--navy, #012a5e);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}

.mc-qty-btn:hover {
  background: rgba(0, 182, 217, .12);
  color: var(--primary, #00b6d9);
}

.mc-qty-btn:disabled {
  opacity: .4;
  cursor: default;
}

.mc-qty-input {
  width: 34px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink, #0c2136);
  font-family: 'Inter', sans-serif;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

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

.mc-qty-input:focus {
  outline: none;
}

.mc-remove {
  background: none;
  border: none;
  color: #b0bcc8;
  cursor: pointer;
  padding: 4px;
  line-height: 0;
  transition: color .15s;
  flex-shrink: 0;
}

.mc-remove:hover {
  color: #c0392b;
}

/* Footer */
.mc-footer {
  padding: 16px 24px 24px;
  border-top: 1.5px solid #edf1f8;
  flex-shrink: 0;
}

.mc-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--navy, #012a5e);
}

.mc-total-row strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary, #00b6d9);
}

.mc-checkout-btn {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 10px;
  text-decoration: none;
}

.mc-cart-link {
  display: block;
  text-align: center;
  font-size: 13px;
  color: var(--muted, #5b6b7c);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mc-cart-link:hover {
  color: var(--navy, #012a5e);
}

/* ── Nav hamburger (mobile) ───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 901;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .32s cubic-bezier(.4, 0, .2, 1), opacity .2s ease;
}

@media (max-width: 960px) {

  /* ─ Header fixed (zawsze widoczny niezależnie od scrolla) ── */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 901;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  body {
    padding-top: 66px;
  }

  /* ─ Blokada scrolla gdy menu otwarte ─────────────────────── */
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .nav-hamburger {
    display: flex;
  }

  /* ─ Hamburger → X animation ──────────────────────────────── */
  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  /* ─ Full-screen overlay (slide from right) ───────────────── */
  .nav-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: fixed;
    top: 66px;
    height: 100vh;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility 0s .38s;
    z-index: 899;
    overflow: hidden;
    overflow-y: auto;
    padding: 48px 24px;
    gap: 0;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform .38s cubic-bezier(.4, 0, .2, 1), visibility 0s 0s;
  }

  html {
    overflow-x: hidden;
  }

  body {
    overflow-x: clip;
    /* clip bez tworzenia scroll containera — nie psuje position:sticky */
  }

  /* ─ Decorative water-ripple circles ──────────────────────── */
  .nav-links::before {
    content: '';
    position: absolute;
    bottom: -130px;
    right: -100px;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(0, 182, 217, .1);
    box-shadow:
      0 0 0 55px rgba(0, 182, 217, .04),
      0 0 0 110px rgba(0, 182, 217, .025);
    pointer-events: none;
    z-index: 0;
  }

  .nav-links::after {
    content: '';
    position: absolute;
    top: -70px;
    left: -70px;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    border: 1px solid rgba(0, 182, 217, .1);
    box-shadow: 0 0 0 40px rgba(0, 182, 217, .04);
    pointer-events: none;
    z-index: 0;
  }

  /* ─ Menu items ───────────────────────────────────────────── */
  .nav-links li {
    list-style: none;
    width: 100%;
    max-width: 300px;
    text-align: center;
    position: relative;
    z-index: 1;
  }

  .nav-links li a,
  .nav-links>a {
    display: block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.02em;
    color: var(--navy, #012a5e) !important;
    padding: 16px 0;
    border-bottom: 1px solid rgba(1, 42, 94, .07);
    text-align: center;
    width: 100%;
    max-width: 300px;
    position: relative;
    z-index: 1;
  }

  .nav-links li:first-child a,
  .nav-links>a:first-child {
    border-top: 1px solid rgba(1, 42, 94, .07);
  }

  .nav-links li:last-child a,
  .nav-links>a:last-child {
    border-bottom: none;
  }

  .nav-links a:hover,
  .nav-links a.active {
    color: var(--primary, #00b6d9) !important;
  }

  /* ukryj desktop underline-indicator */
  .nav-links a::after {
    display: none !important;
  }
}

/* ── Cart count badge ─────────────────────────────────────────────────── */
.nav-cart,
.nav-account {
  position: relative;
  color: inherit;
  display: flex;
  align-items: center;
}

/* ── Hero slider — szerszy kontener tekstów ───────────────────────────── */
.hero-slider .hero-grid {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--primary, #00b6d9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ── Team / author real photos ────────────────────────────────────────── */
.team-avatar-img img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.author-avatar-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
}

/* ── Product card v2: chip badge, imgwrap, card-footer ───────────────── */
:root {
  --green: #1f9d55;
  --green-bg: #e5f7ea;
}

.product-card {
  border-radius: 14px;
  text-align: left;
  position: relative;
  --card-border-c: var(--primary, #00b6d9);
}

.product-card.gaz {
  --card-border-c: var(--green, #1f9d55);
}

.product-card::before,
.product-card::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 2;
  transition: width 0.38s ease, height 0.38s ease;
}

/* róg górny-lewy → border rośnie w prawo i w dół */
.product-card::before {
  top: -2px;
  left: -2px;
  border-top: 2px solid var(--card-border-c);
  border-left: 2px solid var(--card-border-c);
  border-radius: 14px;
}

/* róg dolny-prawy → border rośnie w lewo i w górę */
.product-card::after {
  bottom: -2px;
  right: -2px;
  border-bottom: 2px solid var(--card-border-c);
  border-right: 2px solid var(--card-border-c);
  border-radius: 14px;
}

.product-card:hover::before,
.product-card:hover::after {
  width: calc(100% + 0px);
  height: calc(100% + 0px);
}

.product-card .badge {
  display: inline-flex;
  align-items: center;
  position: absolute;
  left: 24px;
  top: 24px;
  background: none !important;
  border: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  font-size: 10.5px !important;
}

.product-card .badge .dot {
  display: none;
}

.product-card.gaz .badge {
  color: var(--green, #1f9d55);
  background: var(--green-bg, #e5f7ea);
}

.product-card .imgwrap {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.product-card .imgwrap::before {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 14px;
  background: var(--mint, #e6fbff);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: 0;
}

.product-card.gaz .imgwrap::before {
  background: var(--green-bg, #e5f7ea);
}

.product-card:hover .imgwrap::before {
  opacity: 1;
}

.product-card .imgwrap a {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: center;
}

.product-card .prod-img {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: transform .3s ease;
}

.product-card:hover .prod-img {
  transform: scale(1.05);
}

.product-card h4 {
  font-size: 16.5px;
  margin-bottom: 2px;
  text-align: left;
}

.product-card .capacity {
  display: block;
  font-size: 12.5px;
  color: var(--muted, #5b6b7c);
  text-align: left;
  margin-bottom: 10px;
}

.product-card .rating {
  min-height: 23px;
}

.product-card .card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product-card .card-footer:has(.card-qty-wrap) {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.product-card .card-footer .price-row {
  margin-bottom: 0;
}

.product-card .btn-cart {
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  flex-shrink: 0;
}

/* ── Card qty stepper ─────────────────────────────────────────────────── */
.card-qty-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-qty {
  display: flex;
  align-items: center;
  flex: 1;
  height: 38px;
  border: 1.5px solid rgba(1, 42, 94, .15);
  border-radius: 8px;
  overflow: hidden;
  max-width: 110px;
}

.card-qty .qty-btn {
  width: 30px;
  height: 38px;
  background: var(--paper, #f4f8fc);
  border: none;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  color: var(--navy, #012a5e);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
  user-select: none;
  padding: 0;
}

.card-qty .qty-btn:hover {
  background: rgba(0, 182, 217, .12);
  color: var(--primary, #00b6d9);
}

.card-qty input[type="number"] {
  flex: 1;
  min-width: 0;
  height: 38px;
  border: none;
  border-left: 1.5px solid rgba(1, 42, 94, .1);
  border-right: 1.5px solid rgba(1, 42, 94, .1);
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  color: var(--navy, #012a5e);
  background: #fff;
  -moz-appearance: textfield;
  appearance: textfield;
  padding: 0;
}

.card-qty input[type="number"]::-webkit-inner-spin-button,
.card-qty input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.card-qty input[type="number"]:focus {
  outline: none;
  background: rgba(0, 182, 217, .04);
}

@media (min-width: 961px) {
  .product-slider .product-card {
    width: 295px;
  }
}

/* ── Single product qty +/- ───────────────────────────────────────────── */
.qty-select {
  display: flex;
  align-items: center;
  border: 1px solid rgba(1, 42, 94, .15);
  border-radius: 999px;
  overflow: hidden;
}

.qty-select .qty-btn {
  width: 42px;
  height: 46px;
  background: var(--paper, #f6faf9);
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--navy-deep, #012a5e);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
  flex-shrink: 0;
}

.qty-select .qty-btn:hover {
  background: #e0f2fe;
}

.qty-select input.qty {
  width: 44px !important;
  text-align: center !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 10px 0 !important;
  font-weight: 700 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.pd-buy-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.pd-buy-row .btn-cart,
.pd-buy-row .single_add_to_cart_button {
  flex: 1;
  width: auto !important;
  padding: 15px 30px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
}

form.cart {
  display: contents;
}

/* ── Mineral photo — elastyczna szerokość dla dowolnego formatu ──────── */
.mineral-photo .frame {
  width: 100%;
  max-width: 320px;
}

/* ── WooCommerce overrides ────────────────────────────────────────────── */
.woocommerce-notices-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.wc-block-components-product-add-to-cart button,
form.cart .single_add_to_cart_button {
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #007fa3)) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 600 !important;
  border: none !important;
  padding: 12px 28px !important;
  cursor: pointer !important;
  transition: transform .25s ease, box-shadow .25s ease !important;
}

form.cart .single_add_to_cart_button:hover {
  transform: translateY(-2px) !important;
}

form.cart {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.quantity .qty {
  border: none;
  border-radius: 0;
  padding: 10px 14px !important;
  font-size: 15px !important;
  background: var(--paper);
}

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
}

/* ── Shop filters — ghost style dla nieaktywnych ─────────────────────── */
.shop-filters button {
  background: transparent;
  border-color: rgba(1, 42, 94, .18);
  color: var(--navy-deep, #001b3d);
}

/* ── WooCommerce reviews — opinie na stronie produktu ────────────────── */
.reviews-summary {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.reviews-score strong {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 44px;
  color: var(--navy-deep, #012a5e);
  line-height: 1.1;
}

.reviews-score .star-rating {
  margin: 8px auto;
}

#reviews.woocommerce-Reviews {
  width: 100%;
  max-width: 640px;
}

.reviews-score span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.reviews-bars {
  display: grid;
  gap: 8px;
  text-align: left;
}

.bar-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--muted);
}

.bar-row span:first-child {
  width: 20px;
  flex-shrink: 0;
}

.bar-row span:last-child {
  width: 30px;
  flex-shrink: 0;
  text-align: right;
}

.bar-row .bar {
  flex: 1;
  height: 6px;
  background: var(--paper);
  border-radius: 999px;
  overflow: hidden;
}

.bar-row .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 999px;
}

.commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.commentlist .review {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  padding: 22px 24px;
  text-align: left;
}

.comment_container {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.comment_container .avatar,
.comment_container img.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13.5px;
  flex-shrink: 0;
  object-fit: cover;
}

.comment-text {
  flex: 1;
  min-width: 0;
}

.comment-text .star-rating {
  margin-bottom: 8px;
  min-width: 95px;
}

.comment-text .meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 8px;
}

.woocommerce-review__author {
  color: var(--navy-deep, #012a5e);
  font-weight: 700;
  font-size: 14.5px;
}

.woocommerce-review__dash {
  color: var(--muted);
}

.woocommerce-review__published-date {
  color: var(--muted);
  font-size: 12px;
}

.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--mint);
  padding: 2px 9px;
  border-radius: 999px;
  margin-left: auto;
  white-space: nowrap;
}

.description p {
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* WooCommerce star-rating widget (dwa wiersze gwiazd, wypełniony clipped przez width:%) */
.star-rating {
  position: relative;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 2px;
  line-height: 1;
  width: 80px;
  height: 15px;
  color: rgba(1, 42, 94, .15);
}

.star-rating::before {
  content: "★★★★★";
  position: absolute;
  top: 0;
  left: 0;
}

.star-rating span {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  white-space: nowrap;
  color: #f5a623;
}

.star-rating span::before {
  content: "★★★★★";
}

/* Brak opinii */
.woocommerce-noreviews {
  background: #fff;
  border: 1px dashed rgba(1, 42, 94, .2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
  max-width: 560px;
  margin: 0 auto;
}

/* Formularz opinii */
#review_form_wrapper {
  margin-top: 36px;
  max-width: 640px;
}

.comment-reply-title {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy-deep, #012a5e);
  margin-bottom: 18px;
}

.comment-form-rating {
  margin-bottom: 18px;
}

.comment-form-rating label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep, #012a5e);
  margin-bottom: 8px;
}

.comment-form-rating .required {
  color: #e0524d;
}

.comment-form-rating p.stars {
  display: flex;
  gap: 4px;
  margin: 0;
}

.comment-form-rating p.stars span {
  flex-direction: row;
  display: flex;
}

.comment-form-rating p.stars a {
  font-size: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f5a623;
  text-decoration: none;
  transition: color .15s ease;
}

.comment-form-rating p.stars a::before {
  content: "★";
  font-size: 22px;
}



/* WC własny js obsługuje klasę .active na gwiazdkach */

.comment-form-rating select {
  margin-top: 8px;
  border: 1px solid rgba(1, 42, 94, .15);
  border-radius: 8px;
  padding: 8px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  color: var(--ink);
  background: #fff;
}

.comment-form-comment {
  margin-bottom: 18px;
}

.comment-form-comment label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-deep, #012a5e);
  margin-bottom: 8px;
}

.comment-form-comment textarea {
  width: 100%;
  border: 1px solid rgba(1, 42, 94, .15);
  border-radius: 12px;
  padding: 13px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink);
  resize: vertical;
}

.comment-form-comment textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.form-submit {
  margin: 0;
}

#submit.submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  transition: transform .2s ease;
}

#submit.submit:hover {
  transform: translateY(-2px);
}

body.post-type-archive-product .page-hero .wave path,
body.woocommerce-page.woocommerce-dashboard .wave path,
body.woocommerce-cart .wave path,
body.woocommerce-checkout .wave path,
body.page-template-template-kontakt-php .wave path,
body.blog .wave path {
  fill: #fff;
}



body.post-type-archive-product .products {
  padding-top: 0;
}

/* ── page.php — content section classes ──────────────────────────────── */

/* Wąskie strony (zwykłe podstrony bez WC) */
.page-content-narrow {
  max-width: 820px;
  padding-top: 48px;
  padding-bottom: 64px;
}

/* Sekcje koszyka / zamówienia / konta */
.wc-cart-section,
.wc-checkout-section,
.wc-account-section {
  padding-top: 0;
  padding-bottom: 0;
}

/* ── WooCommerce: Moje konto ──────────────────────────────────────────── */

/* Kontener strony konta — bez inline max-width (obsługiwane w page.php) */
.account-container {
  max-width: 1200px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.woocommerce-account .article-body,
.wc-account-body {
  padding: 0;
  max-width: 1150px;
}

/* Koszyk i zamówienie */
.wc-cart-body,
.wc-checkout-body {
  padding: 32px 0 64px;
}

/* Grid sidebar + treść — kasuje floaty WooCommerce */
.woocommerce-account .woocommerce {
  display: grid !important;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  align-items: start;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
}

.woocommerce-account .woocommerce::after,
.woocommerce-account .woocommerce::before {
  content: none;
}

.woocommerce .col2-set::after,
.woocommerce .col2-set::before,
.woocommerce-page .col2-set::after,
.woocommerce-page .col2-set::before {
  content: none;
  ;
}

.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  width: 100%;
  float: none !important;
}

/* Sidebar nav */
.woocommerce-MyAccount-navigation {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  padding: 12px;
  position: sticky;
  top: 100px;
}

.woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 2px;
}

.woocommerce-MyAccount-navigation-link a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted, #5b6b7c);
  transition: background .2s ease, color .2s ease;
}

.woocommerce-MyAccount-navigation-link a:hover {
  background: var(--mint, #e6fbff);
  color: var(--primary-dark, #008fab);
}

.woocommerce-MyAccount-navigation-link.is-active a,
.woocommerce-MyAccount-navigation-link.current-menu-item a {
  background: var(--primary-dark, #008fab);
  color: #fff;
}

.woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(1, 42, 94, .08);
}

.woocommerce-MyAccount-navigation-link--customer-logout a {
  color: #c0433d;
}

.woocommerce-MyAccount-navigation-link--customer-logout a:hover {
  background: #fdecea;
  color: #c0433d;
}

/* Content area */
.woocommerce-MyAccount-content {
  min-width: 0;
}

/* Dashboard — welcome + quick cards */
.account-welcome {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  padding: 26px 28px;
  margin-bottom: 22px;
}

.account-welcome p {
  color: var(--ink, #0c2136);
  font-size: 15px;
  line-height: 1.6;
}

.account-welcome p+p {
  margin-top: 10px;
  color: var(--muted, #5b6b7c);
  font-size: 14px;
}

.account-welcome strong {
  color: var(--navy-deep, #001b3d);
}

.account-welcome a {
  color: var(--primary-dark, #008fab);
  font-weight: 600;
}

.account-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.account-quick-card {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 14px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}

.account-quick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(1, 27, 61, .12);
}

.account-quick-card .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.account-quick-card h4 {
  font-size: 15px;
  color: var(--navy-deep, #001b3d);
  margin-bottom: 4px;
}

.account-quick-card span {
  font-size: 12.5px;
  color: var(--muted, #5b6b7c);
}

/* Puste stany (Zamówienia / Pobrania) */
.woocommerce-account .woocommerce-info {
  background: #fff;
  border: 1px dashed rgba(1, 42, 94, .2);
  border-radius: 16px;
  padding: 36px;
  text-align: center;
  color: var(--muted, #5b6b7c);
  font-size: 14.5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.woocommerce-Button.wc-forward,
.woocommerce-Button.wc-forward.button,
.button.wc-forward {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab));
  transition: transform .2s ease;
}

.woocommerce-Button.wc-forward:hover,
.button.wc-forward:hover {
  transform: translateY(-2px);
}

/* Tabela zamówień */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  overflow: hidden;
}

.woocommerce-orders-table thead th {
  text-align: left;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted, #5b6b7c);
  background: var(--paper, #f6faf9);
  padding: 14px 18px;
}

.woocommerce-orders-table tbody td {
  padding: 16px 18px;
  font-size: 13.5px;
  color: var(--ink, #0c2136);
  border-top: 1px solid rgba(1, 42, 94, .06);
}

.woocommerce-orders-table__cell-order-number a {
  color: var(--primary-dark, #008fab);
  font-weight: 700;
}

mark.order-status {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  background: var(--mint, #e6fbff);
  color: var(--primary-dark, #008fab);
}

mark.order-status.status-completed {
  background: var(--green-bg, #e5f7ea);
  color: var(--green, #1f9d55);
}

mark.order-status.status-processing {
  background: #fff4e0;
  color: #b5720a;
}

mark.order-status.status-cancelled {
  background: #fdecea;
  color: #c0433d;
}

.woocommerce-orders-table__cell-order-actions .button {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(1, 42, 94, .15);
  color: var(--navy-deep, #001b3d);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.woocommerce-orders-table__cell-order-actions .button.view {
  border-color: var(--primary-dark, #008fab);
  color: var(--primary-dark, #008fab);
}

.woocommerce-orders-table__cell-order-actions .button:hover {
  background: var(--primary-dark, #008fab);
  border-color: var(--primary-dark, #008fab);
  color: #fff;
}

@media (max-width: 700px) {
  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table,
  .woocommerce-orders-table tbody,
  .woocommerce-orders-table tr,
  .woocommerce-orders-table td {
    display: block;
    width: 100%;
  }

  .woocommerce-orders-table tr {
    padding: 14px 18px;
    border-top: 1px solid rgba(1, 42, 94, .06);
  }

  .woocommerce-orders-table td {
    padding: 4px 0;
    border: none;
  }
}

/* Adresy */
.account-address-intro {
  color: var(--muted, #5b6b7c);
  font-size: 14px;
  margin-bottom: 18px;
}

.woocommerce-Addresses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.woocommerce-Address {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  padding: 22px 24px;
}

.woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.woocommerce-Address-title h2 {
  font-size: 14.5px;
  color: var(--navy-deep, #001b3d);
  margin: 0;
}

.woocommerce-account .addresses .title::after,
.woocommerce-account .addresses .title::before {
  content: none;
}

.woocommerce form .form-row::after,
.woocommerce form .form-row::before,
.woocommerce-page form .form-row::after,
.woocommerce-page form .form-row::before {
  content: none;
}

.woocommerce-Address-title a.edit {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-dark, #008fab);
}

.woocommerce-Address address {
  font-style: normal;
  color: var(--muted, #5b6b7c);
  font-size: 13.5px;
  line-height: 1.75;
}

.woocommerce-Address address a {
  color: var(--primary-dark, #008fab);
  font-weight: 600;
}

@media (max-width: 700px) {
  .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

/* Formularz szczegółów konta */
.woocommerce-EditAccountForm {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  gap: 0px;
  max-width: 640px;
}

.woocommerce-account .account-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.woocommerce-form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.woocommerce-form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep, #001b3d);
}

.woocommerce-form-row .required {
  color: #e0524d;
  text-decoration: none;
}

.woocommerce-Input {
  border: 1px solid rgba(1, 42, 94, .14);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink, #0c2136);
  width: 100%;
  box-sizing: border-box;
}

.woocommerce-Input:focus {
  outline: none;
  border-color: var(--primary, #00b6d9);
}

#account_display_name_description em {
  font-size: 12px;
  color: var(--muted, #5b6b7c);
  font-style: normal;
}

.woocommerce-EditAccountForm fieldset {
  border: none;
  padding: 0;
  margin: 6px 0 0;
  display: grid;
  gap: 16px;
}

.woocommerce-EditAccountForm legend {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-deep, #001b3d);
  padding: 0;
  margin-bottom: 8px;
}

.woocommerce-EditAccountForm .password-field {
  position: relative;
}

.show-password-input {
  position: absolute;
  right: 12px;
  top: 37px;
  background: none;
  border: none;
  color: var(--muted, #5b6b7c);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.woocommerce-EditAccountForm .woocommerce-Button,
.woocommerce-EditAccountForm button.woocommerce-Button.button {
  justify-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px !important;
  border: none !important;
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab)) !important;
  box-shadow: none !important;
  transition: transform .2s ease;
}

.woocommerce-EditAccountForm .woocommerce-Button:hover,
.woocommerce-EditAccountForm button.woocommerce-Button.button:hover {
  transform: translateY(-2px);
  color: #fff !important;
}

@media (max-width: 860px) {
  .woocommerce-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .woocommerce-MyAccount-navigation {
    position: static;
  }

  .account-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .woocommerce-account .account-name-row {
    grid-template-columns: 1fr;
  }
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
  float: none !important;
  width: 100%;
}

/* ── Formularze adresu i edycji konta (realne selektory WC) ───────────── */

/* Layout pól first/last obok siebie */
.woocommerce-address-fields__field-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0 16px;
}

.woocommerce-address-fields__field-wrapper .form-row-first,
.woocommerce-address-fields__field-wrapper .form-row-last {
  width: calc(50% - 8px) !important;
}

.woocommerce-address-fields__field-wrapper .form-row-wide {
  width: 100%;
}

/* .form-row (adres) — flex kolumna jak .woocommerce-form-row */
.woocommerce-account .form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 4px;
}

.woocommerce-account .form-row label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep, #001b3d);
}

.woocommerce-account .form-row .required {
  color: #e0524d;
  text-decoration: none;
}

/* .input-text — pola adresowe */
.woocommerce-account .input-text,
.woocommerce-account .woocommerce-input-wrapper .input-text {
  border: 1px solid rgba(1, 42, 94, .14);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink, #0c2136);
  width: 100%;
  box-sizing: border-box;
  background: #fff;
}

.woocommerce-account .input-text:focus {
  outline: none;
  border-color: var(--primary, #00b6d9);
}

/* Select2 — pole kraj */
.woocommerce-account .select2-container {
  width: 100% !important;
}

.woocommerce-account .select2-container--default .select2-selection--single {
  border: 1px solid rgba(1, 42, 94, .14);
  border-radius: 12px;
  height: auto;
  padding: 11px 40px 11px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: var(--ink, #0c2136);
  background: #fff;
}

.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 1.5;
  padding: 0;
  color: var(--ink, #0c2136);
}

.woocommerce-account .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 14px;
}

.woocommerce-account .select2-container--default .select2-selection--single:focus {
  outline: none;
  border-color: var(--primary, #00b6d9);
}

/* span.password-input (WC 7+) — wrapper z przyciskiem "Pokaż" */
.woocommerce-account .password-input {
  position: relative;
  display: flex;
}

.woocommerce-account .password-input .woocommerce-Input {
  flex: 1;
  padding-right: 60px;
}

.woocommerce-account .password-input .show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: none;
  border: none;
  color: var(--muted, #5b6b7c);
  cursor: pointer;
  padding: 0;
}

/* Przycisk Zapisz adres (class="button" bez woocommerce-Button) */
.woocommerce-account .woocommerce-address-fields p>.button[name="save_address"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab));
  transition: transform .2s ease;
  margin-top: 8px;
}

.woocommerce-account .woocommerce-address-fields p>.button[name="save_address"]:hover {
  transform: translateY(-2px);
}

@media (max-width: 700px) {

  .woocommerce-address-fields__field-wrapper .form-row-first,
  .woocommerce-address-fields__field-wrapper .form-row-last {
    width: 100% !important;
  }
}

/* ── WooCommerce Cart Block ────────────────────────────────────────────── */

/* Szerokość kontenera koszyka — nadpisuje inline 820px */
.woocommerce-cart section>.container {
  max-width: 1000px !important;
  padding-top: 48px !important;
  padding-bottom: 64px !important;
}

.woocommerce-cart .article-body {
  padding: 0;
}

.woocommerce-cart .article-body,
.woocommerce-checkout .article-body {
  max-width: unset !important;
}

.wc-block-components-sidebar-layout.wc-block-cart {
  display: grid !important;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.wc-block-cart__sidebar {
  position: sticky;
  top: 100px;
}

/* Tabela produktów */
.wc-block-cart-items {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  overflow: hidden;
}


.wc-block-components-sidebar-layout .wc-block-components-main,
.wc-block-components-sidebar {
  float: none;
  width: 100%;
}

.wc-block-cart-items thead {
  background: var(--paper, #f6faf9);
}

.wc-block-cart-items__header th,
.editor-styles-wrapper table.wc-block-cart-items .wc-block-cart-items__header th,
table.wc-block-cart-items .wc-block-cart-items__header th {
  padding: 14px 18px;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted, #5b6b7c);
  text-align: left;
  font-weight: 600;
  background-color: #fff !important;
  background: #fff !important;
}

.wc-block-cart-items__row td {
  padding: 18px;
  border-top: 1px solid rgba(1, 42, 94, .06);
  vertical-align: middle;
}

.wc-block-cart-item__image img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(1, 42, 94, .07);
  background: var(--paper, #f6faf9);
  display: block;
}

.wc-block-components-product-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy-deep, #001b3d);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.wc-block-components-product-name:hover {
  color: var(--primary, #00b6d9);
}

.wc-block-cart-item__prices .wc-block-components-product-price__value {
  font-size: 13px;
  color: var(--muted, #5b6b7c);
}

.wc-block-components-product-metadata__description {
  display: none;
}

/* Kontrolki ilości */
.wc-block-components-quantity-selector {
  display: inline-flex;
  align-items: center;
  background: #f4f7fc;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 0;
  border: none !important;
}

.wc-block-components-quantity-selector__button {
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  font-size: 18px;
  color: var(--navy, #012a5e);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, color .15s;
  flex-shrink: 0;
}

.wc-block-components-quantity-selector__button:hover:not(:disabled) {
  background: rgba(0, 182, 217, .12);
  color: var(--primary, #00b6d9);
}

.wc-block-components-quantity-selector__button:disabled {
  opacity: .35;
  cursor: default;
}

.wc-block-components-quantity-selector__input {
  width: 44px;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #0c2136);
  font-family: 'Inter', sans-serif;
  padding: 0;
  -moz-appearance: textfield;
  appearance: textfield;
}

.wc-block-components-quantity-selector__input::-webkit-outer-spin-button,
.wc-block-components-quantity-selector__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wc-block-cart-item__remove-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  color: var(--muted, #5b6b7c);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 6px;
  transition: color .15s, background .15s;
  vertical-align: middle;
}

.wc-block-cart-item__remove-link:hover {
  color: #c0433d;
  background: #fdecea;
}

.wc-block-cart-item__total .wc-block-components-product-price__value {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark, #008fab);
}

/* Sidebar — Podsumowanie koszyka */
.wp-block-woocommerce-cart-order-summary-block {
  background: #fff;
  border: 1px solid rgba(1, 42, 94, .08);
  border-radius: 16px;
  padding: 24px;
}

.wc-block-cart__totals-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy-deep, #001b3d);
  margin: 0 0 16px;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-dark, #008fab);
  cursor: pointer;
  padding: 10px 0;
  border: none;
  background: none;
  width: 100%;
  border-top: 1px solid rgba(1, 42, 94, .07);
  border-bottom: 1px solid rgba(1, 42, 94, .07);
  margin-bottom: 14px;
}

.wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(1, 42, 94, .06);
}

.wc-block-components-totals-item__label {
  font-size: 14px;
  color: var(--muted, #5b6b7c);
}

.wc-block-components-totals-item__value {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink, #0c2136);
}

.wc-block-components-totals-footer-item {
  border-bottom: none !important;
  padding-top: 14px;
  margin-top: 4px;
  border-top: none !important;
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep, #001b3d);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-formatted-money-amount {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-dark, #008fab);
}

/* Przycisk Przejdź do płatności */
.wc-block-cart__submit-button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 24px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab)) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  font-family: 'Inter', sans-serif;
  border: none !important;
  margin-top: 20px;
  text-decoration: none;
  box-shadow: 0 8px 24px -6px rgba(0, 182, 217, .4) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.wc-block-cart__submit-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px -6px rgba(0, 182, 217, .6) !important;
  color: #fff !important;
}

@media (max-width: 860px) {
  .wc-block-components-sidebar-layout.wc-block-cart {
    grid-template-columns: 1fr;
  }

  .wc-block-cart__sidebar {
    position: static;
  }
}

/* ── Coupon form in cart sidebar ──────────────────────────────────────── */
.wc-block-components-totals-coupon__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.wc-block-components-totals-coupon__form .wc-block-components-text-input.wc-block-components-totals-coupon__input,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button,
.wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input {
  width: 100%;
}

.wc-block-components-totals-coupon__input.wc-block-components-text-input {
  flex: 1;
  position: relative;
  margin: 0;
}

.wc-block-components-totals-coupon__input.wc-block-components-text-input input {
  width: 100%;
  height: 48px;
  padding: 16px 16px 4px;
  border: 1.5px solid rgba(1, 42, 94, .2);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #012a5e;
  background: #fff;
  outline: none;
  transition: border-color .2s ease;
  box-sizing: border-box;
}

.wc-block-components-totals-coupon__input.wc-block-components-text-input input:focus {
  border-color: var(--primary, #00b6d9);
  box-shadow: 0 0 0 3px rgba(0, 182, 217, .12);
}

.wc-block-components-totals-coupon__input.wc-block-components-text-input label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(1, 42, 94, .5);
  pointer-events: none;
  transition: top .18s ease, font-size .18s ease, color .18s ease;
  line-height: 1;
}

.wc-block-components-totals-coupon__input.wc-block-components-text-input.is-active label,
.wc-block-components-totals-coupon__input.wc-block-components-text-input input:focus+label,
.wc-block-components-totals-coupon__input.wc-block-components-text-input input:not(:placeholder-shown)+label {
  top: 10px;
  font-size: 10px;
  color: rgba(1, 42, 94, .45);
}

.wc-block-components-totals-coupon__button {
  flex-shrink: 0;
  height: 48px;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab)) !important;
  color: #fff !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  border: none !important;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px -4px rgba(0, 182, 217, .45) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
}

.wc-block-components-totals-coupon__button:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 20px -4px rgba(0, 182, 217, .6) !important;
  color: #fff !important;
}

.wc-block-components-totals-coupon__button .wc-block-components-button__text {
  font-size: 14px;
  font-weight: 600;
}

/* ── Checkout page ─────────────────────────────────────────────────────── */

body.woocommerce-checkout section>.container {
  max-width: 1200px !important;
  padding-top: 32px !important;
  padding-bottom: 64px !important;
}

/* Two-column grid */
.wc-block-components-sidebar-layout.wc-block-checkout {
  display: grid !important;
  grid-template-columns: 1fr 400px !important;
  gap: 48px !important;
  align-items: start !important;
}

/* Step sections */
.wc-block-components-checkout-step {
  border: none !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
  background: #fff;
  border-radius: 16px;
  padding: 24px !important;
  box-shadow: 0 2px 16px rgba(1, 27, 61, .06);
}

.wc-block-components-checkout-step__heading-container {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(1, 42, 94, .08);
}

.wc-block-components-checkout-step__heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wc-block-components-title.wc-block-components-checkout-step__title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--navy, #012a5e) !important;
  margin: 0 !important;
  padding: 0 !important;
  letter-spacing: -.01em;
}

/* Address form: 2-column grid for fields */
.wc-block-components-address-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 14px;
}

.wc-block-components-address-form__country,
.wc-block-components-address-form__address_1,
.wc-block-components-address-form__address_2-toggle,
.wc-block-components-address-form__address_2-hidden-input,
.wc-block-components-address-form__phone {
  grid-column: 1 / -1;
}

/* Floating label inputs */
.wc-block-components-text-input {
  position: relative;
  margin-bottom: 14px;
}

.wc-block-components-text-input input {
  width: 100%;
  height: 52px;
  padding: 20px 16px 6px;
  border: 1.5px solid rgba(1, 42, 94, .18) !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #012a5e;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.wc-block-components-text-input input:focus {
  border-color: var(--primary, #00b6d9) !important;
  box-shadow: 0 0 0 3px rgba(0, 182, 217, .12) !important;
}

.wc-block-components-text-input input[aria-invalid="true"] {
  border-color: #e74c3c !important;
}

.wc-block-components-text-input label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(1, 42, 94, .45);
  pointer-events: none;
  transition: top .18s ease, font-size .18s ease, color .18s ease;
  line-height: 1;
  white-space: nowrap;
}

.wc-block-components-text-input.is-active label {
  top: 14px;
  font-size: 10px;
  color: rgba(1, 42, 94, .4);
}

/* Country / select */
.wc-blocks-components-select {
  margin-bottom: 14px;
}

.wc-blocks-components-select__container {
  position: relative;
}

.wc-blocks-components-select__label {
  position: absolute;
  left: 16px;
  top: 13px;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  color: rgba(1, 42, 94, .4);
  pointer-events: none;
  z-index: 1;
  line-height: 1;
}

.wc-blocks-components-select__select {
  width: 100%;
  height: 52px;
  padding: 20px 40px 6px 16px !important;
  border: 1.5px solid rgba(1, 42, 94, .18) !important;
  border-radius: 10px !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #012a5e;
  background: #fff;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: none !important;
  transition: border-color .2s ease;
}

.wc-blocks-components-select__select:focus {
  border-color: var(--primary, #00b6d9) !important;
  box-shadow: 0 0 0 3px rgba(0, 182, 217, .12) !important;
}

.wc-blocks-components-select__expand {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(1, 42, 94, .4);
}

/* Add address-2 toggle */
.wc-block-components-address-form__address_2-toggle {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--primary, #00b6d9);
  font-weight: 600;
  cursor: pointer;
  margin-bottom: 14px;
  display: inline-block;
}

/* Checkbox */
.wc-block-components-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.wc-block-components-checkbox__input {
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(1, 42, 94, .25);
  border-radius: 5px;
  accent-color: var(--primary, #00b6d9);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}

.wc-block-components-checkbox__label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(1, 42, 94, .65);
  line-height: 1.5;
}

.wc-block-checkout__add-note {
  padding: 0;
}

/* Terms text */
.wc-block-checkout__terms {
  padding: 12px 0;
}

.wc-block-checkout__terms .wc-block-components-checkbox__label {
  font-size: 12px;
  color: rgba(1, 42, 94, .5);
}

.wc-block-checkout__terms a {
  color: var(--primary, #00b6d9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Place order button */
.wc-block-components-checkout-place-order-button {
  width: 100% !important;
  padding: 16px 32px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab)) !important;
  color: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 8px 28px -6px rgba(0, 182, 217, .5) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  letter-spacing: -.01em;
}

.wc-block-components-checkout-place-order-button:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 32px -6px rgba(0, 182, 217, .65) !important;
  color: #fff !important;
}

.wc-block-checkout__actions_row {
  padding-top: 8px;
}

/* Order summary sidebar */
.wc-block-checkout__sidebar {
  background: var(--paper) !important;
  border-radius: 20px !important;
  padding: 24px !important;
  position: sticky !important;
  top: 100px !important;
  border: none;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity span {
  color: var(--primary);
}

.wp-block-woocommerce-checkout-order-summary-block {
  display: block;
  border: none;
}

.wc-block-components-checkout-order-summary__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(1, 42, 94, .1);
  margin-bottom: 4px;
  cursor: pointer;
}

.wc-block-components-checkout-order-summary__title-text {
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--navy, #012a5e) !important;
  margin: 0 !important;
}

.wc-block-components-checkout-order-summary__title-price {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary, #00b6d9);
}

.wc-block-components-checkout-order-summary__title-icon {
  color: rgba(1, 42, 94, .4);
}

/* Order items */
.wc-block-components-order-summary-item {
  display: flex !important;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(1, 42, 94, .07);
}

.wc-block-components-order-summary-item:last-child {
  border-bottom: none;
}

.wc-block-components-order-summary-item__image {
  position: relative;
  flex-shrink: 0;
}

.wc-block-components-order-summary-item__image img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(1, 42, 94, .08);
  display: block;
}

.wc-block-components-order-summary-item__quantity {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--navy, #012a5e);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

.wc-block-components-order-summary-item__description {
  flex: 1;
  min-width: 0;
}

.wc-block-components-product-name {
  font-family: 'Inter', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--navy, #012a5e) !important;
  margin: 0 0 3px !important;
  line-height: 1.3;
}

.wc-block-components-order-summary-item__individual-prices {
  font-size: 12px;
  color: rgba(1, 42, 94, .5);
}

.wc-block-components-product-metadata {
  display: none;
}

.wc-block-components-order-summary-item__total-price {
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy, #012a5e);
}

/* Totals rows */
.wc-block-components-totals-wrapper {
  border-top: none;
  padding-top: 4px;
  margin-top: 4px;
}

.wc-block-components-totals-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.wc-block-components-totals-item__label {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(1, 42, 94, .6);
}

.wc-block-components-totals-item__value {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy, #012a5e);
}

.wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy, #012a5e);
}

.wc-block-components-totals-footer-item-tax-value {
  font-family: 'Poppins', sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--primary, #00b6d9) !important;
}

/* Coupon panel toggle */
.wc-block-components-totals-coupon .wc-block-components-panel__button {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--primary, #00b6d9);
  font-weight: 600;
  cursor: pointer;
  padding: 10px 0;
  border: none;
  background: none;
  width: 100%;
}

/* Address card (saved address display) */
.wc-block-components-address-card {
  background: #f0f5fb;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wc-block-components-address-card address {
  font-style: normal;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(1, 42, 94, .7);
  line-height: 1.6;
}

.wc-block-components-address-card__edit {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: var(--primary, #00b6d9);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
  margin-left: 12px;
  flex-shrink: 0;
}

/* No payment methods notice */
.wc-block-checkout__no-payment-methods-notice {
  background: #fff3f3;
  border: 1px solid rgba(231, 76, 60, .2);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #c0392b;
}

/* Responsive */
@media (max-width: 900px) {
  .wc-block-components-sidebar-layout.wc-block-checkout {
    grid-template-columns: 1fr !important;
  }

  .wc-block-checkout__sidebar {
    position: static !important;
  }

  .wc-block-components-address-form {
    grid-template-columns: 1fr;
  }

  .wc-block-components-address-form__first_name,
  .wc-block-components-address-form__last_name,
  .wc-block-components-address-form__postcode,
  .wc-block-components-address-form__city {
    grid-column: 1 / -1;
  }
}

/* ── Product reviews & review form ───────────────────────────────────── */

/* Reviews list title */
.reviews-wrap .woocommerce-Reviews-title {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy, #012a5e);
  margin: 0 0 24px;
}

/* Individual comment / review */
.reviews-wrap .commentlist {
  list-style: none;
  padding: 0;
  margin: 0 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reviews-wrap .commentlist .comment_container {
  display: flex;
  gap: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  border: 1.5px solid rgba(1, 42, 94, .07);
  box-shadow: 0 2px 12px rgba(1, 27, 61, .05);
}

.reviews-wrap .commentlist .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(1, 42, 94, .08);
}

.reviews-wrap .commentlist .comment-text {
  flex: 1;
  min-width: 0;
}

.reviews-wrap .commentlist .woocommerce-review__author {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy, #012a5e);
}

.reviews-wrap .commentlist .woocommerce-review__dash {
  display: none;
}

.reviews-wrap .commentlist .woocommerce-review__published-date {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(1, 42, 94, .45);
  margin-left: 8px;
}

.reviews-wrap .commentlist .star-rating {
  margin-bottom: 8px;
}

.reviews-wrap .commentlist .description p {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(1, 42, 94, .75);
  line-height: 1.6;
  margin: 8px 0 0;
}

/* ── Review form ──────────────────────────────────────────────────────── */

.reviews-wrap #reply-title,
.reviews-wrap #respond h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy, #012a5e);
  margin: 0 0 24px;
}

.reviews-wrap .comment-form-rating {
  margin-bottom: 20px;
}

.reviews-wrap .comment-form-rating label,
.reviews-wrap .comment-form-comment label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy, #012a5e);
  display: block;
  margin-bottom: 8px;
}

/* ── Textarea ─────────────────────────────────────────────────────────── */

.reviews-wrap .comment-form-comment {
  margin-bottom: 16px;
}

.reviews-wrap .comment-form-comment textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid rgba(1, 42, 94, .18);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #012a5e;
  background: #fff;
  resize: vertical;
  min-height: 130px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
  box-sizing: border-box;
}

.reviews-wrap .comment-form-comment textarea:focus {
  border-color: var(--primary, #00b6d9);
  box-shadow: 0 0 0 3px rgba(0, 182, 217, .12);
}

/* ── Submit button ────────────────────────────────────────────────────── */

.reviews-wrap .form-submit {
  margin: 0;
}

.reviews-wrap .form-submit input[type="submit"],
.reviews-wrap .form-submit .submit {
  display: inline-block !important;
  padding: 13px 32px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, var(--primary, #00b6d9), var(--primary-dark, #008fab)) !important;
  color: #fff !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px -4px rgba(0, 182, 217, .45) !important;
  transition: transform .2s ease, box-shadow .2s ease !important;
  letter-spacing: -.01em;
  text-shadow: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

.reviews-wrap .form-submit input[type="submit"]:hover,
.reviews-wrap .form-submit .submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 26px -4px rgba(0, 182, 217, .6) !important;
  color: #fff !important;
}

/* Required asterisk */
.reviews-wrap .required {
  color: #e74c3c;
}

/* ── Mobile slider dots ───────────────────────────────────────────────── */
.mobile-slider-dots {
  display: none;
}

/* ── Blog / Team / Feature → mobile sliders ──────────────────────────── */
@media (max-width: 768px) {
  .mobile-slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
  }

  .mobile-slider-dots button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(1, 42, 94, .18);
    cursor: pointer;
    padding: 0;
    transition: background .2s ease, transform .2s ease, width .2s ease;
  }

  .mobile-slider-dots button.active {
    background: var(--primary, #00b6d9);
    width: 22px;
    border-radius: 4px;
  }

  .blog-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 8px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .blog-grid::-webkit-scrollbar {
    display: none;
  }

  .blog-grid .blog-card {
    flex: 0 0 auto;
    width: calc(83vw - 24px);
    scroll-snap-align: start;
  }

  .team-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 8px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .team-grid::-webkit-scrollbar {
    display: none;
  }

  .team-grid .team-card {
    flex: 0 0 auto;
    width: calc(72vw - 24px);
    scroll-snap-align: start;
  }

  .feature-grid {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 8px 0 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .feature-grid::-webkit-scrollbar {
    display: none;
  }

  .feature-grid .feature-card {
    flex: 0 0 auto;
    width: calc(78vw - 24px);
    scroll-snap-align: start;
  }
}

/* ── Zaufali nam (brands marquee) ─────────────────────────────────────── */
.brands {
  padding: 52px 0 48px;
  background: var(--paper);
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.brands-header {
  text-align: center;
  margin-bottom: 32px;
}

.brands-scroll {
  overflow: hidden;
  width: 100%;
}

.brands-track {
  display: flex;
  width: max-content;
  animation: brandsScroll 24s linear infinite;
}

.brands-track:hover {
  animation-play-state: paused;
}

@keyframes brandsScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brand-logo {
  flex: 0 0 calc(100vw / 6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  height: 56px;
  opacity: .45;
  filter: grayscale(1);
  transition: opacity 0.25s, filter 0.25s;
}

.brand-logo:hover {
  opacity: .85;
  filter: none;
}

.brand-logo img {
  max-height: 100px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.brand-logo--placeholder {
  opacity: 1;
  filter: none;
}

.brand-logo--placeholder span {
  display: block;
  width: 80%;
  padding: 10px 0;
  text-align: center;
  border: 1.5px dashed #ccd5e0;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #b8c5d3;
}

@media (max-width: 900px) {
  .brand-logo {
    flex: 0 0 calc(100vw / 4);
  }
}

@media (max-width: 480px) {
  .brand-logo {
    flex: 0 0 calc(100vw / 2);
  }
}

/* ── Hero slide thumbnails ────────────────────────────────────────────── */
.hero-thumbs {
  position: absolute;
  bottom: -36px;
  left: 60px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.hero-thumb {
  width: 116px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid rgba(0, 10, 30, 0.40);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  cursor: pointer;
  opacity: 0.5;
  padding: 0;
  position: relative;
  transition: opacity 0.35s, border-color 0.35s, transform 0.35s;
  flex-shrink: 0;
}

.hero-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 30, 0.40);
  border-radius: inherit;
  transition: background 0.35s;
}

.hero-thumb:hover {
  opacity: 0.8;
}

.hero-thumb.active {
  opacity: 1;
  border-color: var(--primary, #00b6d9);
  transform: scale(1.06);
}

.hero-thumb.active::before {
  background: transparent;
}

/* progress bar */
.thumb-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--primary, #00b6d9);
  border-radius: 0 0 0 8px;
}

.hero-thumb.active .thumb-bar {
  animation: thumbProgress 5s linear forwards;
}

@keyframes thumbProgress {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .hero-thumbs {
    left: 50%;
    transform: translateX(-50%);
    bottom: -45px;
    gap: 7px;
  }

  .hero-thumb {
    width: 76px;
    height: 48px;
    border-radius: 7px;
  }
}

@media (max-width: 480px) {
  .hero-thumb {
    width: 56px;
    height: 36px;
    border-radius: 5px;
    border-width: 1.5px;
  }

  .thumb-bar {
    height: 2px;
  }
}

/* ── Gallery lightbox ─────────────────────────────────────────────────── */
#galleryLightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

#galleryLightbox.open {
  display: flex;
}

#galleryLightbox .lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 24, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: lbFadeIn 0.22s ease;
}

#galleryLightbox .lb-dialog {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 860px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbScaleIn 0.22s ease;
  background: var(--white);
}

#galleryLightbox .lb-img {
  display: block;
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

#galleryLightbox .lb-close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  color: #0c2136;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: background 0.15s, transform 0.15s;
  z-index: 2;
}

#galleryLightbox .lb-close:hover {
  background: #f0f4f8;
  transform: scale(1.1);
}

@keyframes lbFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes lbScaleIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ── O nas — section modifiers ────────────────────────────────────────── */
.properties--on {
  background: var(--white, #fff) !important;
}

.philosophy--on {
  background: var(--paper, #f4f8fc) !important;
}

.philosophy--on .eyebrow {
  color: var(--primary-dark, #008fab) !important;
}

.philosophy--on .eyebrow::before,
.philosophy--on .eyebrow::after {
  background: var(--primary, #00b6d9) !important;
}

.philosophy--on h2,
.philosophy--on p,
.philosophy--on li {
  color: var(--navy, #012a5e) !important;
}

/* btn-ghost — outlined button for light backgrounds */
.btn-ghost {
  background: transparent;
  border: 2px solid var(--primary, #00b6d9);
  color: var(--primary, #00b6d9);
  padding: 13px 32px;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  display: inline-block;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
  letter-spacing: -.01em;
  text-decoration: none;
}

.btn-ghost:hover {
  background: var(--primary, #00b6d9);
  color: #fff;
  box-shadow: 0 6px 20px -4px rgba(0, 182, 217, .4);
}

/* ── Brands marquee — white bg variant (O nas page) ─────────────────── */
.brands--white {
  background: var(--white, #fff) !important;
  overflow: hidden;
}