/**
 * Katalog Module - Roll/Digital form ile aynı tasarım sistemi
 * Card layout, grid, spacing, input styles birebir aynı
 * Sadece UI/styling - hesaplama ve field yapısı değişmez
 */

/* Inter font PHP tarafından yüklenir - duplicate @import kaldırıldı */

#tab-content-katalog {
  --katalog-heading-font: var(
    --font-family-heading,
    var(--font-family-base, "Inter", -apple-system, BlinkMacSystemFont, sans-serif)
  );
  --katalog-heading-size: var(--font-size-display);
  --katalog-heading-weight: 900;
  --katalog-heading-color: #0f172a;
  --katalog-intro-size: 0.9375rem;
  --katalog-intro-color: #64748b;
  --katalog-form-label-font: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --katalog-form-label-size: 13px;
  --katalog-form-label-weight: 700;
  --katalog-form-label-color: #374151;
  --katalog-form-desc-size: 11px;
  --katalog-form-desc-weight: 600;
  --katalog-form-desc-color: #6b7280;
}

/* awp-info-block / tooltip - Rulo/Dijital ile aynı */
#tab-content-katalog .awp-info-block {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

#tab-content-katalog .awp-info-title {
  font-family: var(--katalog-form-label-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--katalog-form-label-color) !important;
  line-height: 1.3;
}

#tab-content-katalog .awp-info-desc {
  font-family: var(--katalog-form-label-font) !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: var(--katalog-form-desc-color) !important;
  line-height: 1.35;
  margin: 0;
}

/* Katalog bottom: upload + instructions – Dijital ile aynı stil */
#tab-content-katalog .module-katalog-bottom .module-dijital-baski-section-label {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #374151;
  margin-bottom: 4px;
}

#tab-content-katalog .module-katalog-bottom .module-dijital-baski-upload-zone {
  border: 2px dashed #cbd5e1;
  border-radius: 6px;
  padding: 8px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex: 1;
  min-height: var(--awp-bottom-field-h, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#tab-content-katalog .module-katalog-bottom .module-dijital-baski-upload-zone:hover {
  border-color: #6366f1;
  background: #f8fafc;
}

#tab-content-katalog .module-katalog-bottom .module-dijital-baski-instructions {
  flex: 1;
  min-height: var(--awp-bottom-field-h, 96px);
  resize: vertical;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
}

#awp-printwise-root main.module-katalog-active {
  max-width: 1500px !important;
}

/* Module grid - Dijital ile tam aynı genişlik: çift padding yok, dış main'in px'i yeter */
.module-katalog {
  font-family: var(--katalog-heading-font);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 400px);
  grid-template-areas: "left_col summary" "below below";
  gap: 24px;
  align-items: start;
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 0;
  padding-right: 0;
  padding-top: 0;
}

/* Detaylı Bilgiler: full-width row below 2-col */
.module-katalog-below-fullwidth {
  grid-area: below;
  min-width: 0;
  width: 100%;
}

/* Left column: title, subtitle, gallery, form fields, bottom (no separate header grid) */
.module-katalog-left-col {
  grid-area: left_col;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "top" "form_row" "bottom";
  gap: 20px;
  align-items: start;
}

.module-katalog-top {
  grid-area: top;
  min-width: 0;
}

.module-katalog-form-row {
  grid-area: form_row;
  min-width: 0;
  display: grid;
  grid-template-columns: 350px minmax(0, 1fr);
  grid-template-areas: "image form";
  gap: 20px;
  align-items: start;
  width: 100%;
}

.module-katalog-image-col {
  grid-area: image;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  max-width: 350px;
}

