:root {
  --nb-navy: #0d2943;
  --nb-navy-deep: #081e31;
  --nb-blue: #1d5f96;
  --nb-orange: #f6a91a;
  --nb-paper: #ffffff;
  --nb-canvas: #f4f7fa;
  --nb-line: #dce5ed;
  --nb-text: #13283c;
  --nb-muted: #617386;
}

html {
  background: var(--nb-canvas);
}

body {
  color: var(--nb-text);
  background: var(--nb-canvas) !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

#ps-pwa .main-container {
  max-width: 920px;
  min-height: 100vh;
  color: var(--nb-text);
  background: var(--nb-canvas);
  box-shadow: 0 0 0 1px rgba(13, 41, 67, .05), 0 18px 50px rgba(13, 41, 67, .08);
}

#ps-pwa .top-nav {
  max-width: 920px;
}

#ps-pwa .top-nav-wrapper .MuiAppBar-root {
  color: #fff !important;
  background: var(--nb-navy) !important;
  box-shadow: 0 8px 24px rgba(7, 28, 46, .22) !important;
}

#ps-pwa .top-nav-wrapper .MuiAppBar-root .header-toolbar {
  min-height: 64px;
  padding: 8px 14px !important;
}

#ps-pwa .top-nav-wrapper .top-nav-title,
#ps-pwa .top-nav-wrapper .topnav-button,
#ps-pwa .top-nav-wrapper .search-icon,
#ps-pwa .top-nav-wrapper .cart-icon,
#ps-pwa .top-nav-wrapper .MuiIconButton-root,
#ps-pwa .top-nav-wrapper .MuiSvgIcon-root {
  color: #fff !important;
}

#ps-pwa .header-toolbar .top-nav-logo {
  width: auto;
  max-width: 190px;
  max-height: 42px;
  object-fit: contain;
}

#ps-pwa .homepage-wrapper {
  padding: 10px 10px 88px;
}

#ps-pwa h4.section-heading {
  position: relative;
  margin: 18px 0 12px;
  padding: 0 14px 10px;
  color: var(--nb-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .02em;
  text-align: left;
  text-transform: none;
}

#ps-pwa h4.section-heading::after {
  position: absolute;
  bottom: 0;
  left: 14px;
  width: 54px;
  height: 4px;
  background: var(--nb-orange);
  border-radius: 99px;
  content: "";
}

#ps-pwa .square-banners,
#ps-pwa .horizontal-slide-banner,
#ps-pwa .grid-banners,
#ps-pwa .horizontal-products-wrapper,
#ps-pwa .categories-grid-wrapper {
  margin: 12px 0;
  padding: 0 !important;
  background: var(--nb-paper);
  border: 1px solid var(--nb-line);
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(13, 41, 67, .08);
  overflow: hidden;
}

#ps-pwa .square-banners .container-fluid,
#ps-pwa .grid-banners .container-fluid {
  padding: 0 10px 10px;
}

#ps-pwa .square-banners .square-banners-list,
#ps-pwa .horizontal-slide-banner .horizontal-slide-banner-list,
#ps-pwa .grid-banners .grid-banners-list {
  border-radius: 14px;
  overflow: hidden;
}

#ps-pwa .square-banners .square-banners-list img {
  height: clamp(230px, 54vw, 390px);
}

#ps-pwa .horizontal-slide-banner .horizontal-slide-banner-list img {
  height: clamp(190px, 44vw, 330px);
}

#ps-pwa .grid-banners .grid-banners-list img {
  height: clamp(145px, 34vw, 250px);
}

#ps-pwa .square-banners h5.categoryTitle,
#ps-pwa .horizontal-slide-banner h5.categoryTitle,
#ps-pwa .grid-banners h5.categoryTitle,
#ps-pwa .categories_top h5.categoryTitle {
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(5, 23, 40, .9));
  padding: 24px 12px 12px;
  font-weight: 800;
}

#ps-pwa .categories_top .top-category {
  margin: 14px 0;
}

#ps-pwa .categories_top .top-category-list {
  border: 1px solid var(--nb-line);
  border-radius: 14px;
  box-shadow: 0 7px 18px rgba(13, 41, 67, .08);
  overflow: hidden;
}

