* {
    padding: 0;
    margin: 0;
}

* :not(h1) {
    font-family: 'Times New Roman', Times, serif !important;
}

html,
body {
    height: 100%;
    background-color: black !important;
    color: white !important;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
    font-size: 16px;
}


.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}


.header {

    height: auto;
}

.hero {
    position: relative;
    width: 100%;
    top: 0px;
    background-image: url("./Luksusowy\ salon\ kamienia\ w\ złotym\ świetle.png");
    background-attachment: fixed;
    background-position: right top;
    background-size: auto;
    background-repeat: no-repeat;
    border-bottom: 3px solid rgb(231, 154, 10);
    
}

.hero_3D{
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    height: 100%;
    perspective: 500px;
}


/* .lites{
    position: fixed;
    top: 0px;
    right: 0;
    width: 30px;
    height: 30px;

    background-image: url('./images/misskalem-pumpkin-23403_512.gif');
    background-size: cover;

    transform: translate3D(-168px, 270px, -400px) skewY(0deg);
    
} */

/* .rn_text{
    position: fixed;
    top: 0px;
    right: 0;
    font-size: 1.1rem;
    font-weight: 800;
    width: 200px;
    color: rgb(250, 227, 227);
    filter: drop-shadow(1px 2px rgb(58, 129, 0));
    transform: translate3D(-580px, 65px, -200px) skewY(16deg);
} */

.nav-item{
    &:hover{
        text-decoration: underline;
        text-decoration-color: #b99552;
        text-underline-offset: 5px;
    }
}

.nav-link{
    &:hover{
        color: #b99552 !important;
        scale: 1.04;
    }
}

#porcelainLink{
    position: relative;
    color: #b99552 !important;
    border-top: 1px solid #b99552;
    border-bottom: 1px solid #b99552;
    border-radius: 8px;
    box-shadow: 1px 1px 5px #b99552;
    scale: 0.97;

    &:hover{
        scale: 1;
        text-decoration: underline;
        text-decoration-color: #b99552;
        text-underline-offset: 5px;
    }
}

#porcelainLink::after{
    content: "NEW";
    position: absolute;
    top: -15px;
    left: 52%;
    width: 40%;
    height: 50%;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white !important;
    background-color: #c48b22;
    border-radius: 8px;
    z-index: 1;
}


.cover {
    position: relative;
    width: 100%;
    padding-top: 8em;
    padding-left: 8em;
    padding-right: 8em;
    top: 0px;
    /* background: linear-gradient(to left, transparent, rgba(0, 0, 0, 0.623) 100%); */
    display: flex;
    justify-content: space-between;

    @media (max-width: 1300px) {
        flex-wrap: wrap;
        padding-left: 1em;
        padding-right: 1em;
    }
     @media (max-width: 480px) {
        padding-top: 5rem;
        gap: 2rem;
    }
}

.cover::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to left, transparent, black 100%);
    animation-name: anim;
    animation-duration: 2.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
   
}




@keyframes anim {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

.hero_left {
    width: 20%;
    margin-bottom: 6rem;

    @media (max-width: 1600px) {
        width: 100%;
        margin-bottom: 3em;
    }
    @media (max-width: 480px) {
        margin-top: 3rem;
    }
}

.instock {
    color: #b35f10f3;
    font-weight: 600;
}

.header_text_main {
    font-size: 4.5em;
    line-height: 1em;
    font-weight: 700;
    letter-spacing: 3px;

    @media (max-width: 800px) {
        font-size: 2.5em;
    }

    /* text-shadow: 0 0 4px red, 0 0 12px green, 0 0 28px orange, 0 0 60px yellow;
    animation: flicker 4s infinite; */
}

/* @keyframes flicker {
    94% {opacity: .4;}
} */

.info {
    font-size: 1.2rem;
    font-weight: 100;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;

    @media (max-width: 800px) {
        font-size: 1em;
    }
}

.viewAllSlabs {
    width: 13em;
    height: 3em;
    padding: 5px;
    border-radius: 0.5rem;
    background-color: #b35f10f3;
    color: white;

    @media (max-width: 800px) {
        width: 10em;
        height: 2.4em;
    }
    display: none;
}

.navbar {
    z-index: 100;
}

.hero_right {
    width: 70%;
    display: flex;
    justify-content: space-around;
    align-items: end;

    @media (max-width: 1600px) {
        width: 100%;
        flex-wrap: wrap;
    }
}

.cover_box {
    width: 100%;
    display: flex;
    padding-left: 3em;
    justify-content: space-around;
    align-items: end;
    gap: 5rem;
    background: linear-gradient(to top, black, rgba(0, 0, 0, 0));

    @media (max-width: 1200px) {
        flex-wrap: wrap;
        gap: 0rem;
        padding-bottom: 1rem;
        padding-left: 0px;
    }

    @media (max-width: 580px) {
        padding-bottom: 2em;
    }
}


.hero_box_content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25%;
    min-width: 150px;
    height: 10em;

    @media (max-width: 1600px) {
        height: 5em;
    }

    @media (max-width: 480px) {
        min-width: 50%;
        padding: 1em;
    }
}

