/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
 @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
 body,
button,
input,
select,
textarea {
    font-family: "Montserrat", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Montserrat", sans-serif;
}
a{color: #dcb565;}
 #header{ background: #000 !important;}
 .ps-mainmenu__tree-link,.ps-mainmenu__tree-dropdown-toggle.dropdown-toggle,.ps-contactinfo__phone,.d-none.d-md-inline.header-block__title,.d-none.d-md-flex.header-block__title{color:#fff}
 .header-top.d-none.d-md-block {border-bottom: 1px solid #424242;}
 #_desktop_ps_customersignin,#_desktop_ps_shoppingcart{display: flex!important;order: 3 !important;width: fit-content;align-items: center;}
 .header-block__action-btn.pe-md-0,.material-icons.header-block__icon {color: #fff;}
 .ps-mainmenu__desktop.d-none.d-xl-block.position-static.js-menu-desktop {margin: 0 auto;}
 .logo.img-fluid {max-width: 14rem;}
 .header-bottom { border-bottom: none;}
 .header-block__badge {background: transparent;}
 .ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__mobile-toggle .menu-toggle{color:#fff}
.ps-mainmenu:is(.ps-mainmenu--desktop) .ps-mainmenu__tree>li .ps-mainmenu__tree-link:focus{outline: none;}
 #ps_searchbar .ps-searchbar__magnifier:hover, .material-icons.header-block__icon:hover{color:#e8c678}
 .ps-mainmenu__tree-link:hover{color:#e8c678}
 .carousel-indicators .active{background-color:#e8c678}
 
 .menu-item.menu-item__group-main-item {
  font-size: 0.9rem;
}
 /* SZUKAJKA */
 
@media (min-width: 768px) {
/* Kontener wyszukiwarki */
#ps_searchbar {
    position: relative;
    width: 42px;
    height: 42px;
    z-index: 1000;
}

/* Formularz - zawsze widoczny */
#ps_searchbar .ps-searchbar__form {
    position: relative;
    width: 42px !important;
    height: 42px;
    display: flex;
    align-items: center;
    overflow: visible;
    background: transparent;
    padding: 0;
    border: 0;
}

/* Ikona lupy - zawsze widoczna */
#ps_searchbar .ps-searchbar__magnifier {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    color: #fff;
    font-size: 23px;
    cursor: pointer;
}

/* Pole wyszukiwania - domyślnie ukryte */
#ps_searchbar #ps_searchbar_input {
    position: absolute;
    top: 52px;
    right: 0;
    width: 320px !important;
    height: 46px;
    box-sizing: border-box;
    padding: 10px 14px;
    background: #fff;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 5px 20px rgba(0,0,0,.15);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Pole po kliknięciu lupy */
#ps_searchbar.is-open #ps_searchbar_input {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Zachowanie ikony */
#ps_searchbar.is-open .ps-searchbar__magnifier {
    color: #fff;
}

/* Przywrócenie właściwego położenia lupy */
#_desktop_ps_searchbar {
    width: auto !important;
    min-width: 0 !important;
    justify-content: flex-end !important;
}

#_desktop_ps_searchbar #ps_searchbar {
    width: 42px !important;
    min-width: 42px !important;
    margin: 0 !important;
    flex: 0 0 42px !important;
}
}


/* Pasek kontaktowy - 5 równych kolumn */
#_desktop_ps_contactinfo {
    display: block !important;
    width: 100% !important;
    flex: 1 1 100% !important;
}

#_desktop_ps_contactinfo .ps-contactinfo {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    align-items: center !important;
    width: 100% !important;
    color: #fff !important;
}

#_desktop_ps_contactinfo .contact-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
    font-size: 13px !important;
}

#_desktop_ps_contactinfo .contact-item i {
    font-size: 19px !important;
    flex-shrink: 0 !important;
}


.h-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    
    gap: 15px;
    width: 100%;
}

.h-item {
    overflow: hidden;
    position: relative;
}

.h-large {
    grid-column: 1;
    grid-row: 1 / 3;
}

.h-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Mobile */
@media (max-width: 767px) {
    .h-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, 180px);
    }

    .h-large {
        grid-column: 1 / 3;
        grid-row: auto;
    }
}

.section-title {
  text-align: center;
  text-transform: uppercase;
  font-weight:400
}
.badge.new {
  background-color: #e8c678;
  border: none;
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
}
.badge.discount {
  background-color: #de1313;
  border: none;
  color: #fff;
  font-weight: bold;
}
.product-miniature__title {
  color: #000;
}
.product-miniature__title:hover {
  color: #777;
}

.product-miniature__prices .ppomnibuslite {
  display: none;
}

.product-miniature__inner:hover{box-shadow:none}




.full-width-video {
    width: 100vw;
    height: 600px;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
}

.full-width-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* Tekst na filmie */
.video-content {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 950px;
    text-align: center;
    color: #fff;
}

.video-content h1 {
    font-size: 46px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 25px;
    color: #fff;
}

.video-content p {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 400;
    margin: 0 auto;
    max-width: 850px;
    color: #fff;
}

/* Telefony */
@media (max-width: 767px) {
    .full-width-video {
        height: 420px;
    }

    .video-content h1 {
        font-size: 27px;
    }

    .video-content p {
        font-size: 14px;
        line-height: 1.5;
    }
}

.btn.btn-outline-primary {
  --bs-btn-color: #ebbd4e;
  --bs-btn-border-color: #bd8b31;
}
.btn.btn-outline-primary:hover {
  background-color: #ebbd4e;
  border-color: #b39108;
  color: var(--bs-btn-hover-color);
}
.submenu__left-item.active {
  color: #dcb565;
  font-weight: 600;
}
.submenu__left-item:focus {
  color: #dcb565;
  outline: none;
}
.category__description.rich-text {
  DISPLAY: NONE;
}
.btn.btn-primary {
  color: #fff;
  background-color: #dcb565;
  border-color: #dcb565;
}
.text-primary-emphasis {
  color: #f00;
  font-weight: bold;
}
.page-product .product__thumbnail.active .product__thumbnail-image {
  outline: .125rem solid #000;
}
.accordion-button {
  color: #000;
}
#bezpiecz {
    display: flex;
    width: 100%;
    gap: 10px;
    align-items: stretch;
    background: #f8f9fa;
    font-size:0.8rem;
    padding:20px
}

.b1 {
    width: 84%;
    min-width: 0;
}

.b2 {
    width: 15%;
    min-width: 0;
    font-size:0.6rem
}

.r{
  border: 1px solid #f4f4f4;
   display: flex;
    width: 100%;
    gap: 10px;
    align-items: stretch;
    background: #fff;
    font-size:0.8rem;
    padding:20px
}

.ppshippingpopup {
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
}


/* Powiększenie próbnika materiału po najechaniu */
.product-variant__color .input-color__label--texture > span.color.texture {
    position: relative;
}

/* Duży podgląd materiału */
.product-variant__color .input-color__label--texture:hover > span.color.texture::after {
    content: "";
    position: absolute;
    display: block;
    width: 400px;
    height: 400px;
    left: auto;
right: calc(100% + 15px);
top: auto;
bottom: 0;
    z-index: 99999;

    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border: 1px solid #ddd;
    border-radius: 3px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);

    pointer-events: none;
}