#ps-pwa .categories-grid-wrapper .grid-products,
#ps-pwa .horizontal-products-wrapper .horizontal-banner-list {
  padding: 0 7px 10px;
  gap: 0;
}

#ps-pwa .categories-grid-wrapper .grid-products .item,
#ps-pwa .horizontal-products-wrapper .horizontal-banner-card {
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 14px;
  box-shadow: 0 7px 20px rgba(13, 41, 67, .07);
  overflow: hidden;
}

#ps-pwa .categories-grid-wrapper .grid-products .item {
  margin: 4px;
  width: calc(50% - 8px) !important;
  padding: 8px;
}

#ps-pwa .horizontal-products-wrapper .horizontal-banner-card {
  margin: 0;
  padding: 9px;
}

#ps-pwa .product-name,
#ps-pwa .home-product-name {
  color: var(--nb-navy) !important;
  font-weight: 700 !important;
}

#ps-pwa .product-price,
#ps-pwa .product-price .original-price {
  color: var(--nb-text);
  font-weight: 700;
}

#ps-pwa .themed-btn,
#ps-pwa .add-to-cart,
#ps-pwa button[type="submit"] {
  min-height: 42px;
  color: var(--nb-navy) !important;
  background: var(--nb-orange) !important;
  border-radius: 10px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

#ps-pwa .swiper-pagination-bullet-active {
  background: var(--nb-orange) !important;
}

#ps-pwa .fixed-bottom,
#ps-pwa .bottom-navigation,
#ps-pwa .MuiBottomNavigation-root {
  background: var(--nb-navy) !important;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

#ps-pwa .MuiBottomNavigation-root .MuiButtonBase-root,
#ps-pwa .MuiBottomNavigation-root .MuiSvgIcon-root,
#ps-pwa .MuiBottomNavigation-root .MuiBottomNavigationAction-label {
  color: #fff !important;
}

#ps-pwa .MuiBottomNavigation-root .Mui-selected,
#ps-pwa .MuiBottomNavigation-root .Mui-selected .MuiSvgIcon-root {
  color: var(--nb-orange) !important;
}

#ps-pwa input,
#ps-pwa select,
#ps-pwa textarea,
#ps-pwa .MuiInputBase-root {
  border-radius: 10px !important;
}

.nb-pwa-install-panel {
  position: fixed;
  z-index: 2147483000;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  left: max(14px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto;
  padding: 12px;
  color: #fff;
  background: var(--nb-navy);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(13, 41, 67, .3);
  font-family: Arial, sans-serif;
}

.nb-pwa-install-panel[hidden],
.nb-pwa-install-modal[hidden] {
  display: none !important;
}

.nb-pwa-install-panel__mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  color: var(--nb-navy);
  background: var(--nb-orange);
  border-radius: 12px;
  font-weight: 800;
}

.nb-pwa-install-panel__copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  line-height: 1.25;
}

.nb-pwa-install-panel__copy span {
  margin-top: 3px;
  color: #dbe7f2;
  font-size: 12px;
}

.nb-pwa-install-panel__button,
.nb-pwa-install-modal button {
  appearance: none;
  border: 0;
  border-radius: 10px;
  padding: 11px 15px;
  color: var(--nb-navy);
  background: var(--nb-orange);
  font-weight: 800;
  cursor: pointer;
}

.nb-pwa-install-panel__dismiss {
  appearance: none;
  border: 0;
  padding: 4px;
  color: #fff;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.nb-pwa-install-modal {
  position: fixed;
  z-index: 2147483001;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(5, 23, 40, .72);
}

.nb-pwa-install-modal__dialog {
  width: min(100%, 460px);
  padding: 24px;
  color: var(--nb-navy);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .25);
}

.nb-pwa-install-modal h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.nb-pwa-install-modal p {
  margin: 0 0 18px;
  line-height: 1.55;
}

@media (min-width: 720px) {
  .nb-pwa-install-panel {
    right: 24px;
    left: auto;
    bottom: 24px;
  }
}

