/* Shop typography. Campaign titles and the wordmark keep the theme's display face. */
body {
  --shop-type: "Samplaza Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: var(--shop-type);
  font-family: var(--shop-type);
}
#store-header .gg-nav-link, #store-header .gg-search-form input, .gg-mobile-nav, .gg-foot ul {
  font-family: var(--shop-type);
}
#store-header .gg-nav-link { font-weight: 600; }
#view.gg-native-collection .page-title {
  margin-bottom: .85rem;
  font: 550 clamp(2.6rem, 4.5vw, 4.6rem)/1.06 var(--shop-type);
  letter-spacing: -.05em;
  text-wrap: balance;
}
#view.gg-native-product .summary h1.product_title {
  margin: 0 0 .85rem;
  font: 550 clamp(1.7rem, 2.45vw, 2.9rem)/1.13 var(--shop-type);
  letter-spacing: -.04em;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
#view .gg-shop-sidebar h2,
#view.gg-native-product .summary .variations label {
  font: 650 1rem/1.35 var(--shop-type);
  letter-spacing: -.015em;
}
#view .gg-shop-sidebar a,
#view .gg-prices label,
#view.gg-native-collection .woocommerce-result-count {
  font: 450 .9375rem/1.5 var(--shop-type);
}
#view .gg-shop-sidebar a { padding-block: .4rem; }
#view .gg-shop-sidebar li span,
#view.gg-native-collection .woocommerce-result-count { color: #565651; }
#view.gg-native-collection ul.products li.product .woocommerce-loop-product__title,
#view.gg-native-product ul.products li.product .woocommerce-loop-product__title {
  margin: .65rem 0 .25rem;
  font: 550 clamp(.97rem, 1.03vw, 1.12rem)/1.42 var(--shop-type);
  letter-spacing: -.014em;
  overflow-wrap: anywhere;
}
#view.gg-native-collection ul.products li.product .price,
#view.gg-native-product ul.products li.product .price {
  font: 600 1rem/1.5 var(--shop-type);
  color: #252522;
  font-variant-numeric: lining-nums tabular-nums;
}
#view.gg-native-product div.product .summary .price {
  font: 550 clamp(1.2rem, 1.5vw, 1.5rem)/1.35 var(--shop-type);
  letter-spacing: -.02em;
  font-variant-numeric: lining-nums tabular-nums;
}
#view.gg-native-product .woocommerce-product-details__short-description,
#view.gg-native-product .woocommerce-tabs p { font: 400 1rem/1.65 var(--shop-type); }
#view.gg-native-product .woocommerce-tabs h2,
#view.gg-native-product .related > h2,
#view.gg-native-page h1 {
  font-family: var(--shop-type);
  font-weight: 550;
  letter-spacing: -.035em;
}
#view.gg-native-product .summary .product_meta {
  font: 450 .875rem/1.5 var(--shop-type);
}
#view.gg-native-page :is(.woocommerce button.button, .woocommerce a.button, .wc-block-components-button:not(.is-link)) {
  min-height: 2.75rem;
  padding: .68rem 1.1rem;
  border: 1px solid #252522;
  border-radius: 5px;
  background: #252522;
  color: #fff;
  font: 600 1rem/1.35 var(--shop-type);
}
#view.gg-native-page :is(.woocommerce button.button, .wc-block-components-button:not(.is-link)):disabled {
  border-color: #dbd9d4; color: #55554f; background: #ecebe7;
}
@media (prefers-reduced-motion: no-preference) {
  #view.gg-native-collection ul.products > li.product {
    animation: shop-card-enter .34s cubic-bezier(.2,.72,.24,1) backwards;
  }
  #view.gg-native-collection ul.products > li.product:nth-child(4n+2) { animation-delay: 35ms; }
  #view.gg-native-collection ul.products > li.product:nth-child(4n+3) { animation-delay: 70ms; }
  #view.gg-native-collection ul.products > li.product:nth-child(4n) { animation-delay: 105ms; }
  @keyframes shop-card-enter {
    from { opacity: .7; transform: translateY(7px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* Catalogue controls, scoped to native WooCommerce archives. */
#view.gg-native-collection .gg-prices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
#view.gg-native-collection .gg-prices label { min-width: 0; }
#view.gg-native-collection form.gg-prices input[type="number"] {
  margin-top: .35rem;
  min-height: 2.75rem;
  border-color: #c6c3bd;
  border-radius: 5px;
  padding: .5rem .65rem;
}
#view.gg-native-collection .gg-prices button,
#view.gg-native-collection .gg-filter-toggle {
  min-height: 2.75rem;
  padding: .6rem 1rem;
  border: 1px solid #252522;
  border-radius: 5px;
  background: #252522;
  color: #fff;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
}
#view.gg-native-collection .gg-prices button { margin-top: .15rem; }
#view.gg-native-collection .woocommerce-ordering { max-width: 100%; }
#view.gg-native-collection form.woocommerce-ordering select {
  max-width: 100%;
  min-height: 2.75rem;
  padding: .5rem 1.6rem .5rem .8rem !important;
  border-color: #c6c3bd;
  border-radius: 5px;
  font: inherit;
  font-size: .9375rem;
  color: #252522;
}
:is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) ul.products { row-gap: clamp(2rem, 3.2vw, 3.5rem); }
:is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) ul.products li.product { display: flex; flex-direction: column; }
:is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) li.product .woocommerce-loop-product__link { flex: 1 1 auto; }
:is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) li.product > a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  gap: .55rem;
  margin: .75rem 0 0;
  padding: .62rem .7rem;
  border: 1px solid #aaa79f;
  border-radius: 5px;
  background: #fff;
  color: #232321;
  font: inherit;
  font-size: .9375rem;
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .15s ease;
}
:is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) li.product > a.product_type_variable.button::before {
  content: "";
  width: .68rem;
  height: .68rem;
  flex: none;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat,
              linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat;
  transition: transform .24s cubic-bezier(.2,.72,.24,1);
}
:is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) li.product .gg-wish-button {
  top: .65rem;
  right: .65rem;
  width: 2.75rem;
  height: 2.75rem;
  background: #fff;
  color: #242421;
  border: 1px solid #e8e5e0;
  box-shadow: 0 1px 5px rgb(22 20 18 / .07);
}
#view.gg-native-collection .gg-wish-button[aria-pressed="true"] { background: #242421; color: white; border-color: #242421; }
#view.gg-native-collection .gg-wish-button[aria-pressed="true"] path { fill: currentColor; }
#view.gg-native-collection nav.woocommerce-pagination { margin: clamp(2rem, 4vw, 4.25rem) 0 0; text-align: center; }
#view.gg-native-collection nav.woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .3rem;
  border: 0;
  margin: 0;
  padding: 0;
}
#view.gg-native-collection nav.woocommerce-pagination ul.page-numbers li { float: none; overflow: visible; border: 0; }
#view.gg-native-collection nav.woocommerce-pagination li .page-numbers {
  display: grid;
  place-items: center;
  min-width: 2.625rem;
  min-height: 2.75rem;
  padding: .3rem .6rem;
  border: 1px solid #d5d2cc;
  border-radius: 5px;
  background: #fff;
  color: #282825;
  font: inherit;
  font-size: .9375rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
