/*
 * Poprawki graficzne z audytu Figma (sekcja "Poprawki", 2014:979), 2026-10-21.
 * Ladowane po style.css (functions.php, eg_enqueue_scripts). Numery GS-xxx odpowiadaja uwagom z Figmy.
 */

/* GS-001 Pasek informacyjny: 40 px, tekst 14/20 w jednym wierszu */
.tophead {
  padding: 10px 16px;
  box-sizing: border-box;
}
@media screen and (min-width: 920px) {
  .tophead {
    height: 40px;
    overflow: hidden;
  }
}
.tophead .tophead__box img.emoji {
  height: 14px !important;
  width: 14px !important;
  vertical-align: -2px !important;
}
.tophead .tophead__box,
#masthead.sticky .tophead .tophead__box {
  font-family: "Source Sans 3", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0.02em;
}
@media screen and (min-width: 920px) {
  .tophead .tophead__box {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media screen and (max-width: 719px) {
  .tophead .tophead__box,
  #masthead.sticky .tophead .tophead__box {
    font-size: 12px;
    line-height: 16px;
  }
}

/* GS-003 Naglowek desktop: 82 px, etykiety menu 14/20 */
@media screen and (min-width: 920px) {
  #masthead {
    padding-bottom: 0;
  }
  .header__menu .main-menu-left > li > a,
  .header__menu .main-menu-right > li > a {
    font-size: 14px;
    line-height: 20px;
  }
}

/* GS-006 Wspolny offset tresci: pasek 40 + naglowek 82 */
@media screen and (min-width: 920px) {
  #masthead + *,
  .admin-bar #masthead + * {
    padding-top: 122px;
  }
  #masthead:not(.site-headerx) + *,
  .admin-bar #masthead:not(.site-headerx) + * {
    padding-top: 82px;
  }
  /* Baner glowny 680 px, naglowek lezy na banerze */
  #content .hero {
    box-sizing: border-box;
    margin-top: -82px;
    height: 680px;
    padding: 180px 0 0;
  }
}

/* GS-007 Przycisk w banerze: 210 x 48 */
.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  height: 48px;
  min-width: 210px;
  padding: 0 16px;
  line-height: 1;
  white-space: nowrap;
}

/* GS-009 Baner prezentowy na pelna szerokosc, dwie kolumny */
.ctagift {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: 0;
  min-height: 171px;
  display: flex;
  align-items: center;
}
.ctagift .col-full {
  width: 100%;
  justify-content: flex-start;
  padding-left: 16px !important;
  padding-right: 16px !important;
}
.ctagift .col-full .ctagift__title {
  font-family: "AdorHairline-Medium", "AdorHairline-Bold", serif;
  font-size: 32px;
  line-height: 38px;
}
@media screen and (min-width: 921px) {
  .ctagift .col-full .ctagift__title {
    width: calc(50% + 10px);
  }
}
.ctagift .col-full .ctagift__subtitle {
  font-size: 16px;
  line-height: 22px;
}
@media screen and (max-width: 920px) {
  .ctagift {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Telefon i tablet: pasek 48 px (do dwoch wierszy) + naglowek 82 px lezacy na banerze */
@media screen and (max-width: 919px) {
  .tophead {
    height: 48px;
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .tophead .tophead__box,
  #masthead.sticky .tophead .tophead__box {
    font-size: 12px;
    line-height: 16px;
  }
  #masthead {
    padding-bottom: 0;
  }
  #masthead .header__mid {
    height: 82px;
  }
  #masthead + *,
  .admin-bar #masthead + * {
    padding-top: 130px;
  }
  #masthead:not(.site-headerx) + *,
  .admin-bar #masthead:not(.site-headerx) + * {
    padding-top: 82px;
  }

  /* GS-066 Baner glowny na telefonie: 680 px, tekst przy dolnej krawedzi, tytul 40 px */
  #content .hero {
    box-sizing: border-box;
    margin-top: -82px;
    height: 680px;
    padding: 0 0 56px;
    display: flex;
    align-items: flex-end;
  }
  #content .hero > .col-full {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero .hero__title {
    font-size: 40px;
    line-height: 1.1;
    margin-bottom: 20px;
  }
  .hero .hero__subtitle {
    max-width: 335px;
    margin-bottom: 50px;
  }
  .hero .hero__button {
    font-size: 16px;
    padding: 0 16px;
  }

  /* GS-009 Baner prezentowy na telefonie: jedna kolumna */
  .ctagift {
    padding: 50px 0;
  }
  .ctagift .col-full {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .ctagift .col-full .ctagift__title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 24px;
  }
  .ctagift .col-full .ctagift__subtitle {
    font-size: 15px;
    line-height: 22px;
  }
}