@media (max-width: 575px) {
  #ps-pwa .main-container,
  #ps-pwa .top-nav {
    max-width: 100%;
  }

  #ps-pwa .homepage-wrapper {
    padding: 8px 8px 84px;
  }

  #ps-pwa .top-nav-wrapper .MuiAppBar-root .header-toolbar {
    min-height: 58px;
  }

  #ps-pwa h4.section-heading {
    font-size: 17px;
  }

  #ps-pwa .square-banners,
  #ps-pwa .horizontal-slide-banner,
  #ps-pwa .grid-banners,
  #ps-pwa .horizontal-products-wrapper,
  #ps-pwa .categories-grid-wrapper {
    border-radius: 15px;
  }

  .nb-pwa-install-panel__copy span {
    display: none;
  }

  .nb-pwa-install-panel__button {
    padding-right: 12px;
    padding-left: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* NovaBrix mobile application shell — v3 */
#ps-pwa .main-container {
  padding-bottom: 78px;
}

#nb-pwa-shell {
  display: block;
  margin: 4px 0 20px;
}

.nb-shell-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  min-height: 370px;
  padding: clamp(28px, 5vw, 54px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(8, 30, 49, .97) 0%, rgba(13, 41, 67, .91) 58%, rgba(13, 41, 67, .55) 100%),
    url('/modules/btpappeldoffres/views/img/home/artisan-renovation.webp') center/cover no-repeat;
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(8, 30, 49, .2);
  overflow: hidden;
}

.nb-shell-hero::after {
  position: absolute;
  top: -74px;
  right: -58px;
  width: 220px;
  height: 220px;
  border: 34px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
  content: '';
}

.nb-shell-hero__body {
  position: relative;
  z-index: 1;
}

.nb-shell-eyebrow,
.nb-shell-services > p {
  margin: 0 0 12px;
  color: var(--nb-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}

.nb-shell-hero h1 {
  max-width: 650px;
  margin: 0;
  color: #fff;
  font-size: clamp(29px, 5vw, 48px);
  font-weight: 900;
  line-height: 1.08;
}

.nb-shell-intro {
  max-width: 610px;
  margin: 18px 0 0;
  color: #e2ebf3;
  font-size: clamp(15px, 2.2vw, 18px);
  line-height: 1.65;
}

.nb-shell-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.nb-shell-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 11px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
}

.nb-shell-button--primary {
  color: var(--nb-navy) !important;
  background: var(--nb-orange);
}

.nb-shell-button--light {
  color: var(--nb-navy) !important;
  background: #fff;
}

.nb-shell-button:focus-visible,
.nb-shell-link:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.nb-shell-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: #dce8f2;
  font-size: 13px;
  font-weight: 700;
}

.nb-shell-trust span::first-letter {
  color: var(--nb-orange);
}

.nb-shell-hero__card {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 170px;
  padding: 22px;
  color: #fff !important;
  background: rgba(53, 102, 145, .82);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 18px;
  text-decoration: none !important;
  backdrop-filter: blur(8px);
}

.nb-shell-hero__card b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--nb-navy);
  background: var(--nb-orange);
  border-radius: 13px;
}

.nb-shell-hero__card strong {
  align-self: end;
  font-size: 18px;
}

.nb-shell-hero__card > span {
  position: absolute;
  right: 20px;
  bottom: 20px;
  color: var(--nb-orange);
  font-size: 23px;
}

.nb-shell-services {
  padding: 34px 4px 8px;
  text-align: center;
}

.nb-shell-services > p {
  margin-bottom: 5px;
}

.nb-shell-services h2 {
  margin: 0 0 20px;
  color: var(--nb-navy);
  font-size: clamp(25px, 4vw, 36px);
  font-weight: 900;
}

.nb-shell-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.nb-shell-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--nb-navy) !important;
  font-weight: 800;
  text-decoration: none !important;
}

.nb-shell-grid .nb-shell-link {
  min-height: 84px;
  padding: 15px;
  background: #fff;
  border: 1px solid var(--nb-line);
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(13, 41, 67, .07);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.nb-shell-grid .nb-shell-link:hover {
  border-color: var(--nb-orange);
  box-shadow: 0 12px 28px rgba(13, 41, 67, .12);
  transform: translateY(-2px);
}

.nb-shell-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--nb-navy);
  background: #fff4df;
  border-radius: 10px;
}

.nb-shell-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#nb-pwa-quicknav {
  position: sticky;
  z-index: 1080;
  top: 64px;
  display: flex;
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 10px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: #fff;
  border-bottom: 1px solid var(--nb-line);
  box-shadow: 0 8px 22px rgba(13, 41, 67, .07);
  overflow-x: auto;
  scrollbar-width: none;
}

