/* Product detail (woocommerce/single-product.php). Layout comes from hipp-event.css (.hipp-ev-*),
   the "Meer …" rows from hipp-online.css (.hipp-on-*); this file only adds what's product-specific.
   Enqueued by hipp_enqueue_product_assets(). */

body.single-product { background: #F6F0F2; }
body.single-product .site-content { padding-top: 0; padding-bottom: 0; }

/* Hero visual: product artwork at its own ratio (several have text baked in, so no cropping) */
.hipp-pr-visual {
  position: relative; border-radius: 6px; overflow: hidden; background: var(--ink-50);
  border: 1px solid var(--ink-100);
}
.hipp-pr-visual img { display: block; width: 100%; height: auto; }
.hipp-pr-visual:not(:has(img)) { aspect-ratio: 4/3; } /* look: hipp-placeholder.css */
.hipp-pr-visual .hipp-stripe-label {
  position: absolute; left: 14px; bottom: 12px; font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  color: #6E6667; background: rgba(255,255,255,.6); padding: 4px 8px; border-radius: 3px;
}

/* WooCommerce notices (e.g. "already in your cart") above the hero */
.hipp-pr-notices:not(:has(.woocommerce-message, .woocommerce-error, .woocommerce-info)) { display: none; }
.hipp-pr-notices { padding-top: 20px; }
.hipp-pr-notices .woocommerce-message, .hipp-pr-notices .woocommerce-error, .hipp-pr-notices .woocommerce-info {
  margin: 0; padding: 14px 18px; list-style: none; border-radius: 6px; font-size: 14px;
  background: var(--ink-50); border: 1px solid var(--ink-200); color: var(--ink-900);
}
.hipp-pr-notices .woocommerce-error { background: var(--red-50); border-color: var(--red-100); color: var(--red-700); }
.hipp-pr-notices a { color: var(--red-600); font-weight: 600; }

/* Sidebar */
.hipp-product .hipp-ev-register .hipp-ev-h3 { line-height: 1.25; }
.hipp-pr-perks { margin: 0 0 18px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hipp-pr-perks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-700); }
.hipp-pr-perks svg { flex-shrink: 0; margin-top: 2px; color: var(--red-600); }
.hipp-product form.cart { margin: 0; }
.hipp-pr-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 15px 26px;
  border: 0; border-radius: 4px; background: var(--red-600); color: #fff !important;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; text-decoration: none; transition: background .15s;
}
.hipp-pr-submit:hover { background: var(--red-700); }
.hipp-pr-fine { margin: 10px 0 0; font-size: 12.5px; color: var(--ink-500); }
.hipp-pr-fine a { color: var(--ink-700); border-bottom: 1px solid var(--ink-300); }
.hipp-pr-discount { margin: 14px 0 0; padding: 12px 14px; font-size: 13px; line-height: 1.5; color: var(--ink-700); background: var(--ink-50); border-radius: 6px; }
.hipp-pr-discount a { color: var(--ink-900); border-bottom: 1px solid var(--ink-300); overflow-wrap: anywhere; }

/* Spreker card (prototype event.jsx speaker card) */
.hipp-pr-speaker { display: grid; grid-template-columns: 72px 1fr; gap: 20px; margin-top: 14px; padding: 24px; }
.hipp-pr-avatar {
  display: flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%;
  background: var(--dark-canvas); color: var(--dark-text); font-size: 22px; font-weight: 600; letter-spacing: .02em;
}
.hipp-pr-speaker h3 { margin: 0 0 4px; font-size: 20px; font-weight: 500; color: var(--ink-900); }
.hipp-pr-role { margin-bottom: 10px; font-size: 13.5px; color: var(--ink-500); }
.hipp-pr-speaker p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-700); }

/* "Meer …" rows */
.hipp-pr-more { margin-top: 14px; }
.hipp-pr-more .hipp-on-row:first-child { border-top: 0; }
.hipp-pr-more .hipp-on-aside .hipp-on-price { font-size: 16px; margin-bottom: 4px; }
.hipp-pr-all { margin-top: 16px; }

/* Single column: the Aanmelden card goes right under the hero instead of after the long description */
@media (max-width: 1024px) {
  .hipp-product .hipp-ev-body { padding-top: 32px; }
  .hipp-product .hipp-ev-sidebar { order: -1; }
}
@media (max-width: 480px) {
  .hipp-pr-speaker { grid-template-columns: 1fr; gap: 14px; }
}
