/* About: fullscreen sticky background video */
body.about {
  background: #0b0b0b;
  color: #fff;
  --text: #fff;
  --muted: rgba(255, 255, 255, 0.78);
  --line: rgba(255, 255, 255, 0.22);
}
.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.bg-scrim {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      1200px 800px at 10% 10%,
      rgba(255, 255, 255, 0.35),
      transparent 60%
    ),
    radial-gradient(
      900px 700px at 80% 70%,
      rgba(255, 255, 255, 0.25),
      transparent 60%
    );
}
.about .section,
.about .section--tight,
.about .section--split,
.about .section--cta {
  background: transparent;
  border: 0;
}
.about .feature,
.about .shot,
.about .summary-card,
.about .order-list {
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
/* dopimeble.pl — minimalistyczny, ultra-nowoczesny styl */
*:where(:not(html, iframe, canvas, img, svg, video):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}
img {
  max-width: 100%;
  display: block;
}
input,
textarea,
button {
  font: inherit;
}
/* Zawsze widoczny outline dla dostępności */
:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6b7280;
  --line: #e5e7eb;
  --accent: #0f0f0f;
  --radius: 14px;
  --container: 1200px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --toolbar-h: 56px; /* nadpisywane dynamicznie przez JS */
  --toolbar-width-collapsed: 56px;
  --toolbar-width-expanded: 220px;
  --font-heading: "Inter", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

body {
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    Inter,
    Roboto,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Page loader */
.page-loader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 999;
  display: grid;
  place-items: center;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.5s ease;
}
.page-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.page-loader__inner {
  text-align: center;
  display: grid;
  place-items: center;
  gap: 12px;
}
.page-loader__logo img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.12);
}
.page-loader__brand img {
  width: 200px;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.12);
}
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.nav {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}
.nav__menu {
  display: flex;
  gap: 20px;
  align-items: center;
}
.nav__toggle {
  display: none;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.logo {
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.2px;
}

.btn {
  background: var(--text);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.12);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn {
  position: relative;
  overflow: hidden;
}
.btn .rpl {
  position: absolute;
  pointer-events: none;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) scale(0);
  animation: rpl 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes rpl {
  to {
    transform: translate(-50%, -50%) scale(40);
    background: rgba(255, 255, 255, 0);
  }
}

/* Premium Diagonal Header */
.site-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  min-height: auto !important;
  background: transparent !important;
  border: none !important;
}

.nav-container {
  background: transparent !important;
  height: 50px !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  padding: 0 !important;
  pointer-events: none !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
}

.corner-logo,
.main-navigation,
.header-actions,
.mobile-menu-trigger {
  pointer-events: auto !important;
  background: #ffffff !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.corner-logo {
  padding-left: 30px !important;
  padding-right: 35px !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - 25px) 100%, 0 100%) !important;
  margin: 0 !important;
}

.corner-logo img {
  height: 28px !important;
  width: auto !important;
  filter: brightness(0) !important;
}

.main-navigation {
  padding: 0 70px !important;
  clip-path: polygon(0 0, 100% 0, calc(100% - 30px) 100%, 30px 100%) !important;
}

.main-navigation ul {
  display: flex !important;
  gap: 40px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.main-navigation ul li a {
  text-decoration: none !important;
  color: #111 !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.header-actions {
  padding-left: 60px !important;
  padding-right: 30px !important;
  gap: 40px !important;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 25px 100%) !important;
}

.header-actions-wrapper {
  display: flex !important;
  height: 50px !important;
  align-items: flex-start !important;
  pointer-events: auto !important;
}

.mobile-menu-trigger {
  display: none !important;
}

@media (max-width: 900px) {
  .main-navigation,
  .header-actions {
    display: none !important;
  }

  .corner-logo {
    padding-left: 20px !important;
    padding-right: 25px !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - 15px) 100%, 0 100%) !important;
  }

  .corner-logo img {
    height: 22px !important;
  }

  .mobile-menu-trigger {
    display: flex !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    clip-path: polygon(15px 0, 100% 0, 100% 100%, 0 100%) !important;
    border: none !important;
    cursor: pointer !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 10 !important;
    position: relative !important;
  }

  .mobile-menu-text {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #111 !important;
  }
}

/* Floating cart button (FAB) */
.cart-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}
.cart-fab__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
  position: relative;
  border: none;
}
.cart-fab__btn:hover {
  transform: scale(1.05);
}
.cart-fab__ico {
  font-size: 24px;
  display: block;
  line-height: 1;
}
.cart-fab__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #fff;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #000;
}
.cart-fab__price {
  position: absolute;
  bottom: -30px;
  right: 50%;
  transform: translateX(50%);
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.cart-fab__btn:hover + .cart-fab__price,
.cart-fab:hover .cart-fab__price {
  opacity: 1;
}

@media (max-width: 640px) {
  .cart-fab {
    right: 16px;
    bottom: 16px;
  }
  .cart-fab__btn {
    width: 56px;
    height: 56px;
  }
}

/* Media grid dla sekcji historia */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.media-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .media-grid img {
    height: 200px;
  }
}

/* Social media buttons */
.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(102, 102, 102, 0.1);
  border: 1px solid var(--line);
  transition: all 0.2s ease;
}
.social-btn:hover {
  background: rgba(102, 102, 102, 0.2);
  transform: translateY(-2px);
}
.tool-btn--social {
  opacity: 0.7;
}
.tool-btn--social:hover {
  opacity: 1;
}

/* Hero social media - na dole po lewej */
.hero__social {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 30;
  display: flex;
  gap: 12px;
}
.hero-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}
.hero-social-btn:hover {
  background: rgba(0, 0, 0, 0.25);
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.4);
}
@media (max-width: 640px) {
  .hero__social {
    left: 16px;
    bottom: calc(16px + var(--toolbar-h) + var(--safe-bottom));
  }
  .hero-social-btn {
    width: 44px;
    height: 44px;
  }
}

/* Zapobieganie horizontal overflow na mobile */
* {
  box-sizing: border-box;
}
html,
body {
  max-width: 100%;
}
.container {
  max-width: 100%;
  padding-left: 16px;
  padding-right: 16px;
}
img {
  max-width: 100%;
  height: auto;
}