.logo {
    width: 3.75em;
    height: 3.75em;
    filter: drop-shadow(1px 1px white);

    @media (max-width: 1600px) {
        width: 2em;
        height: 2em;
    }
}

.hero_box_content_container {
    padding-left: 1em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.text_topic {
    font-size: 1.6em;

    @media (max-width: 1600px) {
        font-size: 1em;
    }
}

.sub_text {
    font-size: 1.1em;

    @media (max-width: 1600px) {
        font-size: .8em;
    }
}


.row_one {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: end;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;

    @media (max-width: 680px) {
        gap: 0.5rem;
    }
}

.separator {
    display: flex;
    align-items: left;
    flex-direction: column;

}

.separator1 {
    position: relative;
}

#search {
    width: 23.75rem;
    height: 3.125rem;
    background: transparent;
    color: white;
    border: 1px solid silver;
    border-radius: 5px;
    padding-left: 3rem;

    @media (max-width: 480px) {
        width: 20rem;
        height: 2.6rem;
        font-size: 1rem;
    }

    @media (max-width: 340px) {
        width: 18rem;
    }
}



.separator1::after {
    content: url('icons/Search_Magnifying_Glass.svg');
    position: absolute;
    top: 12px;
    left: 12px;
    width: 30px;
    height: 30px;

}

.separatorBrand{
    display: none;
}

select {
    background: transparent;
    height: 45px;
    width: 280px;
    color: white;
    border: 1px solid silver;
    border-radius: 5px;
}

.clear_filters {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Courier New', Courier, monospace;
    font-size: 1.5rem;
    width: 300px;
    height: 50px;
    background: transparent;
    color: #b35f10f3;
    border: 1px solid #b35f10f3;
    border-radius: 5px;
    cursor: pointer;
    transition: scale 0.3s ease;

    &:hover{
        scale: 1.03;
    }

    @media (max-width: 480px) {
        width: 20rem;
        height: 2.6rem;
        font-size: 1rem;
    }

    @media (max-width: 340px) {
        width: 18rem;
    }
}

.search-suggestions{
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #292522;
    border: 1px solid #b99552;
    border-radius: 8px;
    z-index: 100;
    overflow: hidden;
}


.search-suggestions div {
    padding: 12px 16px;
    color: white;
    cursor: pointer;
}


.search-suggestions div:hover{
    background: #514333;
}



.row_two {
    box-sizing: border-box;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 2.8rem 0px;
    flex-wrap: wrap;

    @media (max-width: 480px) {
        padding: 0 1.5rem;
    }

    @media (max-width: 320px) {
        padding: 0 0;
    }
}



.separator_row_two_left {
    display: flex;
    flex-direction: row;
    gap: 3rem;
    flex-wrap: wrap;

    @media (max-width: 880px) {
        justify-content: center;
        align-items: center;
    }
}

.separator_row_two {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.circle_color {
    height: 40px;
    width: 40px;
    border: 1px solid white;
    border-radius: 50%;
}

.circle_color:hover {
    cursor: pointer;
    transition: all ease 0.2s;
    transform: scale(1.2);
}

.separator_row_two_right {
    display: flex;
    flex-direction: row;
    align-items: top;
}

.separator_row_two2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;

    @media (max-width: 480px) {
        gap: 0.1rem;
        flex-wrap: wrap;
    }
}

#lab1 {
    transform: translateY(5px);
}

#all_colors {
    border: 1px solid #b35f10f3;
}

#white {
    background-color: white;
}

#black {
    background-color: black;
}

#grey {
    background-color: grey;
}

