/* ==========================================================================
   Never Shy - wygląd starego sklepu nevershy.pl na motywie Classic (PS 8.x)
   Wartości zdjęte ze starej strony (kolory, czcionka, rozmiary).
   ========================================================================== */
:root {
  --ns-slate: #5c617d;        /* górny pasek, pas menu, stopka */
  --ns-slate-light: #8a8da4;  /* pas z logo */
  --ns-slate-field: #6b6f88;  /* pole wyszukiwarki w górnym pasku */
  --ns-ink: #36394a;          /* pasek praw autorskich, przyciski */
  --ns-pink: #ff8497;         /* kafle polecanych, akcenty */
  --ns-pink-dark: #a4354a;
  --ns-text: #777777;
  --ns-heading: #36394a;
  --ns-foot-text: #d9d9db;
  --ns-border: #e2e2e6;
}

/* ---------- Czcionka Lato (ta sama co w starym sklepie), serwowana lokalnie ---------- */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lato-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-latin-ext-700-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lato-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Podstawa ---------- */
body,
body#index,
#wrapper {
  background: #fff;
}

body {
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  color: var(--ns-text);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.products-section-title,
.page-header h1,
#main .page-header h1 {
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  color: var(--ns-heading);
}

a {
  color: var(--ns-slate);
}

a:hover,
a:focus {
  color: var(--ns-pink);
}

/* ---------- Nagłówek: tło pasów ---------- */
#header {
  background: var(--ns-slate-light);
  box-shadow: none;
  overflow-x: clip;
}

#header .header-nav {
  max-height: none;
  margin: 0;
  padding: 0;
  background: var(--ns-slate);
  border-bottom: 0;
}

#header .header-nav .container > .row {
  margin: 0;
}

/* natywne bloki górnego paska (kontakt, konto, koszyk) zastępuje pasek modułu */
#header .header-nav #_desktop_contact_link,
#header .header-nav .col-md-7.right-nav {
  display: none !important;
}

#header .header-nav .hidden-sm-down > .col-md-5 {
  float: none;
  width: 100%;
  padding: 0;
}

/* ---------- Górny pasek modułu ---------- */
.ns-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 35px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.ns-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff !important;
  white-space: nowrap;
}

.ns-topbar a:hover {
  color: #e6e7f2 !important;
}

.ns-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ns-topbar-sep {
  opacity: .7;
}

.ns-topbar-search {
  display: flex;
  align-items: center;
  height: 27px;
  background: var(--ns-slate-field);
}

.ns-topbar-search input {
  width: 135px;
  height: 27px;
  padding: 0 8px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.ns-topbar-search input::placeholder {
  color: #fff;
  opacity: 1;
}

.ns-topbar-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 27px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.ns-topbar-cart {
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, .55);
}

/* ---------- Pas z logo i pas menu (komputer) ---------- */
#header .header-top {
  padding: 0;
  background: transparent;
}

@media (min-width: 768px) {
  #header .header-top > .container > .row:first-of-type {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    margin: 0;
  }

  #header .header-top #_desktop_logo {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    padding: 15px 0;
    text-align: center;
    float: none;
  }

  #header .header-top #_desktop_logo h1,
  #header .header-top #_desktop_logo .h1 {
    margin: 0;
  }

  #header .header-top #_desktop_logo img.logo {
    display: inline-block;
    width: auto;
    max-width: 100%;
    max-height: 88px;
  }

  /* pas menu na całą szerokość okna */
  #header .header-top .header-top-right {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    padding: 5px 0;
    float: none;
  }

  #header .header-top .header-top-right::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--ns-slate);
    z-index: 0;
  }

  #header .header-top .header-top-right > * {
    position: relative;
    z-index: 1;
  }

  /* wyszukiwarka motywu - na komputerze jest w górnym pasku modułu */
  #header .header-top #search_widget {
    display: none !important;
  }
}

/* ---------- Menu główne ---------- */
#header .header-top .menu {
  padding-left: 0;
  margin: 0;
}

#header #_desktop_top_menu .top-menu[data-depth="0"] {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

#header #_desktop_top_menu .top-menu[data-depth="0"] > li {
  padding: 0 5px;
}

#header .header-top a[data-depth="0"],
#header .top-menu a[data-depth="0"] {
  display: inline-block;
  padding: 11px 5px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  text-transform: none;
  letter-spacing: 0;
}

#header .top-menu a[data-depth="0"]:hover,
#header .top-menu > li.current > a[data-depth="0"],
#header .top-menu > li:hover > a[data-depth="0"] {
  color: #e6e7f2;
}

/* strzałka przy pozycjach z podmenu */
#header #_desktop_top_menu .top-menu[data-depth="0"] > li:has(.sub-menu) > a[data-depth="0"]::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

#header .top-menu .sub-menu {
  top: auto !important;
  margin-left: 0;
  width: auto;
  min-width: 100%;
  border: 0;
  border-top: 3px solid var(--ns-pink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(54, 57, 74, .18);
}

#header .top-menu .sub-menu a {
  color: var(--ns-heading);
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

#header .top-menu .sub-menu a:hover {
  color: var(--ns-pink);
}

#header .top-menu a.dropdown-submenu {
  font-weight: 700;
  text-transform: none;
  color: var(--ns-heading);
}