/* Ürün görseli — galeri yokken düz alan; galeri kartı calculator.css ile aynı */
.module-katalog-form-row .module-katalog-image:not(.awp-has-product-gallery):not(:has(.awp-product-gallery)) {
  width: 350px;
  min-width: 350px;
  max-width: 350px;
  height: auto;
  min-height: min-content;
  overflow: visible;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-shrink: 0;
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-sizing: border-box;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Galeri kartı — Ders Notu / Dijital / Rulo ile aynı çerçeve */
.module-katalog-form-row .module-katalog-image.awp-has-product-gallery,
.module-katalog-form-row .module-katalog-image:has(.awp-product-gallery),
#katalog-product-image-wrap.awp-has-product-gallery,
#katalog-product-image-wrap:has(.awp-product-gallery) {
  width: 100%;
  max-width: 350px;
  min-width: 0;
  height: auto;
  min-height: min-content;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-shrink: 0;
  background: #fff;
  border-radius: 6px;
  padding: 16px;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
  box-sizing: border-box;
}

/* Ürün görseli — kart görünümü calculator.css (.awp-fe-product-visual-card ile eş); çift çerçeve yok */
.module-katalog-form-row .module-katalog-image {
  width: 350px;
  min-width: 350px;
  max-width: 350px;
}

/* Katalog: taşma — ortak galeri stilleri calculator.css */
#katalog-product-image-wrap {
  overflow: visible !important;
}

.module-katalog-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

#katalog-product-image-wrap .awp-product-gallery-main .module-katalog-image-img,
#katalog-product-image-wrap .awp-product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.module-katalog-image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 425px;
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  border-radius: 6px;
}

.module-katalog-fields {
  grid-area: form;
  min-width: 0;
  width: 100%;
}

/* Bottom: Dosya yükleme | Özel talimatlar */
.module-katalog-bottom {
  grid-area: bottom;
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.module-katalog-bottom > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}

/* Heading - Rulo/Dijital ile aynı */
#tab-content-katalog .module-katalog-heading {
  font-family: var(--katalog-heading-font) !important;
  font-size: var(--katalog-heading-size) !important;
  font-weight: var(--katalog-heading-weight) !important;
  color: var(--katalog-heading-color) !important;
  letter-spacing: -0.025em;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

#tab-content-katalog .module-katalog-intro {
  font-family: var(--katalog-heading-font) !important;
  font-size: var(--katalog-intro-size) !important;
  font-weight: 400 !important;
  color: var(--katalog-intro-color) !important;
  line-height: 1.5;
  margin: 0 0 16px 0;
}

/* Toplam Sayfa Sayısı – modern tek yüzey: koyu alt çizgi yok */
.module-katalog .katalog-spinner-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
  height: 48px;
  min-height: 48px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.module-katalog .katalog-spinner-wrapper:hover {
  border-color: #cbd5e1;
}