/* Mobile-first responsive containers */
@media (max-width: 768px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .hero__content {
    padding-left: 12px;
    padding-right: 12px;
  }
  .split {
    gap: 16px;
  }
  .hero h1 {
    font-size: clamp(28px, 8vw, 48px);
  }
  .hero p {
    font-size: clamp(16px, 4vw, 18px);
  }
  .hero__cta {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .hero__cta .btn {
    text-align: center;
    padding: 14px 20px;
  }

  /* Better mobile spacing for sections */
  .section {
    padding: 48px 0;
  }
  .section--tight {
    padding: 36px 0;
  }
  .section--split {
    padding: 56px 0;
  }
  .section--cta {
    padding: 64px 0;
  }
  .section--band {
    padding: 16px 0;
  }

  /* USP improvements */
  .usps {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .usp {
    padding: 12px 16px;
    font-size: 14px;
  }

  /* Category cards better mobile */
  .cat-grid {
    gap: 12px;
    margin-top: 12px;
  }
  .cat-card span {
    left: 8px;
    bottom: 8px;
    padding: 6px 10px;
    font-size: 14px;
  }

  /* CTA actions mobile */
  .cta-actions {
    flex-direction: column;
    gap: 8px;
  }
  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }

  /* Products page mobile */
  .breadcrumbs {
    font-size: 13px;
    margin-bottom: 8px !important;
  }
  .filters {
    gap: 6px;
    margin-bottom: 12px;
  }
  .filters input[type="number"] {
    width: 80px;
    padding: 8px;
    font-size: 14px;
  }
  .filters select {
    padding: 8px;
    font-size: 14px;
  }
  .filters .btn {
    padding: 8px 12px;
    font-size: 14px;
  }
  .products-grid {
    gap: 12px;
  }
  .product__title {
    font-size: 16px;
  }
  .product__price {
    font-size: 14px;
  }

  /* Product page improvements */
  .price-lg {
    font-size: 20px;
  }
  .pdp-anchors {
    gap: 6px;
    margin: 4px 0 8px;
  }
  .pdp-anchors a {
    padding: 6px 10px;
    font-size: 13px;
  }

  /* Contact page mobile */
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  .contact-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .form-actions {
    flex-direction: column;
  }
  .form-actions .btn {
    width: 100%;
  }

  /* Cart & Checkout mobile */
  .cart-shell {
    grid-template-columns: 1fr;
  }
  .cart-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 8px;
    text-align: center;
  }
  .c-prod {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .c-prod img {
    width: 48px;
    height: 48px;
  }
  .c-qty {
    width: 60px;
    margin: 0 auto;
  }
  .cart-actions {
    flex-direction: column;
    gap: 8px;
  }
  .coupon {
    flex-direction: column;
  }
  .summary-card {
    position: static;
  }

  /* Order form mobile */
  .order-shell {
    grid-template-columns: 1fr;
  }
  .order-form--split .form-grid {
    grid-template-columns: 1fr;
  }

  /* About Nataniel mobile */
  .about-hero {
    padding: 4rem 0 2rem;
  }
  .about-hero__inner {
    padding: 2rem 1rem;
  }
  .about-logo {
    width: 48px;
    height: 48px;
  }
  .about-tag {
    font-size: 14px;
    margin: 1rem 0;
  }
  .about-cta {
    flex-direction: column;
    gap: 8px;
  }
  .applied-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .applied-card {
    padding: 1.5rem;
  }
  .applied-ico {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .feature {
    padding: 1.5rem;
  }
  .feature--wide,
  .feature--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .logo-row {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .logo-pill {
    padding: 0.5rem 1rem;
    font-size: 12px;
  }

  /* General mobile fixes */
  .main {
    padding: 0;
  }
  .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  .section {
    padding: 2rem 0;
  }
  .section--tight {
    padding: 1.5rem 0;
  }
  .hero {
    min-height: 60vh;
  }
  .hero__content {
    padding: 2rem 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cat-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .footer__inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer__nav {
    order: -1;
  }
  .breadcrumbs {
    font-size: 12px;
    margin: 0.5rem 0;
  }
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 14px;
  }

  /* Product page mobile */
  .pdp-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .pdp-gallery {
    margin-bottom: 1rem;
  }
  .pdp-thumbs {
    gap: 8px;
  }
  .pdp-thumb {
    width: 60px;
    height: 60px;
  }
  .pdp-details {
    padding: 1rem;
  }
  .variant-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .param-modal .modal-content {
    margin: 1rem;
    max-height: 80vh;
  }

  /* Cart mobile */
  .cart-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .cart-item {
    padding: 1rem;
  }
  .cart-item-content {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
  .cart-item-info {
    order: 1;
  }
  .cart-item-controls {
    order: 2;
    justify-content: space-between;
    width: 100%;
  }
  .cart-item-image {
    order: 0;
    margin-bottom: 0.5rem;
  }

  /* Blog mobile */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .blog-card {
    padding: 1.5rem;
  }
  .blog-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  /* Contact mobile improvements */
  .contact-shell {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .contact-form {
    padding: 1.5rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}
.cart-mini {
  position: absolute;
  right: 0;
  bottom: 80px;
  width: min(92vw, 360px);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
  padding: 12px;
  display: none;
}
.cart-fab:hover .cart-mini {
  display: block;
}
.mini-empty {
  color: #6b7280;
  padding: 6px 4px;
}
.mini-list {
  display: grid;
  gap: 10px;
  max-height: 50vh;
  overflow: auto;
}
.mini-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  align-items: center;
}
.mini-row img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}
.mini-name {
  font-weight: 600;
}
.mini-var {
  color: #6b7280;
  font-size: 13px;
}
.mini-meta {
  color: #111;
  font-weight: 600;
}
.mini-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 8px;
}
.mini-cta {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* Cookie bar base styles (shared by PHP/JS injection) */
.cookiebar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cookiebar[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.cookiebar__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}
.cookiebar__actions {
  display: flex;
  gap: 8px;
}
@media (max-width: 720px) {
  .cookiebar__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cookiebar {
    transition: none;
  }
}

/* Credit badge */
.credit-badge {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 120;
}
.credit-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  animation: badgeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both;
}
.credit-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.12);
}
.credit-copy {
  display: grid;
  line-height: 1.1;
}
.credit-k {
  color: #6b7280;
  font-size: 12px;
}
.credit-n {
  font-size: 14px;
  letter-spacing: 0.2px;
}
.credit-cta {
  margin-left: 6px;
}
@keyframes badgeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 720px) {
  .credit-inner {
    padding: 8px 10px;
  }
  .credit-cta {
    display: none;
  }
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.cookie-modal.in {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1200px 800px at 10% 10%,
      rgba(0, 0, 0, 0.55),
      transparent 60%
    ),
    radial-gradient(
      800px 600px at 90% 90%,
      rgba(0, 0, 0, 0.45),
      transparent 60%
    );
}
.cookie-modal__panel {
  position: absolute;
  left: 50%;
  top: 8vh;
  transform: translate(-50%, -8px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  width: min(100% - 2rem, 760px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}
.cookie-modal.in .cookie-modal__panel {
  transform: translate(-50%, 0) scale(1);
}
.cookie-apple {
  position: relative;
  overflow: hidden;
}
.cookie-liquid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cookie-liquid .blob {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 12s ease-in-out infinite;
}
.cookie-liquid .b1 {
  left: -60px;
  top: -40px;
  background: radial-gradient(120px 120px at 50% 50%, #3b82f6, transparent);
}
.cookie-liquid .b2 {
  right: -80px;
  top: 20%;
  background: radial-gradient(120px 120px at 50% 50%, #f43f5e, transparent);
  animation-delay: -4s;
}
.cookie-liquid .b3 {
  left: 40%;
  bottom: -80px;
  background: radial-gradient(120px 120px at 50% 50%, #10b981, transparent);
  animation-delay: -8s;
}
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0);
  }
}
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.glass-chip {
  padding: 8px 12px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

/* Fullscreen credit intro */
.credit-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
}
.credit-modal.in {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.credit-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      900px 600px at 10% 10%,
      rgba(255, 255, 255, 0.6),
      transparent 60%
    ),
    radial-gradient(
      800px 600px at 80% 70%,
      rgba(255, 255, 255, 0.5),
      transparent 60%
    ),
    #0a0a0a;
  opacity: 0.9;
}
.credit-panel {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(100% - 2rem, 860px);
  text-align: center;
  color: #111;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.35);
}
.credit-mark {
  display: block;
  margin: 0 auto 8px auto;
  filter: grayscale(100%) brightness(0.12);
}
.credit-title {
  font-size: clamp(28px, 6vw, 56px);
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}
.credit-sub {
  margin: 0 0 16px 0;
  color: #374151;
}
@media (max-width: 720px) {
  .credit-panel {
    padding: 20px;
  }
}
.cookie-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.86)
  );
}
.cookie-modal__body {
  padding: 16px 18px;
}
.credit-mini {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
}
.credit-mini__logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.12);
}
.credit-mini__text {
  font-size: 13px;
  color: #374151;
}
.credit-mini__text a {
  color: #111;
  text-decoration: underline;
}
.cookie-modal__actions {
  display: flex;
  gap: 10px;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.cookie-close {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}
@media (max-width: 720px) {
  .cookie-modal__panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: translateY(12px);
    width: 100%;
    border-radius: 16px 16px 0 0;
  }
  .cookie-modal.in .cookie-modal__panel {
    transform: translateY(0);
  }
  .cookie-modal__actions {
    flex-direction: column;
  }
}
.cookie-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-top: 1px dashed var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.86)
  );
  font-size: 13px;
  color: #374151;
}
.cookie-credit__logo {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.12);
}
.cookie-credit a {
  color: #111;
  text-decoration: underline;
}
@media (max-width: 520px) {
  .cookiebar {
    left: 8px;
    right: 8px;
  }
  .cookiebar__inner {
    padding: 12px;
    border-radius: 12px;
    gap: 10px;
  }
  .cookiebar__inner,
  .cookiebar__inner * {
    font-size: 15px;
  }
  .cookiebar__actions {
    width: 100%;
  }
  .cookiebar__actions .btn {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
    padding: 12px;
  }
}
@media (max-width: 960px) {
  .site-logo {
    padding: 6px 8px;
  }
  .site-logo img {
    height: 32px;
  }
}
.hero__content {
  position: relative;
  padding: 18svh 0 10svh;
  text-wrap: balance;
}
.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: -0.02em;
}
.hero h1 br {
  display: block;
}
.hero p {
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(16px, 2.2vw, 20px);
}
.hero__cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
}

@media (max-width: 720px) {
  .hero__content {
    padding-bottom: calc(16svh + var(--toolbar-h) + var(--safe-bottom));
  }
}

.main {
  display: grid;
  gap: 4rem;
}
.section {
  padding: 64px 0;
}
.section--tight {
  padding: 48px 0;
}
.section--split {
  padding: 72px 0;
}
.section--cta {
  padding: 96px 0;
  background: #fafafa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
/* Akcentowane nagłówki sekcji */
.section > .container > h2 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section > .container > h2::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--line), transparent);
  border-radius: 1px;
}
/* pas specjalny z USP */
.section--band {
  padding: 20px 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.usps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  align-items: center;
}
.usp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.4s ease,
    border-color 0.25s ease;
}
.usp::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    1200px 1200px at var(--mx, 50%) var(--my, 50%),
    rgba(17, 17, 17, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}
.usp:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  border-color: rgba(17, 17, 17, 0.12);
}
.usp:hover::after {
  opacity: 1;
}
@media (max-width: 900px) {
  .usps {
    grid-template-columns: repeat(2, 1fr);
  }
}

h2 {
  font-size: clamp(24px, 3.6vw, 36px);
  letter-spacing: -0.01em;
}
p {
  color: var(--muted);
}

.products-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(
    auto-fill,
    minmax(260px, 1fr)
  ); /* 260px for tighter cards */
  gap: 16px;
}
.prod-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  align-items: start;
}
.prod-aside {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  position: sticky;
  top: 16px;
  height: fit-content;
}
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 16px 0;
}
.card {
  grid-column: span 12;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}
.card__media {
  position: relative;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.card:hover .card__media img {
  transform: scale(1.03);
}
.card__body {
  padding: 16px;
  display: grid;
  gap: 6px;
}
.product__title {
  font-size: 18px;
  color: var(--text);
}
.product__price {
  color: var(--text);
  font-weight: 600;
}

/* Cart */
.cart-form {
  display: grid;
  gap: 16px;
}
.cart-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}
.cart-table {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.cart-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.6fr 0.6fr 0.4fr;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.cart-row--head {
  background: #fafafa;
  font-weight: 600;
}
.cart-row:last-child {
  border-bottom: none;
}
.c-prod {
  display: flex;
  align-items: center;
  gap: 12px;
}
.c-prod img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.c-qty {
  width: 80px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.cart-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.cart-update {
  flex-shrink: 0;
}
.coupon {
  display: flex;
  gap: 8px;
}
.coupon input {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.summary-card {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}
.sum-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #374151;
}
.sum-row--total {
  font-size: 18px;
  border-top: 1px dashed var(--line);
  padding-top: 8px;
  margin-top: 4px;
}
.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cart-summary .btn {
  min-width: 180px;
}
.order-box {
  display: grid;
  gap: 16px;
}
.order-shell {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: start;
}
.order-summary {
  position: sticky;
  top: 18px;
}
.order-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
}
.order-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.order-row--sum {
  background: #fafafa;
  font-weight: 700;
}
.order-form {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}
.order-form label {
  display: grid;
  gap: 6px;
}
.order-form input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.order-form--split .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.steps-bar {
  display: flex;
  gap: 10px;
  margin: 8px 0 16px;
}
.steps-bar .step {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  color: #374151;
}
.steps-bar .step.is-active {
  border-color: #111;
}
.steps-bar .step.is-done {
  background: #111;
  color: #fff;
  border-color: #111;
}
.steps-bar .step span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #e5e7eb;
  color: #111;
  font-weight: 700;
}
.steps-bar .step.is-active span,
.steps-bar .step.is-done span {
  background: #fff;
  color: #111;
}

@media (max-width: 900px) {
  .order-shell {
    grid-template-columns: 1fr;
  }
  .order-form--split .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 600px) {
  .card {
    grid-column: span 6;
  }
}
@media (min-width: 960px) {
  .card {
    grid-column: span 3;
  }
}

@media (max-width: 900px) {
  .cart-shell {
    grid-template-columns: 1fr;
  }
  .summary-card {
    position: static;
  }
}

.split {
  display: grid;
  gap: 24px;
}
@media (min-width: 960px) {
  .split {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 48px;
  }
}
.history-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
/* Kategorie */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.cat-card {
  grid-column: span 12;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  display: block;
  transition:
    box-shadow 0.3s ease,
    transform 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
}
.cat-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.cat-card:hover img {
  transform: scale(1.04);
}
.cat-card span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 600;
}
@media (min-width: 720px) {
  .cat-card {
    grid-column: span 6;
  }
}
@media (min-width: 1040px) {
  .cat-card {
    grid-column: span 3;
  }
}

.cta-actions {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* Kroki procesu */
.steps {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  overflow: hidden;
}
.steps li::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.08), transparent);
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.step__body h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
}
@media (min-width: 960px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* Story sekcja z video/obrazem */
.section--story {
  background: #fafafa;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.story-grid {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 960px) {
  .story-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}
.story-media {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}
.story-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.06));
  pointer-events: none;
}
.story-media .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(17, 17, 17, 0.92);
  color: #fff;
  border: 1px solid rgba(17, 17, 17, 0.92);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}
.story-copy .bullets {
  margin: 10px 0 0;
  padding-left: 18px;
}
.story-copy .bullets li {
  margin: 6px 0;
}