/* ---------- Telefon: natywny nagłówek mobilny w kolorach marki ---------- */
@media (max-width: 767px) {
  #header .header-nav .mobile {
    padding: 0 10px;
  }

  #header .header-nav #menu-icon .material-icons,
  #header .header-nav .mobile .material-icons,
  #header .header-nav .mobile a,
  #header .header-nav .mobile .blockcart,
  #header .header-nav .mobile .cart-products-count {
    color: #fff !important;
  }

  #header .header-nav .mobile .blockcart {
    background: transparent;
  }

  #header .header-nav #_mobile_logo img {
    max-height: 40px;
    width: auto;
  }

  #header .header-top {
    padding: 8px 0 10px;
  }

  #header .header-top .header-top-right {
    width: 100%;
    padding: 0 15px;
  }

  #header .header-top #search_widget {
    float: none;
    width: 100%;
    max-width: none;
    margin: 0;
  }

  #header .header-top #search_widget form input[type="text"] {
    width: 100%;
    min-width: 0;
    background: #fff;
    font-size: 16px;
  }

  #mobile_top_menu_wrapper {
    background: #fff;
  }

  #mobile_top_menu_wrapper .top-menu a[data-depth="0"],
  #mobile_top_menu_wrapper .top-menu a {
    color: var(--ns-heading) !important;
  }
}

/* ---------- Przyciski, ceny, plakietki ---------- */
.btn-primary,
.btn-primary:focus {
  background-color: var(--ns-ink);
  border-color: var(--ns-ink);
  color: #fff;
  border-radius: 0;
  box-shadow: none;
  text-transform: uppercase;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary.active {
  background-color: var(--ns-slate) !important;
  border-color: var(--ns-slate) !important;
}

.btn-secondary,
.btn-tertiary {
  border-radius: 0;
  box-shadow: none;
}

.product-price,
.current-price,
.product-miniature .price,
.cart-summary-line .value,
.product-price-and-shipping .price {
  color: var(--ns-heading);
}

.product-flags li.product-flag {
  background: var(--ns-pink);
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

.product-flags li.product-flag.new {
  background: var(--ns-slate);
}

.product-miniature .product-title a,
.product-miniature .h3.product-title a {
  color: var(--ns-heading);
}

.product-miniature .product-title a:hover {
  color: var(--ns-pink);
}

.product-miniature .thumbnail-container,
.product-miniature .product-description {
  box-shadow: none;
}

.form-control:focus {
  border-color: var(--ns-slate);
  outline: 0;
}

.custom-radio input[type="radio"]:checked + span {
  background-color: var(--ns-slate);
}

.pagination .current a,
.tabs .nav-tabs .nav-link.active,
.tabs .nav-tabs .nav-link:hover {
  color: var(--ns-slate);
  border-bottom-color: var(--ns-pink);
}

.products-section-title,
.featured-products .products-section-title {
  font-weight: 400;
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ns-heading);
}

/* ---------- Stopka ---------- */
#footer {
  padding-top: 0;
  background: var(--ns-slate);
  color: var(--ns-foot-text);
}

#footer .footer-container {
  margin-top: 0;
  padding-top: 40px;
  padding-bottom: 20px;
  background: var(--ns-slate);
  box-shadow: none;
  overflow: visible;
}

#footer .block_newsletter,
#footer > .container > .row:first-child {
  background: transparent;
  color: var(--ns-foot-text);
}

#footer .block_newsletter {
  margin-bottom: 0;
  padding: 30px 0 10px;
  border: 0;
  box-shadow: none;
}

#footer .block_newsletter p,
#footer .block_newsletter #block-newsletter-label {
  color: #fff;
}

#footer .block_newsletter form input[type="email"],
#footer .block_newsletter form input[type="text"] {
  height: 40px;
  border: 2px solid #7a7a7a;
  background: transparent;
  color: #fff;
}

#footer .block_newsletter form input::placeholder {
  color: #d2d2d2;
}

#footer .block_newsletter .btn-primary {
  background: #434553;
  border-color: #434553;
  color: #fff;
}

#footer#footer .h3,
#footer#footer .h4,
#footer#footer .h3 a,
#footer#footer .h4 a,
#footer#footer .block-contact-title,
#footer#footer .myaccount-title a,
#footer#footer .links .title .h3 {
  color: #fff !important;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
}

#footer .links ul > li a,
#footer .block-contact,
#footer .block-contact #contact-infos,
#footer .block-contact #contact-infos *,
#footer .account-list a,
#footer p,
#footer li {
  color: var(--ns-foot-text) !important;
  font-size: 14px;
}

#footer .links ul > li a:hover,
#footer .account-list a:hover,
#footer .block-contact a:hover {
  color: #fff !important;
}

#footer .links .material-icons,
#footer .links .navbar-toggler {
  color: #fff !important;
}

#footer .footer-container .row:last-child p,
#footer .footer-container .text-sm-center {
  margin: 0;
}

/* pasek praw autorskich na całą szerokość */
#footer .footer-container > .container > .row:last-child {
  position: relative;
  margin-top: 30px;
  padding: 16px 0;
}

#footer .footer-container > .container > .row:last-child::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -20px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--ns-ink);
}

#footer .footer-container > .container > .row:last-child > * {
  position: relative;
  color: #fff !important;
}

#footer .footer-container > .container > .row:last-child a {
  color: #fff !important;
}

#footer {
  overflow-x: clip;
}

/* ---------- Strona główna: slider przylega do nagłówka ---------- */
body#index #wrapper {
  padding-top: 0;
}

body#index #carousel {
  margin-bottom: 30px;
}

/* licznik koszyka w górnym pasku */
.ns-topbar-cart-count {
  font-weight: 700;
}
