/* ===== e-druk AI Theme Styles — edr.xce.pl inspired ===== */

/* Fonts loaded from Fontshare CDN in header.php — Satoshi + Clash Display with full Polish support */

:root {
  --edruk-primary: #2c2d33;
  --edruk-dark: #1e293b;
  --edruk-gray: #43454b;
  --edruk-light: #f3f3f3;
  --edruk-accent: #43454b;
  --edruk-border: #e2e8f0;
  --edruk-radius: 4px;
  --edruk-transition: 0.2s ease;
  --edruk-font: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --edruk-heading-font: "Satoshi", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--edruk-font) !important;
  color: var(--edruk-dark);
  background: #fff;
  line-height: 1.618;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* Force Satoshi font on ALL elements — one consistent font everywhere */
h1, h2, h3, h4, h5, h6 { font-family: var(--edruk-font) !important; font-weight: 700 !important; }
body, div, span, p, a, button, input, select, textarea, label, li, td, th, blockquote, small, strong, em {
  font-family: var(--edruk-font) !important;
}
.woocommerce, .woocommerce-page, .woocommerce * { font-family: var(--edruk-font) !important; }
.woocommerce h1, .woocommerce h2, .woocommerce h3, .woocommerce h4, .woocommerce h5, .woocommerce h6,
.woocommerce-page h1, .woocommerce-page h2, .woocommerce-page h3, .woocommerce-page h4, .woocommerce-page h5, .woocommerce-page h6 {
  font-family: var(--edruk-font) !important; font-weight: 700 !important;
}

/* Layout */
#edruk-app { min-height: 100vh; display: flex; flex-direction: column; }
.edruk-main { flex: 1; }

/* Header contact (phone/email) in right side */
.edruk-header-contact {
  display: flex; flex-direction: column; gap: 2px; margin-right: 8px;
  padding-right: 12px; border-right: 1px solid #eee;
}
.edruk-header-contact-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px; color: #666; text-decoration: none;
  transition: color 0.2s; white-space: nowrap;
}
.edruk-header-contact-item:hover { color: var(--edruk-dark); }
.edruk-header-contact-item svg { flex-shrink: 0; }

/* Header */
.edruk-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--edruk-border);
  transition: box-shadow var(--edruk-transition);
}
.edruk-header-scrolled { box-shadow: 0 1px 6px rgba(0,0,0,0.05); }
.edruk-header-container {
  max-width: 1400px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 16px; flex-wrap: nowrap;
  height: 56px;
}
.edruk-header-left { flex-shrink: 0; }
.edruk-header-search-desktop {
  flex: 1; display: flex; align-items: center; min-width: 0;
}
.edruk-header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.edruk-header-nav-bar {
  max-width: 1400px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; height: 44px;
  border-top: 1px solid #f0f0f0;
}
.edruk-header-nav-bar .edruk-menu {
  width: 100%; justify-content: space-between;
}
.edruk-logo {
  display: flex; align-items: center; gap: 8px; text-decoration: none; flex-shrink: 0;
}
.edruk-logo-img {
  width: 32px; height: 32px; object-fit: contain; border-radius: 6px; display: block;
}
.edruk-logo-text {
  font-family: var(--edruk-heading-font);
  font-size: 18px; font-weight: 700; color: var(--edruk-dark);
  text-decoration: none; letter-spacing: -0.5px; white-space: nowrap;
}
.edruk-logo-dot { color: #9aa0a7; }
.edruk-header-nav { display: none; }
.edruk-menu {
  display: flex; list-style: none; gap: 2px; justify-content: flex-start;
  align-items: center; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
}
.edruk-menu::-webkit-scrollbar { display: none; }
.edruk-menu li { display: flex; align-items: center; }
.edruk-menu a {
  text-decoration: none; color: var(--edruk-gray); font-weight: 500;
  font-size: 14px; transition: all var(--edruk-transition);
  position: relative; padding: 8px 14px; border-radius: 6px;
  white-space: nowrap; display: block;
}
.edruk-menu a:hover { color: var(--edruk-dark); background: var(--edruk-light); }
.edruk-menu a::after { display: none; }

.edruk-header-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* Icon buttons (account, cart) — clean, minimalist */
.edruk-icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  color: var(--edruk-gray); text-decoration: none;
  transition: all var(--edruk-transition); position: relative;
}
.edruk-icon-btn:hover { color: var(--edruk-dark); background: var(--edruk-light); }
.edruk-icon-btn svg { display: block; }

/* Cart count badge */
.edruk-cart-count {
  position: absolute; top: 2px; right: 2px; background: #e53935;
  color: #fff; font-size: 10px; font-weight: 700; border-radius: 10px;
  min-width: 16px; height: 16px; display: flex; align-items: center;
  justify-content: center; padding: 0 4px; line-height: 1;
}
.edruk-cart-count:not(.active) { display: none; }

/* Mobile search — hidden on desktop, shown on mobile */
.edruk-mobile-search { display: none; }
.edruk-mobile-search-btn { display: none; }
.edruk-header-search-desktop .edruk-search-wrap {
  width: 100% !important; max-width: 100% !important;
}
.edruk-header-search-desktop .edruk-search-input {
  padding: 6px 12px; font-size: 13px; border-radius: 8px 0 0 8px;
}
.edruk-header-search-desktop .edruk-search-btn {
  padding: 6px 10px;
}
.edruk-header-search-desktop .edruk-search-results {
  width: 360px; right: 0; left: auto;
}

/* Language switcher with flags */
.edruk-lang-switcher { position: relative; }
.edruk-lang-btn {
  display: flex; align-items: center; gap: 4px; background: none; border: none;
  border-radius: 8px; padding: 6px 8px; cursor: pointer;
  color: var(--edruk-dark); transition: all var(--edruk-transition);
}
.edruk-lang-btn:hover { background: var(--edruk-light); }
.edruk-lang-flag { display: flex; align-items: center; line-height: 1; }
.edruk-lang-flag svg { display: block; border-radius: 2px; }
.edruk-lang-dropdown {
  display: none; position: absolute; top: 100%; right: 0; margin-top: 2px;
  background: #fff; border: 1px solid var(--edruk-border); border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); z-index: 200; min-width: 160px; overflow: hidden;
  padding: 4px;
}
.edruk-lang-dropdown.open { display: flex; flex-direction: column; }
.edruk-lang-dropdown a {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  text-decoration: none; font-size: 13px; font-weight: 500;
  color: var(--edruk-dark); transition: all var(--edruk-transition); border-radius: 6px;
}
.edruk-lang-dropdown a:hover { background: var(--edruk-light); }
.edruk-lang-dropdown a.active { color: var(--edruk-primary); background: var(--edruk-light); font-weight: 600; }
/* Search — old form styles removed, using edruk-ai-search plugin */
.edruk-search {
  display: none;
}
.edruk-search-btn {
  display: none;
}
.edruk-account-link, .edruk-cart-link {
  color: var(--edruk-dark); position: relative; text-decoration: none;
  display: flex; align-items: center; transition: color var(--edruk-transition);
}
.edruk-account-link:hover, .edruk-cart-link:hover { color: var(--edruk-gray); }