/* GS-019 Stopka: rowny rytm wierszy (23 px, co 30 px), dane kontaktowe bez pustych linii */
.site-footer .block .menu li {
  margin-bottom: 7px;
  line-height: 23px;
}
.site-footer .block .menu li a {
  line-height: 23px;
}
.footer-widgets .dkf {
  line-height: 23px;
}
.footer-widgets .dkf > br {
  display: none;
}
.footer-widgets .dkf .dkf__item + .dkf__item {
  margin-top: 4px;
}
.footer-widgets .dkf > br + .dkf__item {
  margin-top: 12px;
}

/* GS-021, GS-072 Karty produktow: kwadratowe pole zdjecia (295x295 na desktopie) */
.products .product .woocommerce-LoopProduct-link img,
.products .product .woocommerce-LoopProduct-link .attachment-woocommerce_thumbnail,
.products .product .woocommerce-LoopProduct-link .woocommerce-placeholder {
  box-sizing: border-box;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0;
}

/* GS-023 Lista produktow: filtry i sortowanie w jednym rzedzie, kontrolki 48 px, odstep 20 px */
@media screen and (min-width: 1080px) {
  .woocommerce-page.archive #secondary {
    width: calc(100% - 210px) !important;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    /* nad karta produktu, ktora po najechaniu dostaje z-index 99 (style.css), i pod naglowkiem (999) */
    z-index: 100;
  }
  .woocommerce-page.archive #secondary .woof_container_inner h4 {
    box-sizing: border-box;
    height: 48px;
    padding-top: 0;
    padding-bottom: 0;
    display: flex;
    align-items: center;
  }
  .woocommerce-page.archive #secondary .widget.WOOF_Widget,
  .woocommerce-page.archive #secondary .widget.WOOF_Widget .widget.widget-woof {
    margin-bottom: 0;
  }
  #secondary .widget .woof_redraw_zone {
    gap: 20px;
    flex-wrap: nowrap;
  }
  #secondary .widget .woof_redraw_zone .woof_container {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  /* sortowanie podnosi sie do rzedu filtrow */
  .woocommerce-page.archive #primary {
    margin-top: -48px;
  }
  .archive .woo_head_start {
    pointer-events: none;
    justify-content: flex-end;
  }
  .archive .woo_head_start .storefront-sorting,
  .archive .woo_head_start .woocommerce-result-count {
    pointer-events: auto;
  }
  .archive .woo_head_start .storefront-sorting {
    width: 190px;
    margin: 0;
  }
  .archive .woo_head_start .woocommerce-ordering {
    flex: 1 1 auto;
    width: 100% !important;
    margin: 0 !important;
  }
  .archive .woo_head_start .woocommerce-ordering select.orderby {
    width: 100% !important;
    max-width: none;
    height: 48px;
    margin: 0 !important;
  }
  .archive .woo_head_start .woocommerce-ordering select.orderby {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    padding: 0 48px 0 16px;
    border: 1px solid #B79556;
    border-radius: 0;
    background: #fff url("../assets/gfx/vector_woof.svg") no-repeat right 12px center / 24px 24px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    color: #000;
    cursor: pointer;
  }
  #secondary .woof_container_inner .woof_front_toggle {
    top: 12px;
  }
  /* Skrypt motywu (main.min.js) przenosi sortowanie do rzedu filtrow WOOF: wtedy rzad ma pelna szerokosc,
     sortowanie jest szoste w rzedzie (48 px jak filtry), a lista nie podnosi sie pod rzad, wiec licznik jest pod nim. */
  .woocommerce-page.archive:has(#secondary .woof_redraw_zone .woocommerce-ordering) #secondary {
    width: 100% !important;
  }
  .woocommerce-page.archive:has(#secondary .woof_redraw_zone .woocommerce-ordering) #primary {
    margin-top: 0;
  }
  #secondary .woof_redraw_zone .woocommerce-ordering {
    flex: 1 1 0;
    min-width: 0;
    margin: 0 !important;
  }
  #secondary .woof_redraw_zone .woocommerce-ordering select.orderby {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100% !important;
    max-width: none;
    height: 48px;
    margin: 0 !important;
    padding: 0 48px 0 16px;
    border: 1px solid #B79556;
    border-radius: 0;
    background: #fff url("../assets/gfx/vector_woof.svg") no-repeat right 12px center / 24px 24px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 16px;
    color: #000;
    cursor: pointer;
  }
  /* licznik 24 px pod rzedem filtrow, siatka 56 px pod licznikiem (Figma 79-493) */
  .archive .woo_head_start .woocommerce-result-count {
    margin: 24px 0 0;
    line-height: 20px;
  }
  /* siatka 4 x 295 px, odstep 20 px */
  .woocommerce-page.archive .site-main ul.products.columns-4 {
    gap: 0 20px;
    padding: 56px 0 0;
  }
  .woocommerce-page.archive .site-main ul.products.columns-4 li.product {
    width: calc((100% - 60px) / 4) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    float: none;
  }
}

