/* Eventrend voucher product page — designed gift-card layout (matches client mockup). */

.evr-single {
  --evr-gold: #C8A76F;
  --evr-gold-btn: #C8A76F;
  --evr-gold-btn-hover: #B08D53;
  --evr-ink: #2B2B2B;
  --evr-soft: #73818C;
  --evr-line: #E7E1D7;
}

/* two-column shell: gallery left, summary right */
.evr-single div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.evr-single div.product .evr-gallery { grid-column: 1; }
.evr-single div.product .summary { grid-column: 2; width: auto !important; float: none !important; margin: 0 !important; }
@media (max-width: 900px) {
  .evr-single div.product { grid-template-columns: 1fr; gap: 28px; }
  .evr-single div.product .evr-gallery,
  .evr-single div.product .summary { grid-column: 1; }
}

/* ---------- gallery ---------- */
.evr-gallery { display: flex; flex-direction: column; gap: 14px; }
.evr-gallery figure { margin: 0; border-radius: 10px; overflow: hidden; background: #efe9df; }
.evr-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* A lightbox-link a figure teljes méretét veszi fel, különben a képnek nincs mihez
   viszonyítania a height:100%-ot, és a rögzített arány összeesik. */
.evr-gallery-zoom { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.evr-gallery-hero { aspect-ratio: 4 / 3; }
.evr-gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.evr-gallery-grid figure { aspect-ratio: 1 / 1; }

/* ---------- summary typography ---------- */
/* a márkabetűk nélkül a WooCommerce-markup a téma rendszer-fontjára esett vissza */
.evr-single .evr-acc > summary {
  font-family: "Merriweather", Georgia, serif;
}
.evr-single .product_title.entry-title,
.evr-subtitle, .evr-description, .evr-value-label,
.evr-single .evr-value-btn, .evr-highlights li, .evr-rating {
  font-family: "Nunito Sans", system-ui, sans-serif;
}
.evr-single .product_title.entry-title {
  font-size: clamp(24px, 2.2vw, 30px); font-weight: 700; letter-spacing: .01em;
  text-transform: uppercase; color: var(--evr-ink); line-height: 1.18; margin: 0 0 12px;
}
.evr-subtitle {
  text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 15px;
  color: var(--evr-gold); line-height: 1.5; margin: 0 0 18px;
}
.evr-single .woocommerce-product-rating { margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.evr-single .star-rating { color: var(--evr-gold); font-size: 1em; }
.evr-single .woocommerce-review-link { color: var(--evr-soft); text-decoration: none; font-size: 14px; }
.evr-description { color: var(--evr-soft); line-height: 1.75; font-size: 16px; margin: 0 0 26px; }
.evr-description p { margin: 0 0 12px; }

/* ---------- value selector (buttons skinning the native <select>) ---------- */
.evr-value-label {
  text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 13px;
  color: var(--evr-gold); margin: 0 0 12px;
}
.evr-single .variations_form table.variations { display: none; }   /* hide native select */
.evr-single .variations_form .reset_variations { display: none; }
.evr-single .single_variation .price,
.evr-single .woocommerce-variation-price,
.evr-single .woocommerce-variation-availability { display: none; }

.evr-single .evr-value-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 0 0 22px; }
.evr-single .evr-value-btn {
  font: inherit; font-weight: 600; font-size: 15px; color: var(--evr-ink);
  background: #fff; border: 1px solid var(--evr-line); border-radius: 7px;
  padding: 13px 20px; cursor: pointer; transition: .15s; line-height: 1; box-shadow: none;
}
.evr-single .evr-value-btn:hover { border-color: var(--evr-gold); }
.evr-single .evr-value-btn.active { background: var(--evr-gold-btn); border-color: var(--evr-gold-btn); color: #fff; }

/* ---------- highlights ---------- */
.evr-highlights { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.evr-highlights li { display: flex; align-items: center; gap: 12px; color: var(--evr-ink); font-size: 16px; }
.evr-highlights .evr-check { color: var(--evr-gold); flex: none; }

/* ---------- quantity + buy ---------- */
.evr-single form.cart { margin: 0; }
.evr-single .woocommerce-variation-add-to-cart { display: flex; align-items: stretch; gap: 14px; margin: 4px 0 0; }
.evr-single form.cart .quantity { display: flex; align-items: center; border: 1px solid var(--evr-line); border-radius: 7px; overflow: hidden; }
.evr-single form.cart .quantity .evr-qty-btn {
  width: 42px; height: 100%; min-height: 52px; border: 0; background: #fff; font-size: 20px; color: var(--evr-ink); cursor: pointer;
}
.evr-single form.cart .quantity .evr-qty-btn:hover { color: var(--evr-gold); }
.evr-single form.cart .quantity input.qty {
  width: 44px; height: 52px; border: 0; text-align: center; font-size: 16px; font-weight: 600;
  -moz-appearance: textfield; background: #fff;
}
.evr-single form.cart .quantity input.qty::-webkit-outer-spin-button,
.evr-single form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.evr-single form.cart .single_add_to_cart_button {
  flex: 1; border: 0; border-radius: 7px; background: var(--evr-gold-btn); color: #fff;
  text-transform: uppercase; letter-spacing: .08em; font-weight: 700; font-size: 15px; cursor: pointer;
  padding: 16px 24px; transition: .15s;
}
.evr-single form.cart .single_add_to_cart_button:hover { background: var(--evr-gold-btn-hover); }
.evr-single .single_variation_wrap { margin-top: 0; }

/* ---------- accordions ---------- */
.evr-accordions { margin-top: 30px; border-top: 1px solid var(--evr-line); }
.evr-acc { border-bottom: 1px solid var(--evr-line); }
.evr-acc > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 20px 2px; text-transform: uppercase; letter-spacing: .12em; font-weight: 600;
  font-size: 13px; color: var(--evr-gold);
}
.evr-acc > summary::-webkit-details-marker { display: none; }
.evr-acc-icon { position: relative; width: 24px; height: 24px; border: 1.5px solid var(--evr-gold); border-radius: 50%; flex: none; }
.evr-acc-icon::before, .evr-acc-icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: var(--evr-gold); transition: .2s;
}
.evr-acc-icon::before { width: 10px; height: 1.5px; }
.evr-acc-icon::after { width: 1.5px; height: 10px; }
.evr-acc[open] .evr-acc-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.evr-acc-body { padding: 0 2px 22px; color: var(--evr-soft); line-height: 1.7; font-size: 15px; }
.evr-acc-body p { margin: 0 0 12px; }
.evr-acc-body strong { color: var(--evr-ink); }
.evr-acc-body ul, .evr-acc-body ol { margin: 0 0 12px; padding-left: 20px; }
.evr-acc-body li { margin: 0 0 6px; }
.evr-acc-body a { color: var(--evr-gold); }

/* ---------- rating (a terméknév alatt, a látványterv szerint) ---------- */
.evr-rating { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; }
.evr-rating .evr-stars {
  position: relative; display: inline-block; line-height: 1;
  font-size: 17px; letter-spacing: 2px; white-space: nowrap; color: var(--evr-line);
}
.evr-rating .evr-stars::before { content: "★★★★★"; }
.evr-rating .evr-stars-fill {
  position: absolute; inset: 0; overflow: hidden; color: var(--evr-gold);
}
.evr-rating .evr-stars-fill::before { content: "★★★★★"; }
.evr-rating .evr-rating-text { font-size: 14px; color: var(--evr-soft); }
