/* ==========================================================================
   HOLZUNIKATE – Stile für Grid-Shortcodes und Einzelansicht
   ========================================================================== */

/* --------------------------------------------------------------------------
   Übersichts-Grid (Shortcodes)
   -------------------------------------------------------------------------- */

.holz-grid-liste {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 480px) {
    .holz-grid-liste { grid-template-columns: 1fr; }
}

.holz-card {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.holz-card:hover {
    border-color: #3f291c;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.holz-card .holz-card-text {
    padding: 22px 6px 6px;
}

.holz-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.holz-card-text a {
    display: inline;
}

.holz-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.holz-card h3 {
    margin: 0 0 4px;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
}

.holz-card .holz-preis {
    margin: 0;
    color: #3f291c;
    font-weight: 700;
    font-size: 17px;
    text-align: center;
}

/* Filter-Leiste */
.holz-filter {
    margin-bottom: 30px;
    text-align: center;
}

.filter-btn {
    background: #fff8f1;
    border: none;
    padding: 8px 18px;
    margin: 4px;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
}

.filter-btn:hover {
    background: #f4cea5;
}

.filter-btn.active {
    border: 1px solid #402b1d;
}

/* --------------------------------------------------------------------------
   Einzelansicht – Breadcrumb
   -------------------------------------------------------------------------- */

.holzunikat-breadcrumb {
    font-size: 13px;
    color: #888;
    margin-bottom: 24px;
}

.holzunikat-breadcrumb a {
    color: #3f291c;
    text-decoration: none;
}

.holzunikat-breadcrumb a:hover {
    text-decoration: underline;
}

.holzunikat-breadcrumb .sep {
    margin: 0 6px;
    color: #bbb;
}

/* --------------------------------------------------------------------------
   Einzelansicht – Haupt-Layout
   -------------------------------------------------------------------------- */

.holzunikat-wrap {
    max-width: var(--holz-max-width, 1100px);
    margin: 30px auto;
    padding: 0 20px;
}

.holzunikat-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 860px) {
    .holzunikat-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* --------------------------------------------------------------------------
   Einzelansicht – Galerie (Shop-Stil)
   -------------------------------------------------------------------------- */

.holzunikat-gallery {
    position: sticky;
    top: 30px;
}

.holzunikat-main-image {
    border-radius: 8px;
    overflow: hidden;
    background: #f5f0ea;
}

.holzunikat-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
}

.holzunikat-main-image img.loading {
    opacity: 0.5;
}

.holzunikat-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.holzunikat-thumbs img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 5px;
    border: 2px solid transparent;
    transition: border-color 0.15s, opacity 0.15s;
    opacity: 0.7;
}

.holzunikat-thumbs img:hover {
    opacity: 1;
}

.holzunikat-thumbs img.active {
    border-color: #3f291c;
    opacity: 1;
}

/* --------------------------------------------------------------------------
   Einzelansicht – Produktinfo
   -------------------------------------------------------------------------- */

.holzunikat-info h1 {
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 16px;
}

.holzunikat-price {
    font-size: 30px;
    color: #3f291c;
    font-weight: 300;
    margin: 0 0 24px;
}

.holzunikat-excerpt {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e8e0d8;
}

.holzunikat-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 24px;
}

.holzunikat-meta-row {
    display: flex;
    gap: 8px;
    align-items: baseline;
    font-size: 14px;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid #e8e0d8;
}

.holzunikat-meta-row strong {
    color: #333;
    white-space: nowrap;
}

.holzunikat-meta-row a {
    color: #402b1d;
    text-decoration: none;
}

.holzunikat-meta-row a:hover {
    text-decoration: underline;
}

.holzunikat-inquiry-btn {
  border: 0;
  background: #D8BFA5;
  background: linear-gradient(90deg, #e4c5a4, #ebc195);
  padding: 4px 15px 4px 15px;
  border-radius: 10px;
  font-size: clamp(16px, 2.5vw, 20px) !important;
  cursor: pointer;
  text-decoration: none;

  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat-ExtraBold' !important;
filter: brightness(1);
  transition: filter 0.2s ease;
box-shadow: 2px 2px 20px rgba(129, 129, 129, 0.1);
}

.holzunikat-inquiry-btn:hover {
  filter: brightness(1.05);
}