/* Testimonials + trust */
.testimonials {
  display: grid;
  gap: 24px;
}
.testi-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 20px;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.08);
  position: relative;
}
.testi-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.12), transparent);
}
.testi-card blockquote {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #111;
}
.testi-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6b7280;
}
.avatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
}
.trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.trust-logos {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.tlogo {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  color: #6b7280;
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

/* === FAQ SECTION === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #000;
}

.faq-item h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

.faq-item p {
  margin: 0;
  color: #666;
  line-height: 1.6;
}

/* === CITIES SECTION === */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.city-group {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #000;
}

.city-group h3 {
  margin: 0 0 1rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
}

.city-group ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #666;
}

.city-group li {
  margin: 0.5rem 0;
  line-height: 1.5;
}

.cities-text {
  margin-top: 3rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  text-align: center;
}

.cities-text p {
  margin: 1rem 0;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.cities-text strong {
  color: #000;
  font-weight: 600;
}

/* Insights (blog) */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.insight-card {
  grid-column: span 12;
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition:
    box-shadow 0.3s ease,
    transform 0.25s ease;
}
.insight-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.12);
}
.insight-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.insight-card:hover img {
  transform: scale(1.04);
}
.insight-body h3 {
  margin: 0 0 6px 0;
  font-size: 18px;
}
.insight-body p {
  margin: 0;
  color: var(--muted);
}
.insight-body {
  padding: 14px;
}
@media (min-width: 720px) {
  .insight-card {
    grid-column: span 6;
  }
}
@media (min-width: 1040px) {
  .insight-card {
    grid-column: span 4;
  }
}

/* About (author) — Notion/Apple/Stripe mix */
.about-hero {
  position: relative;
  padding: 80px 0 40px;
  overflow: hidden;
}
.about-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.about-mesh span {
  position: absolute;
  width: 480px;
  height: 480px;
  opacity: 0.25;
  border-radius: 50%;
}
.about-mesh span:nth-child(1) {
  left: -120px;
  top: -80px;
  background: #60a5fa;
}
.about-mesh span:nth-child(2) {
  right: -180px;
  top: 20%;
  background: #f472b6;
}
.about-mesh span:nth-child(3) {
  left: 40%;
  bottom: -180px;
  background: #34d399;
}
.about-bgvid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
  filter: saturate(1.2);
}
.about-canvas {
  display: none;
}
/* Flow layout (karty w treści, nie przypięte) */
.about-flow {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.about-flow .info-card--flow {
  position: relative;
  min-height: 180px;
  grid-column: span 12;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.about-flow .info-card--flow.in {
  opacity: 1;
  transform: none;
}
@media (min-width: 720px) {
  .about-flow .info-card--flow[data-span="4"] {
    grid-column: span 4;
  }
  .about-flow .info-card--flow[data-span="6"] {
    grid-column: span 6;
  }
  .about-flow .info-card--flow[data-span="8"] {
    grid-column: span 8;
  }
}
.about-flow .info-chip--flow {
  position: relative;
  opacity: 1;
  transform: none;
  align-self: start;
  justify-self: start;
}
.about-flow .drift {
  animation: drift var(--dur, 12s) ease-in-out infinite alternate;
}
@keyframes drift {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}
.info-card {
  position: absolute;
  min-width: 220px;
  min-height: 120px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 14px;
  overflow: hidden;
  opacity: 0;
  transform: translate3d(0, 20px, 0) scale(0.98);
  transition:
    opacity 0.6s ease,
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  --accent: #fff;
}
.info-card.in {
  opacity: 1;
  transform: none;
}
.info-card h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.info-card p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
}
.info-card .flare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    420px 280px at var(--fx, 60%) var(--fy, 40%),
    rgba(255, 255, 255, 0.2),
    transparent 60%
  );
}
.info-card[data-theme="pink"] {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(244, 63, 94, 0.08)
  );
  border-color: rgba(255, 255, 255, 0.22);
  --accent: #f472b6;
}
.info-card[data-theme="blue"] {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(59, 130, 246, 0.08)
  );
  border-color: rgba(255, 255, 255, 0.22);
  --accent: #60a5fa;
}
.info-card[data-theme="green"] {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(16, 185, 129, 0.08)
  );
  border-color: rgba(255, 255, 255, 0.22);
  --accent: #34d399;
}
.path {
  position: absolute;
  width: 1px;
  height: 1px;
}
.info-chip {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 13px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.info-chip.in {
  opacity: 1;
  transform: none;
}
/* Zawartość kart */
.info-card .rows {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}
.info-card .row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
}
.info-card .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    var(--accent),
    rgba(255, 255, 255, 0)
  );
  box-shadow: 0 0 12px var(--accent);
}
.info-card .tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.info-card .tag {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.info-card .cta-mini {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}
.info-card .cta-mini:hover {
  background: rgba(255, 255, 255, 0.12);
}
/* Ambient animation inside cards */
.info-card .ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  filter: saturate(140%);
  opacity: 0.5;
}
.info-card .ambient .a {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  animation: moveBlob var(--dur, 16s) ease-in-out var(--del, 0s) infinite
    alternate;
}
@keyframes moveBlob {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(16%, -10%) scale(1.08);
  }
  100% {
    transform: translate(-12%, 8%) scale(0.96);
  }
}
/* theme variations */
.info-card[data-theme="blue"] .ambient .a1 {
  left: -40px;
  top: -20px;
  background: radial-gradient(
    closest-side,
    rgba(96, 165, 250, 0.9),
    transparent
  );
  --dur: 18s;
}
.info-card[data-theme="blue"] .ambient .a2 {
  right: -60px;
  top: 20%;
  background: radial-gradient(
    closest-side,
    rgba(139, 92, 246, 0.8),
    transparent
  );
  --dur: 16s;
  --del: -4s;
}
.info-card[data-theme="blue"] .ambient .a3 {
  left: 30%;
  bottom: -60px;
  background: radial-gradient(
    closest-side,
    rgba(34, 211, 238, 0.75),
    transparent
  );
  --dur: 20s;
  --del: -8s;
}
.info-card[data-theme="pink"] .ambient .a1 {
  left: -40px;
  top: -20px;
  background: radial-gradient(
    closest-side,
    rgba(244, 114, 182, 0.9),
    transparent
  );
  --dur: 18s;
}
.info-card[data-theme="pink"] .ambient .a2 {
  right: -60px;
  top: 20%;
  background: radial-gradient(
    closest-side,
    rgba(251, 113, 133, 0.8),
    transparent
  );
  --dur: 16s;
  --del: -4s;
}
.info-card[data-theme="pink"] .ambient .a3 {
  left: 30%;
  bottom: -60px;
  background: radial-gradient(
    closest-side,
    rgba(250, 204, 21, 0.55),
    transparent
  );
  --dur: 20s;
  --del: -8s;
}
.info-card[data-theme="green"] .ambient .a1 {
  left: -40px;
  top: -20px;
  background: radial-gradient(
    closest-side,
    rgba(16, 185, 129, 0.9),
    transparent
  );
  --dur: 18s;
}
.info-card[data-theme="green"] .ambient .a2 {
  right: -60px;
  top: 20%;
  background: radial-gradient(
    closest-side,
    rgba(34, 197, 94, 0.75),
    transparent
  );
  --dur: 16s;
  --del: -4s;
}
.info-card[data-theme="green"] .ambient .a3 {
  left: 30%;
  bottom: -60px;
  background: radial-gradient(
    closest-side,
    rgba(45, 212, 191, 0.65),
    transparent
  );
  --dur: 20s;
  --del: -8s;
}
.float-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.float-blob {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(17, 17, 17, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  animation: float2 12s ease-in-out infinite;
}
.fb1 {
  left: 8%;
  top: 18%;
}
.fb2 {
  right: 12%;
  top: 26%;
  animation-delay: -3s;
}
.fb3 {
  left: 18%;
  bottom: 20%;
  animation-delay: -6s;
}
.fb4 {
  right: 22%;
  bottom: 18%;
  animation-delay: -9s;
}
.fb5 {
  left: 45%;
  top: 40%;
  animation-delay: -12s;
}
@keyframes float2 {
  0% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-18px) rotate(2deg);
  }
  100% {
    transform: translateY(0) rotate(0);
  }
}
.sparkle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}
.sparkle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(255, 255, 255, 0.95),
    rgba(255, 255, 255, 0)
  );
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.35));
  opacity: 0.85;
  animation: twinkle var(--tw, 4s) ease-in-out var(--td, 0s) infinite alternate;
}
@keyframes twinkle {
  0% {
    transform: scale(0.8);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.95;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
}
.about-hero__inner {
  position: relative;
  text-align: center;
}
.about-logo {
  filter: grayscale(100%) brightness(0.12);
  margin: 0 auto 8px;
}
.about-hero__inner h1 {
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}
.about-tag {
  color: #e5e7eb;
}
.about-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 12px;
}
.about .btn {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.about .btn:hover {
  background: rgba(255, 255, 255, 0.12);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}
.about .btn--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.about .btn--primary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.about
  :where(
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    li,
    small,
    span,
    em,
    strong,
    a,
    blockquote
  ) {
  color: rgba(255, 255, 255, 0.96);
}
.about h1,
.about h2,
.about h3 {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.28);
}
.about a {
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}
.about a:hover {
  text-decoration-color: rgba(255, 255, 255, 0.95);
}
.about .muted,
.about .about-tag {
  color: rgba(255, 255, 255, 0.78);
}
.about .glass-chip {
  color: #fff;
}
.about .tlogo {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.feature {
  grid-column: span 4;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
  text-align: center;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
}
.feature--wide {
  grid-column: span 6;
}
.feature--tall {
  grid-row: span 2;
  height: 100%;
}
.feature .ico {
  font-size: 28px;
}
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  background: transparent;
}
.marquee__track {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  animation: marquee 20s linear infinite;
  will-change: transform;
}
.pill {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.shot {
  position: relative;
  min-height: 200px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
}
.shot--wide {
  grid-column: span 2;
}
.shot--tall {
  grid-row: span 2;
}
.shot__glass {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.06));
}
@media (max-width: 960px) {
  .feature {
    grid-column: span 6;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* About: dodatkowe sekcje */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.service {
  grid-column: span 6;
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: #fff;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.step-card {
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  text-align: center;
  color: #fff;
}
.logo-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.logo-pill {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}
/* APPLIED grid */
.applied-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.applied-card {
  grid-column: span 12;
  position: relative;
  border-radius: 20px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.applied-card h3 {
  margin: 0 0 8px 0;
}
.applied-ico {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 20px;
  opacity: 0.9;
}
.applied-list {
  margin: 0;
  padding-left: 18px;
}
.applied-list li {
  margin: 6px 0;
}
.applied-card--kpi {
  display: grid;
  place-items: center;
  text-align: center;
}
.applied-kpis {
  display: flex;
  gap: 18px;
}
.applied-kpis div {
  display: grid;
  gap: 6px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
}
.applied-kpis span {
  font-weight: 800;
  font-size: clamp(22px, 6vw, 40px);
}
@media (min-width: 960px) {
  .applied-card {
    grid-column: span 4;
  }
  .applied-card--kpi {
    grid-column: span 12;
  }
}

/* Big CTA button */
.big-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 26px;
  border-radius: 18px;
  font-size: clamp(16px, 2.6vw, 22px);
  letter-spacing: 0.2px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease,
    background 0.25s ease;
}
.big-cta__btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.3);
}
.big-cta__btn::after {
  content: "↗";
  font-size: 0.9em;
  opacity: 0.9;
}
/* Instagram + newsletter */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.insta-grid img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: transform 0.4s ease;
}
.insta-grid img:hover {
  transform: scale(1.03);
}
.newsletter {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.newsletter input {
  border: 0;
  padding: 12px 14px;
  min-width: 220px;
}
.newsletter .btn {
  padding: 10px 14px;
}
@media (max-width: 720px) {
  .newsletter {
    flex-wrap: wrap;
    border-radius: 16px;
  }
}

/* Product variants UI */
.variant-box {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  background: #fff;
  cursor: pointer;
}
.chip img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.chip.is-active {
  border-color: #111;
  background: #111;
  color: #fff;
}
.chip:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.price-lg {
  font-size: 24px;
  font-weight: 600;
}

/* PDP (Product Detail Page) */
.breadcrumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a {
  color: inherit;
}
.pdp-anchors {
  display: flex;
  gap: 10px;
  margin: 6px 0 12px;
}
.pdp-anchors a {
  display: inline-block;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--text);
}
.pdp-anchors a:hover {
  background: #fafafa;
}
.pdp {
  display: grid;
  gap: 24px;
}
@media (min-width: 769px) {
  .pdp {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    grid-template-areas:
      "bc bc"
      "desc gal";
    align-items: start;
    column-gap: 28px;
  }
}
.pdp-bc {
  grid-area: bc;
}
.pdp-gallery {
  grid-area: gal;
}
.pdp-summary {
  grid-area: sum;
}
.description-desktop {
  grid-area: desc;
}
.pdp-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.pdp-gallery.has-thumbs {
  grid-template-columns: 96px 1fr;
}

