/**
 * ============================================================================
 * DIMENZIJE KLIME CSS (files/assets/css/dimenzije-klime.css)
 * ============================================================================
 * Stili za podstran s tehničnimi dimenzijami klimatskih naprav in vodičem.
 * ============================================================================
 */

/* Glavni vsebnik in postavitev */
.dim-page-hero {
  background: transparent;
  border-bottom: none;
  padding: 36px 20px 16px;
  text-align: center;
}

.dim-hero-inner {
  max-width: 960px;
  margin: 0 auto;
}

.dim-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #1e40af;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  margin-bottom: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.dim-hero-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.2;
  margin-bottom: 16px;
}

.dim-hero-desc {
  font-size: 1.125rem;
  color: #475569;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 24px;
}

.dim-hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 24px;
}

.dim-hero-stat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

.dim-stat-number {
  font-size: 1.25rem;
  font-weight: 800;
  color: #2563eb;
}

.dim-stat-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: #334155;
}

/* Orodna vrstica z interaktivnimi filtri */
.dim-section-wrap {
  max-width: 1380px;
  margin: 0 auto;
  padding: 36px 20px;
}

.dim-viewer-wrapper {
  margin-bottom: 48px;
}

.dim-controls-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card, 24px);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  margin-bottom: 24px;
}

.dim-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

/* Preklopnik enot (zavihki) */
.dim-unit-toggle {
  display: inline-flex;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.dim-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dim-tab-btn:hover {
  color: #0f172a;
}

.dim-tab-btn.active {
  background: #ffffff;
  color: #2563eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Iskalno polje */
.dim-search-box {
  position: relative;
  flex: 1 1 300px;
  max-width: 480px;
}

.dim-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.dim-search-box input {
  width: 100%;
  padding: 10px 38px 10px 42px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.dim-search-box input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.dim-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #94a3b8;
  cursor: pointer;
  padding: 0 4px;
}

.dim-search-clear:hover {
  color: #0f172a;
}

/* Znamke */
.dim-brands-bar, .dim-quick-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid #f1f5f9;
}

.dim-filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  min-width: 80px;
}

.dim-brand-chips, .dim-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dim-brand-chip, .dim-quick-chip {
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.15s ease;
}

.dim-brand-chip:hover, .dim-quick-chip:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.dim-brand-chip.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
}

.dim-quick-chip.active {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
}

/* Statusna vrstica & sortirnik */
.dim-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.9rem;
  color: #64748b;
}

.dim-count-badge strong {
  color: #0f172a;
  font-size: 1rem;
}

.dim-sort-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dim-sort-select {
  padding: 6px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.85rem;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
}

/* TABELA REZULTATOV */
.dim-table-responsive {
  display: block;
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.dim-specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.dim-specs-table thead th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  padding: 14px 16px;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}

.dim-th-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

.dim-specs-table tbody tr {
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.15s ease;
}

.dim-specs-table tbody tr:hover {
  background-color: #f8fafc;
}

.dim-specs-table td {
  padding: 14px 16px;
  vertical-align: middle;
}

.dim-model-cell {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dim-model-title {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

.dim-model-link {
  color: #0f172a;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.15s ease;
}

.dim-model-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.dim-series-sub {
  font-size: 0.8rem;
  color: #64748b;
}

.dim-series-link {
  color: #64748b;
  text-decoration: none;
  transition: color 0.15s ease;
}

.dim-series-link:hover {
  color: #2563eb;
  text-decoration: underline;
}

.dim-brand-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  width: fit-content;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.brand-badge-mitsubishi {
  background: #fee2e2;
  color: #991b1b;
}

.brand-badge-daikin {
  background: #e0f2fe;
  color: #075985;
}

.brand-badge-gree {
  background: #dcfce7;
  color: #166534;
}

.brand-badge-midea {
  background: #e0f2fe;
  color: #0369a1;
}

.brand-badge-samsung {
  background: #e0e7ff;
  color: #3730a3;
}

.dim-power-badge {
  display: inline-block;
  padding: 4px 10px;
  background: #f1f5f9;
  color: #1e293b;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
}

.dim-unit-code {
  font-family: monospace;
  font-size: 0.82rem;
  background: #f8fafc;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
  color: #334155;
}

.dim-val-highlight strong {
  font-size: 0.95rem;
  color: #0f172a;
  font-weight: 700;
}

.dim-weight-tag {
  font-size: 0.82rem;
  color: #64748b;
}

.dim-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}

.dim-detail-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.dim-inquire-btn {
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  color: #2563eb;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
}

.dim-inquire-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* Mobilne kartice (skrite na namizju) */
.dim-cards-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
}

