@font-face {
  font-family: "Stiinta Shop Text";
  src: url("OpenSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Stiinta Shop Text";
  src: url("OpenSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Stiinta Shop Display";
  src: url("ZalandoSansExpanded-BlackItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 900;
  font-display: swap;
}
body.stiinta-shop-brand {
  --shop-ink: #111722;
  --shop-navy: #162947;
  --shop-accent: #ffdb00;
  --shop-paper: #f4f3ef;
  --shop-line: #aebdce;
  --shop-text: "Stiinta Shop Text", system-ui, sans-serif;
  --shop-display: "Stiinta Shop Display", var(--shop-text);
  background: var(--shop-paper);
  color: var(--shop-ink);
  font-family: var(--shop-text);
}
body.stiinta-shop-brand.single-product { background-color: #fff; }
.stiinta-shop-brand :is(.elementor-location-header, .woocommerce, .woocommerce-page) { font-family: var(--shop-text); }
.stiinta-shop-brand :is(.woocommerce-products-header__title, .product_title, .entry-title, .elementor-widget-woocommerce-product-title h1) {
  color: var(--shop-ink);
  font: italic 900 clamp(24px, 3.3vw, 46px)/1.14 var(--shop-display);
  overflow-wrap: anywhere;
}
.stiinta-shop-brand .elementor-location-header :is(.elementor-nav-menu--main .elementor-item, .elementor-menu-cart__toggle_button) { font-family: var(--shop-text); font-weight: 700; }
.stiinta-shop-brand .elementor-location-header .elementor-nav-menu--main .elementor-item:hover { text-decoration: underline; text-underline-offset: 5px; }
.stiinta-shop-brand ul.products li.product {
  box-sizing: border-box;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  padding: clamp(10px, 1.4vw, 18px);
}
.stiinta-shop-brand ul.products li.product :is(a.woocommerce-loop-product__link, .woocommerce-loop-product__title) {
  color: var(--shop-navy);
  overflow-wrap: anywhere;
}
.stiinta-shop-brand ul.products li.product .woocommerce-loop-product__title { font: 700 clamp(14px, 1.5vw, 18px)/1.35 var(--shop-text); }
.stiinta-shop-brand ul.products li.product .woocommerce-loop-product__link > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 7px;
  background: #fafafa;
}
.stiinta-shop-brand .single-product div.product .woocommerce-product-gallery img { max-width: 100%; object-fit: contain; }
.stiinta-shop-brand :is(.woocommerce, .elementor-widget-woocommerce-products, .elementor-widget-woocommerce-product-add-to-cart)
  :is(a.add_to_cart_button, button.single_add_to_cart_button, a.checkout-button, button[name="woocommerce_checkout_place_order"], button#place_order, .woocommerce-form-login__submit, .woocommerce-form-register__submit),
.stiinta-shop-brand .elementor-menu-cart__footer-buttons a {
  background: var(--shop-accent);
  color: var(--shop-ink);
  border: 1px solid var(--shop-accent);
  border-radius: 7px;
  font: 700 14px/1.35 var(--shop-text);
  white-space: normal;
}
.stiinta-shop-brand .elementor-menu-cart__main { background-color: #fff; color: var(--shop-ink); max-width: 100vw; }
.stiinta-shop-brand :is(.woocommerce-cart-form,.woocommerce-checkout,.woocommerce-MyAccount-content) :is(input.input-text,textarea.input-text,select) {
  color: var(--shop-ink);
  border-color: #64748b;
  border-radius: 7px;
  font-family: var(--shop-text);
  max-width: 100%;
}
.stiinta-shop-brand :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) { background: #edf3fa; color: var(--shop-ink); border-radius: 8px; }
body.stiinta-shop-brand.single-product { background-color: #fff; }
.stiinta-shop-brand :is(.elementor-location-header,.woocommerce,.stiinta-shop-footer) :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #387bc1; outline-offset: 3px; }
.stiinta-shop-brand:has(.stiinta-shop-footer) .elementor-location-footer { display: none; }
.stiinta-shop-footer {
  border-top: 4px solid #ffdb00;
  padding: 48px 0 24px;
  background: linear-gradient(108deg,#0e141f 58%,#131f34);
  color: #e0e8f3;
  font: 400 14px/1.6 var(--shop-text);
}
.stiinta-shop-footer .shop-footer-wrap { width: min(1320px, calc(100% - 42px)); margin-inline: auto; }
.stiinta-shop-footer .shop-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
.stiinta-shop-footer .shop-footer-grid > div { min-width: 0; }
.stiinta-shop-footer h2 { color: #ffdb00; font: 700 19px/1.4 var(--shop-text); margin: 0 0 12px; }
.stiinta-shop-footer p { color: #e0e8f3; margin: 8px 0; }
.stiinta-shop-footer a { color: #e0e8f3; overflow-wrap: anywhere; }
.stiinta-shop-footer a:hover { color: #ffdb00; }
.stiinta-shop-footer .shop-footer-grid a { display: block; margin: 0 0 6px; }
.stiinta-shop-footer .shop-footer-logo img { width: clamp(124px, 12vw, 150px); height: auto; object-fit: contain; }
.stiinta-shop-footer .shop-footer-legal { display: flex; flex-wrap: wrap; gap: 10px 20px; border-top: 1px solid #435575; margin-top: 26px; padding-top: 16px; }
.stiinta-shop-footer .shop-footer-top { margin-inline-start: auto; }
@media (max-width: 767px) {
  .stiinta-shop-footer .shop-footer-grid { grid-template-columns: minmax(0, 1fr); }
  .stiinta-shop-brand ul.products li.product { padding: 9px; }
  .stiinta-shop-brand .woocommerce-cart-form table.shop_table_responsive td { overflow-wrap: anywhere; }
}
.stiinta-shop-brand .elementor-location-header > .elementor-element-1879813b { background-color: var(--shop-accent); }
.stiinta-shop-brand .elementor-location-header > .elementor-element-bec79f4 {
  background-color: var(--shop-ink);
  border-bottom: 1px solid #334760;
}
.stiinta-shop-footer {
  background-image: linear-gradient(105deg, #0e141f 52%, #131f34e8), url("pattern-rgb-inchis.webp");
  background-position: center, right center;
  background-size: cover;
}

.stiinta-shop-brand .elementor-location-header .elementor-widget-theme-site-logo img {
  width: clamp(165px, 19vw, 230px);
  height: auto;
  max-height: 149px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .stiinta-shop-brand .elementor-location-header .elementor-widget-theme-site-logo img {
    width: clamp(100px, 30vw, 122px);
    max-height: 70px;
  }
}

body.stiinta-shop-brand.home .elementor .elementor-element-16a65b7c img[src*="logo-alternativ-rgb.png"] {
  display: block;
  width: min(84%, 390px);
  height: auto;
  max-height: none;
  margin-inline: auto;
  object-fit: contain;
}
@media (max-width: 767px) {
  body.stiinta-shop-brand.home .elementor .elementor-element-16a65b7c img[src*="logo-alternativ-rgb.png"] {
    width: min(76%, 260px);
  }
}

/* Keep Elementor's catalog columns and space each product inside its card. */
body.stiinta-shop-brand .elementor .elementor-widget-wc-archive-products ul.products li.product {
  position: relative;
  padding: clamp(12px, 1.55vw, 22px) !important;
  box-sizing: border-box;
  min-width: 0;
}
body.stiinta-shop-brand .elementor .elementor-widget-wc-archive-products ul.products li.product .woocommerce-loop-product__link {
  display: block;
  min-width: 0;
}
body.stiinta-shop-brand .elementor .elementor-widget-wc-archive-products ul.products li.product .woocommerce-loop-product__link > img {
  display: block;
  width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  padding: clamp(8px, 1.2vw, 16px);
  box-sizing: border-box;
  margin: 0 auto 13px;
  object-fit: contain;
  object-position: center;
  background: #fafafa;
}
body.stiinta-shop-brand .elementor .elementor-widget-wc-archive-products ul.products li.product .onsale {
  inset: 8px auto auto 8px;
  z-index: 1;
}
body.stiinta-shop-brand .elementor .elementor-widget-wc-archive-products ul.products li.product .woocommerce-loop-product__title {
  font: 700 clamp(14px, 1.2vw, 17px)/1.35 var(--shop-text);
  overflow-wrap: anywhere;
  margin-block: 0 8px;
  padding: 0;
}
body.stiinta-shop-brand .elementor .elementor-widget-wc-archive-products ul.products li.product .price {
  margin-block: 0 8px;
}
body.stiinta-shop-brand .elementor .elementor-element-88ca6ec { display: none !important; }

/* Limit the main frame without resizing thumbnails or the zoom layer. */
body.stiinta-shop-brand.single-product .woocommerce-product-gallery {
  --shop-gallery-height: clamp(300px, 74svh, 535px);
}
body.stiinta-shop-brand.single-product .woocommerce-product-gallery .flex-viewport {
  height: var(--shop-gallery-height) !important;
}
body.stiinta-shop-brand.single-product .woocommerce-product-gallery__image > a {
  display: block;
}
body.stiinta-shop-brand.single-product .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
  display: block;
  width: 100%;
  height: var(--shop-gallery-height) !important;
  object-fit: contain;
  object-position: center;
}
body.stiinta-shop-brand.single-product form.variations_form :is(.variations, .variations tr, .variations th, .variations td),
body.stiinta-shop-brand.single-product form.cart .quantity,
body.stiinta-shop-brand.single-product form.cart .quantity :is(input.qty, .minus, .plus) {
  background: transparent !important;
  color: var(--shop-ink);
}
body.stiinta-shop-brand.single-product form.cart .quantity { border-color: #64748b; }
@media (max-width: 767px) {
  body.stiinta-shop-brand.single-product .woocommerce-product-gallery {
    --shop-gallery-height: clamp(245px, 48svh, 370px);
  }
}
/* Keep the action in the card flow, after the product link and price. */
body.stiinta-shop-brand .elementor-widget-wc-archive-products li.product > a.custom-button-class {
  position: static !important;
  inset: auto !important;
  transform: none !important;
  display: block !important;
  box-sizing: border-box;
  width: 100% !important;
  margin: 10px 0 0 !important;
  padding: 9px 8px;
  text-align: center;
  border-radius: 6px;
  visibility: hidden;
  opacity: 0;
}
body.stiinta-shop-brand .elementor-widget-wc-archive-products li.product:is(:hover, :focus-within) > a.custom-button-class {
  visibility: visible;
  opacity: 1;
}
@media (hover: none) {
  body.stiinta-shop-brand .elementor-widget-wc-archive-products li.product > a.custom-button-class {
    visibility: visible;
    opacity: 1;
  }
}