/* Gallery na desktop ma layout pionowy: obrazek na górze, summary na dole */
@media (min-width: 769px) {
  .pdp-gallery {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .pdp-gallery.has-thumbs {
    display: grid;
    grid-template-rows: 1fr auto;
    grid-template-columns: 96px 1fr;
    gap: 12px 12px;
    grid-template-areas:
      "thumbs media"
      "summary summary";
  }
  .pdp-thumbs {
    grid-area: thumbs;
  }
  .pdp-media-wrapper {
    grid-area: media;
  }
  .pdp-summary {
    grid-area: summary;
  }
}
@media (max-width: 720px) {
  .pdp-gallery,
  .pdp-gallery.has-thumbs {
    grid-template-columns: 1fr;
  }
}
.pdp-thumbs {
  display: grid;
  gap: 8px;
  max-height: 70vh;
  overflow: auto;
  mask-image: linear-gradient(#000, #000 90%, transparent);
}
.pdp-thumbs button {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.pdp-thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}
/* Media wrapper z strzałkami na zewnątrz */
.pdp-media-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pdp-media {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
  flex: 1;
}
.pdp-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Strzałki galerii - na zewnątrz zdjęcia */
.pdp-arrow {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.pdp-arrow:hover {
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.pdp-arrow:active {
  transform: scale(0.95);
}

.pdp-arrow svg {
  width: 20px;
  height: 20px;
  color: #333;
}

/* Aktywna miniatura */
.pdp-thumbs button.active {
  border-color: #111;
  box-shadow: 0 0 0 2px rgba(17, 17, 17, 0.1);
}

/* Mobile responsive dla strzałek */
@media (max-width: 720px) {
  .pdp-media-wrapper {
    gap: 12px;
  }
  .pdp-arrow {
    width: 36px;
    height: 36px;
  }
  .pdp-arrow svg {
    width: 16px;
    height: 16px;
  }
}
.pdp-desc {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}
.pdp-desc--mobile {
  display: none;
} /* Ukryj domyślnie, pokaz tylko na mobile */
.pdp-desc p:last-child {
  margin-bottom: 0;
}
.pdp-desc h1,
.pdp-desc h2,
.pdp-desc h3 {
  margin-top: 0;
}

/* RTE typografia na PDP — zgodna z edytorem w adminie */
.pdp-desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}
.pdp-desc h1 {
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: -0.02em;
  margin-bottom: 0.5em;
  line-height: 1.15;
}
.pdp-desc h2 {
  font-size: clamp(24px, 3.6vw, 36px);
  letter-spacing: -0.01em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.pdp-desc h3 {
  font-size: clamp(20px, 3vw, 28px);
  margin-bottom: 0.5em;
  line-height: 1.25;
}
.pdp-desc h4 {
  font-size: clamp(18px, 2.6vw, 22px);
  margin-bottom: 0.5em;
}
.pdp-desc p {
  margin-bottom: 1em;
}
.pdp-desc ul,
.pdp-desc ol {
  margin-left: 1.5em;
  margin-bottom: 1em;
}
.pdp-desc li {
  margin-bottom: 0.5em;
}
.pdp-desc blockquote {
  border-left: 4px solid var(--line);
  padding-left: 1em;
  margin-left: 0;
  margin-bottom: 1em;
  color: var(--muted);
}
.pdp-desc a {
  color: var(--accent);
  text-decoration: underline;
}
.pdp-desc .lead {
  font-size: 1.2em;
  font-weight: 500;
}
.pdp-desc .muted {
  color: var(--muted);
}
.pdp-desc .text-left {
  text-align: left;
}
.pdp-desc .text-center {
  text-align: center;
}
.pdp-desc .text-right {
  text-align: right;
}
.pdp-desc img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.pdp-desc table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
}
.pdp-desc table th,
.pdp-desc table td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
}
.pdp-summary {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
}
.pdp-summary h1 {
  font-size: clamp(22px, 3.2vw, 32px);
  letter-spacing: -0.01em;
}
.pdp-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--muted);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  background: #fff;
  font-size: 12px;
}
.badge--ok {
  background: #ecfdf5;
  border-color: #a7f3d0;
  color: #065f46;
}
.stars {
  display: inline-flex;
  gap: 2px;
  color: #f59e0b;
}
.stars svg {
  display: block;
}
.info-rows {
  display: grid;
  gap: 8px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding: 6px 0;
  color: var(--muted);
}
.trust {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}
.trust img {
  width: 28px;
  height: 28px;
}
.pdp-features {
  display: grid;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #fff;
}
.accordion {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.accordion details {
  border-bottom: 1px solid var(--line);
}
.accordion details:last-child {
  border-bottom: none;
}
.accordion summary {
  padding: 14px 16px;
  list-style: none;
  cursor: pointer;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion .acc-body {
  padding: 0 16px 14px;
}

/* Parametry produktu tabela */
.param-table {
  width: 100%;
  border-collapse: collapse;
}
.param-table th,
.param-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}
.param-table th {
  width: 40%;
  color: #374151;
  font-weight: 600;
  background: #fafafa;
}
.param-table tr:last-child th,
.param-table tr:last-child td {
  border-bottom: none;
}

/* Parametry modal */
.param-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}
.param-modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.param-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      1200px 600px at 10% 10%,
      rgba(0, 0, 0, 0.45),
      transparent 60%
    ),
    radial-gradient(
      800px 600px at 90% 90%,
      rgba(0, 0, 0, 0.35),
      transparent 60%
    );
  backdrop-filter: blur(6px);
}
.param-modal__panel {
  position: absolute;
  left: 50%;
  top: 8vh;
  transform: translate(-50%, -12px) scale(0.98);
  transition:
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.35s ease;
  width: min(100% - 2rem, 860px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px) saturate(120%);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
}
.param-modal[aria-hidden="false"] .param-modal__panel {
  transform: translate(-50%, 0) scale(1);
}
.param-modal__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle at 12% -10%,
      rgba(15, 15, 15, 0.05),
      transparent 40%
    ),
    radial-gradient(
      circle at 100% 100%,
      rgba(15, 15, 15, 0.05),
      transparent 40%
    );
  pointer-events: none;
}
.param-modal__head {
  position: sticky;
  top: 0;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.92),
    rgba(255, 255, 255, 0.86)
  );
  backdrop-filter: blur(10px);
  z-index: 2;
}
.param-handle {
  display: none;
}
.param-modal__head h3 {
  margin: 0;
  font-size: 18px;
}
.param-modal__head .param-count {
  color: var(--muted);
  font-size: 13px;
  margin-left: auto;
  margin-right: 12px;
}
.param-modal__body {
  padding: 0;
  max-height: 70vh;
  overflow: auto;
}
.param-modal__body .param-table {
  border-radius: 0 0 20px 20px;
  overflow: hidden;
}
.param-close {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px;
  cursor: pointer;
}

/* Bottom sheet na mobile */
@media (max-width: 720px) {
  .param-modal__panel {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    transform: translateY(12px);
    width: 100%;
    border-radius: 16px 16px 0 0;
  }
  .param-modal[aria-hidden="false"] .param-modal__panel {
    transform: translateY(0);
  }
  .param-modal__body {
    max-height: 62vh;
  }
  .param-handle {
    display: block;
    width: 48px;
    height: 5px;
    border-radius: 999px;
    background: #e5e7eb;
    margin-right: auto;
  }
}

/* Tabela w modalu — dopieszczenie */
.param-table tr:hover td,
.param-table tr:hover th {
  background: #fafafa;
}
.param-table th {
  position: relative;
}
.param-table th::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(180deg, #111, transparent);
  opacity: 0.06;
}

/* Param content list */
.param-toolbar {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(255, 255, 255, 0.88)
  );
  position: sticky;
  top: 0;
  z-index: 1;
}
.param-toolbar input[type="search"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.param-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.param-item {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.param-ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: #111;
  color: #fff;
  font-weight: 700;
}
.param-name {
  font-weight: 600;
}
.param-val {
  color: #374151;
}
.param-copy {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
}
.param-item:hover {
  background: #fafafa;
}

@media (max-width: 720px) {
  .pdp {
    gap: 16px;
    display: flex;
    flex-direction: column;
  }
  .pdp-gallery {
    order: 1;
  }
  .pdp-summary {
    order: 2;
  }
  .pdp-desc {
    order: 3;
  }
  .pdp-summary {
    position: static;
    top: auto;
    padding: 14px;
    border-radius: 12px;
  }
  .pdp-summary h1 {
    font-size: clamp(20px, 6vw, 26px);
  }
  .pdp-desc {
    padding: 14px;
    border-radius: 12px;
  }
  .pdp-gallery {
    grid-template-columns: 1fr !important;
  }
  .pdp-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    max-height: none;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }
  .pdp-thumbs button {
    flex: 0 0 auto;
  }
  .pdp-thumbs img {
    width: 72px;
    height: 72px;
  }
  .cta-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .cta-actions .btn {
    width: 100%;
    text-align: center;
  }
  .qty {
    width: 100%;
    justify-content: space-between;
  }
  .qty input {
    flex: 1 1 auto;
    max-width: 80px;
  }
  .variant-row {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }
  .variant-row .chip {
    flex: 0 0 auto;
  }
  .card__body {
    padding: 14px;
    gap: 8px;
  }
  .product__title {
    font-size: 16px;
  }
  /* Responsive layout handled in product.php */
}

/* Domyślne CSS dla desktop sections */
.description-desktop,
.materials-desktop {
  display: block;
  margin-top: 2rem;
}

