/* =====================================================
   FSD Child Theme — custom.css
   Vlarom E-Commerce Agentur
   ===================================================== */

/* --- Logo 30% verkleinert (original ~160px -> ~112px) --- */
#_desktop_logo img.logo { max-width: 112px !important; height: auto !important; }
#_mobile_logo  img.logo { max-width: 80px  !important; height: auto !important; }

/* --- Produktseite: Beschreibung ohne Tabs --- */
.fsd-product-info-section {
  margin-top: 2rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 1.5rem;
}

.fsd-section-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #e5130a;
}

.fsd-description-block { margin-bottom: 2rem; }
.fsd-details-block     { margin-bottom: 2rem; }

/* --- Artikel-Nr. + EAN inline (über Preis) --- */
.fsd-inline-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.2rem;
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  color: #555;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.5rem;
}
.fsd-detail-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.fsd-detail-label {
  font-weight: 600;
  color: #444;
}
.fsd-detail-value a {
  color: #555;
  text-decoration: none;
}
.fsd-detail-value a:hover { text-decoration: underline; }

/* --- Erscheinungsdatum Tabelle (nach Warenkorb) --- */
.fsd-product-table {
  width: 100%;
  margin-top: 0.75rem;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.fsd-product-table th,
.fsd-product-table td {
  padding: 0.4rem 0.6rem;
  border: 1px solid #ddd;
  text-align: left;
}
.fsd-product-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #444;
  width: 40%;
}
.fsd-product-table td strong {
  color: #e5130a;
}


/* --- GPSR-Block --- */
.gpsr-info {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #f9f9f9;
  border-left: 3px solid #e5130a;
  border-radius: 2px;
}
.gpsr-info h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.gpsr-info p {
  margin-bottom: 0.25rem;
  font-size: 0.88rem;
}

/* --- Artikel-Badges (custom_item_badge: lv-sv / lv-gj) --- */
.thumbnail-top {
  position: relative;
}
.fsd-item-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 5px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  border-radius: 3px;
  pointer-events: none;
  letter-spacing: 0.02em;
}
.fsd-item-badge--lv-sv {
  background: #e5130a !important;
  color: #fff;
}
.fsd-item-badge--lv-gj {
  background: #1a7a2a;
  color: #fff;
}

/* --- Artikel-Badge Detailseite (unter Bild) --- */
.fsd-detail-badge {
  display: inline-block;
  margin-top: 0.75rem;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 3px;
}
.fsd-detail-badge--lv-sv {
  background: #e5130a !important;
  color: #fff;
}
.fsd-detail-badge--lv-gj {
  background: #1a7a2a;
  color: #fff;
}

/* --- Nicht-auf-Lager Button --- */
.fsd-oos-btn,
.fsd-oos-btn:hover,
.fsd-oos-btn:focus {
  background: #999 !important;
  border-color: #999 !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}



.fsd-footer-copy { font-size: 0.82rem; color: #888; }
.fsd-footer-copy a { color: #888; }
.fsd-footer-copy a:hover { color: #e5130a; text-decoration: none; }
.fsd-footer-agency { font-weight: 600; }

/* ═══════════════════════════════════════════
   FSD Kategorie-Slider (Homepage)
   ═══════════════════════════════════════════ */

/* Block-Wrapper */
.fsd-cat-block {
  margin: 0 0 2.5rem;
  padding: 1.5rem 0 0;
  border-top: 3px solid #e5130a;
}

/* Header: Titel + Controls in einer Zeile */
.fsd-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}
.fsd-cat-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #1a1a1a;
  flex: 1;
}
.fsd-cat-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.fsd-arrow {
  background: #e5130a !important;
  color: #fff;
  border: none;
  border-radius: 3px;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.fsd-arrow:hover { background: #b80d07; }
.fsd-cat-link {
  font-size: .82rem;
  font-weight: 600;
  color: #e5130a;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #e5130a;
  padding: 4px 10px;
  border-radius: 3px;
  transition: all .15s;
}
.fsd-cat-link:hover {
  background: #e5130a !important;
  color: #fff;
  text-decoration: none;
}

/* Slider-Schienencontainer */
.fsd-slider-wrap {
  overflow: hidden;
}
.fsd-slider-track {
  display: flex;
  gap: 12px;
  transition: transform .35s cubic-bezier(.25,.46,.45,.94);
  will-change: transform;
}

/* Einzelne Kachel */
.fsd-slide {
  flex: 0 0 calc(16.666% - 10px);   /* 6 pro Reihe Desktop */
  min-width: 0;
}

/* Tablet: 4 */
@media (max-width: 1199px) {
  .fsd-slide { flex: 0 0 calc(25% - 9px); }
}
/* Mobile L: 3 */
@media (max-width: 767px) {
  .fsd-slide { flex: 0 0 calc(33.333% - 8px); }
  .fsd-cat-title { font-size: 1rem; }
}
/* Mobile S: 2 */
@media (max-width: 479px) {
  .fsd-slide { flex: 0 0 calc(50% - 6px); }
}

/* Produkt-Kachel innen: kompakt */
.fsd-slide .product-miniature { margin: 0; }
.fsd-slide .product-miniature .card { border-radius: 4px; box-shadow: 0 1px 4px rgba(0,0,0,.08); }

/* --- Footer Vlarom Credit --- */
.fsd-footer-copy { font-size: .82rem; color: #888; }
.fsd-footer-copy a { color: #888; }
.fsd-footer-copy a:hover { color: #e5130a; text-decoration: none; }
.fsd-footer-agency { font-weight: 600; }

/* --- Checkout Schritt 4 Opt-in-Block --- */
.fsd-optin-block { margin: 1rem 0; padding: .75rem 1rem; background: #f9f9f9; border-radius: 4px; }
.fsd-optin-block ul { list-style: none; margin: 0; padding: 0; }
.fsd-optin-block li { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.fsd-optin-block .condition-label label { font-size: .9rem; cursor: pointer; }

/* --- §356a Widerrufsbutton in Bestelldetails --- */
.fsd-widerruf-bar {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.fsd-widerruf-btn {
  font-size: 0.85rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid #c0392b;
  color: #c0392b !important;
  background: #fff;
  border-radius: 3px;
  text-decoration: none;
  white-space: nowrap;
}
.fsd-widerruf-btn:hover {
  background: #c0392b;
  color: #fff !important;
}
.fsd-widerruf-hint {
  font-size: 0.82rem;
  color: #888;
}
.fsd-widerruf-hint a { color: #888; text-decoration: underline; }

/* --- Checkout Schritt 1: optionaler Konto-Link --- */
.fsd-optional-link {
  font-size: 0.85rem;
  color: #666;
  text-decoration: underline;
}
.fsd-optional-link:hover { color: #e5130a; }

/* --- §356a BGB Footer-Widerrufsbutton --- */
.fsd-footer-widerruf {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.75rem 0;
  border-top: 1px solid #e5130a;
  margin-top: 1rem;
}
.fsd-footer-widerruf-btn {
  background: #e5130a !important;
  color: #fff !important;
  border: none;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 3px;
  text-decoration: none !important;
  transition: background 0.15s;
}
.fsd-footer-widerruf-btn:hover {
  background: #c4100a !important;
  color: #fff !important;
}
.fsd-footer-widerruf-hint {
  font-size: 0.82rem;
  color: #888;
  text-decoration: underline;
}
.fsd-footer-widerruf-hint:hover { color: #555; }
