/*
Theme Name:  Wollschlaeger Child
Template:    wts
Version:     1.0
*/
@import url('../wts/style.css');


/* ── Enquiry button ─────────────────────────── */
.woo-enquiry-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding: 13px 20px;
  background: #25D366;
  color: #fff !important;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.woo-enquiry-btn:hover { background: #152e57; }

/* ── Trust banners ──────────────────────────── */
.trust-banner-block { margin-top: 16px; }

.trust-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.trust-box {
    background: #e8f0fe;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}
.trust-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}
.trust-box strong {
    display: block;
    font-size: 13px;
    color: #1a1a1a;
    margin-bottom: 3px;
}
.trust-box span {
    font-size: 11px;
    color: #5f6368;
}
.payment-options-box {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 14px;
    text-align: center;
}
.payment-options-box strong {
    display: block;
    font-size: 13px;
    margin-bottom: 10px;
    color: #1a1a1a;
}
.payment-options-box img {
    max-width: 100%;
    height: auto;
}

/* ── Mobile: stack banners vertically ────── */
@media (max-width: 600px) {
  .woo-trust-banners { grid-template-columns: 1fr; }
  .trust-item { border-right: none; border-bottom: 1px solid #e0e0e0; }
  .trust-item:last-child { border-bottom: none; }
}

/* ── Loop enquiry button ────────────────────── */
.woo-loop-enquiry {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: calc(100% - 24px);
    margin: 6px 12px 10px;
    padding: 8px;
    background: #25d366;
    color: #fff !important;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.woo-loop-enquiry:hover { background: #1ebe5d; }

/* ── Loop % badge ───────────────────────────── */
.woo-pct-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #e07b00;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 9px;
    border-radius: 4px;
    z-index: 2;
    min-width: unset;
    line-height: 1.4;
}
ul.products .onsale {
    margin: 0;
    border-radius: 4px;
    min-height: unset;
    min-width: unset;
    line-height: 1.4;
}

/* ── % Off Sale ────── */

.onsale {
    background: #cc3a1a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
}

.single-sale-badge {
    display: inline-block;
    background: #cc3a1a;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* ── Price on Request button (single product) ────── */
.price-on-request-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 13px 20px;
    background: #008000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.price-on-request-btn:hover { background: #006600; }

/* Gap between stacked action buttons on single product page */
.price-on-request-btn,
.woo-enquiry-btn,
.wts-print-btn {
    margin-top: 12px;
}

/* ── Price on Request button (loop cards) ────── */
.price-on-request-btn--loop {
    width: calc(100% - 24px);
    margin: 6px 12px 10px;
    padding: 8px;
    font-size: 12px;
    border-radius: 5px;
}

/* ── Price on Request popup modal ────── */
.wts-price-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.wts-price-modal-overlay.is-open { display: flex; }

.wts-price-modal {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 380px;
    border-radius: 10px;
    padding: 28px 24px 24px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.wts-price-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    color: #888;
    cursor: pointer;
}
.wts-price-modal-close:hover { color: #888; }

.wts-price-modal-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}
.wts-price-modal-product {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600;
    color: #008000;
}
.wts-price-modal-text {
    margin: 0 0 20px;
    font-size: 13px;
    color: #5f6368;
    line-height: 1.5;
}
.wts-price-modal-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    background: #008000;
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}
.wts-price-modal-whatsapp:hover { background: #006600; }

/* ── Print button (single product page) ────── */
.wts-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.wts-print-btn:hover { background: #f2f2f2; border-color: #999; }

/* Hide print button + on-page action buttons/modal when printing */
@media print {
    .wts-print-btn,
    .price-on-request-btn,
    .woo-enquiry-btn,
    .wts-price-modal-overlay {
        display: none !important;
    }
}
