/*
 * Motyw PIK (potomny Classic) - wyglad odtworzony z Leo Converse (PS 1.6):
 * fonty Poiret One + Lato, grafitowe menu i przyciski, kolaz w naglowku.
 */
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Poiret+One&display=swap&subset=latin-ext");

:root {
  --pik-graphite: #575757;
  --pik-button: #63676d;
  --pik-button-hover: #434a54;
  --pik-heading: #535353;
  --pik-text: #333;
  --pik-muted: #6d6d6d;
  --pik-topbar: #2f2f2f;
  --pik-footer-top: #3a3a3a;
  --pik-footer: #161616;
  --pik-footer-text: #aab2bd;
}

body {
  font-family: Lato, Arial, sans-serif;
  color: var(--pik-text);
  background: #ececec url(../img/bg-body.jpg) repeat;
}

h1, h2, h3, .h1, .h2, .h3,
.page-header h1,
.products-section-title,
.block-category h1 {
  font-family: "Poiret One", Lato, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--pik-heading);
  letter-spacing: .02em;
}

a { color: var(--pik-graphite); }
a:hover, a:focus { color: #000; }

/* ---------- Naglowek ---------- */
#header { background: transparent; box-shadow: none; }

#header .header-nav {
  background: var(--pik-topbar);
  border-bottom: 0;
  max-height: none;
  margin-bottom: 0;
  color: #fff;
  font-size: 13px;
}
#header .header-nav .pik-nav-contact {
  line-height: 43px;
  font-weight: 700;
  text-align: left;
}
#header .header-nav .pik-nav-contact a,
#header .header-nav .user-info a,
#header .header-nav .user-info .material-icons,
#header .header-nav #menu-icon .material-icons {
  color: #fff;
  font-weight: 700;
}
#header .header-nav .right-nav { display: flex; justify-content: flex-end; align-items: center; min-height: 43px; }
#header .header-nav .user-info { margin: 0; text-align: right; }
#header .header-nav .user-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 43px;
}
#header .header-nav .user-info .material-icons { font-size: 20px; line-height: 1; vertical-align: middle; }
#header .header-nav .mobile { background: var(--pik-topbar); }

@media (min-width: 1200px) {
  .container { width: 1190px; }
}

#header .header-top {
  background: var(--pik-graphite) url(../img/bg-header3.jpg) center / cover no-repeat;
  padding: 60px 0 40px;
  min-height: 257px;
}
#header .header-top #_desktop_logo h1 { margin: 0; }
#header .header-top .logo {
  max-height: 136px;
  width: auto;
}
#header .header-top .header-top-right {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
}

/* Koszyk w naglowku - szary kwadrat z ikona + bialy box, jak w Leo Converse */
#header .header-top #_desktop_cart .blockcart {
  background: #fff;
  height: 66px;
  width: 200px;
  padding: 0;
  margin: 0;
  text-align: left;
}
#header .header-top #_desktop_cart .blockcart .header,
#header .header-top #_desktop_cart .blockcart .header a {
  display: flex;
  align-items: stretch;
  height: 100%;
  margin: 0;
  color: var(--pik-heading);
}
#header .header-top #_desktop_cart .pik-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 63px;
  flex: 0 0 63px;
  background: var(--pik-button);
}
#header .header-top #_desktop_cart .pik-cart-icon .material-icons {
  font-size: 32px;
  color: #fff;
}
#header .header-top #_desktop_cart .pik-cart-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 8px;
  line-height: 1.25;
}
#header .header-top #_desktop_cart .pik-cart-title {
  font-family: "Poiret One", Lato, sans-serif;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--pik-heading);
}
#header .header-top #_desktop_cart .pik-cart-sub {
  font-size: 12px;
  color: var(--pik-text);
}

/* Menu glowne */
.pik-menu-bar {
  background: var(--pik-graphite);
}
.pik-menu-bar .row { display: flex; align-items: center; }
.pik-menu-bar .menu,
.pik-menu-bar #_desktop_top_menu { margin: 0; padding: 0; width: 100%; }
.pik-menu-bar .top-menu[data-depth="0"] { display: flex; flex-wrap: nowrap; margin: 0; }
.pik-menu-bar .top-menu > li { flex: 1 1 auto; }
#header .pik-menu-bar .top-menu a[data-depth="0"] {
  display: block;
  padding: 13px 10px;
  text-align: center;
  white-space: nowrap;
  font-family: "Poiret One", Lato, sans-serif;
  font-size: 19px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  border-right: 1px solid #6c6c6c;
}
#header .pik-menu-bar .top-menu > li:last-child > a[data-depth="0"] { border-right: 0; }
#header .pik-menu-bar .top-menu a[data-depth="0"]:hover,
#header .pik-menu-bar .top-menu .current > a[data-depth="0"] {
  background: #474747;
  color: #fff;
}
.pik-menu-bar .top-menu .sub-menu { margin-left: 0; }
.pik-search #search_widget { min-width: 0; float: none; margin: 0; }
.pik-search #search_widget form input[type="text"] {
  background: #fff;
  border: 0;
  border-radius: 0;
  height: 36px;
}

/* ---------- Tresc ---------- */
#wrapper {
  background: transparent;
  box-shadow: none;
  padding-top: 0;
}
#wrapper > .container {
  background: #fff;
  padding: 20px 30px 30px;
}
#wrapper .breadcrumb {
  background: transparent;
  padding: 0 0 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}
#wrapper .breadcrumb li a { color: var(--pik-graphite); }

