/*
Theme Name: Újnyílászárók Modern
Description: Szerkeszthető WordPress katalógus, áttekinthető navigációval és árkalkulátor-hivatkozással.
Author: Újnyílászárók
Template: bootscore-modern
Version: 1.3.0
Text Domain: ujnyilaszaro
*/

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/poppins-v19-latin-regular.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/poppins-v19-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/poppins-v19-latin-700.woff2") format("woff2");
}

:root {
  --uj-text: #3a4b61;
  --uj-dark: #14263e;
  --uj-blue: #1e8dbf;
  --uj-light-blue: #7bc9d3;
  --uj-notice: #e4f3f5;
  --uj-light-gray: #f0f1f1;
}

html,
body,
button,
input,
select,
textarea {
  font-family: "Poppins", Helvetica, Arial, sans-serif;
}

body {
  color: var(--uj-text);
}

.bg-notice {
  background-color: var(--uj-notice);
}

.bg-lgr {
  background-color: var(--uj-light-gray);
}

.bg-dbl {
  background-color: var(--uj-text);
}

.notice {
  width: 100%;
  padding: 2rem 1.75rem;
  border-radius: 0.5rem;
}

.navbar-brand img {
  display: block;
  width: auto;
  height: 46px;
}

.account-toggler,
.cart-toggler {
  display: none !important;
}

.woocommerce .products .card-img-top {
  max-height: 19rem;
  object-fit: contain;
}

.woocommerce .products .woocommerce-loop-product__title {
  font-size: 1.35rem;
  line-height: 1.45;
  text-align: left;
}

.uj-product-excerpt {
  margin-bottom: 1rem;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

.uj-product-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  background: var(--uj-light-blue);
  color: var(--uj-dark);
  font-weight: 700;
  text-decoration: none;
}

.uj-product-link:hover,
.uj-product-link:focus-visible {
  background: var(--uj-blue);
  color: #fff;
}

.single-product .product {
  margin-inline: auto;
}

.woocommerce .site-main > .row {
  margin-right: 0;
  margin-left: 0;
}

.uj-product-content {
  margin-top: 1.5rem;
}

.uj-product-details {
  clear: both;
  margin-top: 1.5rem;
}

.uj-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.uj-color-swatch {
  width: 100px;
  margin: 0;
}

.uj-color-swatch__preview,
.uj-color-swatch img {
  display: block;
  width: 100px;
  height: 70px;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(20, 38, 62, 0.15);
  object-fit: cover;
}

.single-product .up-sells,
.single-product .related.products {
  width: 100%;
  margin-top: 3rem;
}

.single-product .up-sells > h2,
.single-product .related.products > h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    height: 38px;
    max-width: 210px;
  }
}