#beige {
    background-color: beige;
}

#brown {
    /* background-color: brown; */
    background: linear-gradient(to right, rgb(12, 12, 12), #895129 90%);
}

#green {
    /* background-color: green; */
    background: linear-gradient(to right, rgb(12, 12, 12), rgb(145, 255, 0) 90%);
}

#blue {
    /* background-color: blue; */
    background: linear-gradient(to right, rgb(12, 12, 12), rgb(0, 60, 255) 90%);
}

#red {
    background-color: red;
}

#gold {
    background-color: rgba(230, 199, 29, 0.829);
}

#other {
    border: 1px solid white;
    background-color: white;
}


.output_container {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin: 1rem 0;

    @media (max-width: 1200px) {
        gap: 0.5;
    }
}

.content_box {
    box-sizing: border-box;
    position: relative;
    width: 22%;
    height: 35em;
    border: 1px solid silver;
    border-radius: 8px;
    overflow: hidden;

    @media (max-width: 2500px) {
       width: 43.333%;
    }
     

    @media (max-width: 2204px) {
       width: 30%;
    }

    @media (max-width: 960px) {
        width: 90%;
    }

    @media (max-width: 480px) {
        height: 30em;
    }
}

.image_control {
    width: 100%;
    height: 60%;
    border-radius: 8px 8px 0px 0px;
    object-fit: cover;
    z-index: 1;
}

.status {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 8.125rem;
    height: 2.8125rem;
    top: 10px;
    left: 10px;
    border-radius: 6px;
    /* background-color: rgba(45, 148, 31, 0.795); */
    background: linear-gradient(to right, rgb(12, 12, 12), rgb(145, 255, 0) 90%);
    z-index: 10;

    filter: drop-shadow(1px 1px 5px rgb(41, 37, 37));

    @media (max-width: 480px) {
        width: 6.125rem;
        height: 2rem;
        font-size: 0.8rem;
    }
}

.cards {
    padding-left: 1rem;
}

.header_text {
    font-size: 2rem;

    @media (max-width: 480px) {
        font-size: 1.6rem;
    }
}

.header_sub_text {
    font-size: 1rem;
    transform: translate3d(0px, -20px, 0px);

    @media (max-width: 480px) {
        font-size: 0.8rem;
    }
}

.slab_size {
    font-size: 1rem;
    transform: translate3d(0px, -20px, 0px);

    @media (max-width: 480px) {
        font-size: 0.8rem;
    }
}

.thicknees {
    font-size: 1rem;
    transform: translate3d(200px, -60px, 0px);

    @media (max-width: 480px) {
        font-size: 0.8rem;
    }
}

.finish {
    font-size: 1rem;
    transform: translate3d(0px, -70px, 0px);

    @media (max-width: 480px) {
        font-size: 0.8rem;
    }
}


select{
    color: white;
    background-color: black;
}