#view.gg-native-collection nav.woocommerce-pagination li .page-numbers.current { background: #242421; border-color: #242421; color: #fff; font-weight: 600; }
#view.gg-native-collection nav.woocommerce-pagination li .dots { border-color: transparent; }
#view.gg-native-collection :is(.gg-wish-button, .gg-prices button, .gg-filter-toggle, .woocommerce-pagination a) {
  transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .15s ease;
}
#view.gg-native-collection :is(a, button, select, input):focus-visible,
#view.gg-native-collection .gg-filter-switch:focus-visible + .gg-filter-toggle {
  outline: 2px solid #272722;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
@media (hover: hover) {
  :is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) li.product > a.button:hover { background: #242421; border-color: #242421; color: #fff; }
  #view.gg-native-collection .gg-prices button:hover,
  #view.gg-native-collection .gg-filter-toggle:hover { background: #41413c; }
  #view.gg-native-collection nav.woocommerce-pagination a.page-numbers:hover,
  #view.gg-native-collection .gg-wish-button[aria-pressed="false"]:hover { border-color: #686861; background: #f3f2ef; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  :is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) li.product > a.product_type_variable.button:hover::before { transform: rotate(90deg); }
}
@media (prefers-reduced-motion: no-preference) {
  #view.gg-native-collection :is(li.product > a.button, .gg-prices button, .gg-wish-button, .woocommerce-pagination a):active { transform: scale(.97); }
  #view.gg-native-collection .gg-wish-button[aria-pressed="true"] svg { animation: samplaza-heart-tap .28s ease-out; }
  @keyframes samplaza-heart-tap { 0% { transform: scale(.85); } 55% { transform: scale(1.13); } 100% { transform: scale(1); } }
}
@media (prefers-reduced-motion: reduce) {
  #view.gg-native-collection :is(a.button, .gg-wish-button, .gg-prices button, .gg-filter-toggle, .woocommerce-pagination a),
  :is(#view.gg-native-collection, #view.gg-native-product :is(.related,.upsells)) li.product > a.product_type_variable.button::before { transition: none; transform: none; }
}
@media (max-width: 380px) {
  #view.gg-native-collection nav.woocommerce-pagination ul.page-numbers { gap: .15rem; }
  #view.gg-native-collection nav.woocommerce-pagination li .page-numbers { min-width: 2.35rem; }
}

/* Single-product controls */
#view.gg-native-product .summary form.cart {
  margin-block: 1.65rem .8rem;
}
#view.gg-native-product .summary .variations {
  width: 100%;
  margin-bottom: .75rem;
}
#view.gg-native-product .summary .variations label {
  display: inline-block;
  margin-bottom: .15rem;
  font-size: .94rem;
  font-weight: 650;
}
#view.gg-native-product .summary .gg-variant-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
#view.gg-native-product .gg-variant-choices button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  min-height: 44px;
  min-width: 46px;
  padding: .5rem .85rem;
  border: 1px solid #c9c8c3;
  border-radius: 5px;
  background: #fff;
  color: #242421;
  font-family: inherit;
  font-size: .93rem;
  font-weight: 550;
  line-height: 1.2;
  transition: color .18s, background-color .18s, border-color .18s, transform .18s;
}
#view.gg-native-product .gg-size {
  font-size: 1rem;
  font-weight: 650;
}
#view.gg-native-product .gg-measure {
  font-size: .79rem;
  font-weight: 450;
  color: #595952;
  white-space: nowrap;
}
#view.gg-native-product .gg-variant-choices button[aria-pressed=true] {
  border-color: #22231f;
  background: #22231f;
  color: #fff;
}
#view.gg-native-product .gg-variant-choices button[aria-pressed=true] .gg-measure {
  color: #e4e3df;
}
#view.gg-native-product .gg-variant-choices button:disabled {
  background: #f3f2ef;
  color: #6b6b66;
  border-color: #e1e0db;
  text-decoration: line-through;
  cursor: not-allowed;
  opacity: 1;
}
#view.gg-native-product .summary form.cart .reset_variations {
  display: inline-block;
  font-family: inherit;
  margin-top: .5rem;
  padding-block: .2rem;
  color: #4a4b46;
  font-size: .85rem;
  text-decoration: underline;
  text-underline-offset: .2em;
}
#view.gg-native-product .summary .variations_button,
#view.gg-native-product .summary form.cart:not(.variations_form):not(.grouped_form) {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: .5rem;
}
#view.gg-native-product .summary form.cart div.quantity {
  float: none;
  margin: 0;
}
#view.gg-native-product .summary form.cart .quantity input.qty {
  min-height: 48px;
  height: 100%;
  width: 4.1rem;
  padding: .5rem .35rem;
  border: 1px solid #c9c8c3;
  border-radius: 5px;
  background: #fff;
  color: #20211e;
  font: inherit;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