/* GS-028 / GS-029 karta produktu: kolumna zdjecia 505 px, kwadratowe zdjecie, akordeony co 55 px */
@media (min-width: 1100px) {
  .single-product .product .prod_wrap--l {
    width: 505px !important;
  }
  .single-product .product .summary {
    width: calc(100% - 630px) !important;
    padding: 0 37px 0 0;
  }
}
@media (min-width: 760px) {
  .single-product div.product .images {
    margin-bottom: 0;
  }
  .single-product .product .images .woocommerce-product-gallery__image a {
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0;
  }
  .single-product div.product .prod_wrap--l .c-accordion {
    margin-top: 40px !important;
  }
}
/* GS-072 karta produktu na telefonie: zdjecie tez kwadratowe (motyw dawal stale 450 px wysokosci) */
@media (max-width: 759px) {
  .single-product .product .images .woocommerce-product-gallery__image a {
    height: auto;
    aspect-ratio: 1 / 1;
  }
  .single-product .product .images .woocommerce-product-gallery__image a img {
    height: 100%;
  }
}
.single-product .c-accordion .c-accordion__content {
  margin-bottom: 0;
  padding-right: 0;
}
.single-product .c-accordion__content-title {
  width: 100%;
}

/* GS-030 odstepy w panelu produktu */
@media (min-width: 760px) {
  .single-product .product .summary h1.product_title {
    margin-bottom: 8px;
  }
  .single-product .product .summary .wc-points-rewards-product-message {
    margin-top: 15px;
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* GS-033 rekomendacje: kropki karuzeli tylko wtedy, gdy jest wiecej niz jedna strona (strzalki slick ukrywa sam) */
.slick-dots:not(:has(> li + li)) {
  display: none !important;
}

/* GS-062 regulamin i polityka prywatnosci: kolumna tekstu 820 px na srodku (id stron jak na produkcji: 48, 3) */
@media (min-width: 920px) {
  .page-id-48 .site-main .entry-content,
  .page-id-3 .site-main .entry-content {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* GS-061 FAQ na telefonie: odpowiedz 16/23, 6 px pod pytaniem */
@media (max-width: 719px) {
  .faq__ask {
    line-height: 23px;
  }
  .faq__answ {
    font-size: 16px;
    line-height: 23px;
    letter-spacing: 0.16px;
    margin-top: 6px;
  }
}

/* GS-038 kod rabatowy: panel otwiera js/poprawki-figma.js; po otwarciu bez naglowka, etykieta nad polem, przycisk obok */
.wc-block-components-totals-coupon:has(> .wc-block-components-panel__button[aria-expanded="true"]) > .wc-block-components-panel__button {
  display: none;
}
.wc-block-components-totals-coupon .wc-block-components-panel__content {
  padding-top: 0;
}
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0 20px;
}
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__input.wc-block-components-text-input {
  display: flex;
  flex-direction: column-reverse;
  flex: 1 1 0;
  margin: 0;
}
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form .wc-block-components-text-input label,
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form .wc-block-components-text-input.is-active label {
  position: static;
  transform: none;
  width: 100%;
  max-width: none;
  margin: 0 0 6px;
  color: #000;
  font-family: "Source Sans 3";
  font-size: 16px;
  line-height: 23px;
  white-space: normal;
}
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form .wc-block-components-text-input input[type="text"] {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid #D1CDC8;
  border-radius: 0;
}
.wc-block-components-totals-coupon .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
  flex: 0 0 auto;
  width: auto;
  height: 40px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 0;
  margin: 0;
}

/* GS-042 koszyk: kolumny jak w Figmie, lista 715 px, podsumowanie 400 px */
@media (min-width: 1100px) {
  .wc-block-cart.is-large .wc-block-cart__main {
    width: calc(100% - 400px);
    padding-right: 125px;
  }
  .wc-block-cart.is-large .wc-block-cart__sidebar {
    width: 400px;
    padding-left: 0;
  }
}

/* GS-039 podsumowanie: opis i kwota w jednym wierszu, kwoty do prawej, kwota koncowa wyrozniona */
.wc-block-cart__sidebar .wc-block-components-totals-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
}
.wc-block-cart__sidebar .wc-block-components-totals-item__label {
  flex: 1 1 auto;
}
.wc-block-cart__sidebar .wc-block-components-totals-item__value {
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}
.wc-block-cart__sidebar .wc-block-components-totals-item__description {
  flex: 1 0 100%;
}
.wc-block-cart__sidebar .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-size: 20px;
  font-weight: 600;
  color: #000;
}
.wc-block-cart__sidebar .wc-block-components-totals-footer-item {
  padding-bottom: 16px;
  border-bottom: 1px solid #E8E3DC;
}

/* GS-040 wiersz koszyka: "Usun" po prawej, na wysokosci regulacji ilosci */
@media (min-width: 768px) {
  .woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row {
    position: relative;
  }
  .woocommerce-cart table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity .wc-block-cart-item__remove-link {
    position: absolute;
    right: 0;
    bottom: 24px;
    margin: 0;
  }
}

