/* ============================================================
   Product Detail — claude template 2025
   ============================================================ */

/* ── Desktop ───────────────────────────────────────────────── */
@media only screen and (min-width: 1024px) {
  /* Left column: main image + thumbnails stacked below it */
  #productimage { float: left; margin-right: 28px; margin-bottom: 0; width: 400px; height: 300px; }
  #productImgTag { width: 100%; height: 100%; object-fit: contain; }
  #product_thumbimages_container { float: left; display: flex; flex-direction: column; gap: 8px; width: 94px; margin-top: 0; margin-bottom: 16px; margin-right: 12px; }
  .productimage_thumb { display: flex; align-items: center; justify-content: center; cursor: pointer; height: 72px; width: 90px; border: 2px solid var(--border, #e2e8f0); border-radius: 6px; overflow: hidden; }
  .productimage_thumb:hover { border: 2px solid var(--primary, #111); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
  .productimage_thumb img { height: 65px; width: auto; max-width: 86px; object-fit: contain; }
  /* Right column: description, price, basket flow next to the float */
  #producttitle { font-size: 26px; margin-bottom: 16px; display: block; color: var(--text-1, #0f172a); }
  #productshortdescription { margin-bottom: 24px; line-height: 1.75; overflow: hidden; }
  #productdescription { width: auto; }
  #productpricebrutto { font-size: 26px; margin-top: 12px; margin-right: 0; font-weight: 800; color: var(--price-color, #63a3cd); }
  #productpricenetto  { font-size: 15px; color: var(--price-color, #63a3cd); }
  #zubehoerTable { width: 100%; border-width: 0; padding: 3px; margin-top: 10px; margin-bottom: 10px; }
  #zubehoerTable a, #divZubehoer a { color: var(--text-2, #475569); font-size: 12px; text-decoration: underline; }
  #zubehoerTable a:hover, #divZubehoer a:hover { color: var(--primary, #111); text-decoration: none; }
  #productbasket { display: block; margin-bottom: 32px; }
  /* Below both columns */
  #productlongdescription { clear: both; margin-top: 24px; }
  #furtherInfos { clear: none; margin-top: 32px; }
  #divZubehoer a, #divVerwandte a { color: var(--text-1, #0f172a); font-weight: 600; text-decoration: none; }
  #divZubehoer a:hover, #divVerwandte a:hover { color: var(--primary, #111); text-decoration: underline; }
  #divZubehoer .artikelnummer, #divVerwandte .artikelnummer { color: var(--text-3, #94a3b8); font-size: 12px; }
  #divZubehoer img, #divVerwandte img { float: left; padding: 8px; width: 48px; clear: both; }
  #divZubehoer .priceline, #divVerwandte .priceline { margin-top: 4px; }
  #divZubehoer .priceline .price, #divVerwandte .priceline .price { font-weight: 700; font-size: 14px; color: var(--primary, #111); }
  #divZubehoer .priceline a, #divVerwandte .priceline a, #versandkostenlink, .buttonlink { line-height: 1.5; padding: 0; border: none; color: var(--accent, #22c55e); font-weight: 400; text-decoration: none; font-size: 12px; }
  #divZubehoer .priceline a:hover, #divVerwandte .priceline a:hover, #versandkostenlink:hover, .buttonlink:hover { text-decoration: underline; color: var(--primary, #111); }
  #tableiste { padding: 0; background: #111; display: flex; border-radius: 10px 10px 0 0; overflow: hidden; }
  .tabContainer ul { list-style-type: disc; padding-left: 20px; }
  .tabContainer ul li { margin-bottom: 12px; width: auto; }
  .tab { padding: 12px 20px; color: rgba(255,255,255,.55); }
  .tab_selected { padding: 12px 20px; background: #111; font-weight: 600; color: #fff; }
  .tab:hover { color: #fff; cursor: pointer; }
  .tabContainer { color: var(--text-2, #475569); border: 1px solid var(--border, #e2e8f0); border-top: none; border-radius: 0 0 10px 10px; padding: 20px; }
  #empfehlung { float: left; margin-top: 16px; width: 100%; margin-bottom: 24px; }
}

/* ── Tablet ────────────────────────────────────────────────── */
@media only screen and (max-width: 1023px) {
  #productimage { float: left; margin-right: 16px; width: 280px; height: 210px; }
  #productImgTag { width: 100%; height: 100%; object-fit: contain; }
  #producttitle { font-size: 22px; margin-bottom: 16px; display: block; color: var(--text-1, #0f172a); }
  #productlongdescription { display: none; }
  #productshortdescription { max-width: 100%; margin-bottom: 16px; line-height: 1.65; }
  #productdescription { width: auto; }
  #productpricebrutto { font-size: 22px; margin-top: 12px; font-weight: 800; color: var(--price-color, #63a3cd); }
  #productpricenetto  { font-size: 14px; color: var(--price-color, #63a3cd); }
  #zubehoerTable { width: 100%; border-width: 0; }
  #productbasket { display: block; margin-bottom: 24px; }
  #product_thumbimages_container { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; width: 100%; margin-top: 10px; }
  .productimage_thumb { display: flex; align-items: center; justify-content: center; float: none; height: 72px; width: 90px; border: 2px solid var(--border, #e2e8f0); border-radius: 6px; margin: 0; overflow: hidden; }
  .productimage_thumb:hover { border-color: var(--primary, #111); box-shadow: 0 4px 14px rgba(0,0,0,.15); }
  .productimage_thumb img { height: 65px; max-width: 86px; }
  #furtherInfos { float: left; margin-top: 24px; width: 100%; }
  #divZubehoer a, #divVerwandte a { color: var(--text-1, #0f172a); font-weight: 600; text-decoration: none; }
  #divZubehoer a:hover, #divVerwandte a:hover { text-decoration: underline; }
  #divZubehoer .artikelnummer, #divVerwandte .artikelnummer { color: var(--text-3, #94a3b8); font-size: 12px; }
  #divZubehoer img, #divVerwandte img { float: left; padding: 8px; width: 40px; clear: both; }
  #divZubehoer .priceline .price, #divVerwandte .priceline .price { font-weight: 700; font-size: 14px; color: var(--primary, #111); }
  #tableiste { display: flex; background: #111; border-radius: 10px 10px 0 0; overflow: hidden; }
  .tabContainer ul { list-style-type: disc; padding-left: 20px; }
  .tabContainer ul li { margin-bottom: 12px; }
  .tab { padding: 12px 16px; color: rgba(255,255,255,.55); font-size: 12px; }
  .tab_selected { padding: 12px 16px; background: #111; font-weight: 600; color: #fff; font-size: 12px; }
  .tab:hover { color: #fff; cursor: pointer; }
  .tabContainer { color: var(--text-2, #475569); border: 1px solid var(--border, #e2e8f0); border-top: none; border-radius: 0 0 10px 10px; padding: 16px; display: block; }
  #empfehlung { margin-top: 16px; width: 100%; margin-bottom: 24px; }
}

/* ── Mobile ────────────────────────────────────────────────── */
@media only screen and (max-width: 479px) {
  #productimage { float: none; width: 100%; aspect-ratio: 4 / 3; height: auto; margin-right: 0; margin-bottom: 16px; }
  #productImgTag { width: 100%; height: 100%; object-fit: contain; }
  #productshortdescription { max-width: 100%; }
  #productbasket { margin-bottom: 16px; margin-left: 0; }
  #product_thumbimages_container { margin-top: 8px; }
}
