@font-face {
  font-family: "Bluroc CZ";
  src: url("../wp-content/plugins/woocommerce/assets/fonts/Inter-VariableFont_slnt,wght.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

body,
button,
input,
select,
textarea,
.elementor-widget-text-editor,
.elementor-widget-woocommerce-product-content,
.elementor-widget-tabs,
.ht-product,
.bluroc-model-meta {
  font-family: "Bluroc CZ", Arial, sans-serif;
}

.elementor-widget-heading .elementor-heading-title {
  font-family: "Bluroc CZ", Arial, sans-serif !important;
}

/* The mirrored Elementor animation bootstrap can fail before removing this class. */
.elementor-invisible {
  opacity: 1 !important;
  visibility: visible !important;
  animation-name: none !important;
}

.bluroc-model-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  margin: 12px 0 24px;
  max-width: 760px;
}

.bluroc-price-sticker {
  position: relative;
  flex: 0 0 190px;
  width: 190px;
  aspect-ratio: 1;
  filter: drop-shadow(0 7px 8px rgb(30 20 8 / 28%));
  transform: rotate(-2deg);
}

.bluroc-price-sticker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bluroc-price-copy {
  position: absolute;
  inset: 30% 16% 23%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #25170d;
  text-align: center;
  line-height: 1;
  text-shadow: 0 1px #fff5d5;
}

.bluroc-price-copy strong {
  display: block;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -1px;
  white-space: nowrap;
}

.bluroc-price-copy small {
  display: block;
  margin-top: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.bluroc-slogans {
  flex: 1 1 260px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bluroc-slogans li {
  margin: 0 0 7px;
  color: #201c18;
  font-size: clamp(16px, 1.5vw, 21px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
}

.bluroc-slogans li::before {
  content: "— ";
  color: #a52620;
}

.bluroc-sold-sticker {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 7px 8px rgb(30 20 8 / 28%));
  transform: rotate(7deg);
}

.bluroc-variant-status {
  display: inline-block;
  margin: 5px 0 0 12px;
  padding: 5px 11px;
  border: 2px solid #9d251e;
  border-radius: 3px;
  color: #9d251e;
  background: #f4e4bd;
  font-family: "Bluroc CZ", Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.1;
  text-transform: uppercase;
  transform: rotate(-2deg);
}

.bluroc-variant-status.is-stock {
  border-color: #315d34;
  color: #315d34;
}

.bluroc-variant-status.is-limited {
  border-color: #9b6513;
  color: #70470a;
}

.bluroc-card-price {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 12px;
  border: 2px solid #382519;
  color: #291a10;
  background: #eddbad;
  box-shadow: 2px 2px 0 rgb(56 37 25 / 20%);
  font-family: "Bluroc CZ", Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
  transform: rotate(-1deg);
}

.bluroc-card-price small {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.ht-product-image-wrap {
  position: relative;
}

.bluroc-card-sold {
  position: absolute;
  z-index: 6;
  top: 4px;
  right: 3px;
  width: min(42%, 150px);
  pointer-events: none;
  transform: rotate(9deg);
  filter: drop-shadow(0 5px 6px rgb(0 0 0 / 22%));
}

/* Reliable fallback for the static Elementor gallery. */
.e-gallery-container {
  min-height: 200px;
}

.e-gallery-item {
  cursor: zoom-in;
}

.e-gallery-image[data-thumbnail] {
  min-height: 220px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.bluroc-lightbox {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 64px 72px;
  background: rgb(8 8 8 / 94%);
}

.bluroc-lightbox.is-open {
  display: flex;
}

.bluroc-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 12px 50px rgb(0 0 0 / 55%);
}

.bluroc-lightbox button {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 1px solid rgb(255 255 255 / 60%);
  border-radius: 50%;
  color: #fff;
  background: rgb(0 0 0 / 45%);
  font: 32px/1 Arial, sans-serif;
  cursor: pointer;
}

.bluroc-lightbox-close { top: 14px; right: 18px; }
.bluroc-lightbox-prev { left: 14px; top: calc(50% - 23px); }
.bluroc-lightbox-next { right: 14px; top: calc(50% - 23px); }

.elementor-widget-tabs .elementor-tab-content[hidden] {
  display: none !important;
}

.elementor-widget-tabs .elementor-tab-content:not([hidden]) {
  display: block !important;
}

.elementor-widget-tabs .elementor-tab-title.bluroc-tab-active {
  color: #fff !important;
  background: #222 !important;
}

.shop_attributes .attribute_row[hidden] {
  display: none !important;
}

@media (max-width: 767px) {
  .bluroc-model-meta {
    justify-content: center;
  }

  .bluroc-slogans {
    flex-basis: 100%;
    text-align: center;
  }

  .bluroc-price-sticker,
  .bluroc-sold-sticker {
    width: 160px;
  }

  .bluroc-lightbox {
    padding: 55px 12px;
  }
}