/* GS-042 zamowienie: kolumny jak w Figmie, formularz 715 px, podsumowanie 400 px */
@media (min-width: 1100px) {
  .checkout.woocommerce-checkout .opencustomwrap {
    width: calc(100% - 525px);
  }
  .checkout.woocommerce-checkout #order_review #payment-place-order {
    width: 400px;
    max-width: 400px;
  }
}

/* GS-047 metody dostawy: stale pola wyboru i logo, nazwa elastyczna, koszt w kolumnie do prawej (.shipcost z includes/poprawki-figma.php) */
.woocommerce-checkout #shipping_method li label {
  flex: 1 1 auto;
  width: auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0 16px;
}
.woocommerce-checkout #shipping_method li label img {
  flex: 0 0 50px;
  width: 50px;
  height: auto;
  margin-right: 0;
  object-fit: contain;
}
.woocommerce-checkout #shipping_method li label .shiptitlebox {
  display: block;
  flex: 1 1 auto;
  width: auto;
}
.woocommerce-checkout #shipping_method li label .shipcost {
  display: block;
  flex: 0 0 auto;
  width: auto;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
}
.woocommerce-checkout #shipping_method li label .shipcost * {
  display: inline;
  width: auto;
}
.woocommerce-checkout #shipping_method li input[type="radio"].shipping_method + label::before {
  top: calc(50% - 11px);
}
.woocommerce-checkout #shipping_method li input[type="radio"].shipping_method:checked + label::after {
  top: calc(50% - 7px);
}

/* GS-049 moje konto: menu 295 px, tresc od x=520 przy 1440 (odstep 125 px jak w koszyku). */
@media (min-width: 1100px) {
	.woocommerce-account .woocommerce-MyAccount-navigation {
		flex: 0 0 295px;
		width: 295px;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		padding: 0;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
		padding: 17px 0;
	}
	.woocommerce-account .entry-content .woocommerce .woocommerce-MyAccount-content {
		flex: 0 0 calc(100% - 420px);
		width: calc(100% - 420px);
		margin: 0 0 0 auto;
		padding: 0;
	}
	.logged-in.woocommerce-account .entry-content .woocommerce {
		padding: 0;
	}
}