.module-katalog .katalog-spinner-wrapper:focus-within {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

#awp-printwise-root .module-katalog .katalog-input-with-spinner.input-shared,
#awp-printwise-root .module-katalog .katalog-input-with-spinner.awp-form-input,
#awp-printwise-root .module-katalog .katalog-input-with-spinner.katalog-input,
#awp-printwise-root .module-katalog input.katalog-input-with-spinner,
.module-katalog .katalog-input-with-spinner.input-shared,
.module-katalog .katalog-input-with-spinner.awp-form-input,
.module-katalog .katalog-input-with-spinner {
  flex: 1;
  min-width: 0;
  width: auto !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  padding: 0 14px !important;
  margin: 0 !important;
  border: 0 !important;
  border-width: 0 !important;
  border-style: none !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  color: #0f172a !important;
  line-height: normal !important;
  transition: none !important;
  -moz-appearance: textfield;
  appearance: textfield;
}

.module-katalog .katalog-input-with-spinner::placeholder {
  color: #94a3b8;
  font-weight: 500;
}

.module-katalog .katalog-input-with-spinner:focus {
  outline: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-bottom: 0 !important;
}

.module-katalog .katalog-spinner-controls {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e2e8f0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  pointer-events: none;
}

.module-katalog .katalog-spinner-controls .katalog-spinner-btn {
  pointer-events: auto;
}

.module-katalog .katalog-spinner-btn {
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

.module-katalog .katalog-spinner-btn:last-child {
  border-bottom: none;
}

.module-katalog .katalog-spinner-btn:hover:not(:disabled) {
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
}

.module-katalog .katalog-spinner-btn:active:not(:disabled) {
  background: rgba(99, 102, 241, 0.14);
}

.module-katalog .katalog-spinner-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.module-katalog .katalog-spinner-btn svg {
  width: 16px;
  height: 16px;
  display: block;
}

.module-katalog .katalog-input-with-spinner::-webkit-inner-spin-button,
.module-katalog .katalog-input-with-spinner::-webkit-outer-spin-button {
  display: none !important;
  -webkit-appearance: none !important;
  margin: 0 !important;
}

div#katalog-details-content {
  padding: 25px;
}

/* Kapak grubu — soft & canlı panel */
.module-katalog .katalog-kapak-group {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, 0.35);
  background:
    linear-gradient(
      145deg,
      rgba(236, 253, 245, 0.98) 0%,
      rgba(224, 242, 254, 0.92) 48%,
      rgba(254, 243, 199, 0.55) 100%
    );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.75) inset,
    0 10px 28px rgba(20, 184, 166, 0.1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.module-katalog .katalog-kapak-group.is-open {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 12px 32px rgba(14, 165, 233, 0.14);
  background:
    linear-gradient(
      145deg,
      rgba(204, 251, 241, 0.95) 0%,
      rgba(186, 230, 253, 0.9) 50%,
      rgba(254, 249, 195, 0.65) 100%
    );
}

.module-katalog .katalog-kapak-group__hint {
  margin: 0 0 0.75rem;
  font-size: 13px;
  line-height: 1.5;
  color: #0f766e;
}

.module-katalog .katalog-kapak-group__toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start;
  gap: 10px;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 212, 191, 0.25);
  margin-bottom: 0 !important;
}

.module-katalog .katalog-kapak-group__toggle .awp-info-text-block {
  flex: 1 1 auto;
  min-width: 0;
}

.module-katalog .katalog-kapak-group__toggle .dijital-custom-toggle-switch {
  margin-left: auto;
  flex-shrink: 0;
  align-self: center;
}

.module-katalog .katalog-kapak-group.is-open .katalog-kapak-group__toggle {
  border-color: rgba(14, 165, 233, 0.35);
  background: rgba(255, 255, 255, 0.85);
}

.module-katalog .katalog-kapak-group__fields {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(14, 165, 233, 0.35);
}
/* Summary panel – taban calculator.css; Katalog 8px radius + scrollbar rengi */
.module-katalog-summary {
  grid-area: summary;
  align-self: start;
  border-radius: 6px;
  --awp-summary-scrollbar-track: #21294a;
  --awp-summary-scrollbar-thumb: rgba(167, 177, 195, 0.4);
  --awp-summary-scrollbar-thumb-hover: rgba(167, 177, 195, 0.6);
  --awp-summary-scrollbar-thumb-active: rgba(167, 177, 195, 0.75);
  transition: background 0.25s ease, border-radius 0.25s ease, box-shadow 0.2s ease-out;
  max-height: none;
  overflow-y: visible;
  overflow-x: hidden;
  min-width: 0;
}

.module-katalog-summary-header {
  --awp-summary-header-border: rgba(167, 177, 195, 0.15);
  --awp-summary-header-transition: background 0.25s ease, border-color 0.25s ease;
}