#nb-pwa-quicknav::-webkit-scrollbar {
  display: none;
}

#nb-pwa-quicknav .nb-shell-link {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 7px 9px;
  border-radius: 9px;
  font-size: 11px;
  white-space: nowrap;
}

#nb-pwa-quicknav .nb-shell-icon {
  display: none;
}

#nb-pwa-quicknav .nb-shell-link--publish {
  margin-left: 4px;
  color: var(--nb-navy) !important;
  background: var(--nb-orange);
}

#nb-pwa-bottomnav {
  position: fixed;
  z-index: 2147482500;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: repeat(5, 1fr);
  min-height: 68px;
  padding: 7px max(6px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-left));
  background: var(--nb-navy);
  border-top: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 -10px 30px rgba(8, 30, 49, .2);
}

#nb-pwa-bottomnav .nb-shell-link {
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  color: #fff !important;
  font-size: 10px;
  text-align: center;
}

#nb-pwa-bottomnav .nb-shell-icon {
  width: 30px;
  height: 30px;
  color: #fff;
  background: transparent;
}

#nb-pwa-bottomnav .nb-shell-link--publish .nb-shell-icon {
  color: var(--nb-navy);
  background: var(--nb-orange);
}

#nb-pwa-bottomnav .nb-shell-link--publish span:last-child {
  color: var(--nb-orange);
}

#ps-pwa .nb-pwa-drawer {
  width: min(88vw, 380px) !important;
  background: #f7f9fb !important;
}

.nb-pwa-drawer-nav {
  padding: 18px 16px 8px;
  color: var(--nb-navy);
  background: linear-gradient(145deg, var(--nb-navy), #164d78);
}

.nb-pwa-drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
}

.nb-pwa-drawer-brand span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--nb-navy);
  background: var(--nb-orange);
  border-radius: 12px;
  font-size: 13px;
  font-weight: 900;
}

.nb-pwa-drawer-nav > p {
  margin: 18px 0 8px;
  color: #bcd0e0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nb-pwa-drawer-nav nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.nb-pwa-drawer-nav .nb-shell-link {
  min-height: 50px;
  padding: 8px;
  color: #fff !important;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 10px;
  font-size: 12px;
}

.nb-pwa-drawer-nav .nb-shell-icon {
  flex-basis: 29px;
  width: 29px;
  height: 29px;
  color: var(--nb-orange);
  background: rgba(255, 255, 255, .08);
}

.nb-pwa-drawer-nav .nb-shell-icon svg {
  width: 18px;
  height: 18px;
}

.nb-pwa-drawer-nav .nb-shell-button {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.nb-pwa-drawer-divider {
  margin: 16px -16px -8px;
  padding: 12px 16px;
  color: var(--nb-muted);
  background: #f7f9fb;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

@media (max-width: 760px) {
  #nb-pwa-quicknav {
    top: 58px;
    justify-content: flex-start;
    padding: 7px 8px;
  }

  #nb-pwa-quicknav .nb-shell-link {
    min-height: 36px;
    padding: 6px 9px;
  }

  #nb-pwa-bottomnav {
    display: grid;
  }

  .nb-pwa-install-panel {
    bottom: calc(80px + env(safe-area-inset-bottom));
  }

  .nb-shell-hero {
    grid-template-columns: 1fr;
    min-height: 430px;
    padding: 30px 22px;
    background-position: 62% center;
  }

  .nb-shell-hero__card {
    display: none;
  }

  .nb-shell-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  #ps-pwa .homepage-wrapper {
    padding: 6px 6px 96px;
  }

  .nb-shell-hero {
    min-height: 410px;
    padding: 26px 18px;
    border-radius: 17px;
  }

  .nb-shell-hero h1 {
    font-size: 31px;
  }

  .nb-shell-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .nb-shell-button {
    padding-right: 10px;
    padding-left: 10px;
    font-size: 12px;
  }

  .nb-shell-trust {
    display: grid;
    gap: 6px;
  }

  .nb-shell-services {
    padding-top: 28px;
  }

  .nb-shell-grid .nb-shell-link {
    min-height: 78px;
    padding: 11px;
    font-size: 12px;
  }

  #nb-pwa-bottomnav .nb-shell-link {
    font-size: 9px;
  }
}