@media (min-width: 769px) {
  /* Opis desktop jest częścią grid po lewej stronie */
  .description-desktop {
    display: block;
    margin-top: 0;
  }

  /* Materiały nad grid na całą szerokość */
  .materials-desktop {
    display: block;
    margin-bottom: 2rem;
    order: -1; /* Materiały na górze */
  }

  /* Ukryj mobilną wersję opisu na desktop */
  .pdp-desc--mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Ukryj desktop versions na mobile */
  .description-desktop,
  .materials-desktop {
    display: none !important;
  }

  /* Pokaż mobile version */
  .pdp-desc--mobile {
    display: block !important;
  }
}

.form {
  display: grid;
  gap: 16px;
}
.form__row {
  display: grid;
  gap: 8px;
}
.form__row input,
.form__row textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.form__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.form__status {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

/* Kontakt layout */
.contact-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}
@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
  }
}
.contact-intro {
  display: grid;
  gap: 14px;
}
.contact-intro h1 {
  font-size: clamp(28px, 5vw, 42px);
  letter-spacing: -0.02em;
}
.contact-intro p {
  font-size: clamp(16px, 2.6vw, 18px);
  color: var(--muted);
}
.info-list {
  display: grid;
  gap: 10px;
}
.info-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.info-ico {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fafafa;
}
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}
@media (min-width: 960px) {
  .contact-form {
    padding: 28px;
  }
}
.contact-form .form {
  gap: 18px;
}
.contact-form label {
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
}
.contact-form .form__row input,
.contact-form .form__row textarea {
  font-size: 16px;
  min-height: 48px;
}
.contact-form .form__row textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form .form__row input:hover,
.contact-form .form__row textarea:hover {
  border-color: #d1d5db;
}
.contact-form .form__row input:focus-visible,
.contact-form .form__row textarea:focus-visible {
  border-color: #111;
  outline: 2px solid #111;
  outline-offset: 2px;
}
.contact-form .btn {
  padding: 12px 18px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  background: #fff;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.footer-credit__logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.12);
}
.footer-credit__link {
  margin-left: 6px;
  text-decoration: underline;
  font-weight: 700;
}

/* subtelne animacje */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.5s ease,
    transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-tilt] {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-tilt] {
  transform: perspective(900px) rotateX(var(--rx, 0deg))
    rotateY(var(--ry, 0deg)) translateZ(0);
}
[data-tilt]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: radial-gradient(
    400px 240px at var(--lx, 50%) var(--ly, 50%),
    rgba(255, 255, 255, 0.22),
    transparent 60%
  );
}
[data-tilt].tilt-on::before {
  opacity: 0.6;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, #111, #999);
  z-index: 1000;
  transform-origin: left center;
}

/* Split text letters */
.letter {
  display: inline-block;
  transform: translateY(60%);
  opacity: 0.001;
  transition:
    transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.9s ease;
}
.letter.in {
  transform: none;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .card__media img,
  .cat-card img,
  .insight-card img,
  .insta-grid img {
    transition: none !important;
    transform: none !important;
  }
}

/* Scroll animations (reactive) */
[data-anim] {
  opacity: 0;
  will-change: transform, opacity;
}
[data-anim].in {
  opacity: 1;
  transform: none;
}
[data-anim][data-delay] {
  transition-delay: var(--delay, 0.35s);
}

/* 404 page */
.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.nf-wrap {
  width: min(100% - 2rem, 1100px);
  margin-inline: auto;
  display: grid;
  gap: 22px;
}
.nf-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}
.nf-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
}
.nf-col {
  padding: clamp(16px, 5vw, 36px);
}
.nf-k {
  font-size: clamp(28px, 9vw, 140px);
  letter-spacing: -0.04em;
  line-height: 1;
  font-weight: 800;
}
.nf-sub {
  font-size: clamp(18px, 3.5vw, 28px);
  color: var(--muted);
}
.nf-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.nf-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #111;
  color: #fff;
  text-decoration: none;
}
.nf-btn--ghost {
  background: #fff;
  color: #111;
}
.nf-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}
.glitch {
  position: relative;
  display: inline-block;
  color: #111;
}
.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  mix-blend-mode: multiply;
  filter: blur(0.6px);
  opacity: 0.75;
}
.glitch::before {
  color: #f43f5e;
  transform: translate(-1px, -1px);
}
.glitch::after {
  color: #3b82f6;
  transform: translate(1px, 1px);
}
.scanline {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 0, 0, 0.28),
    transparent
  );
  animation: scan 3s linear infinite;
}
@keyframes scan {
  0% {
    top: 8%;
  }
  100% {
    top: 92%;
  }
}
@media (max-width: 900px) {
  .nf-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile nav */
@media (max-width: 800px) {
  .nav.nav--collapsible .nav__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .nav.nav--collapsible .nav__menu {
    position: absolute;
    top: 64px;
    right: 16px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nav.nav--collapsible .nav__menu.open {
    display: flex;
  }
}

/* Toolbar */
.toolbar {
  position: fixed;
  right: 24px;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  z-index: 50;
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(-50%) translateX(12px);
  animation: toolbarIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s forwards;
  width: var(--toolbar-width-expanded);
  transition:
    width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s ease;
}
.toolbar.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-image: url("/assets/img/toolbar.png");
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}
.toolbar {
  right: 24px;
  left: auto;
}

.tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
  opacity: 0;
  transform: translateX(8px);
  animation: toolIn 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
.tool-btn:hover {
  background: #fff;
  border-color: var(--line);
  transform: translateY(-1px) scale(1.02);
}
.tool-btn svg {
  flex: none;
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease;
}
.tool-btn span {
  font-size: 15px;
}
.tool-btn--ghost {
  background: transparent;
}
.tool-sep {
  width: 100%;
  height: 1px;
  background: var(--line);
  margin: 4px 0;
  border-radius: 1px;
}

.toolbar[data-collapsed="true"] {
  padding: 6px;
  width: var(--toolbar-width-collapsed);
}
.tool-btn span {
  font-size: 15px;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  max-width: 140px;
  opacity: 1;
  margin-left: 6px;
  transform: translateX(0);
  transition:
    opacity 0.2s ease,
    max-width 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    margin-left 0.28s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.toolbar[data-collapsed="true"] .tool-btn span {
  opacity: 0;
  max-width: 0;
  margin-left: 0;
  transform: translateX(-6px);
}
.toolbar[data-collapsed="true"] .tool-sep {
  display: none;
}
/* Wycentrowanie ikon w stanie zwiniętym (desktop) */
.toolbar[data-collapsed="true"] .tool-btn {
  justify-content: center;
  gap: 0;
  padding: 10px;
}
.toolbar:not([data-collapsed="true"]) .tool-btn {
  justify-content: flex-start;
}
/* Animacja zmiany stanu przycisku Zwiń */
#collapseToggle svg {
  transition: transform 0.25s ease;
}
.toolbar[data-collapsed="true"] #collapseToggle svg {
  transform: rotate(180deg);
}

/* Szerokość paska w zależności od stanu */
@media (min-width: 961px) {
  :root {
    --toolbar-width-expanded: 220px;
  }
}
@media (max-width: 960px) {
  :root {
    --toolbar-width-expanded: 200px;
  }
}

/* Stagger wejścia przycisków */
.toolbar .tool-btn:nth-child(1) {
  animation-delay: 0.1s;
}
.toolbar .tool-btn:nth-child(2) {
  animation-delay: 0.16s;
}
.toolbar .tool-btn:nth-child(3) {
  animation-delay: 0.22s;
}
.toolbar .tool-btn:nth-child(4) {
  animation-delay: 0.28s;
}
.toolbar .tool-btn:nth-child(5) {
  animation-delay: 0.34s;
}
.toolbar .tool-btn:nth-child(6) {
  animation-delay: 0.4s;
}

@keyframes toolbarIn {
  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }
}
@keyframes toolIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Overlay menu */
.overlay-menu {
  position: fixed !important;
  inset: 0 !important;
  z-index: 3000 !important;
  display: none !important;
  opacity: 0 !important;
  background: #ffffff !important;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.overlay-menu.is-open {
  display: flex !important;
  opacity: 1 !important;
}

.overlay-menu__panel {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 40px 20px !important;
  background: #ffffff !important;
}

.overlay-menu__inner {
  width: 100% !important;
  max-width: 500px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.overlay-menu__logo {
  margin-bottom: 60px !important;
}

.overlay-menu__logo img {
  height: 36px !important;
  width: auto !important;
}

.overlay-menu__close {
  position: absolute !important;
  top: 30px !important;
  right: 30px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  padding: 12px !important;
  color: #111 !important;
  transition: transform 0.4s !important;
  z-index: 10 !important;
}

.overlay-menu__close:hover {
  transform: rotate(90deg) scale(1.1) !important;
}

.overlay-menu__title {
  font-family: var(--font-heading) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3em !important;
  color: #999 !important;
  margin-bottom: 40px !important;
}

.overlay-menu__nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 32px !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  width: 100% !important;
}

.overlay-link {
  font-family: var(--font-heading) !important;
  font-size: 2.2rem !important;
  font-weight: 500 !important;
  color: #111 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  letter-spacing: -0.01em !important;
  position: relative !important;
}

.overlay-link:hover {
  color: #888 !important;
  transform: translateY(-2px) !important;
}

.overlay-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #111;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.overlay-link:hover::after {
  width: 100%;
}

/* Mobile hamburger (visible only on small screens) */
.mobile-hamburger,
.mobile-arrow {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 70;
  display: none;
  padding: 10px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.12);
}
@media (max-width: 960px) {
  .mobile-arrow {
    display: none;
  }
  /* Pasek widoczny na mobile, korzystamy z wbudowanego przycisku Zwiń */
  #toolbar {
    opacity: 1;
    pointer-events: auto;
  }
  .overlay-menu__inner {
    width: min(100% - 2rem, 1100px);
  }
}

/* Reset conflicting mobile dropdown styles */
.mobile-dropdown {
  display: none !important;
}

@media (max-width: 720px) {
  .toolbar {
    right: 12px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
}

/* Wymuś widoczność etykiet w stanie rozwiniętym (także na mobile) */
.toolbar:not([data-collapsed="true"]) .tool-btn span {
  display: inline-block !important;
  opacity: 1;
  max-width: 160px;
  margin-left: 6px;
  transform: none;
}

/* Quantity stepper + CTA on PDP */
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.qty button {
  background: #fff;
  border: 0;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qty input {
  width: 56px;
  text-align: center;
  border: 0;
  height: 36px;
}
.btn--primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}
.btn--primary:hover {
  filter: brightness(0.95);
}

/* PDP description block - USUNIĘTO DUPLIKAT */

/* Order Success Page */
.order-success-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 2rem 0 4rem;
}

.success-hero {
  text-align: center;
  margin-bottom: 4rem;
}

.success-icon-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.success-icon {
  display: inline-block;
  animation: successBounce 1s ease-out;
}

.success-circle {
  animation: scaleIn 0.6s ease-out;
}

.success-check {
  stroke-dasharray: 12;
  stroke-dashoffset: 12;
  animation: drawCheck 0.8s ease-out 0.3s forwards;
}