.dim-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.dim-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
}

.dim-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 2px;
}

.dim-card-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.dim-unit-block {
  background: #f8fafc;
  padding: 12px;
  border-radius: 10px;
  border-left: 3px solid #cbd5e1;
}

.dim-unit-block.indoor {
  border-left-color: #3b82f6;
}

.dim-unit-block.outdoor {
  border-left-color: #10b981;
}

.dim-unit-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 8px;
}

.dim-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  padding: 2px 0;
}

.dim-spec-row .dim-lbl {
  color: #64748b;
}

.dim-spec-row .dim-val {
  color: #0f172a;
  font-weight: 600;
}

.dim-card-footer {
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.dim-card-link {
  display: block;
  text-align: center;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 8px;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  width: 100%;
}

/* Nalaganje in prazno stanje */
.dim-loading-state, .dim-error-state, .dim-empty-card {
  text-align: center;
  padding: 48px 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
}

.dim-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: dimSpin 0.8s linear infinite;
  margin: 0 auto 16px;
}

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

/* VSEBINSKI RAZDELKI (VODIČ) */
.dim-guide-section {
  padding: 48px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.dim-guide-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-card, 24px);
  padding: 36px;
  margin-bottom: 36px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.dim-guide-card h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dim-guide-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 12px;
}

.dim-guide-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 16px;
}

.dim-guide-card ul {
  padding-left: 24px;
  margin-bottom: 20px;
}

.dim-guide-card li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 8px;
}

/* Diagram / Infobox odmikov */
.dim-diagram-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #a7f3d0;
  border-radius: 16px;
  padding: 24px;
  margin: 24px 0;
}

.dim-diagram-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #065f46;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dim-clearance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.dim-clearance-item {
  background: #ffffff;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid #d1fae5;
  text-align: center;
}

.dim-clearance-item .dim-val-large {
  font-size: 1.75rem;
  font-weight: 800;
  color: #059669;
  margin-bottom: 4px;
}

.dim-clearance-item .dim-lbl-large {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
}

.dim-clearance-item .dim-desc-sub {
  font-size: 0.8rem;
  color: #6b7280;
  line-height: 1.4;
}

/* CTA blok za svetovanje */
.dim-cta-banner {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  border-radius: var(--radius-card, 24px);
  padding: 40px 32px;
  text-align: center;
  margin: 48px auto;
  max-width: 1100px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.3);
}

.dim-cta-banner h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
}

.dim-cta-banner p {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

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

.dim-cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: #2563eb;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dim-cta-btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  color: #ffffff;
}

.dim-cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.dim-cta-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* FAQ vprašanja */
.dim-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.dim-faq-item {
  background: #f8fafc;
  padding: 24px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
}

.dim-faq-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 10px;
}

.dim-faq-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* Odzivnost */
@media (max-width: 992px) {
  .dim-table-responsive {
    display: none;
  }
  .dim-cards-mobile {
    display: flex;
  }
  .dim-top-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .dim-search-box {
    max-width: 100%;
  }
  .dim-split-row {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  .dim-split-row.reverse .dim-image-col {
    order: -1;
  }
}

/* ==========================================================================
   UNIFICIRANI ELEMENTI ZA INFORMACIJSKE PODSTRANI (dimenzije, montaza, soglasje)
   ========================================================================== */
.dim-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.dim-image-col {
  position: relative;
}

.dim-image-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  background: #f8fafc;
}

.dim-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.dim-image-card:hover img {
  transform: scale(1.02);
}

.dim-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0) 100%);
  color: #ffffff;
  padding: 24px 16px 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Prilagoditev solunar-bullets-list znotraj dim-guide-card */
.dim-guide-card .solunar-bullets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.dim-guide-card .solunar-bullet-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dim-guide-card .solunar-bullet-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  transform: translateY(-1px);
}

.dim-guide-card .solunar-bullet-item.expanded {
  background: #ffffff;
  border-color: #94a3b8;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.dim-guide-card .solunar-bullet-title {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
}

.dim-guide-card .solunar-bullet-toggle-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #2563eb;
  white-space: nowrap;
  user-select: none;
}

.dim-guide-card .solunar-bullet-item.expanded .solunar-bullet-toggle-label {
  color: #64748b;
}

/* Splošni infobox za vodiče */
.dim-info-box {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-left: 4px solid #0284c7;
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}

.dim-info-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0369a1;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dim-info-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #334155;
  margin: 0;
}

.dim-guide-card .solunar-bullet-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #475569;
  margin: 0;
}

.dim-guide-card .solunar-bullet-text ul {
  margin: 6px 0 6px 18px;
  padding: 0;
}