/* GS-051 karty podarunkowe: saldo, formularz z etykieta, tabele w ramkach. */
.woocommerce-account .woocommerce-MyAccount-content form h4 {
	font-family: inherit;
	font-size: 24px;
	line-height: 1.2;
	color: #000;
	margin: 0 0 32px;
}
.woocommerce-account .woocommerce-MyAccount-content h2 + .woocommerce-Giftcards,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-Giftcards-balance-amount {
	font-size: 20px;
	margin-bottom: 56px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-Giftcards-form {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px 20px;
	margin-bottom: 56px;
}
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-Giftcards-form {
		gap: 6px 0;
	}
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-Giftcards-form .button.button {
		flex: 1 1 100%;
		margin-top: 10px;
	}
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-Giftcards-form::before {
	content: "Wprowadź kod";
	flex: 0 0 100%;
	font-size: 16px;
	line-height: 23px;
	font-weight: 600;
	color: #000;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-Giftcards-form input.input-text {
	flex: 1 1 200px;
	width: auto;
	height: 48px !important;
	margin: 0;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-MyAccount-Giftcards-form .button {
	flex: 0 0 295px;
	height: 48px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table,
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards {
	border: 1px solid #D1CDC8;
	border-collapse: separate;
	border-spacing: 0;
	margin-bottom: 56px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table th,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table td,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table th,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table td,
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards td {
	background: #fff;
	padding: 16px 12px;
	font-size: 16px;
	line-height: 23px;
	text-align: left;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table thead th,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table thead th,
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards thead th {
	padding-top: 24px;
	box-shadow: inset 0 -1px #E8E3DC;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table th:first-child,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table td:first-child,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table th:first-child,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table td:first-child,
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards td:first-child {
	padding-left: 23px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table th:last-child,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table td:last-child,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table th:last-child,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table td:last-child,
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards td:last-child {
	padding-right: 23px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table tbody tr:first-child td,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table tbody tr:first-child td,
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards tbody tr:first-child td {
	padding-top: 24px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-table tbody tr:last-child td,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-giftcards-activity-table tbody tr:last-child td,
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards tbody tr:last-child td {
	padding-bottom: 24px;
}

/* GS-054, GS-055 szczegoly konta: formularz w ramce, nazwa wyswietlana i e-mail obok siebie, staly rytm pol. */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 22px;
	border: 1px solid #D1CDC8;
	padding: 31px 39px;
}
@media (min-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm {
		padding: 23px 15px 15px;
	}
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > * {
	grid-column: 1 / -1;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > .clear {
	display: none;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > .woocommerce-form-row--first,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > .woocommerce-form-row--last,
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:has(#account_display_name),
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:has(#account_email) {
	grid-column: auto;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row {
	float: none;
	width: auto;
	margin: 0 0 32px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm label {
	font-weight: 600;
	line-height: 23px;
	margin: 0 0 6px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm input.input-text {
	padding: 11px 16px;
	line-height: 24px;
	margin: 0;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm #account_display_name_description {
	display: block;
	margin-top: 6px;
	font-size: 12px;
	line-height: 17px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm fieldset {
	margin: 10px 0 0;
	padding: 0;
	border: 0;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm legend {
	padding: 0 0 26px;
	background: transparent;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm > p:last-of-type {
	margin: 0 0 8px;
}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"] {
	float: none;
	width: 100%;
	max-width: calc(50% - 11px);
	height: 48px;
	margin: 0;
	padding: 0 16px;
	font-size: 16px;
}
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-content .woocommerce-EditAccountForm button[type="submit"] {
		max-width: none;
	}
}

/* GS-056 adresy: link edycji wewnatrz ramki adresu, dwie kolumny z odstepem 20 px. */
.woocommerce-account .woocommerce-MyAccount-content > p:has(+ .addresses) {
	margin: 0 0 32px;
}
@media (min-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-content .addresses {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 20px;
	}
	.woocommerce-account .woocommerce-MyAccount-content .addresses::before,
	.woocommerce-account .woocommerce-MyAccount-content .addresses::after {
		display: none;
	}
}
.woocommerce-account .woocommerce-MyAccount-content .addresses .woocommerce-Address {
	position: relative;
	float: none;
	width: auto;
	margin: 0 0 20px;
}
.woocommerce-account .woocommerce-MyAccount-content .addresses .woocommerce-Address-title h2 {
	line-height: 29px;
	margin: 0 0 26px;
}
.woocommerce-account .woocommerce-MyAccount-content .addresses .woocommerce-Address-title a.edit {
	position: absolute;
	top: 79px;
	left: 24px;
	right: 24px;
	width: auto;
	margin: 0;
	padding: 0;
	line-height: 23px;
}
.woocommerce-account .woocommerce-MyAccount-content .addresses .woocommerce-Address address {
	padding: 63px 23px 23px;
	margin: 0;
	line-height: 27px;
}

/* GS-052 punkty: saldo pod naglowkiem jak w kartach podarunkowych. */
.woocommerce-account .woocommerce-MyAccount-content h2 + p:has(+ .my_account_points_rewards) {
	font-size: 20px;
	margin-bottom: 56px;
}
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards th {
	background: #fff;
	padding: 24px 12px 16px;
	font-size: 16px;
	line-height: 23px;
	text-align: left;
}
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards th:first-child {
	padding-left: 23px;
}
.woocommerce-account .woocommerce-MyAccount-content .my_account_points_rewards th:last-child {
	padding-right: 23px;
}
@media (max-width: 767px) {
	.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-giftcards-table,
	.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-giftcards-activity-table,
	.woocommerce-account .woocommerce-MyAccount-content table.my_account_points_rewards {
		border: 0;
	}
	.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-giftcards-table thead,
	.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-giftcards-activity-table thead,
	.woocommerce-account .woocommerce-MyAccount-content table.my_account_points_rewards thead {
		display: none;
	}
	.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-giftcards-table tbody tr:nth-child(n) td,
	.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-giftcards-activity-table tbody tr:nth-child(n) td,
	.woocommerce-account .woocommerce-MyAccount-content table.my_account_points_rewards tbody tr:nth-child(n) td {
		padding: 10px 16px;
	}
}

/* GS-059 kontakt na telefonie: niższy baner, tytuł 24px, formularz zachodzi na baner jak w Figmie (172-2489). */
@media screen and (max-width: 767px) {
	.contact__top { height: 296px; }
	.contact__top .contact__t { font-size: 24px; line-height: 29px; margin: 0; padding-bottom: 140px; }
	.contact__bot .contact__bot--form { margin-top: -111px !important; }
	.contact__bot--form .contact__bot--title2.contact__bot--title { font-size: 20px; line-height: 24px; margin-bottom: 24px; }
}

/* GS-067 strona glowna na telefonie: kolejnosc kategorii z Figmy (12-396). Kategoria spoza listy (Dziecieca/Komplety) idzie przed Pierscionki. */
@media screen and (max-width: 767px) {
	.cb .cb__bot > .cb__box { order: 7; }
	.cb .cb__bot > .cb__box[href*="/kolczyki"] { order: 1; }
	.cb .cb__bot > .cb__box[href*="/lancuszki"] { order: 2; }
	.cb .cb__bot > .cb__box[href*="/bransoletki"] { order: 3; }
	.cb .cb__bot > .cb__box[href*="/naszyjniki"] { order: 4; }
	.cb .cb__bot > .cb__box[href*="/dewocjonalia"] { order: 5; }
	.cb .cb__bot > .cb__box[href*="/zawieszki"] { order: 6; }
	.cb .cb__bot > .cb__box[href*="/pierscionki"] { order: 8; }
}

/* GS-068 karty produktow na telefonie: pelne nazwy (bez ucinania po 2 wierszach), 16/20 jak w Figmie (79-3021). */
@media screen and (max-width: 767px) {
	.products .product .woocommerce-LoopProduct-link .woocommerce-loop-product__title {
		display: block;
		-webkit-line-clamp: unset;
		height: auto;
		min-height: 0;
		overflow: visible;
		font-size: 16px;
		line-height: 20px;
	}
}

/* GS-076 kategoria na telefonie: mniejsze odstepy tytul, filtry, licznik, siatka (Figma 79-3021: 32 / 24 / 32). */
@media screen and (max-width: 767px) {
	.woo_head_start .woocommerce-result-count { font-size: 14px; line-height: 20px; margin-top: 0; margin-bottom: 22px; }
	.ctactegorytop .product-category-title { margin-bottom: 32px; }
}
@media screen and (max-width: 767px) {
	/* nazwy maja rozna wysokosc: przycisk "Dodaj do koszyka" zostaje na dole karty, rowno w calym rzedzie */
	ul.products li.product { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; }
	ul.products li.product > .button { margin-top: auto; }
	/* slidery na stronie glownej (slick): slajdy w jednym wierszu dostaja te sama wysokosc, wiec przyciski tez sa rowno */
	ul.products .slick-track { display: flex; }
	ul.products .slick-track > li.product.slick-slide { height: auto; float: none; }
}

/* GS-074 plakietka reCAPTCHA zaslaniala serce, przyciski i stopke. Pokazujemy ja tylko na stronach z formularzem Contact Form 7 (tam jest potrzebna). */
body:not(:has(.wpcf7)) .grecaptcha-badge { visibility: hidden; }

/* GS-069 menu mobilne (Figma 713-1179): panel pod naglowkiem, naglowek z logo i ikonami zostaje widoczny, zamykanie ikona menu (js/poprawki-menu.js). */
@media screen and (max-width: 799px) {
	.mobile-menu.active {
		top: var(--gs-menu-top, 0px);
		height: calc(100vh - var(--gs-menu-top, 0px));
		padding: 20px 20px 0;
		box-shadow: inset 0 1px 0 #E0DCD5;
	}
	.mobile-menu .menu-close { display: none; }
	.mobile-menu.active .dgwt-wcas-search-form { margin-bottom: 24px; }
	.mobile-menu .menu-header { margin-bottom: 0; }
	.mobile-menu .menu-header:has(.menu-back[style*="block"]),
	.mobile-menu .menu-header:has(.menu-back[style*="flex"]) { margin-bottom: 16px; }
	.gs-menu-otwarte .menu-trigger { font-size: 20px; line-height: 24px; color: #6C6964; }
}

/* GS-071 panel filtrow na telefonie (Figma 79:3598): naglowek Wyczysc / Filtry / Zamknij, sekcje WOOF, "Pokaz wyniki" (js/poprawki-filtry.js). Filtry ze sklepu. */
.gs-filtry-naglowek,
.gs-filtry-wyniki { display: none; }
@media screen and (max-width: 720px) {
	.gs-filtry-otwarte .woo_head_start .woof_auto_show:not(.woof_overflow_hidden) { overscroll-behavior: contain; }
	.gs-filtry-otwarte .woo_head_start .woof_auto_show_indent { height: auto !important; min-height: 100%; }
	.gs-filtry-otwarte .gs-filtry-naglowek {
		position: sticky; top: 0; z-index: 2;
		display: flex; align-items: center; justify-content: space-between;
		height: 64px; padding: 0 20px; background: #F9F7F4;
	}
	.gs-filtry-naglowek button {
		padding: 0; border: 0; background: none; cursor: pointer;
		font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 16px; line-height: 23px;
	}
	.gs-filtry-naglowek__wyczysc { color: #977A45; }
	.gs-filtry-naglowek__zamknij {
		display: inline-flex; align-items: center; gap: 8px; color: #6C6964;
	}
	.gs-filtry-naglowek__zamknij::after {
		content: ""; width: 8px; height: 8px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath d='M.75.75l6.5 6.5M7.25.75l-6.5 6.5' stroke='%236C6964' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 8px 8px;
	}
	.gs-filtry-naglowek__tytul {
		position: absolute; left: 50%; transform: translateX(-50%);
		font-family: 'AdorHairline-Bold', serif; font-weight: 400; font-size: 20px; line-height: 24px; color: #000;
	}
	.gs-filtry-otwarte .woo_head_start .woof {
		margin: 0; padding: 24px 20px; border: 0; background: #fff;
	}
	.gs-filtry-otwarte .woo_head_start .woof_redraw_zone { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 24px; }
	.gs-filtry-otwarte .woo_head_start .woof_container { width: 100%; margin: 0; padding: 0; }
	.gs-filtry-otwarte .woo_head_start .woof_container_inner { padding: 0; }
	.gs-filtry-otwarte .woo_head_start .woof_container h4 {
		position: relative; display: flex; align-items: center; justify-content: space-between;
		height: 56px; margin: 0; padding: 14px 16px; background: #F3EEE6;
		font-family: 'Source Sans 3', sans-serif; font-weight: 600; font-size: 16px; line-height: 23px; letter-spacing: .32px; color: #000;
	}
	.gs-filtry-otwarte .woo_head_start .woof_container h4 .woof_front_toggle {
		position: absolute; inset: 0; width: auto; height: auto; margin: 0;
		font-size: 0; color: transparent;
		background: url("../assets/gfx/vector_woof.svg") no-repeat right 16px center / 24px 24px;
		transition: transform .2s;
	}
	.gs-filtry-otwarte .woo_head_start .woof_container h4 .woof_front_toggle_opened { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19.92 15.05l-6.52-6.52a1.98 1.98 0 00-2.8 0L4.08 15.05' stroke='%23B79556' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
	.gs-filtry-otwarte .woo_head_start .woof_container h4 .woof_front_toggle::after { content: none; }
	.gs-filtry-otwarte .woo_head_start .woof_price2_search_container { background: none; }
	.gs-filtry-otwarte .woo_head_start .woof_price2_search_container h4 {
		background: #F3EEE6 url("../assets/gfx/vector_woof.svg") no-repeat right 16px center / 24px 24px; cursor: pointer;
	}
	.gs-filtry-otwarte .woo_head_start .woof_price2_search_container.openprice h4 { background-color: #F3EEE6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19.92 15.05l-6.52-6.52a1.98 1.98 0 00-2.8 0L4.08 15.05' stroke='%23B79556' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
	.gs-filtry-otwarte .woo_head_start .woof_block_html_items { margin: 10px 0 0; padding: 0 16px; max-height: none; background: #fff; }
	.gs-filtry-otwarte .woo_head_start .woof_list { margin: 0; }
	.gs-filtry-otwarte .woo_head_start .woof_list li {
		display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between;
		min-height: 48px; margin: 0; padding: 0; border: 0; border-bottom: 1px solid #E0DCD5;
	}
	.gs-filtry-otwarte .woo_head_start .woof_block_html_items .woof_list li .woof_checkbox_label {
		flex: 1; margin: 0; padding: 12px 12px 12px 0; cursor: pointer;
		font-family: 'Source Sans 3', sans-serif; font-weight: 400; font-size: 16px; line-height: 23px; letter-spacing: .32px; color: #3A3A3A;
	}
	.gs-filtry-otwarte .woo_head_start .woof_list li .icheckbox_square-blue {
		flex: 0 0 20px; width: 20px; height: 20px; margin: 0;
		border: 1px solid #B79556; background: #fff;
	}
	.gs-filtry-otwarte .woo_head_start .woof_list li .icheckbox_square-blue.checked {
		background: #B79556 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M5.2 9l2.6 2.6L13 6.4' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 18px 18px;
	}
	.gs-filtry-otwarte .woo_head_start .woof_price2_search_container .chosen-container { width: 100% !important; margin: 10px 0 0; }
	.gs-filtry-otwarte .woo_head_start .woof_price2_search_container .chosen-container-single .chosen-single {
		height: 48px; padding: 0 16px; border: 1px solid #B79556; border-radius: 0; background: #fff; box-shadow: none;
		font-family: 'Source Sans 3', sans-serif; font-size: 16px; line-height: 46px; color: #3A3A3A;
	}
	.gs-filtry-otwarte .woo_head_start .woof_price2_search_container .chosen-container-single .chosen-single div b { background-position-y: 15px; }
	/* dolny pasek: zamiast Zamknij / Sortowanie jeden przycisk "Pokaz wyniki" */
	.gs-filtry-otwarte .woo_head_start.whs__stick {
		left: 0; width: 100%; height: 72px; padding: 12px 20px;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, .1);
	}
	.gs-filtry-otwarte .woo_head_start.whs__stick > .mobilefiltr,
	.gs-filtry-otwarte .woo_head_start.whs__stick > .mobilesort { display: none !important; }
	.gs-filtry-otwarte .woo_head_start.whs__stick > .gs-filtry-wyniki { display: block; width: 100%; }
	.gs-filtry-wyniki button {
		width: 100%; height: 48px; padding: 0 32px; border: 0; border-radius: 0; background: #B79556; cursor: pointer;
		font-family: 'Source Sans 3', sans-serif; font-weight: 500; font-size: 16px; line-height: 23px; letter-spacing: .16px; color: #fff;
	}
}

/* GS-073 przyklejony pasek zakupu na karcie produktu (Figma 97:743, js/poprawki-produkt.js) */
.gs-pasek-zakupu { display: none; }
@media screen and (max-width: 759px) {
	.gs-pasek-zakupu {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 990;
		display: flex; gap: 20px; height: 72px; padding: 12px 20px;
		background: #fff; box-shadow: 0 -4px 20px rgba(0, 0, 0, .1);
		transform: translateY(110%); visibility: hidden;
		transition: transform .25s ease, visibility 0s linear .25s;
	}
	.gs-pasek-zakupu.is-visible { transform: none; visibility: visible; transition: transform .25s ease; }
	.gs-pasek-zakupu__kup {
		flex: 1; height: 48px; padding: 0 32px; border: 0; border-radius: 0; background: #B79556; cursor: pointer;
		font-family: 'Source Sans 3', sans-serif; font-weight: 500; font-size: 16px; line-height: 23px; letter-spacing: .16px; color: #fff;
	}
	.gs-pasek-zakupu__serce {
		display: flex; align-items: center; justify-content: center;
		flex: 0 0 48px; height: 48px; padding: 0; border: 0; border-radius: 0; background: #F3EEE6; color: #B79556; cursor: pointer;
	}
	.gs-pasek-zakupu__serce svg, .gs-pasek-zakupu__serce img { width: 22px; height: 22px; margin: 0; }
}

/* GS-015 stopka: formularz newslettera (Figma 11:110), gdy wtyczka Newsletter jest aktywna */
.site-footer .newsletter.newsletter--formularz { padding: 28px 32px 32px; align-items: flex-start; justify-content: flex-start; }
.newsletter--formularz .newsletter__content { width: 100%; }
.newsletter--formularz .newsletter__title { display: block; margin: 0 0 16px; font-size: 20px; line-height: 1.3; letter-spacing: .2px; color: #000; }
.newsletter--formularz .newsletter__title b { font-weight: inherit; }
.newsletter--formularz .tnp-subscription, .newsletter--formularz .tnp-subscription form { margin: 0; max-width: none; }
.newsletter--formularz .tnp-subscription div.tnp-field { margin: 0; }
.newsletter--formularz .tnp-field-email { width: calc(100% - 148px); }
.newsletter--formularz .tnp-field-email input.tnp-email { height: 40px; padding: 0 16px; border: 1px solid #E0DCD5; font-family: "Source Sans 3", sans-serif; font-size: 14px; line-height: 20px; letter-spacing: .28px; color: #3A3A3A; box-shadow: none; }
.newsletter--formularz .tnp-field-email input.tnp-email::placeholder { color: #99938B; opacity: 1; }
.newsletter--formularz .tnp-subscription input.tnp-submit { width: 148px !important; height: 40px !important; padding: 0 16px; line-height: 20px; letter-spacing: .16px; }
.newsletter--formularz .tnp-subscription div.tnp-privacy-field { margin-top: 29px; }
.newsletter--formularz .tnp-privacy-field label { display: flex; gap: 14px; align-items: flex-start; }
.newsletter--formularz .tnp-privacy-field input.tnp-privacy { -webkit-appearance: none; appearance: none; flex: 0 0 20px; width: 20px !important; min-width: 20px; height: 20px; margin: 0; border: 1px solid #E0DCD5; background: #fff; border-radius: 0; cursor: pointer; }
.newsletter--formularz .tnp-privacy-field input.tnp-privacy:checked { border-color: #B79556; background: #B79556 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='9' viewBox='0 0 12 9'%3E%3Cpath d='M1 4.5 4.3 8 11 1' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E") center no-repeat; }
@media screen and (max-width: 599px) {
	.site-footer .newsletter.newsletter--formularz { padding: 24px 20px; }
	.newsletter--formularz .tnp-field-email, .newsletter--formularz .tnp-subscription input.tnp-submit { width: 100% !important; }
	.newsletter--formularz .tnp-subscription div.tnp-field-button { margin-top: 12px; }
	.newsletter--formularz .tnp-subscription input.tnp-submit { height: 48px !important; }
	.newsletter--formularz .tnp-subscription div.tnp-privacy-field { margin-top: 20px; }
}

/* Filtr "Cena": lista przedzialow zamiast drugiego pola wyboru (js/poprawki-filtry.js). Wyglad list bierze z regul WOOF motywu. */
.woof_price2_search_container .chosen-container,
.woof_price2_search_container .woof_price_filter_dropdown_container { display: none !important; }
.woof_price2_search_container .gs-ceny li { cursor: pointer; }
.woof_price2_search_container .gs-ceny .woof_checkbox_label { text-transform: none !important; }
.woof_price2_search_container.openprice { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M19.92 15.05l-6.52-6.52a1.98 1.98 0 00-2.8 0L4.08 15.05' stroke='%23B79556' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Lista klienta 28.10.2026: po przewinieciu pasek ma 60 px (style.css), a logo 63 px, wiec dol logo byl ucinany.
   W przyklejonym naglowku logo jest mniejsze i miesci sie w pasku w calosci. */
#masthead.sticky .site-branding svg {
  height: 50px;
  width: auto;
  transition: height 0.3s;
}