.success-particles {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  pointer-events: none;
}

.success-particles::before,
.success-particles::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: particle 2s ease-out infinite;
}

.success-particles::before {
  top: 20%;
  left: 20%;
  animation-delay: 0.5s;
}

.success-particles::after {
  top: 30%;
  right: 20%;
  animation-delay: 0.8s;
}

.success-message h1 {
  font-size: 2.5rem;
  color: #1a202c;
  margin-bottom: 1rem;
  font-weight: 700;
}

.success-subtitle {
  font-size: 1.2rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.order-number {
  font-size: 1rem;
  color: #475569;
  padding: 1rem 2rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 8px;
  display: inline-block;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.order-id {
  font-family: "Courier New", monospace;
  font-weight: bold;
  color: #10b981;
}

.order-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.order-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.order-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
}

.order-card h3 {
  font-size: 1.5rem;
  color: #1a202c;
  margin-bottom: 1.5rem;
  text-align: center;
}

.order-info-list {
  space-y: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.info-row:last-child {
  border-bottom: none;
}

.info-row.highlight {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

.info-row .label {
  color: #64748b;
  font-size: 0.9rem;
}

.info-row .value {
  color: #1a202c;
  font-weight: 500;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.success {
  background: #dcfce7;
  color: #166534;
}

.status-badge.pending {
  background: #fef3c7;
  color: #92400e;
}

.customer-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 1rem;
}

.customer-details {
  space-y: 0.75rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #475569;
  font-size: 0.9rem;
}

.detail-item svg {
  color: #64748b;
  flex-shrink: 0;
}

.order-items-section {
  margin-bottom: 3rem;
}

.order-items-section h3 {
  font-size: 1.75rem;
  color: #1a202c;
  margin-bottom: 2rem;
  text-align: center;
}

.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.item-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease;
}

.item-card:hover {
  transform: translateY(-2px);
}

.item-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  background: #f8fafc;
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.item-details {
  padding: 1.5rem;
}

.item-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.item-variant {
  font-size: 0.9rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.item-quantity {
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 0.5rem;
}

.item-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #10b981;
}

.next-steps-section {
  margin-bottom: 3rem;
}

.next-steps-section h3 {
  font-size: 1.75rem;
  color: #1a202c;
  margin-bottom: 2rem;
  text-align: center;
}

.steps-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.step-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.step-item h4 {
  font-size: 1.2rem;
  color: #1a202c;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.step-item p {
  color: #64748b;
  line-height: 1.6;
}

.bottom-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
}

.contact-card h4 {
  font-size: 1.3rem;
  color: #1a202c;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-methods {
  space-y: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  color: #475569;
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.contact-method:hover {
  background: #f1f5f9;
  color: #10b981;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.action-buttons .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn--primary {
  background: #10b981;
  color: white;
  border: none;
}

.btn--primary:hover {
  background: #059669;
  transform: translateY(-2px);
}

.btn--secondary {
  background: white;
  color: #475569;
  border: 2px solid #e2e8f0;
}

.btn--secondary:hover {
  background: #f8fafc;
  border-color: #10b981;
  color: #10b981;
  transform: translateY(-2px);
}

/* Animations */
@keyframes successBounce {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes scaleIn {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes drawCheck {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes particle {
  0% {
    opacity: 0;
    transform: scale(0) translateY(0);
  }
  50% {
    opacity: 1;
    transform: scale(1) translateY(-20px);
  }
  100% {
    opacity: 0;
    transform: scale(0) translateY(-40px);
  }
}

/* Footer credit */
.footer-credit {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.footer-credit:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.footer-credit a {
  font-weight: 600;
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #2563eb;
}

/* Contact page */
.contact-shell {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr 1fr;
}

.contact-grid {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 24px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: #f8f9fa;
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-hours {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

/* About page */
.about-content {
  display: grid;
  gap: 32px;
}

.about-hero {
  text-align: center;
  padding: 32px;
}

.about-hero .lead {
  font-size: 18px;
  color: #666;
  margin-top: 16px;
}

.about-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.about-card {
  padding: 24px;
}

.company-details {
  display: grid;
  gap: 12px;
}

.detail-item {
  padding: 8px 0;
}

.security-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.security-badge {
  background: #f8f9fa;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  border: 1px solid var(--line);
}

.about-cta {
  text-align: center;
  padding: 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.security-notice {
  background: #fef3c7;
  border: 1px solid #f59e0b;
  border-radius: 8px;
  padding: 16px;
  margin-top: 24px;
}

/* About Nataniel page */
.about {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.bg-scrim {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

.about-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.about-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3),
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.3),
      transparent 50%
    );
  z-index: -1;
}

.float-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.float-blob {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    rgba(120, 119, 198, 0.1),
    rgba(255, 119, 198, 0.1)
  );
  animation: float 20s ease-in-out infinite;
}

.fb1 {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}
.fb2 {
  top: 20%;
  right: 20%;
  animation-delay: -5s;
}
.fb3 {
  bottom: 30%;
  left: 30%;
  animation-delay: -10s;
}
.fb4 {
  bottom: 10%;
  right: 10%;
  animation-delay: -15s;
}
.fb5 {
  top: 50%;
  left: 50%;
  animation-delay: -7s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(120deg);
  }
  66% {
    transform: translateY(10px) rotate(240deg);
  }
}

.about-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.about-logo {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  margin-bottom: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-tag {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 16px 0 32px 0;
  line-height: 1.5;
}

.about-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.big-cta__btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px 32px;
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.big-cta__btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.applied-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.applied-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
}

.applied-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.applied-ico {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 28px;
  margin-bottom: 16px;
}

.applied-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.applied-list li {
  padding: 4px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.applied-kpis {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 16px;
}

.applied-kpis div {
  text-align: center;
}

.applied-kpis span {
  display: block;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.applied-kpis small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.feature {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature .ico {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 24px;
  margin: 0 auto 12px auto;
}

.feature h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #fff;
}

.feature p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.feature--wide {
  grid-column: span 2;
}

.feature--tall {
  grid-row: span 2;
}

.marquee {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.marquee__track {
  display: flex;
  gap: 32px;
  padding: 20px 0;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.services-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
}

.service:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.service h3 {
  margin: 0 0 12px 0;
  color: #fff;
  font-size: 18px;
}

.service p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.process-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.step-card h3 {
  margin: 0 0 12px 0;
  color: #fff;
  font-size: 18px;
}

.step-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.logo-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.logo-pill {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 12px 20px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.logo-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* AUTOMATICALLY ADDED CART FAB STYLES */
/* Floating Cart FAB Styles */
.cart-fab {
  position: fixed !important;
  right: 30px !important;
  bottom: 30px !important;
  z-index: 99999;
  font-family: var(--font-body);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.cart-fab__btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.cart-fab__btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cart-fab__ico {
  font-size: 24px;
  line-height: 1;
  margin-top: -2px;
}

.cart-fab__badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #dc2626;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 10px;
  border: 2px solid #fff;
  min-width: 20px;
  text-align: center;
}

.cart-fab__price {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #111;
  border: 1px solid #e5e5e5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Cart Mini Preview */
.cart-mini {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 360px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(0, 0, 0, 0.02);
  padding: 0;
  display: block;
  /* Managed by visibility/opacity */
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transform-origin: bottom right;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000;
  overflow: hidden;
  pointer-events: auto;
}

.cart-mini.is-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mini-header {
  padding: 16px 20px;
  border-bottom: 1px solid #f5f5f5;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fafafa;
}

.mini-close {
  cursor: pointer;
  color: #999;
  padding: 18px 24px;
  background: #fff;
  border-bottom: 1px solid #f3f3f3;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mini-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.01em;
}

.mini-count {
  font-size: 0.85rem;
  font-weight: 500;
  color: #888;
  background: #f5f5f5;
  padding: 4px 10px;
  border-radius: 20px;
}

.mini-empty {
  text-align: center;
  color: #999;
  padding: 50px 20px;
  font-size: 1rem;
}

.mini-scroll {
  max-height: 350px;
  overflow-y: auto;
  padding: 10px 0;
}

.mini-item {
  display: flex;
  gap: 16px;
  padding: 16px 24px;
  transition: background 0.2s;
  align-items: start;
}

.mini-item:hover {
  background: #fafafa;
}

.mini-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.mini-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mini-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-name:hover {
  color: #555;
}

.mini-var {
  font-size: 0.75rem;
  color: #666;
  background: #f7f7f7;
  align-self: start;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.mini-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  font-size: 0.9rem;
}

.mini-qty {
  color: #888;
}

.mini-unit-price {
  font-weight: 600;
  color: #111;
}

.mini-footer {
  padding: 24px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
}

.mini-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.mini-total-label {
  font-size: 1rem;
  color: #555;
}

.mini-total-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #111;
  letter-spacing: -0.02em;
}

.mini-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.btn-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-mini--view {
  background: #fff;
  color: #111;
  border: 1px solid #e5e5e5;
}

.btn-mini--view:hover {
  border-color: #000;
  background: #fff;
}

.btn-mini--checkout {
  background: #111;
  color: #fff;
  border: 1px solid #111;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-mini--checkout:hover {
  background: #333;
  border-color: #333;
  background: #333;
}

/* Add to Cart Modal */
.cart-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-modal-overlay.active {
  display: flex;
  opacity: 1;
}

.cart-modal {
  background: #fff;
  width: 90%;
  max-width: 450px;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cart-modal-overlay.active .cart-modal {
  transform: scale(1);
}

.cart-modal-icon {
  width: 60px;
  height: 60px;
  background: #22c55e;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 24px;
}

.cart-modal h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.cart-modal p {
  color: #666;
  margin-bottom: 25px;
}

.cart-modal-actions {
  display: flex;
  gap: 15px;
  flex-direction: column;
}

@media (min-width: 400px) {
  .cart-modal-actions {
    flex-direction: row;
  }
}

.cart-modal-btn {
  flex: 1;
  padding: 14px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 1px solid transparent;
}

.cart-modal-btn--continue {
  background: transparent;
  border-color: #e5e5e5;
  color: #111;
}

.cart-modal-btn--continue:hover {
  background: #f9f9f9;
  border-color: #ccc;
}

.cart-modal-btn--cart {
  background: #111;
  color: #fff;
}

.cart-modal-btn--cart:hover {
  background: #333;
}

/* =========================================
   New Bento Grid Layout (User Request)
   ========================================= */
@media (min-width: 901px) {
  .user-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 24px;
    min-height: auto;
  }

  /* Desktop: Masonry Logic via Grid Areas/Spans */
  /* Item 1: Large Feature (Top Left) */
  .bento-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Item 2: Wide Top Right */
  .bento-card:nth-child(2) {
    grid-column: span 2;
  }

  /* Item 3 & 4: Small Bottom Right */
  .bento-card:nth-child(3),
  .bento-card:nth-child(4) {
    grid-column: span 1;
  }

  /* Handle more items dynamically if present */
  .bento-card:nth-child(n + 5) {
    grid-column: span 1;
    height: 350px;
  }
}

@media (max-width: 900px) {
  .user-bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.bento-col-left {
  display: flex;
  flex-direction: column;
}

.bento-col-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 900px) {
  .bento-col-right {
    gap: 16px;
  }
}

.bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: #fff;
  isolation: isolate;
  border: 1px solid #f0f0f0;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.bento-card img {
  width: 100%;
  flex: 1;
  min-height: 0; /* essential for flex child scrolling/sizing */
  object-fit: contain; /* Good for sketches */
  transition: transform 0.6s ease;
  display: block;
  background: #f8f8f8; /* Gentle gray bg for images */
  padding: 20px;
}

.bento-card:hover img {
  transform: scale(1.03);
}

.bento-overlay {
  position: relative;
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f5f5f5;
  z-index: 2;
}

.bento-overlay::after {
  content: "→";
  font-family: system-ui; /* fallback */
  font-size: 1.2rem;
  color: #111;
  transition: transform 0.2s ease;
}

.bento-card:hover .bento-overlay::after {
  transform: translateX(4px);
}

.bento-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #111;
  margin: 0;
  text-shadow: none;
  letter-spacing: -0.01em;
}

.bento-overlay--white {
  background: #fff;
  width: auto;
  bottom: 24px;
  left: 24px;
  border-radius: 99px;
  padding: 14px 28px;
  color: #111;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.bento-overlay--white h3 {
  color: #111;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* =========================================
   Masterpiece Banner (New CTA)
   ========================================= */
.masterpiece-banner-section {
  padding: 20px 0 60px 0;
}

.masterpiece-new-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  background: #e8e8e8; /* Light gray like reference */
  border-radius: 24px;
  overflow: hidden;
  min-height: 450px;
}

@media (max-width: 900px) {
  .masterpiece-new-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

.masterpiece-text-col {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

@media (max-width: 1200px) {
  .masterpiece-text-col {
    padding: 50px 40px;
  }
}
@media (max-width: 900px) {
  .masterpiece-text-col {
    padding: 40px 24px;
  }
}

.masterpiece-text-col h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  color: #111;
}

@media (max-width: 900px) {
  .masterpiece-text-col h2 {
    font-size: 2.2rem;
  }
}

.masterpiece-text-col p {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 500px;
}

.btn-cta-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1a1a1a;
  color: #fff;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-cta-black:hover {
  background: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.masterpiece-img-col {
  position: relative;
  height: 100%;
  min-height: 300px; /* for mobile */
}

.masterpiece-img-col img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================
   Product Page Styles (Standardized)
   ========================================= */

/* Header & Breadcrumbs overrides */
.page-header {
  padding-top: 130px;
  padding-bottom: 30px;
}

.breadcrumbs {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

/* Layout */
.product-grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  padding-bottom: 80px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: 110px;
  align-self: start;
}

.main-image {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 16px;
  background: #f9f9f9;
  margin-bottom: 20px;
  border: 1px solid #f0f0f0;
}

.thumbnails {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

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

.thumbnail {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.6;
  border: 1px solid #f0f0f0;
  transition: all 0.2s;
  background: #fff;
  padding: 2px;
}

.thumbnail.active,
.thumbnail:hover {
  opacity: 1;
  border-color: #111;
  transform: translateY(-2px);
}

/* Pattern B Bento Items - Legacy overrides for desktop structure handled in grid definition now */
@media (min-width: 901px) {
  .bento-card--medium,
  .bento-card--full {
    height: 100% !important;
    width: 100% !important;
  }

  /* Desktop Card Styling: Image Cover + Text Overlay */
  .bento-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: block;
    background: #f0f0f0;
    border: none;
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .bento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
  }

  .bento-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    padding: 0;
    transition: transform 0.8s ease;
  }

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

  .bento-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: auto;
    padding: 32px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    border-top: none;
  }

  .bento-overlay h3 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 600;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-bottom: 8px;
  }

  /* Animated Arrow for Desktop */
  .bento-overlay::after {
    content: "Przeglądaj →";
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 8px;
    font-weight: 500;
  }
}

@media (max-width: 900px) {
  /* Reset container to Grid */
  .user-bento-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: min-content;
    gap: 12px;
  }

  /* Reset Card Styles to Image Block */
  .bento-card,
  .bento-card--medium,
  .bento-card--full {
    position: relative;
    display: block;
    width: 100%;
    /* Default small card height */
    height: 180px !important;
    min-height: 0 !important;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    background: #e0e0e0;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    grid-column: span 1; /* Default to 1 column */
  }

  /* Make every 3rd item (1, 4, 7...) span full width for "Bento" look */
  .bento-card:nth-child(3n + 1) {
    grid-column: span 2;
    height: 260px !important;
  }

  /* Image Styles - Full Cover */
  .bento-card img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    transition: transform 0.5s ease;
  }

  .bento-card:active img {
    transform: scale(1.03);
  }

  /* Overlay Styles - Text on Image */
  .bento-overlay {
    position: absolute;
    inset: auto 0 0 0;
    height: auto;
    padding: 40px 16px 16px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.6) 0%,
      rgba(0, 0, 0, 0) 100%
    );
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    border: none !important;
  }

  .bento-overlay h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    margin: 0;
    letter-spacing: -0.01em;
  }

  .bento-overlay::after {
    display: none;
  }
}