.module-katalog-summary-title {
  font-family: var(--awp-summary-panel-title-font-family, "Inter", -apple-system, BlinkMacSystemFont, sans-serif) !important;
  font-size: var(--awp-summary-panel-title-font-size, 18px) !important;
  font-weight: var(--awp-summary-panel-title-font-weight, 900) !important;
  font-stretch: var(--awp-summary-panel-title-font-stretch, normal) !important;
  letter-spacing: -0.02em;
  color: var(--awp-summary-panel-title-color, #fff);
  margin: 0 0 4px 0;
  text-transform: uppercase;
}

.module-katalog-summary-subtitle {
  font-family: var(--awp-summary-panel-subtitle-font-family, inherit);
  font-size: var(--awp-summary-panel-subtitle-font-size, 10px) !important;
  font-weight: var(--awp-summary-panel-subtitle-font-weight, 500) !important;
  font-stretch: var(--awp-summary-panel-subtitle-font-stretch, normal) !important;
  letter-spacing: 0.06em;
  color: var(--awp-summary-panel-subtitle-color, #94a3b8);
  margin: 0;
}

.module-katalog-summary-icon {
  flex-shrink: 0;
}

.module-katalog-cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.module-katalog-cost-label {
  font-family: var(--awp-summary-panel-cost-font-family, inherit);
  font-size: var(--awp-summary-panel-cost-font-size, 11px) !important;
  font-weight: var(--awp-summary-panel-cost-font-weight, 600) !important;
  font-stretch: var(--awp-summary-panel-cost-font-stretch, normal) !important;
  letter-spacing: 0.05em;
  color: var(--awp-summary-panel-cost-label-color, rgba(255, 255, 255, 0.7));
  text-transform: uppercase;
  min-width: 0;
  flex-shrink: 1;
}

.module-katalog-cost-value {
  font-family: var(--awp-summary-panel-cost-font-family, inherit);
  font-size: var(--awp-summary-panel-cost-font-size, 13px) !important;
  font-weight: var(--awp-summary-panel-cost-font-weight, 600) !important;
  font-stretch: var(--awp-summary-panel-cost-font-stretch, normal) !important;
  color: var(--awp-summary-panel-cost-value-color, #fff);
  flex-shrink: 0;
  white-space: nowrap;
}

/* Ana fiyat bilgisi – panel padding içinde, taşma yok */
.module-katalog-total {
  margin-top: 16px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
  padding: 16px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background: var(--awp-summary-panel-total-bg, linear-gradient(180deg, rgb(28 47 95) 0%, rgb(20 27 56) 100%));
  transition: background 0.25s ease, border-color 0.25s ease;
  box-sizing: border-box;
  max-width: 100%;
}
.module-katalog-total-label {
  font-size: 0.875rem !important; /* 14px – görseldeki small title */
  font-weight: 900 !important;
  letter-spacing: 0.08em;
  color: var(--awp-summary-panel-total-label-color, #a7b1c3) !important;
  text-transform: uppercase;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.module-katalog-total-value {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}

.module-katalog-total-value .module-katalog-total-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: nowrap;
}

.module-katalog-total-value #katalog_final_price {
  transition: color 0.2s ease;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 45px !important;
  font-weight: 900 !important;
  color: var(--awp-summary-panel-total-value-color, #fff);
}

.module-katalog-total-value .module-katalog-currency-gap {
  display: none;
}

/* MKD: görseldeki boyut ve renk (a7b1c3) */
.module-katalog-total-value .currency-unit-sm,
.module-katalog-total-value .currency-unit {
  font-size: 1.125rem !important; /* 18px – text-lg */
  font-weight: 900 !important;
  color: #a7b1c3 !important;
  transition: color 0.2s ease;
}

.module-katalog-currency-gap {
  margin-left: 2px;
}

/* Katalog details accordion */
.module-katalog-summary .katalog-details-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.module-katalog-summary .katalog-details-accordion-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.module-katalog-summary .katalog-details-accordion-content {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.module-katalog-summary .katalog-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.module-katalog-summary .katalog-metric-card {
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 11px;
}

.module-katalog-summary .katalog-metric-blue { background: rgba(59, 130, 246, 0.2); }
.module-katalog-summary .katalog-metric-emerald { background: rgba(16, 185, 129, 0.2); }
.module-katalog-summary .katalog-metric-purple { background: rgba(139, 92, 246, 0.2); }
.module-katalog-summary .katalog-metric-orange { background: rgba(249, 115, 22, 0.2); }

.module-katalog-summary .katalog-metric-label {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.module-katalog-summary .katalog-metric-value {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

/* Panel altı: Ürün genel bakış, ürün bilgisi, butonlar, ödeme (Rulo/Dijital ile aynı sınıflar) */
.module-katalog-summary .module-product-overview-header,
.module-katalog-summary .module-product-overview-label,
.module-katalog-summary .module-ders-notu-advice,
.module-katalog-summary .module-ders-notu-advice-title,
.module-katalog-summary .module-ders-notu-advice-text {
  font-family: var(--katalog-heading-font) !important;
}

/* Responsive – Dijital/Ders Notu ile aynı: tek sütun, taşma yok, summary altta */
@media (max-width: 900px) {
  #awp-printwise-root main.module-katalog-active,
  #tab-content-katalog,
  .module-katalog {
    overflow-x: hidden;
    max-width: 100%;
  }

  .module-katalog-left-col,
  .module-katalog-form-row,
  .module-katalog-fields,
  .module-katalog-bottom {
    min-width: 0;
  }

  .module-katalog {
    grid-template-columns: 1fr;
    grid-template-areas: "left_col" "summary" "below";
    gap: 16px;
  }

  .module-katalog-left-col {
    gap: 14px;
  }

  .module-katalog-form-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "image"
      "form";
    align-items: start;
    gap: 24px;
  }

  .module-katalog-form-row .module-katalog-image,
  .module-katalog-image-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0 auto;
  }

  .module-katalog-image-placeholder {
    min-height: 280px;
  }

  .module-katalog-bottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .module-katalog-summary {
    position: static !important;
    min-width: unset;
    max-width: none;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
    padding: 16px;
    box-sizing: border-box;
  }

  .module-katalog-summary-header {
    margin-bottom: 18px;
  }

  .module-katalog-cost-row {
    padding: 8px 0;
    gap: 10px;
    min-width: 0;
  }

  .module-katalog-total {
    margin-top: 12px;
    margin-left: 0;
    margin-right: 0;
    padding: 12px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .module-katalog-total-value #katalog_final_price {
    font-size: 38px !important;
  }
}

/* Küçük mobil – Ders Notu/Dijital ile aynı kompakt yerleşim */
@media (max-width: 640px) {
  #awp-printwise-root main.module-katalog-active {
    max-width: 100% !important;
  }

  #awp-printwise-root main.module-katalog-active,
  #tab-content-katalog,
  .module-katalog {
    overflow-x: hidden;
    max-width: 100%;
    box-sizing: border-box;
  }

  .module-katalog-left-col,
  .module-katalog-form-row,
  .module-katalog-fields,
  .module-katalog-bottom,
  .module-katalog-summary {
    min-width: 0;
    max-width: 100%;
  }

  .module-katalog {
    gap: 12px;
  }

  .module-katalog-left-col {
    gap: 10px;
  }

  .module-katalog-form-row {
    gap: 24px;
    align-items: start;
  }

  .module-katalog-form-row .module-katalog-image,
  .module-katalog-image-col {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: visible;
  }

  .module-katalog-image-placeholder {
    min-height: 240px;
  }

  .module-katalog-bottom {
    gap: 10px;
  }

  .module-katalog-summary {
    max-height: none;
    overflow-y: visible;
    overflow-x: hidden;
    padding: 14px;
    box-sizing: border-box;
  }

  .module-katalog-summary-header {
    margin-bottom: 10px;
  }

  .module-katalog-summary-title {
    font-size: 18px !important;
    font-weight: 900 !important;
  }

  /* Katalog Baskı, Kargo vb. satırları – üst üste kaymasın, gap ile ayrılsın */
  .module-katalog-cost-row {
    padding: 8px 0;
    gap: 10px;
    min-width: 0;
  }

  .module-katalog-cost-label {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .module-katalog-cost-value {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .module-katalog-total {
    margin-top: 10px;
    margin-left: 0;
    margin-right: 0;
    padding: 10px;
    max-width: 100%;
    box-sizing: border-box;
  }

  .module-katalog-total-value #katalog_final_price {
    font-size: 32px !important;
  }
}