.coverForAction {
    transform: translate3d(0px, -75px, 0px);
    width: 100%;
    padding: 0px 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.color_cover {
    display: flex;
    flex-direction: row;
    gap: 0.3rem;
}

.red {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: linear-gradient(to left, rgb(250, 89, 89), rgb(255, 24, 24));

    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.White {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background-color: white;
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.Black {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background-color: black;
    border: 1px solid white;
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.Grey {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: linear-gradient(to left, rgb(238, 232, 232), rgb(131, 126, 126));
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.Beige {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: linear-gradient(to left, rgb(214, 214, 197), beige);
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.Brown {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: linear-gradient(to left, #3D2412, #895129);
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.Green {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background: linear-gradient(to left, rgb(8, 243, 8), rgb(76, 197, 76));
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.Blue {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background-color: blue;
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.Gold {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 50%;
    background-color: gold;
    @media (max-width: 480px) {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.carusel {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 0.3rem;
}


.viewDetails {
    width: 12.5rem;
    height: 2.8125rem;
    border-radius: 8px;
    color: white;
    background: linear-gradient(to left, #be7d40f3, #f37601f3);
    @media (max-width: 480px) {
        width: 10.5rem;
        height: 2.4rem;
    }
}

.carusel_box {
    display: flex;
    flex-direction: row;
    gap: 0.1rem;
}

.squer {
    width: 50px;
    height: 50px;
    font-size: 1.3rem;
    display: flex;
    justify-content: center;
    background: transparent;
    color: white;
    align-items: center;
    border: 1px solid #b35f10f3;
}

.squer:hover {
    cursor: pointer;
    transition: all ease 0.2s;
    background-color: #b35f10f3;
    scale: 1.1;
}

.prev {
    background-color: #b35f10f3;
}

.prev:hover {
    background-color: #ff7b0080;
}

.next {
    background-color: #b35f10f3;
}

.next:hover {
    background-color: #ff7b0080;
}


.count {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to left, rgb(12, 12, 12) , rgb(145, 255, 0) 90%);
    filter: drop-shadow(0px 1px rgb(114, 113, 113));

    &::after{
        content: "";
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 0px;
        top: 0px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: linear-gradient(to left, rgb(12, 12, 12) , rgb(145, 255, 0) 90%);
        filter: drop-shadow(0px 1px rgb(114, 113, 113));
        z-index: -1;
    }

    &::before{
        content: "Quantity";
        position: absolute;
        width: 110px;
        height: 100%;
        display: flex;
        padding-left: 1rem;
        justify-content: left;
        align-items: center;
        top: 0px;
        left: -80px;
        border-radius: 18px;
        background: linear-gradient(to right, rgb(12, 12, 12) , rgb(145, 255, 0) 110%);
        z-index: -1;
    }

}






.nav-link {
    color: white !important;
    font-size: 1.25rem;
    transition: 0.2s;

    @media (max-width: 65em) {
        font-size: 1rem;
    }
}




.main {
    flex: 1 1 auto;
    padding-top: 2rem;
}


.footer {
    padding: 2% 0 1% 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: "Stylish", serif;
    font-weight: 400;
    font-style: normal;
    text-align: center;

    @media (max-width: 30.625em) {
        padding: 2% 0 13% 0;
    }
}

.footer a {
    color: white;
    font-family: "Stylish", serif;
    font-weight: 600;
    font-style: normal;
    text-align: center;
}



.messag {
    position: fixed;
    right: 1.1%;
    bottom: .9%;
}

.messag a img {
    margin-left: 0.3125rem;
    width: 2.1875rem;
    height: 2.1875rem;
}

.messag a img:hover {
    scale: 1.2;
}

.slab_modal {
    display: none;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#closeModal {
    position: absolute;
    top: 20px;
    right: 30px;
    background: transparent;
    color: white;
    border: none;
    font-size: 35px;
    cursor: pointer;
}

.slab_modal_image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}


#log {
    width: 10rem;
    animation-name: svgLogo;
    animation-duration: 1.6s;
    animation-iteration-count: 1;
    scale: 1.1;

    @media (max-width: 49.1875em) {
        width: 6rem;
    }
}

@keyframes svgLogo {
    0% {
        transform: scale(0.4);
    }

    100% {
        transform: scale(1);
    }
}


.ai-chat-button {
    position: fixed;
    right: 30px;
    bottom: 60px;
    padding: 15px 22px;
    border: none;
    border-radius: 30px;
    background: #222;
    color: white;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
    display: none;
}
.ai-chat-window {
    position: fixed;
    right: 30px;
    bottom: 125px;
    width: 350px;
    height: 450px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
}
.ai-chat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #222;
    color: white;
}

.ai-chat-header h3 {
    margin: 0;
    font-size: 16px;
}

.ai-chat-header button {
    border: none;
    background: transparent;
    color: white;
    font-size: 24px;
    cursor: pointer;
    display: none;
}

.ai-chat-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    display: none;
}
.ai-message {
    align-self: flex-start;
    max-width: 85%;
    padding: 10px 13px;
    background: #726f6f;
    border-radius: 12px;
    font-size: 14px;
}

.ai-chat-form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #eee;
}

.ai-chat-form input{
    flex: 1;
    min-width: 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
}

.ai-chat-form button{
    padding: 10px 14px;
    border: none;
    border-radius: 8px;
    background: #222;
    color: white;
    cursor: pointer;
}

.user-message {
    align-self:  flex-end;
    max-width: 85%;
    padding: 10px 13px;
    background: #222;
    color: white;
    border-radius: 12px;
    font-size: 14px;
}

@media (max-width: 480px) {
    .ai-chat-window {
        right: 10px;
        bottom: 115px;
        width: calc(100% - 20px);
        height: 65vh;
    } 

    .ai-chat-button {
        right: 15px;
        bottom: 45px;
    }

}