/* Info Column */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 10px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.02em;
}

.product-price {
  font-size: 1.8rem;
  font-weight: 500;
  color: #111;
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-original {
  font-size: 1.2rem;
  color: #999;
  text-decoration: line-through;
  font-weight: 400;
}

/* Variants */
.variant-group {
  margin-bottom: 24px;
}

.variant-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  color: #555;
  display: block;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.variant-option {
  padding: 12px 20px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333;
}

.variant-option:hover {
  border-color: #999;
}

.variant-option.selected {
  background: #111;
  color: #fff;
  border-color: #111;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.variant-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

/* Add to Cart Actions */
.add-to-cart-area {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  margin-bottom: 40px;
  align-items: center;
}

.quantity-selector {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  height: 56px;
  background: #fff;
  min-width: 130px;
  justify-content: space-between;
  padding: 0 4px;
}

.quantity-btn {
  width: 40px;
  height: 100%;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.2s;
}

.quantity-btn:hover {
  background: #f5f5f5;
}

.quantity-input {
  width: 40px;
  height: 100%;
  border: none;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  background: transparent;
  color: #111;
  padding: 0;
  -moz-appearance: textfield;
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-button {
  flex: 1;
  height: 56px;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cart-button:hover {
  background: #333;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Accordion */
.accordion {
  border-top: 1px solid #eee;
}

.accordion-item {
  border-bottom: 1px solid #eee;
}

.accordion-header {
  padding: 24px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  font-size: 1.05rem;
  color: #111;
  transition: color 0.2s;
}

.accordion-header:hover {
  color: #666;
}

.accordion-content {
  display: none;
  padding-bottom: 24px;
  color: #555;
  line-height: 1.7;
}

.accordion-content.open {
  display: block;
}

.accordion-toggle {
  font-weight: 300;
  font-size: 1.5rem;
  line-height: 1;
}

/* Product Description (Bottom) */
.product-description-full {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid #f0f0f0;
}

.product-description-full h3 {
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-family: var(--font-heading);
}

.description-content {
  max-width: 800px;
  color: #444;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Responsive */
@media (max-width: 900px) {
  .product-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .product-gallery {
    position: static;
  }
  .product-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 600px) {
  .add-to-cart-area {
    flex-direction: row; /* Keep row layout on mobile */
  }

  .quantity-selector {
    height: 52px;
    min-width: 110px;
  }

  .cart-button {
    height: 52px;
    font-size: 0.9rem;
  }

  .page-header {
    padding-top: 100px;
  }
}

/* Modern Product Card (1:1 Layout) */
/* Modern Product Card (1:1 Layout - Compact Gray) */
.product-card {
  display: flex;
  flex-direction: column;
  background: #f9f9f9;
  border: none;
  border-radius: 16px;
  padding: 16px;
  transition: all 0.2s ease;
  height: 100%;
  text-decoration: none;
  position: relative;
  min-height: auto;
}

.product-card:hover {
  background: #f0f0f0;
}

.product-card-header {
  margin-bottom: 12px;
  min-height: auto;
}

.product-card .product-name {
  font-family: var(--font-heading, sans-serif);
  font-size: 1rem;
  font-weight: 500;
  color: #111;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-image {
  flex: 1;
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.product-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  padding: 4px;
  mix-blend-mode: multiply;
}

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

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

.product-category-label {
  font-size: 0.8rem;
  color: #888;
  font-weight: 400;
  text-transform: capitalize;
}

.product-price-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
}

/* Product Slider Loop */
.slider-viewport {
  overflow: hidden;
  position: relative;
  margin-top: 24px;
  margin-bottom: 24px;
}

.slider-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.slider-track .product-card {
  flex: 0 0 calc((100% - 40px) / 3); /* 3 items visible - 3 columns minus 2 gaps (20px*2=40px) divided by 3? 
  Calculation: total (100%) - gaps (40px) / 3 is roughly correct for fluid. */
  /* Better flexibility: gap is 20px. 3 items. 
     item item item
     width = (100% - 2*20px) / 3 = (100% - 40px)/3. Correct. */
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
}

@media (max-width: 960px) {
  .slider-track .product-card {
    flex: 0 0 calc((100% - 20px) / 2); /* 2 items, 1 gap */
  }
}

@media (max-width: 600px) {
  .slider-track {
    flex-direction: column;
    gap: 24px; /* More breathing room between cards */
  }

  .slider-viewport {
    overflow: visible;
  }

  /* Reference Image Style: Vertical Card, Gray Background */
  .slider-track .product-card {
    flex: 0 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: auto;
    min-height: auto;
    border: 1px solid #f0f0f0;
    background: #f9f9f9;
    border-radius: 20px;
    align-items: flex-start;
    box-shadow: none;
  }

  /* Reset visibility */
  .slider-track .product-card > * {
    display: block;
  }

  /* 1. Name at Top */
  .slider-track .product-card .product-card-header {
    order: 1;
    width: 100%;
    margin-bottom: 12px;
  }

  .slider-track .product-card .product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
    text-align: left;
  }

  /* 2. Image in Middle */
  .slider-track .product-card .product-card-image {
    order: 2;
    width: 100%;
    flex: none;
    aspect-ratio: 4/3; /* Slightly wider canvas for product */
    margin: 8px 0 20px 0;
    background: transparent; /* Seamless on the gray card */
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .slider-track .product-card .product-card-image img {
    max-width: 90%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply; /* Helps blend whitespace if any */
  }

  /* 3. Footer at Bottom */
  .slider-track .product-card .product-card-footer {
    order: 3;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-top: none;
  }

  .product-category-label {
    font-size: 0.85rem;
    color: #888;
    font-weight: 500;
  }

  .product-price-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #111;
  }
}

.slider-controls {
  display: flex;
  gap: 12px;
  align-items: center;
}

@media (max-width: 600px) {
  .slider-controls {
    display: none; /* Hide slider arrows on mobile since it's a vertical list */
  }
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e0e0e0;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: all 0.2s;
  color: #111;
  padding: 0;
}

.slider-btn:hover:not(:disabled) {
  background: #f9f9f9;
  border-color: #111;
  transform: scale(1.05);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: #eee;
  color: #ccc;
}

/* =========================================
   Footer Styles (Moved from index.php)
   ========================================= */
.modern-footer {
  background-color: #fff;
  color: #111;
  padding: 100px 0 60px;
  font-family: var(--font-body, "Inter", sans-serif);
  border-top: 1px solid #f3f4f6;
  margin-top: auto;
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 80px;
}

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

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

.footer-logo .brand-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

.avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.footer-grid-v2 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px;
  margin-bottom: 80px;
}

.footer-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
}

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

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #111;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: #4b5563;
}

.footer-bottom-v2 {
  border-top: 1px solid #f3f4f6;
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-v2 .copyright {
  font-size: 0.9rem;
  color: #6b7280;
}

.bottom-social-icons {
  display: flex;
  gap: 20px;
}

.icon-link {
  color: #9ca3af;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.icon-link:hover {
  color: #111;
}

@media (max-width: 1024px) {
  .footer-grid-v2 {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 50px;
  }
}

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

  .footer-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-bottom-v2 {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* =========================================
   Product Page: Materials & Variants
   ========================================= */
.materials-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.mat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mat-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  margin-bottom: 8px;
  background: #f9f9f9;
  transition: transform 0.2s;
}

.mat-item:hover .mat-img {
  transform: scale(1.1);
  border-color: #ccc;
}

.mat-name {
  font-size: 0.75rem;
  color: #555;
  line-height: 1.2;
}

/* Improve Variant Icons */
.variant-option {
  padding: 10px 16px;
  gap: 10px;
}

.variant-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  object-fit: cover;
  flex-shrink: 0;
}

.variant-option.selected .variant-icon {
  border-color: #fff;
  box-shadow: 0 0 0 1px #fff;
}
/* =========================================
   Delivery & Materials Widget Styles
   ========================================= */
.materials-widget {
  margin-top: 24px;
  background: #fdfdfd;
  border: 1px solid #e1e1e1;
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
}

.materials-header {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0;
  border-bottom: none !important;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.materials-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #111;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Optional icon if needed later, for now just text looks clean */

/* =========================================
   Global Footer Centering
   ========================================= */
.modern-footer .wide-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .modern-footer .wide-container {
    padding: 0 16px;
  }
}

/* =========================================
   Moved from Index.php (Inline Styles)
   ========================================= */
:root {
  --container-width: 1400px;
  --spacing-lg: 100px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

.wide-container {
  width: 90vw;
  max-width: 1800px;
  margin: 0 auto;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 96vh;
  min-height: 550px;
  margin: 15px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-content-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 100px;
  padding-left: 60px;
}

.hero-text-block {
  max-width: 500px;
  text-align: left;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.15;
  color: #000;
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  font-size: 0.9rem;
  color: #222;
  margin-bottom: 32px;
  line-height: 1.6;
  font-weight: 400;
  max-width: 420px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.4s ease;
  text-decoration: none;
}

.btn-dark {
  background-color: #000;
  color: #fff;
  border: 1px solid #000;
}

.btn-dark:hover {
  background-color: #333;
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 60px;
}

.scroll-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  font-size: 16px;
  color: #000;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* Sections */
.about-section {
  padding: var(--spacing-lg) 0;
  text-align: left;
}

.section-label {
  display: block;
  font-size: 0.9rem;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.about-heading {
  font-family: var(--font-body);
  font-size: 1.8rem;
  font-weight: 300;
  color: #000;
  max-width: 900px;
  line-height: 1.6;
}

.stats-section {
  padding-bottom: var(--spacing-lg);
  border-bottom: 1px solid #e5e5e5;
}

.stats-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 60px;
}

.stat-number {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.stat-desc {
  color: #555;
  font-size: 1.1rem;
  max-width: 320px;
  line-height: 1.5;
}

.featured-banner {
  padding: var(--spacing-lg) 0;
}

.banner-image-wrapper img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 8px;
}

.products-section {
  padding: var(--spacing-lg) 0;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
  color: #000;
}

.collections-section {
  padding: 20px 0 10px 0;
}

/* Masterpiece Banner */
.masterpiece-banner-section {
  padding: 10px 0 60px 0;
}

.masterpiece-card {
  background-color: #f4f4f4;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  height: 60vh;
  max-height: 550px;
  min-height: 400px;
  width: 100%;
}

.masterpiece-content {
  flex: 0.8;
  padding: 60px;
}

.masterpiece-content h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 600;
  color: #111;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.masterpiece-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 90%;
}

.btn-pre-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #111;
  color: #fff;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.btn-pre-order:hover {
  background-color: #333;
}