.dim-guide-card .solunar-bullet-text li {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 4px;
}

/* Seznam garancij s kljukicami */
.dim-guarantee-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 20px 0 28px;
}

.dim-guarantee-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.dim-guarantee-item svg {
  color: #16a34a;
  flex-shrink: 0;
  margin-top: 2px;
}

.dim-guarantee-item span {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.45;
}

/* Povezane vsebine in vodiči */
.dim-related-box {
  margin-top: 28px;
  padding: 20px 24px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.dim-related-info-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.dim-related-info-desc {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.4;
}

.dim-related-links-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dim-related-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.dim-related-link:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.dim-related-link svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.dim-related-link:hover svg {
  transform: translateX(2px);
}

/* Mreža tipov in znamk za tematske strani */
.dim-type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 20px 0 28px;
}

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

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

.dim-brands-grid {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1200px) {
  .dim-brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (max-width: 500px) {
  .dim-brands-grid {
    grid-template-columns: 1fr;
  }
}

.dim-type-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  position: relative;
  overflow: hidden;
}

.dim-type-card:hover {
  background: #ffffff;
  border-color: #7dd3fc;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.1);
  transform: translateY(-3px);
}

.dim-type-img {
  background: #ffffff;
  height: 90px;
  max-height: 90px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
  transition: transform 0.25s ease;
}

.dim-type-card:hover .dim-type-img {
  transform: scale(1.06);
}

.dim-type-img-wrap {
  height: 120px;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 16px;
  overflow: hidden;
}

.dim-type-img-wrap img {
  max-height: 90px;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.dim-type-card:hover .dim-type-img-wrap img {
  transform: scale(1.06);
}

.dim-brand-logo-wrap {
  height: 84px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.dim-brand-logo-wrap img {
  max-height: 40px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
  filter: grayscale(15%);
}

.dim-type-card:hover .dim-brand-logo-wrap img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.dim-type-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.dim-type-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.dim-type-card-desc {
  font-size: 0.92rem;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 16px;
  flex-grow: 1;
}

.dim-type-card-action {
  font-size: 0.88rem;
  font-weight: 700;
  color: #2563eb;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.dim-type-card:hover .dim-type-card-action {
  color: #1d4ed8;
}

@media (max-width: 640px) {
  .dim-page-hero {
    padding: 24px 16px 12px;
  }
  .dim-section-wrap {
    padding: 20px 12px;
  }
  .dim-controls-card {
    padding: 16px;
  }
  .dim-guide-card {
    padding: 20px;
  }
  .dim-unit-toggle {
    flex-direction: column;
    width: 100%;
  }
  .dim-tab-btn {
    justify-content: center;
  }
}

/* ============================================================================
 * ONE-PAGE LANDER DODATNI ELEMENTI (Midea PortaSplit)
 * ============================================================================ */

/* Hitra navigacija po sekcijah na vrhu */
.ps-anchor-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.ps-anchor-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.ps-anchor-pill:hover {
  border-color: #3b82f6;
  color: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

/* Izpopolnjen CTA gumb za pomik na naročilnico (#narocilo) */
.ps-order-scroll-btn,
.dim-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.2;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none !important;
  box-shadow: 0 8px 20px -4px rgba(37, 99, 235, 0.35), 0 2px 6px rgba(37, 99, 235, 0.15);
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.ps-order-scroll-btn:hover,
.dim-cta-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(29, 78, 216, 0.45), 0 4px 10px rgba(29, 78, 216, 0.2);
}

.ps-order-scroll-btn:active,
.dim-cta-btn:active {
  transform: translateY(0);
}

.ps-order-scroll-btn .ps-btn-price-tag {
  background: rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.ps-order-scroll-btn svg,
.dim-cta-btn svg {
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.ps-order-scroll-btn:hover svg.ps-btn-arrow,
.dim-cta-btn:hover svg {
  transform: translateX(3px);
}

/* Dvostolpčna postavitev (Slika + Besedilo) */
.ps-split-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 32px;
  align-items: start;
}

.ps-split-row.is-equal {
  grid-template-columns: 1fr 1fr;
}

.ps-split-row.is-reverse {
  grid-template-columns: 7fr 5fr;
}

@media (max-width: 960px) {
  .ps-split-row,
  .ps-split-row.is-equal,
  .ps-split-row.is-reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Okvir produktnih slik (čisto belo ozadje brez obrobe) */
.ps-img-showcase {
  background: #ffffff;
  border: none;
  border-radius: 0;
  padding: 0;
  text-align: center;
  position: relative;
}

.ps-img-showcase img {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.ps-img-showcase:hover img {
  transform: scale(1.02);
}

/* Značke ključnih specifikacij pod glavno sliko */
.ps-specs-chips {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.ps-spec-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ps-spec-chip-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.ps-spec-chip-val {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

/* Poudarjena pasica za površino in ceno */
.ps-area-banner {
  margin-top: 20px;
  padding: 16px 20px;
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.ps-area-banner-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 3-stolpčne kartice "Zakaj Midea PortaSplit?" */
.ps-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 20px 0 28px;
}

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

.ps-why-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.22s ease;
}

.ps-why-card:hover {
  background: #ffffff;
  border-color: #93c5fd;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.08);
  transform: translateY(-2px);
}

.ps-why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #dbeafe;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.ps-why-card h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.ps-why-card p {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Široka lifestyle pasica s sliko balkona */
.ps-lifestyle-hero {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  margin-top: 12px;
  border: 1px solid #e2e8f0;
}

.ps-lifestyle-overlay {
  width: 100%;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.88) 65%, rgba(15, 23, 42, 0.95) 100%);
  padding: 60px 32px 32px;
  color: #ffffff;
}

.ps-lifestyle-overlay h2 {
  color: #ffffff !important;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 12px !important;
}

.ps-lifestyle-overlay p {
  color: #e2e8f0 !important;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0 0 8px !important;
  max-width: 920px;
}

/* 4 načini namestitve (2x2 mreža s preklopom Fotografija / Shema) */
.ps-install-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .ps-install-grid {
    grid-template-columns: 1fr;
  }
}

.ps-install-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.22s ease;
}

.ps-install-card:hover {
  border-color: #93c5fd;
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.08);
}

.ps-install-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.ps-install-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}