.block-category { box-shadow: none; border: 1px solid #eee; min-height: 0; }

/* Kafelki produktow - zdjecie w grubej szarej ramce, pelna nazwa i opis */
.product-miniature .thumbnail-container,
.product-miniature .thumbnail-container:hover,
.product-miniature .thumbnail-container:focus {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.product-miniature .thumbnail-top { border: 8px solid #ccc; background: #fff; }
.product-miniature .thumbnail-container .product-thumbnail img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}
@media (min-width: 992px) {
  #products .products > .product,
  .featured-products .products > .product {
    flex: 0 0 25%;
    max-width: 25%;
  }
}
.product-miniature .product-description {
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  padding: 14px 4px 6px;
}
.product-miniature .product-title {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.product-miniature .product-title a {
  color: #333;
  font-weight: 600;
  font-size: 14px;
  line-height: 18px;
  text-transform: none;
}
.pik-product-desc {
  font-size: 14px;
  color: #000;
  margin-bottom: 10px;
}
.product-miniature .product-price-and-shipping {
  color: #fff;
  font-weight: 400;
}
.product-miniature .product-price-and-shipping .price {
  display: inline-block;
  background: var(--pik-button);
  color: #fff;
  padding: 8px 36px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
}

/* Strona produktu */
#product h1.h1 {
  font-family: "Poiret One", Lato, sans-serif;
  font-size: 28px;
  font-weight: 600;
  text-transform: none;
  color: #434a54;
}
#product .product-prices .current-price,
#product .product-prices .current-price-value {
  font-family: "Poiret One", Lato, sans-serif;
  font-size: 23px;
  font-weight: 400;
  color: #cb2027;
}
#product .product-prices .tax-shipping-delivery-label { display: none; }
#product .images-container .product-cover { border: 1px solid #eee; padding: 5px; }
#product .add-to-cart.btn-primary {
  background: var(--pik-graphite);
  border-color: var(--pik-graphite);
  font-family: Lato, sans-serif;
  font-size: 14px;
  text-transform: none;
}

/* Okruszki: separator "›" zamiast "/" */
#wrapper .breadcrumb li::after { content: "\203A"; margin: 0 .5em; color: var(--pik-graphite); }
#wrapper .breadcrumb li:last-child::after { content: ""; }
#wrapper .breadcrumb li a { color: #2e3a47; }
.product-flags li.product-flag {
  background: var(--pik-button);
  font-family: Lato, sans-serif;
}

/* Przyciski */
.btn-primary,
.btn-primary:disabled,
.btn-primary.disabled {
  background: var(--pik-button);
  border-color: var(--pik-button);
  font-family: "Poiret One", Lato, sans-serif;
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  border-radius: 0;
  box-shadow: none;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: var(--pik-button-hover) !important;
  border-color: var(--pik-button-hover) !important;
}
.btn-secondary, .btn-tertiary { border-radius: 0; }

.product-prices .current-price,
.product-price {
  color: var(--pik-heading);
}

.pagination .current a { color: #fff; background: var(--pik-graphite); padding: 2px 8px; }

/* Kolumna boczna */
#left-column .block-categories,
#left-column #search_filters {
  box-shadow: none;
  border: 1px solid #eee;
}
#left-column .block-categories .category-top-menu > li > a.h6,
#search_filters .facet .facet-title {
  font-family: "Poiret One", Lato, sans-serif;
  text-transform: uppercase;
  color: var(--pik-heading);
}

/* ---------- Stopka ---------- */
#footer {
  padding-top: 0;
  background: transparent;
}
.pik-footer-top {
  background: var(--pik-footer-top);
  color: #fff;
  padding: 22px 0;
}
.pik-footer-top .container { display: flex; flex-wrap: wrap; gap: 12px 48px; }
.pik-footer-top-item {
  font-family: "Poiret One", Lato, sans-serif;
  font-size: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pik-footer-top-item a { color: #fff; }
.pik-footer-top-item .material-icons {
  font-size: 26px;
  border: 1px solid #777;
  padding: 6px;
}
#footer .footer-container {
  background: var(--pik-footer) url(../img/bg-footer.png) repeat;
  color: var(--pik-footer-text);
  margin-top: 0;
  padding: 34px 0 10px;
  box-shadow: none;
  overflow: visible;
}
.pik-footer-col h4 {
  font-family: "Poiret One", Lato, sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.pik-footer-col ul { list-style: none; padding: 0; margin: 0; }
.pik-footer-col ul li { margin-bottom: 10px; }
.pik-footer-col ul li a::before {
  content: "\203A";
  display: inline-block;
  width: 14px;
  color: #777;
}
.pik-footer-col p { font-size: 14px; color: var(--pik-footer-text); margin-bottom: 14px; }
.pik-footer-col a { color: #dfe3e8; }
.pik-footer-col a:hover { color: #fff; }
.pik-carriers img {
  display: block;
  max-width: 120px;
  height: auto;
  margin-bottom: 10px;
  filter: grayscale(1) brightness(1.6);
}
.pik-copyright {
  border-top: 1px solid #333;
  margin-top: 18px;
  padding-top: 14px;
  text-align: center;
  font-size: 13px;
  color: #808891;
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  #header .header-top { min-height: 0; padding: 0; }
  #wrapper > .container { padding: 12px 15px 20px; }
  .pik-footer-top-item { font-size: 18px; }
  #mobile_top_menu_wrapper { background: #fff; }
  #header .header-nav .blockcart { background: transparent; }
  #header .header-nav .blockcart .material-icons,
  #header .header-nav .blockcart .cart-products-count { color: #fff; }
  #mobile_top_menu_wrapper .top-menu a[data-depth="0"] {
    font-family: "Poiret One", Lato, sans-serif;
    text-transform: uppercase;
  }
}