#view.gg-native-product .summary form.cart button.single_add_to_cart_button {
  float: none;
  flex: 1 1 10rem;
  min-height: 48px;
  margin: 0;
  padding: .8rem 1.15rem;
  border: 1px solid #22231f;
  border-radius: 5px;
  background: #22231f;
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
#view.gg-native-product .summary form.cart button.single_add_to_cart_button:is(:disabled, .disabled, [aria-disabled=true]) {
  border-color: #dfded9;
  background: #e8e7e2;
  color: #53544e;
  box-shadow: none;
  opacity: 1;
  cursor: not-allowed;
}
#view.gg-native-product .summary .gg-wish-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: max-content;
  min-width: max-content;
  max-width: 100%;
  aspect-ratio: auto;
  white-space: nowrap;
  min-height: 44px;
  margin: 0 0 .75rem;
  padding: .45rem .8rem !important;
  border: 1px solid #d5d4ce;
  border-radius: 5px;
  background: #fff;
  color: #31312e;
  font: inherit;
  font-size: .9rem;
  line-height: 1.25;
  transition: background-color .18s, border-color .18s;
}
#view.gg-native-product .summary .gg-wish-button::after {
  content: "Zapisz w ulubionych";
}
#view.gg-native-product .summary .gg-wish-button[aria-pressed=true] {
  background: #f2f1ed;
  border-color: #989991;
}
#view.gg-native-product .summary .gg-wish-button[aria-pressed=true]::after {
  content: "W ulubionych";
}
#view.gg-native-product .summary .gg-wish-button[aria-pressed=true] svg {
  animation: gg-liked-product .32s ease-out;
}
@keyframes gg-liked-product {
  40% { transform: scale(1.16); }
}
@media (hover: hover) {
  #view.gg-native-product .gg-variant-choices button:not(:disabled):not([aria-pressed=true]):hover,
  #view.gg-native-product .summary .gg-wish-button:hover {
    background: #f5f4f0;
    border-color: #62645b;
  }
  #view.gg-native-product .summary form.cart button.single_add_to_cart_button:not(:disabled):not(.disabled):not([aria-disabled=true]):hover {
    background: #383934;
    border-color: #383934;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px #15161020;
  }
}
#view.gg-native-product .summary form.cart button:not(:disabled):not(.disabled):active {
  transform: translateY(1px);
}
#view.gg-native-product .summary :is(button,input,select,.reset_variations):focus-visible {
  outline: 2px solid #34352f;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  #view.gg-native-product .summary form.cart button,
  #view.gg-native-product .summary .gg-wish-button,
  #view.gg-native-product .summary .gg-wish-button svg {
    transition: none;
    animation: none !important;
    transform: none !important;
  }
}