.ps-install-dual-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

@media (max-width: 520px) {
  .ps-install-dual-imgs {
    grid-template-columns: 1fr;
  }
}

.ps-install-img-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.ps-install-img-box img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.ps-install-img-box.is-diagram img {
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
}

.ps-install-img-box:hover img {
  transform: scale(1.04);
}

.ps-install-img-caption {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  text-align: center;
  padding: 6px 8px;
  background: #f1f5f9;
  border-top: 1px solid #e2e8f0;
}

/* Naročilnica / Povpraševanje (#narocilo) */
.ps-order-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid #3b82f6;
  border-radius: 24px;
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
}

.ps-price-highlight-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0 20px;
}

.ps-price-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #bfdbfe;
}

.ps-price-amount {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.15;
  margin: 4px 0 8px;
  color: #ffffff;
}

.ps-price-subnote {
  font-size: 0.9rem;
  color: #e0f2fe;
  margin: 0;
}

.ps-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ps-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ps-form-group.is-full {
  grid-column: 1 / -1;
}

.ps-form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1e293b;
}

.ps-form-label span {
  color: #dc2626;
}

.ps-form-input {
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-form-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.ps-radio-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.ps-radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
}

.ps-radio-label:hover {
  border-color: #93c5fd;
  background: #f8fafc;
}

.ps-submit-btn {
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
  margin-top: 8px;
}

.ps-submit-btn:hover {
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .ps-order-card {
    padding: 20px;
  }
  .ps-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Sličice dodatne opreme (Nosilec & Tesnilo) */
.ps-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.ps-thumb-btn {
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  padding: 3px;
  background: #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.2s ease;
}

.ps-thumb-btn:hover,
.ps-thumb-btn.is-active {
  border-color: #2563eb;
  transform: translateY(-2px);
}

.ps-thumb-btn img {
  width: 100%;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

/* Seznam vsebina paketa (14 elementov) */
.ps-package-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
}

@media (max-width: 640px) {
  .ps-package-list {
    grid-template-columns: 1fr;
  }
}

.ps-package-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: #334155;
  line-height: 1.45;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 12px;
}

.ps-package-check {
  color: #16a34a;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Velika fotogalerija (34 slik) */
.ps-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ps-gallery-item {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.ps-gallery-item:hover {
  border-color: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.14);
}

.ps-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.ps-gallery-item:hover img {
  transform: scale(1.06);
}

/* Lightbox modal za ogled slik v polni velikosti */
.ps-lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.ps-lightbox-modal.is-open {
  display: flex;
}

.ps-lightbox-content {
  position: relative;
  max-width: 1024px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ps-lightbox-content img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  background: #ffffff;
}

.ps-lightbox-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 9999px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ps-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.ps-lightbox-nav.is-prev {
  left: -58px;
}

.ps-lightbox-nav.is-next {
  right: -58px;
}

@media (max-width: 1180px) {
  .ps-lightbox-nav.is-prev {
    left: 10px;
  }
  .ps-lightbox-nav.is-next {
    right: 10px;
  }
}