.edruk-mobile-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 28px; height: 22px; position: relative;
}
.edruk-mobile-toggle span {
  display: block; width: 100%; height: 3px; background: var(--edruk-dark);
  border-radius: 2px; margin-bottom: 5px; transition: var(--edruk-transition);
}
.edruk-mobile-toggle span:last-child { margin-bottom: 0; }
.edruk-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.edruk-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.edruk-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

.edruk-mobile-menu {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid #e5e5e5;
  padding: 24px; z-index: 99; box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.edruk-mobile-menu.open { display: block; }
.edruk-mobile-nav { list-style: none; }
.edruk-mobile-nav li { margin-bottom: 12px; }
.edruk-mobile-nav a { text-decoration: none; color: var(--edruk-dark); font-size: 18px; font-weight: 500; }

/* Top banner */
.edruk-top-banner-bar { background: var(--edruk-dark); color: #fff; text-align: center; padding: 8px 16px; font-size: 14px; }

/* Hero — two-column like edr.xce.pl */
.edruk-hero {
  position: relative; overflow: hidden; background: #fff;
}
.edruk-hero-container {
  max-width: 1400px; margin: 0 auto; display: grid;
  grid-template-columns: 1fr; gap: 32px; padding: 40px 24px;
  align-items: center;
}
@media (min-width: 1024px) {
  .edruk-hero-container { grid-template-columns: 1fr 1fr; gap: 48px; padding: 48px 32px; }
}
.edruk-hero-badge {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: #0d9488;
}
.edruk-hero-badge-line { display: inline-block; width: 32px; height: 1px; background: #2dd4bf; }
.edruk-hero-title {
  font-family: var(--edruk-heading-font); font-size: 40px; font-weight: 600;
  line-height: 1.05; letter-spacing: -0.02em; color: var(--edruk-dark);
  margin-top: 24px;
}
@media (min-width: 640px) { .edruk-hero-title { font-size: 48px; } }
@media (min-width: 1024px) { .edruk-hero-title { font-size: 60px; } }
.edruk-hero-subtitle {
  font-size: 16px; line-height: 1.6; color: #6b7280;
  margin-top: 24px; max-width: 448px;
}
@media (min-width: 640px) { .edruk-hero-subtitle { font-size: 18px; } }
.edruk-hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px;
}
.edruk-hero-cta .edruk-btn { display: inline-flex; align-items: center; gap: 8px; }
.edruk-btn-primary {
  background: var(--edruk-dark); color: #fff; padding: 12px 28px;
  border-radius: 8px; font-size: 16px; font-weight: 600;
}
.edruk-btn-primary:hover { background: #1a1a1e; }
.edruk-btn-soft {
  background: #f1f5f9; color: var(--edruk-dark); padding: 12px 28px;
  border-radius: 8px; font-size: 16px; font-weight: 600;
}
.edruk-btn-soft:hover { background: #f0fdfa; color: #0f766e; }
.edruk-hero-trust {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: #6b7280; margin-top: 24px;
}
.edruk-hero-pills {
  display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 32px;
}
.edruk-hero-pills li { margin: 0; }
.edruk-hero-pills a {
  display: inline-flex; border-radius: 9999px; background: #f1f5f9;
  padding: 6px 14px; font-size: 14px; color: var(--edruk-dark);
  text-decoration: none; transition: all 0.2s;
}
.edruk-hero-pills a:hover { background: #f0fdfa; color: var(--edruk-dark); }
.edruk-hero-image {
  position: relative; aspect-ratio: 4/3; max-height: 600px;
  overflow: hidden; border-radius: 12px; background: #f3f3f3;
}
.edruk-hero-image img { width: 100%; height: 100%; object-fit: cover; }

/* Buttons */
.edruk-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 8px; font-weight: 600;
  font-size: 14px; text-decoration: none; cursor: pointer; border: none;
  transition: all var(--edruk-transition); white-space: nowrap;
}
.edruk-btn-outline { background: transparent; color: var(--edruk-dark); border: 1px solid var(--edruk-border); }
.edruk-btn-outline:hover { border-color: var(--edruk-dark); background: #f3f3f3; }

/* Section titles */
.edruk-section-title {
  font-family: var(--edruk-heading-font); font-size: 30px; font-weight: 600;
  text-align: left; margin: 0; color: var(--edruk-dark);
  line-height: 1.2; letter-spacing: -0.02em;
}
@media (min-width: 640px) { .edruk-section-title { font-size: 36px; } }
/* Eyebrow label */
.edruk-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: #0d9488; margin: 0;
}
.edruk-eyebrow-line { display: inline-block; width: 32px; height: 1px; background: #2dd4bf; }
.edruk-eyebrow-clay { color: #b45309; }
.edruk-eyebrow-line-clay { background: #f59e0b; }
.edruk-eyebrow-lavender { color: #7c3aed; }
.edruk-eyebrow-line-lavender { background: #a78bfa; }
/* Slider nav buttons */
.edruk-slider-nav { display: none; gap: 8px; }
@media (min-width: 640px) { .edruk-slider-nav { display: flex; } }
.edruk-slider-prev, .edruk-slider-next {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px; background: #f1f5f9;
  color: var(--edruk-dark); border: none; cursor: pointer; transition: all 0.2s;
}
.edruk-slider-prev:hover, .edruk-slider-next:hover { background: #f0fdfa; color: var(--edruk-dark); }

/* Trust badges — feature cards like edr.xce.pl */
.edruk-trust { max-width: 1400px; margin: 0 auto; padding: 64px 24px; }
@media (min-width: 1024px) { .edruk-trust { padding: 96px 32px; } }
.edruk-trust-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
@media (min-width: 640px) { .edruk-trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .edruk-trust-grid { grid-template-columns: repeat(4, 1fr); } }
.edruk-trust-card { display: flex; flex-direction: column; gap: 12px; }
.edruk-trust-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; background: #fff;
  color: var(--edruk-dark);
}
.edruk-trust-card h3 { font-size: 18px; font-weight: 600; margin: 0; }
.edruk-trust-card p { font-size: 14px; color: #6b7280; line-height: 1.6; margin: 0; }

/* Category cards — carousel with image background + overlay like edr.xce.pl */
.edruk-categories {
  max-width: 1400px; margin: 0 auto; padding: 64px 24px;
  background: #f3f3f3;
}
@media (min-width: 1024px) { .edruk-categories { padding: 96px 32px; } }
.edruk-categories-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.edruk-categories-title-wrap { max-width: 560px; }
.edruk-categories-title-wrap .edruk-section-title { margin-top: 16px; }
.edruk-category-scroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 32px; padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.edruk-category-scroll::-webkit-scrollbar { display: none; }
.edruk-category-card {
  flex: 0 0 auto; width: 196px; position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 4/3; overflow: hidden; border-radius: 10px;
  background: #fff; padding: 12px; text-decoration: none;
  transition: transform 0.2s; scroll-snap-align: start;
}
.edruk-category-card:hover { transform: translateY(-2px); }
.edruk-category-bg {
  position: absolute; inset: 0; z-index: -10;
  width: 100%; height: 100%; object-fit: cover;
}
.edruk-category-bg-placeholder { background: #e2e8f0; }
.edruk-category-overlay {
  position: absolute; inset: 0; z-index: -10;
  background: rgba(15, 23, 42, 0.4);
}
.edruk-category-name {
  font-family: var(--edruk-heading-font); font-size: 14px; font-weight: 600;
  color: #fff; position: relative; z-index: 1;
}
.edruk-category-arrow {
  position: absolute; right: 12px; top: 12px; color: #fff;
  opacity: 0; transition: opacity 0.2s; z-index: 1;
}
.edruk-category-card:hover .edruk-category-arrow { opacity: 1; }

/* Featured products — carousel like edr.xce.pl */
.edruk-featured { max-width: 1400px; margin: 0 auto; padding: 64px 24px; }
@media (min-width: 1024px) { .edruk-featured { padding: 96px 32px; } }
.edruk-featured-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
}
.edruk-featured-title-wrap { max-width: 560px; }
.edruk-featured-title-wrap .edruk-section-title { margin-top: 16px; }
.edruk-product-scroll {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin-top: 32px; padding-bottom: 8px; -webkit-overflow-scrolling: touch;
}
.edruk-product-scroll::-webkit-scrollbar { display: none; }
.edruk-product-card {
  flex: 0 0 auto; width: 168px; display: flex; flex-direction: column;
  overflow: hidden; border-radius: 10px; background: #f3f3f3;
  text-decoration: none; color: inherit; scroll-snap-align: start;
  transition: transform 0.2s;
}
.edruk-product-card:hover { transform: translateY(-2px); }
.edruk-product-card-image {
  position: relative; overflow: hidden; background: #f3f3f3;
  aspect-ratio: 1;
}
.edruk-product-card-image-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.3s;
}
.edruk-product-card:hover .edruk-product-card-image-img { transform: scale(1.05); }
.edruk-product-card-image-placeholder { width: 100%; height: 100%; background: #e2e8f0; }
.edruk-product-card-body {
  display: flex; flex-direction: column; padding: 11px; flex: 1;
}
.edruk-product-card-cat {
  margin: 0 0 4px; font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edruk-product-card-title {
  font-family: var(--edruk-heading-font); font-size: 13px; font-weight: 600;
  line-height: 1.25; color: var(--edruk-dark); margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 32px;
}
.edruk-product-card-price {
  margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 700;
  color: var(--edruk-dark);
}
.edruk-product-card-price del { color: #9ca3af; font-size: 13px; font-weight: 400; }
.edruk-product-card-price ins { text-decoration: none; color: var(--edruk-dark); }

/* Shop header */
.edruk-shop-header { max-width: 1400px; margin: 0 auto; padding: 32px 24px 16px; }
.edruk-shop-title { font-family: var(--edruk-heading-font); font-size: 26px; font-weight: 600; }
.edruk-shop-description { margin-top: 8px; color: #666; }

/* Category banner */
.edruk-cat-banner {
  position: relative; width: 100%; min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  margin-bottom: 0;
}
.edruk-cat-banner-noimg {
  background: linear-gradient(-45deg, #1a1a2e, #16213e, #0f3460, #533483);
  background-size: 400% 400%;
  animation: edruk-banner-gradient 12s ease infinite;
}
@keyframes edruk-banner-gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.edruk-cat-banner-video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.edruk-cat-banner-content { position: relative; z-index: 1; text-align: center; padding: 40px 24px; max-width: 800px; }
.edruk-cat-banner-title {
  font-family: var(--edruk-heading-font); font-size: 36px; font-weight: 700;
  color: #fff; margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.edruk-cat-banner-desc {
  color: rgba(255,255,255,0.9); font-size: 16px; margin-top: 12px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
@media (max-width: 768px) {
  .edruk-cat-banner { min-height: 180px; }
  .edruk-cat-banner-title { font-size: 26px; }
  .edruk-cat-banner-desc { font-size: 14px; }
}

/* ===== Archive page (shop/category) — edr.xce.pl layout ===== */
.edruk-archive { padding: 32px 0 64px; }
.edruk-archive-container { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 1024px) { .edruk-archive-container { padding: 0 32px; } }

/* Breadcrumb */
.edruk-archive .woocommerce-breadcrumb {
  max-width: none; margin: 0 0 24px; padding: 0;
  font-size: 14px; color: #6b7280;
}
.edruk-archive .woocommerce-breadcrumb a { color: #6b7280; text-decoration: none; }
.edruk-archive .woocommerce-breadcrumb a:hover { color: var(--edruk-dark); }

/* Grid: sidebar + main — no jumping, sidebar only on wide screens */
.edruk-archive-grid {
  display: grid; grid-template-columns: 1fr; gap: 24px;
}
@media (min-width: 900px) {
  .edruk-archive-grid { grid-template-columns: 15rem 1fr; gap: 32px; }
}

/* Sidebar — collapsible on mobile, sticky on desktop */
.edruk-archive-sidebar {
  position: sticky; top: 96px; align-self: start;
}
@media (max-width: 899px) {
  .edruk-archive-sidebar {
    position: static !important;
    order: -1;
    margin-bottom: 8px;
  }
  .edruk-archive-cats {
    border: 1px solid var(--edruk-border); border-radius: 8px; padding: 12px;
  }
  .edruk-archive-cats[open] { padding-bottom: 16px; }
  .edruk-archive-cats-title { padding: 4px 0; }
  .edruk-archive-cats-list { margin-top: 8px; }
  .edruk-archive-subcats { display: none; }
}
.edruk-archive-cats-title {
  margin-bottom: 8px; cursor: pointer; list-style: none;
  font-family: var(--edruk-heading-font); font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.05em; color: #6b7280;
}
.edruk-archive-cats-title::-webkit-details-marker { display: none; }
.edruk-archive-cats-list { list-style: none; }
.edruk-archive-cats-list > li { margin-bottom: 4px; }
.edruk-archive-cat-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-radius: 6px; padding: 6px 8px; font-size: 14px;
  text-decoration: none; color: var(--edruk-dark); transition: background 0.2s;
}
.edruk-archive-cat-link:hover { background: #f3f3f3; }
.edruk-archive-cat-active { background: #f3f3f3; font-weight: 600; color: var(--edruk-dark); }
.edruk-archive-cat-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.edruk-archive-cat-count { flex-shrink: 0; font-size: 12px; color: #6b7280; }
.edruk-archive-subcats {
  list-style: none; margin-top: 4px; margin-left: 12px;
  border-left: 1px solid var(--edruk-border); padding-left: 12px;
}
.edruk-archive-subcats li { margin-bottom: 2px; }
.edruk-archive-subcat-link {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border-radius: 6px; padding: 6px 8px; font-size: 14px;
  text-decoration: none; color: var(--edruk-dark); transition: background 0.2s;
}
.edruk-archive-subcat-link:hover { background: #f3f3f3; }

/* Main area */
.edruk-archive-header { margin-bottom: 24px; }
.edruk-archive-title {
  font-family: var(--edruk-heading-font); font-size: 24px; font-weight: 600;
  line-height: 1.2; color: var(--edruk-dark); margin: 0;
}
@media (min-width: 640px) { .edruk-archive-title { font-size: 30px; } }
.edruk-archive-desc { margin-bottom: 24px; color: #6b7280; font-size: 15px; line-height: 1.6; }

/* Toolbar */
.edruk-archive-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  border-bottom: 1px solid var(--edruk-border); padding-bottom: 16px; margin-bottom: 24px;
}
.edruk-archive-count { font-size: 14px; color: #6b7280; margin: 0; }
.edruk-archive-sort .woocommerce-ordering { display: flex; align-items: center; gap: 8px; }
.edruk-archive-sort .orderby {
  border: 1px solid var(--edruk-border); border-radius: 8px;
  padding: 8px 12px; font-size: 14px; background: #fff; cursor: pointer;
  font-family: var(--edruk-font); color: var(--edruk-dark); appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; padding-right: 32px;
}

/* Product grid — fixed tile size, centered, no jumping */
.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, 180px) !important;
  justify-content: center !important;
  gap: 32px 16px !important;
  list-style: none !important; margin: 0 !important; padding: 0 !important; max-width: none !important;
  align-items: stretch !important; clear: none !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after,
.woocommerce-page ul.products::before,
.woocommerce-page ul.products::after { display: none !important; content: none !important; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  margin: 0 !important; width: 180px !important; float: none !important; padding: 0 !important;
  clear: none !important; display: flex !important; flex-direction: column !important;
  position: relative !important; list-style: none !important;
}
.woocommerce ul.products li.product.first,
.woocommerce-page ul.products li.product.first { clear: none !important; }
.woocommerce ul.products li.product > a,
.woocommerce ul.products li.product > .edruk-archive-product-card { flex: 1; display: flex; flex-direction: column; }

/* Smaller tiles on small screens */
@media (max-width: 600px) {
  .woocommerce ul.products, .woocommerce-page ul.products {
    grid-template-columns: repeat(auto-fill, 150px) !important;
  }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 150px !important;
  }
}
@media (max-width: 400px) {
  .woocommerce ul.products, .woocommerce-page ul.products {
    grid-template-columns: repeat(auto-fill, 130px) !important;
  }
  .woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
    width: 130px !important;
  }
}

/* Product card — Vista Print inspired */
.edruk-archive-product-card {
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit; transition: transform 0.2s;
}
.edruk-archive-product-card:hover { transform: translateY(-2px); }
.edruk-archive-product-image {
  position: relative; overflow: hidden; background: #f9fafb; aspect-ratio: 1;
  border-radius: 12px; border: 1px solid #e5e7eb;
}
.edruk-archive-product-img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.3s; border-radius: 12px;
}
.edruk-archive-product-card:hover .edruk-archive-product-img { transform: scale(1.05); }
.edruk-archive-product-body {
  display: flex; flex-direction: column; padding: 10px 4px 0; flex: 1; gap: 3px;
}
.edruk-archive-product-cat {
  margin: 0; font-size: 13px; font-weight: 700;
  color: var(--edruk-dark);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.edruk-archive-product-title {
  font-family: var(--edruk-font); font-size: 11px; font-weight: 400;
  line-height: 1.3; color: #6b7280; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.edruk-archive-product-desc {
  margin: 0; font-size: 11px; line-height: 1.35; color: #9ca3af;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.edruk-archive-product-rating {
  display: flex; align-items: center; gap: 4px; margin-top: 2px;
}
.edruk-rating-stars { display: flex; gap: 1px; }
.edruk-rating-text { font-size: 11px; font-weight: 600; color: #374151; }
.edruk-rating-count { font-size: 11px; color: #9ca3af; }
.edruk-archive-product-price {
  margin-top: auto; padding-top: 6px;
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
}
.edruk-price-label { font-size: 13px; color: #6b7280; font-weight: 400; }
.edruk-price-current { font-size: 15px; font-weight: 700; color: var(--edruk-dark); white-space: nowrap; }
.edruk-price-current .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 400; margin-left: 2px; }
.edruk-price-sale { font-size: 15px; font-weight: 700; color: #dc2626; white-space: nowrap; }
.edruk-price-sale .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 400; margin-left: 2px; }
.edruk-price-regular { font-size: 12px; font-weight: 400; color: #9ca3af; text-decoration: line-through; white-space: nowrap; }
.edruk-price-regular .woocommerce-Price-currencySymbol { font-size: 10px; }
.edruk-price-discount {
  font-size: 11px; font-weight: 700; color: #dc2626;
  background: #fef2f2; padding: 1px 5px; border-radius: 4px;
}

/* No products */
.edruk-no-products { padding: 48px 0; text-align: center; color: #6b7280; }

/* Responsive archive */
@media (max-width: 899px) {
  .edruk-archive-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 768px) {
  .edruk-archive-toolbar { flex-direction: column; align-items: flex-start; }
  .edruk-archive-sort .orderby { width: 100%; max-width: 280px; }
  .edruk-archive-title { font-size: 22px !important; }
  .edruk-archive-container { padding: 0 12px; }
}
@media (max-width: 479px) {
  .edruk-archive-toolbar { flex-direction: column; gap: 8px; }
  .edruk-archive-count { font-size: 13px; }
}

/* Testimonials */
.edruk-testimonials { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.edruk-testimonial-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.edruk-testimonial { padding: 28px; border: 1px solid #eee; border-radius: var(--edruk-radius); }
.edruk-stars { color: #d4a017; font-size: 16px; margin-bottom: 10px; }
.edruk-testimonial p { font-style: italic; margin-bottom: 12px; }
.edruk-testimonial-author { font-weight: 600; color: #666; display: block; }
.edruk-testimonial-role { font-size: 13px; color: #999; display: block; margin-top: 2px; }

/* Situations — colored cards with aspect-[3/4] like edr.xce.pl */
.edruk-situations { max-width: 1400px; margin: 0 auto; padding: 64px 24px; background: #f3f3f3; }
@media (min-width: 1024px) { .edruk-situations { padding: 96px 32px; } }
.edruk-situations-header { max-width: 560px; }
.edruk-situations-header .edruk-section-title { margin-top: 16px; }
.edruk-situations-grid { display: flex; gap: 16px; overflow-x: auto; margin-top: 32px; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
.edruk-situations-grid::-webkit-scrollbar { display: none; }
.edruk-situation-card {
  flex: 0 0 auto; width: 220px; position: relative; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end;
  aspect-ratio: 3/4; overflow: hidden; border-radius: 12px;
  padding: 20px; text-decoration: none; color: var(--edruk-dark);
  transition: transform 0.2s;
}
.edruk-situation-card:hover { transform: translateY(-2px); }
.edruk-situation-1 { background: #ede9fe; }
.edruk-situation-2 { background: #fef3c7; }
.edruk-situation-3 { background: #dcfce7; }
.edruk-situation-4 { background: #fce7f3; }
.edruk-situation-title {
  font-family: var(--edruk-heading-font); font-size: 20px; font-weight: 600;
  color: var(--edruk-dark);
}
.edruk-situation-desc {
  display: block; margin-top: 4px; font-size: 14px; color: #6b7280;
}

/* Contact subtitle */
.edruk-contact-subtitle { text-align: center; color: #666; max-width: 600px; margin: 0 auto 32px; font-size: 16px; }

/* Newsletter */
.edruk-newsletter {
  background: var(--edruk-light); color: var(--edruk-dark); padding: 48px 24px;
  text-align: center; margin: 48px 0;
}
.edruk-newsletter h2 { font-family: var(--edruk-heading-font); font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.edruk-newsletter p { opacity: 0.8; margin-bottom: 24px; }
.edruk-newsletter-form { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
.edruk-newsletter-form input {
  flex: 1; padding: 12px 16px; border: none; border-radius: var(--edruk-radius);
  font-size: 15px;
}

/* Contact CTA */
.edruk-contact-cta { max-width: 1400px; margin: 0 auto; padding: 0 24px 80px; }
.edruk-contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.edruk-contact-card {
  display: flex; flex-direction: column; align-items: center; padding: 32px;
  border: 1px solid #eee; border-radius: var(--edruk-radius); text-decoration: none;
  color: var(--edruk-dark); transition: all var(--edruk-transition);
}
.edruk-contact-card:hover { border-color: var(--edruk-dark); }
.edruk-contact-icon { margin-bottom: 12px; color: var(--edruk-dark); display: flex; align-items: center; justify-content: center; }
.edruk-contact-label { font-weight: 600; margin-bottom: 4px; }
.edruk-contact-value { color: #666; }

/* Footer */
.edruk-footer { background: var(--edruk-dark); color: #9aa0a7; padding: 48px 0 24px; margin-top: auto; }
.edruk-footer-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.edruk-footer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.edruk-footer-logo { font-family: var(--edruk-heading-font); font-size: 22px; font-weight: 700; color: #fff; text-decoration: none; }
.edruk-footer-tagline { margin-top: 12px; color: #888; }
.edruk-footer-address { margin-top: 8px; font-size: 14px; }
.edruk-footer-title { color: #fff; font-size: 16px; font-weight: 600; margin-bottom: 16px; }
.edruk-footer-widget ul { list-style: none; }
.edruk-footer-widget li { margin-bottom: 8px; }
.edruk-footer-widget a { color: #aaa; text-decoration: none; font-size: 14px; transition: color var(--edruk-transition); }
.edruk-footer-widget a:hover { color: #fff; }
.edruk-footer-payments { margin-top: 16px; font-size: 13px; color: #888; }
.edruk-footer-bottom {
  border-top: 1px solid #333; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.edruk-footer-bottom p { font-size: 14px; }
.edruk-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.edruk-footer-menu a { color: #888; text-decoration: none; font-size: 14px; }
.edruk-footer-menu a:hover { color: #fff; }

/* Responsive */
@media (max-width: 1024px) {
  .edruk-trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .edruk-header-nav-bar { display: none; }
  .edruk-header-search-desktop { display: none; }
  .edruk-mobile-toggle { display: block; }
  .edruk-mobile-search-btn { display: flex; }
  .edruk-lang-switcher { display: none; }
  .edruk-header-contact { display: none; }
  .edruk-mobile-menu { top: 56px; }
  .edruk-hero-title { font-size: 32px; }
  .edruk-section-title { font-size: 24px; }
  .edruk-newsletter-form { flex-direction: column; }
  .edruk-footer-bottom { flex-direction: column; text-align: center; }
  /* Mini-cart full width on mobile */
  .edruk-mini-cart { width: 100%; right: -100%; }
  /* Mobile search overlay */
  .edruk-mobile-search {
    display: none; position: fixed; top: 56px; left: 0; right: 0;
    background: #fff; padding: 12px 16px; z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  .edruk-mobile-search.open { display: block; }
  .edruk-mobile-search input {
    width: 100%; padding: 10px 16px; border: 1px solid #e0e0e0;
    border-radius: 24px; font-size: 16px;
  }
  /* Search icon button for mobile */
  .edruk-mobile-search-btn {
    display: flex; background: none; border: none; cursor: pointer;
    color: var(--edruk-dark); padding: 4px;
  }
    /* Product page mobile */
  .edruk-product-main { grid-template-columns: 1fr; gap: 24px; }
  .edruk-product-gallery { position: static; }
  .edruk-product-section-grid { grid-template-columns: 1fr; gap: 24px; }
  .edruk-product-section-side { position: static; }
  .edruk-related-header { flex-direction: column; align-items: flex-start; }
  .edruk-related-scroll .edruk-archive-product-card { flex: 0 0 140px; }
  /* Trust grid 2 col on mobile */
  .edruk-trust-grid { grid-template-columns: repeat(2, 1fr); }
  /* Hero on mobile */
  .edruk-hero-container { padding: 32px 16px; }
  .edruk-hero-cta { flex-direction: column; width: 100%; }
  .edruk-hero-cta .edruk-btn { width: 100%; }
  /* Newsletter */
  .edruk-newsletter { padding: 32px 16px; }
  .edruk-newsletter h2 { font-size: 22px; }
  /* Footer */
  .edruk-footer { padding: 32px 0 16px; }
  .edruk-footer-grid { gap: 24px; }
}

@media (max-width: 480px) {
  .edruk-trust-grid { grid-template-columns: 1fr; }
  .edruk-cat-banner { min-height: 140px; }
  .edruk-cat-banner-title { font-size: 22px; }
  .edruk-cat-banner-desc { font-size: 13px; }
  .edruk-cat-banner-content { padding: 20px 16px; }
  .woocommerce ul.products li.product { width: 100% !important; }
  .edruk-header-container { padding: 0 12px; }
  .edruk-logo-text { font-size: 16px; }
}

/* ===== Breadcrumb (WooCommerce + theme) ===== */
.woocommerce-breadcrumb, .edruk-breadcrumb {
  max-width: 1400px; margin: 0 auto; padding: 10px 24px;
  font-size: 13px; color: #999;
}
.woocommerce-breadcrumb a, .edruk-breadcrumb a { color: #666; text-decoration: none; }
.woocommerce-breadcrumb a:hover, .edruk-breadcrumb a:hover { color: var(--edruk-dark); }

/* ===== Single product page — edr.xce.pl layout ===== */
.edruk-product-page { padding: 24px 0 0; }
.edruk-product-main {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-bottom: 64px;
}

/* Gallery */
.edruk-product-gallery { position: sticky; top: 100px; align-self: start; }
.edruk-product-image-main {
  border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: #fafafa;
}
.edruk-product-img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px; }
.edruk-product-no-image {
  display: flex; align-items: center; justify-content: center;
}
.edruk-no-image-placeholder { text-align: center; color: #ccc; }
.edruk-no-image-placeholder p { font-size: 14px; }
.edruk-product-gallery-thumbs {
  display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap;
}
.edruk-product-thumb {
  width: 80px; height: 80px; border: 2px solid transparent; border-radius: 8px;
  overflow: hidden; cursor: pointer; transition: border-color 0.2s;
}
.edruk-product-thumb:hover, .edruk-product-thumb.active { border-color: var(--edruk-dark); }
.edruk-product-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Product info */
.edruk-product-cat-label {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: #0d9488; margin: 0 0 8px;
}
.edruk-product-title {
  font-family: var(--edruk-heading-font); font-size: 30px; font-weight: 600;
  line-height: 1.2; margin: 0 0 16px;
}
.edruk-product-price {
  font-size: 24px; font-weight: 700; color: var(--edruk-primary); margin-bottom: 12px;
}
.edruk-product-price del { color: #999; font-weight: 400; font-size: 18px; }
.edruk-product-price ins { text-decoration: none; }
.edruk-stock-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600;
  background: #d1fae5; color: #047857; margin-bottom: 16px;
}
.edruk-product-short-desc { color: #6b7280; line-height: 1.7; margin-bottom: 24px; }
.edruk-product-short-desc p { margin-top: 8px; }
.edruk-product-short-desc p:first-child { margin-top: 0; }

/* 3-click config */
.edruk-product-config { margin-top: 24px; }
.edruk-config-step {
  display: flex; align-items: center; gap: 10px; margin: 20px 0 12px;
}
.edruk-config-step-num {
  width: 28px; height: 28px; border-radius: 50%; background: var(--edruk-dark);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.edruk-config-step-label {
  font-size: 15px; font-weight: 600; color: var(--edruk-dark);
}

/* Quantity presets */
.edruk-qty-presets { display: flex; gap: 8px; flex-wrap: wrap; }
.edruk-qty-preset {
  padding: 10px 20px; border: 1px solid #e2e8f0; border-radius: 8px;
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 600;
  color: var(--edruk-dark); transition: all 0.2s;
}
.edruk-qty-preset:hover { border-color: var(--edruk-dark); }
.edruk-qty-preset.active { background: var(--edruk-dark); color: #fff; border-color: var(--edruk-dark); }
.edruk-quantity-row { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.edruk-quantity-row label { font-weight: 600; font-size: 14px; }
.edruk-qty-input {
  width: 80px; padding: 10px; border: 1px solid #ddd; border-radius: 8px;
  font-size: 16px; text-align: center;
}

/* Upload zone (inline in config) */
.edruk-upload-zone {
  border: 2px dashed #cbd5e1; border-radius: 12px; padding: 24px;
  text-align: center; cursor: pointer; transition: all 0.2s; background: #f8fafc;
}
.edruk-upload-zone:hover, .edruk-upload-zone.dragover {
  border-color: var(--edruk-dark); background: #f1f5f9;
}
.edruk-upload-icon { margin-bottom: 8px; color: #64748b; display: flex; align-items: center; justify-content: center; }
.edruk-upload-text { font-size: 14px; font-weight: 600; color: var(--edruk-dark); margin: 0; }
.edruk-upload-formats { font-size: 12px; color: #94a3b8; margin: 4px 0 0; }
.edruk-upload-list { margin-top: 12px; }
.edruk-upload-item {
  display: flex; align-items: center; gap: 12px; padding: 12px;
  background: #fff; border: 1px solid #eee; border-radius: 8px; margin-bottom: 8px;
}
.edruk-upload-item .edruk-upload-item-name { flex: 1; font-size: 14px; }
.edruk-upload-item .edruk-upload-item-size { color: #999; font-size: 12px; }
.edruk-upload-item .edruk-upload-item-remove {
  background: none; border: none; color: #e53935; cursor: pointer; font-size: 18px;
}

/* Design online button */
.edruk-design-btn {
  display: flex; align-items: center; justify-content: center; width: 100%;
  padding: 12px 16px; margin-top: 12px; border-radius: 8px;
  background: #f0fdfa; color: #0d9488; border: 1px solid #99f6e4;
  font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.edruk-design-btn:hover { background: #ccfbf1; }

/* Add to cart + buy now */
.edruk-add-to-cart-btn {
  width: 100%; padding: 14px; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; border: none; border-radius: 8px;
  background: var(--edruk-dark); color: #fff; transition: background 0.2s;
}
.edruk-add-to-cart-btn:hover { background: #131315; }
.edruk-add-to-cart-btn.loading { opacity: 0.7; pointer-events: none; }
.edruk-buy-now-btn {
  width: 100%; padding: 14px; margin-top: 8px; font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer; border: none; border-radius: 8px;
  background: #0d9488; color: #fff; transition: background 0.2s;
}
.edruk-buy-now-btn:hover { background: #0f766e; }

/* Trust features */
.edruk-product-trust {
  display: flex; flex-wrap: wrap; gap: 20px; padding-top: 24px;
  margin-top: 24px; border-top: 1px solid #e2e8f0;
}
.edruk-trust-item {
  display: flex; align-items: center; gap: 8px; font-size: 14px; color: #6b7280;
}
.edruk-trust-item svg { color: var(--edruk-dark); flex-shrink: 0; }

/* Description sections — 7/5 grid */
.edruk-product-sections { padding: 64px 0; }
.edruk-product-section-grid {
  display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start;
}
.edruk-product-section-content { line-height: 1.8; color: #444; }
.edruk-product-section-content h2 {
  font-family: var(--edruk-heading-font); font-size: 22px; font-weight: 600;
  margin: 24px 0 12px;
}
.edruk-product-section-content h2:first-child { margin-top: 0; }
.edruk-product-section-content p { margin-bottom: 12px; }
.edruk-product-section-content ul { margin-left: 20px; margin-bottom: 12px; }
.edruk-product-section-content li { margin-bottom: 6px; }
.edruk-product-section-content ol { margin-left: 20px; margin-bottom: 12px; }
.edruk-product-section-side { position: sticky; top: 100px; }
.edruk-product-section-img { width: 100%; border-radius: 12px; }

/* Related products slider */
.edruk-product-related { padding: 48px 0 64px; }
.edruk-related-header {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px;
}
.edruk-related-header .edruk-eyebrow {
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.2em; color: #0d9488; display: flex; align-items: center; gap: 12px; margin: 0;
}
.edruk-eyebrow-line { display: inline-block; width: 32px; height: 1px; background: #2dd4bf; }
.edruk-related-header .edruk-section-title {
  font-family: var(--edruk-heading-font); font-size: 30px; font-weight: 600;
  margin: 16px 0 0; line-height: 1.2;
}
.edruk-slider-nav { display: flex; gap: 8px; flex-shrink: 0; }
.edruk-slider-prev, .edruk-slider-next {
  width: 40px; height: 40px; border-radius: 8px; border: none;
  background: #f1f5f9; color: var(--edruk-dark); cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.edruk-slider-prev:hover, .edruk-slider-next:hover { background: #f0fdfa; color: #0d9488; }
.edruk-related-scroll {
  display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
}
.edruk-related-scroll::-webkit-scrollbar { display: none; }
.edruk-related-scroll .edruk-archive-product-card { flex: 0 0 182px; }

/* Mini-cart drawer */
.edruk-mini-cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.4);
  z-index: 9998; opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.edruk-mini-cart-overlay.open { opacity: 1; pointer-events: auto; }
.edruk-mini-cart {
  position: fixed; top: 0; right: -400px; width: 380px; max-width: 90vw;
  height: 100vh; background: #fff; z-index: 9999;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  transition: right 0.3s ease; display: flex; flex-direction: column;
}
.edruk-mini-cart.open { right: 0; }
.edruk-mini-cart-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; border-bottom: 1px solid #eee;
}
.edruk-mini-cart-header h3 { font-size: 18px; font-weight: 700; }
.edruk-mini-cart-close {
  background: none; border: none; font-size: 28px; cursor: pointer;
  color: #999; line-height: 1; padding: 0;
}
.edruk-mini-cart-close:hover { color: var(--edruk-dark); }
.edruk-mini-cart-loading { padding: 40px; text-align: center; color: #999; }
.edruk-mini-cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; }
.edruk-mini-cart-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
}
.edruk-mini-cart-item-img { flex-shrink: 0; }
.edruk-mini-cart-item-img img { border-radius: 8px; }
.edruk-mini-cart-item-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.edruk-mini-cart-item-name { font-size: 14px; font-weight: 600; }
.edruk-mini-cart-item-qty { font-size: 13px; color: #666; }
.edruk-mini-cart-item-remove {
  background: none; border: none; color: #e53935; cursor: pointer;
  font-size: 20px; padding: 4px;
}
.edruk-mini-cart-footer { padding: 20px 24px; border-top: 1px solid #eee; }
.edruk-mini-cart-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px; font-size: 16px;
}
.edruk-mini-cart-total strong { font-size: 20px; }
.edruk-mini-cart-cart-btn { width: 100%; margin-bottom: 8px; }
.edruk-mini-cart-checkout-btn { width: 100%; }

/* Subpage banner */
.edruk-page-banner {
  position: relative; min-height: 240px; display: flex; align-items: center;
  justify-content: center; background-size: cover; background-position: center;
  background-color: var(--edruk-dark);
}
.edruk-page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.75), rgba(15,23,42,0.5));
}
.edruk-page-banner-content {
  position: relative; z-index: 1; text-align: center; padding: 48px 24px;
}
.edruk-page-banner-title {
  font-family: var(--edruk-heading-font) !important; font-size: 36px; font-weight: 600;
  color: #fff; margin: 0; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Category banner */
.edruk-cat-banner {
  position: relative; min-height: 280px; display: flex; align-items: center;
  justify-content: center; background-size: cover; background-position: center;
  background-color: var(--edruk-dark); overflow: hidden;
}
.edruk-cat-banner-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.edruk-cat-banner-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg, rgba(15,23,42,0.7), rgba(15,23,42,0.4));
}
.edruk-cat-banner-content {
  position: relative; z-index: 2; text-align: center; padding: 56px 24px; max-width: 800px;
}
.edruk-cat-banner-title {
  font-family: var(--edruk-heading-font) !important; font-size: 40px; font-weight: 600;
  color: #fff; margin: 0 0 12px; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.edruk-cat-banner-desc {
  color: rgba(255,255,255,0.9); font-size: 16px; line-height: 1.6; margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.edruk-page-container {
  max-width: 1200px; margin: 0 auto; padding: 48px 24px;
}
.edruk-entry-content { line-height: 1.7; }
.edruk-entry-content h2 { font-size: 28px; margin: 32px 0 16px; }
.edruk-entry-content h3 { font-size: 22px; margin: 24px 0 12px; }
.edruk-entry-content p { margin-bottom: 16px; }
.edruk-entry-content img { max-width: 100%; height: auto; border-radius: 8px; }

@media (max-width: 768px) {
  .edruk-page-banner { min-height: 180px; }
  .edruk-page-banner-title { font-size: 26px; }
  .edruk-page-container { padding: 32px 16px; }
  .edruk-cat-banner { min-height: 200px; }
  .edruk-cat-banner-title { font-size: 28px; }
  .edruk-cat-banner-content { padding: 32px 16px; }
}

/* Sticky buy bar on mobile */
.edruk-sticky-buy-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff; border-top: 1px solid #eee;
  padding: 12px 16px; z-index: 100; display: none;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.06);
}
.edruk-sticky-buy-bar-price { font-size: 18px; font-weight: 800; }
.edruk-sticky-buy-bar-btn {
  flex: 1; padding: 12px; background: var(--edruk-dark); color: #fff;
  border: none; border-radius: 8px; font-weight: 700; font-size: 15px;
}

/* Product page responsive */
@media (max-width: 768px) {
  .edruk-product-main { grid-template-columns: 1fr; gap: 24px; }
  .edruk-product-gallery { position: static; }
  .edruk-features-list { grid-template-columns: 1fr; }
  .edruk-steps-list { grid-template-columns: 1fr; }
  .edruk-product-title { font-size: 22px; }
  .edruk-product-price { font-size: 22px; }
  .edruk-sticky-buy-bar { display: flex; align-items: center; gap: 12px; }
  .edruk-product-actions { padding-bottom: 60px; }
}

/* ═══ KARTA PRODUKTU v2 — światowy standard (2026-08-06) ═══ */

/* Galeria: mniejsze zdjęcie, bez przycinania */
.edruk-product-gallery { max-width: 480px; }
.edruk-product-image-main { aspect-ratio: 1; background: #fafafa; }
.edruk-product-img { object-fit: contain; }

/* Krok konfiguracji: mniejsze, subtelne kółko */
.edruk-config-step-num { width: 22px; height: 22px; font-size: 12px; }
.edruk-config-step-label { font-size: 14px; }

/* Cena wybranej wersji (pod kolorami) */
.edruk-variation-price {
  margin: 12px 0 4px; padding: 10px 14px; border-radius: 8px;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534;
  font-size: 14px; font-weight: 600;
}

/* Dostawa i odbiór */
.edruk-shipping-section { margin-top: 20px; }
.edruk-shipping-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #374151; margin-bottom: 10px;
}
.edruk-shipping-options { display: flex; flex-direction: column; gap: 8px; }
.edruk-shipping-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border: 1.5px solid #e5e7eb; border-radius: 10px;
  cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s;
}
.edruk-shipping-option:hover { border-color: #cbd5e1; }
.edruk-shipping-option.selected { border-color: #0d9488; box-shadow: 0 0 0 3px rgba(13,148,136,.12); }
.edruk-shipping-option input[type="radio"] { accent-color: #0d9488; margin: 0; }
.edruk-shipping-icon { font-size: 18px; line-height: 1; }
.edruk-shipping-name { font-size: 14px; font-weight: 600; color: #111827; flex: 1; }
.edruk-shipping-reco {
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  background: #ccfbf1; color: #0f766e; padding: 2px 8px; border-radius: 20px;
}
.edruk-shipping-price { font-size: 14px; font-weight: 700; color: #111827; }
.edruk-shipping-free {
  margin-top: 10px; padding: 9px 12px; border-radius: 8px;
  background: #f8fafc; border: 1px dashed #cbd5e1;
  font-size: 12.5px; color: #475569; line-height: 1.5;
}
.edruk-shipping-free.active { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }

/* Opisy: czysty układ bez ramek, światowy styl */
.edruk-product-section-content h2 {
  font-size: 20px; font-weight: 700; color: #111827;
  margin-top: 28px; padding-top: 0; border: none; background: none;
}

/* ═══ Dostawa v2 — kompaktowa, światowa (2026-08-06) ═══ */
.edruk-shipping-options { gap: 6px; }
.edruk-shipping-option {
  padding: 8px 12px; border-radius: 8px; gap: 8px;
  border: 1px solid #e5e7eb; background: #fff;
}
.edruk-shipping-option:hover { border-color: #94a3b8; }
.edruk-shipping-option.selected { border-color: #0d9488; box-shadow: 0 0 0 2px rgba(13,148,136,.1); }
.edruk-shipping-option.disabled { opacity: .5; cursor: not-allowed; }
.edruk-shipping-option.disabled:hover { border-color: #e5e7eb; }
.edruk-shipping-ico { color: #64748b; flex-shrink: 0; }
.edruk-shipping-option.selected .edruk-shipping-ico { color: #0d9488; }
.edruk-shipping-name { font-size: 13px; }
.edruk-shipping-reco { font-size: 9.5px; padding: 1.5px 7px; }
.edruk-shipping-note { font-size: 11px; color: #94a3b8; }
.edruk-shipping-price { font-size: 13px; }
.edruk-shipping-free { font-size: 12px; padding: 8px 12px; color: #64748b; }
.edruk-shipping-title { font-size: 12px; letter-spacing: .06em; }

/* ═══ KARTA ZAKUPU (buy box) — światowy standard (2026-08-06) ═══ */
.edruk-product-config {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 16px 18px; margin-top: 18px;
}
.edruk-config-step { margin: 0 0 12px; }
.edruk-config-step-num {
  width: 20px; height: 20px; font-size: 11px; background: #f1f5f9; color: #334155;
}
.edruk-config-step-label { font-size: 14px; font-weight: 700; color: #0f172a; }

/* Cena w karcie */
.edruk-variation-price {
  margin: 0 0 12px; padding: 10px 14px; border-radius: 10px;
  background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534;
  font-size: 18px; font-weight: 800;
}

/* Swatche w karcie */
.edruk-swatch-wrap { margin: 4px 0 14px; }
.edruk-swatch { width: 34px; height: 34px; }
.edruk-swatch-label { font-size: 13px; color: #475569; }

/* Stepper ilości */
.edruk-qty-stepper {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; background: #fff;
  margin: 0 0 12px;
}
.edruk-qty-stepper input { width: 46px; text-align: center; border: none; padding: 9px 0; font-size: 14px; font-weight: 600; }
.edruk-qty-btn {
  width: 34px; height: 38px; background: #f8fafc; border: none; cursor: pointer;
  font-size: 16px; color: #334155; display: flex; align-items: center; justify-content: center;
}
.edruk-qty-btn:hover { background: #eef2f7; }

/* Przycisk dodaj do koszyka — pełna szerokość */
.variations_form .single_add_to_cart_button {
  width: 100%; padding: 14px 18px; margin-top: 4px;
  font-size: 15px; font-weight: 700; border-radius: 10px;
  background: #0f172a; color: #fff; border: none; cursor: pointer;
  transition: background .15s, transform .1s;
}
.variations_form .single_add_to_cart_button:hover { background: #1e293b; }
.variations_form .single_add_to_cart_button:active { transform: scale(.99); }
.variations_form .quantity { margin-bottom: 12px; }

/* Stepper PHP (hook) — ukryj oryginalną ilość WC */
.variations_form .quantity { display: none !important; }
.edruk-qty-stepper { margin: 0 0 14px; }
.edruk-qty-input { width: 52px !important; text-align: center; border: none; padding: 9px 0; font-size: 14px; font-weight: 600; }

/* Etykieta Ilość + stepper w karcie */
.edruk-qty-row-label { font-size: 13px; font-weight: 600; color: #334155; margin-bottom: 6px; }