.masterpiece-image {
  flex: 1.2;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.masterpiece-image img {
  width: auto;
  height: 100%;
  min-width: 100%;
  object-fit: cover;
  display: block;
}

/* Mini Row */
.mini-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.mini-row:hover {
  background: #f9f9f9;
}

.mini-row img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

.mini-main {
  flex: 1;
  min-width: 0;
}

.mini-name {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-var {
  font-size: 12px;
  color: #666;
  margin-bottom: 4px;
}

.mini-meta {
  font-size: 13px;
  color: #999;
}

.mini-sum {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
  margin-bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
}

.mini-sum strong {
  font-size: 18px;
  font-weight: 700;
  color: #111;
}

.mini-cta {
  display: flex;
  gap: 10px;
}

.mini-cta .btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.mini-cta .btn--ghost {
  background: transparent;
  color: #111;
  border: 1px solid #e5e7eb;
}

.mini-cta .btn--ghost:hover {
  background: #f5f5f5;
}

.mini-cta .btn--primary {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

.mini-cta .btn--primary:hover {
  background: #333;
}

/* Cart Fab Preview */
.cart-fab__preview {
  position: fixed;
  right: 18px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 20px;
  width: 320px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.cart-fab__preview.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-fab__preview h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.cart-fab__preview-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 12px;
}

.cart-fab__preview-item {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
}

.cart-fab__preview-item img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-fab__preview-total {
  border-top: 1px solid #e5e7eb;
  padding-top: 12px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}

/* Cookie Banner (Moved from cookies.php) */
.cookiebar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 1100;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookiebar[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookiebar__inner {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.16);
}

.cookiebar__actions {
  display: flex;
  gap: 8px;
}

@media (max-width: 720px) {
  .cookiebar__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookiebar {
    transition: none;
  }
}

/* Toolbar adjustments */
.toolbar {
  display: none !important;
}

@media (max-width: 640px) {
  .cart-fab__price {
    font-size: 12px;
    padding: 4px 8px;
    left: -6px;
    bottom: -10px;
  }

  .cart-fab__preview {
    width: 280px;
    right: 12px;
  }

  .toolbar {
    left: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

/* Search Overlay (Moved from search-overlay.php) */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.search-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
  display: block !important;
}

.search-overlay__backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.search-overlay__content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 80px 20px 40px;
  z-index: 10;
}

.search-overlay__close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: #111;
  transition: transform 0.2s;
}

.search-overlay__close:hover {
  transform: scale(1.1);
}

.search-overlay__header {
  margin-bottom: 40px;
}

.search-input-wrapper {
  position: relative;
  border-bottom: 2px solid #e5e5e5;
  display: flex;
  align-items: center;
  padding-bottom: 15px;
}

.search-icon {
  color: #999;
  margin-right: 20px;
  width: 32px;
  height: 32px;
}

.search-input {
  width: 100%;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 2rem;
  font-weight: 300;
  color: #111;
  outline: none;
}

.search-input::placeholder {
  color: #ccc;
}

.search-overlay__results {
  flex: 1;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #e5e5e5 transparent;
}

.search-overlay__results::-webkit-scrollbar {
  width: 6px;
}

.search-overlay__results::-webkit-scrollbar-thumb {
  background-color: #e5e5e5;
  border-radius: 3px;
}

.search-initial-state {
  text-align: center;
  color: #999;
  margin-top: 40px;
  font-size: 1.1rem;
}

.search-group {
  margin-bottom: 40px;
}

.search-group-title {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 20px;
  font-weight: 600;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
}

.page-result-item {
  display: block;
  padding: 15px 0;
  font-size: 1.2rem;
  color: #111;
  text-decoration: none;
  border-bottom: 1px solid #f9f9f9;
  transition: color 0.2s;
}

.page-result-item:hover {
  color: #666;
}

.product-result-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 15px 0;
  text-decoration: none;
  border-bottom: 1px solid #f9f9f9;
  transition: background 0.2s;
}

.product-result-item:hover {
  background: #fafafa;
}

.product-result-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #f0f0f0;
}

.product-result-info {
  flex: 1;
}

.product-result-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: #111;
  margin-bottom: 4px;
}

.product-result-cat {
  font-size: 0.85rem;
  color: #888;
}

.product-result-price {
  font-weight: 600;
  color: #111;
}

@media (max-width: 600px) {
  .search-input {
    font-size: 1.5rem;
  }
  .search-overlay__content {
    padding: 60px 20px 20px;
  }
}

@media (max-width: 768px) {
  .hero-content-overlay {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 80px;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .stats-grid {
    gap: 0;
  }

  /* Mobile Stats List Style */
  .stat-item {
    padding: 32px 0;
    border-bottom: 1px solid #f0f0f0;
  }

  .stat-item:first-child {
    padding-top: 0;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .about-heading {
    font-size: 1.1rem;
  }

  .hero-section {
    height: auto !important;
    min-height: auto !important;
  }

  .hero-bg-wrapper {
    position: relative !important;
  }

  .hero-bg-img {
    height: auto !important;
    object-fit: contain !important; /* Safety if width is restricted */
  }

  .hero-content-overlay {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding-top: 60px !important;
  }

  .banner-image-wrapper img {
    height: auto !important;
    object-fit: contain !important;
  }
}

/* --- GLOBAL SMOOTH REVEAL ANIMATIONS (Dopi Meble 2026 Core) --- */
[data-anim] {
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

[data-anim="fade-up"] { transform: translateY(30px); }
[data-anim="fade-down"] { transform: translateY(-30px); }
[data-anim="fade-left"] { transform: translateX(30px); }
[data-anim="fade-right"] { transform: translateX(-30px); }
[data-anim="scale-in"] { transform: scale(0.96); }

[data-anim].in {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* Stagger delay support */
[data-anim][data-delay="0.1s"] { transition-delay: 0.1s; }
[data-anim][data-delay="0.2s"] { transition-delay: 0.2s; }
[data-anim][data-delay="0.3s"] { transition-delay: 0.3s; }
[data-anim][data-delay="0.4s"] { transition-delay: 0.4s; }
[data-anim][data-delay="0.5s"] { transition-delay: 0.5s; }

/* Hero specific - faster & floating */
.hero-title, .hero-subtitle, .hero-section .btn {
  opacity: 0;
}
.hero-section.in .hero-title { animation: revealFadeUp 1.2s forwards 0.2s; }
.hero-section.in .hero-subtitle { animation: revealFadeUp 1.2s forwards 0.4s; }
.hero-section.in .btn { animation: revealFadeUp 1.2s forwards 0.6s; }

@keyframes revealFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
