﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('https://fonts.googleapis.com/css2?family=Titillium+Web&display=swap');



html, body {
    font-family: 'Titillium Web', sans-serif;
    height: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
  
}


a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    font-family: inherit;
}

    .btn-primary:hover {
        color: #fff;
        background-color: #0069d9;
        border-color: #0062cc;
    }
button:not(:disabled) {
    cursor: pointer;
}


app {                  
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%
}



.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}


#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }



.myButton {
    box-shadow: inset 0px 1px 0px -50px #ffde24;
    background: linear-gradient(to bottom, #f0c105 5%, #fccf04 100%);
    background-color: #f0c105;
    border-radius: 2px;
    border: 1px solid #e6a545;
    display: inline-block;
    cursor: pointer;
    color: #000000;
    padding: 2px 25px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #ffdb12;
}

    .myButton:hover {
        background: linear-gradient(to bottom, #fccf04 5%, #f0c105 100%);
        background-color: #fccf04;
    }

    .myButton:active {
        position: relative;
        top: 1px;
    }

.myButtonSelected {
    box-shadow: inset 0px 1px 0px -50px #0000ff;
    background: linear-gradient(to bottom, #003296 5%, #003286 100%);
    background-color: #003296;
    border-radius: 2px;
    border: 1px solid #0000ff;
    display: inline-block;
    cursor: pointer;
    color: #ffffff;
    padding: 2px 25px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #0000ff;
}

    .myButtonSelected:hover {
        background: linear-gradient(to bottom, #003296 5%, #003286 100%);
        background-color: #003296;
    }

    .myButtonSelected:active {
        position: relative;
        top: 1px;
    }


.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 1s, opacity 2s linear;
}

.visible {
    visibility: visible;
    opacity: 1;
    transition: opacity 1s linear;
}

.blackBorder {
    border: black;
}

.orangeBorder {
    border: orange;
}

.aquaBorder {
    border: aqua
}

.yellowBorder {
    border: yellow;
   
}

.pinkBorder {
    border: pink;
  
    
}

.greenBorder {
    border: green;
}

.blueBorder {
    border: #0000ff
}

.redBorder {
    border: red;
}

.rameczka {
    border: 0px solid;
}

.produktTlo {
    -webkit-box-shadow: inset 0px 0px 0px 1px #eee;
    -moz-box-shadow: inset 0px 0px 0px 1px #eee;
    box-shadow: inset 0px 0px 0px 1px #eee;
}

    .produktTlo:hover {
        -webkit-box-shadow: inset 0px 0px 0px 1px #aaa;
        -moz-box-shadow: inset 0px 0px 0px 1px #aaa;
        box-shadow: inset 0px 0px 0px 1px #aaa;
    }

    .stoPr{
        width:100%
    }

.hide {
    animation-name: fadeOut;
    animation-duration: 1s;
    animation-fill-mode: forwards; /* added */
    /*visibility: hidden;
    display: none;*/
}

@keyframes fadeOut {
    from {
        opacity: 1;
        margin-left: 0%;
    }

    to {
        opacity: 0;
        margin-left: -100%;
        height: 0; /* added */
    }
}

#backdrop {
    background: black;
    bottom: 0;
   /* box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);*/
    display: none;
  /*  left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;*/
    position: fixed;
    width: 100%;
    height:100%;
    opacity:0.5;
    z-index: 1000;
 
}

.UnGreyedOut {
  

}

input[type=text] {
    /* width: 100%;
  /  border: 2px ; */
    border-radius: 4px;
    margin: 3px 0;
    outline: none;
    padding: 8px;
    box-sizing: border-box;
    transition: .3s;
    height: calc(1.5em + 1rem + 2px);
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    color: #495057;
    font-family: inherit;
    line-height: inherit;
}
    input[type=text]:focus, input[type=time]:focus {
        border-color: dodgerBlue;
        box-shadow: 0 0 5px 0 dodgerBlue;
    }

.list-group-item:first-child {
    border-top-left-radius: 0.25rem;
    border-top-right-radius: 0.25rem;
}

.list-group-item-action:active {
    color: #212529;
    background-color: #e9ecef;
}

.list-group-item-action:focus, .list-group-item-action:hover {
    z-index: 1;
    color: #495057;
    text-decoration: none;
    background-color: #f8f9fa;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 0.75rem 1.25rem;
    margin-bottom: -1px;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.125);
    text-decoration: none;
}

.list-group-item-action {
    width: 100%;
    color: #495057;
    text-align: inherit;
}

.stopka {
    text-decoration:none;
    text-align:center;
}

.inputki {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}

    @media (min-width: 720px) {

        .stopek {
            display: grid;
            width: 100%;
            grid-template-columns: auto auto auto auto auto;
            padding-bottom:2rem;
            
        }



        #maingrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto auto auto auto 1fr auto;
            grid-auto-columns: 19.84% 1fr;
        }

        .ajtem1 {
            grid-row: 2 / 4;
            grid-column: 1 / 2;
        }

        .ajtem2 {
            grid-row: 2 / 3;
            grid-column: 2 / 3;
        }

        .ajtem3 {
            grid-row: 3 / 4;
            grid-column: 2 / 3;
            /*     height: 100%;*/
        }

        .ajtem5 {
            grid-row: 6 / 7;
            grid-column: 1 / 3;
        }

        .ajtem6 {
            grid-row: 4 / 5;
            grid-column: 1 / 2;
        }

        .ajtem7 {
            grid-row: 5 / 6;
            grid-column: 1 / 2;
            height: 100%
        }

        .ajtem8 {
            grid-row: 1 / 2;
            grid-column: 1 / 3;
        }

        .ajtem9 {
            grid-row: 4 / 6;
            grid-column: 2 / 3;
            height: 100%;
        }

        .ajtem10 {
            grid-row: 3 / 6;
            grid-column: 2 / 3;
            height: 100%;
        }


        .partssparesgrid {
            display: flex;
            flex-direction: row;
            height: 100%;
            min-height: 0;
            width: 100%;
            flex: 1;
            margin-top: 10px;
            justify-content: center;
        }

        /*--------------------------*/

        .barka {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: 1fr 1fr 1fr;
            grid-template-columns: auto 1fr 1fr 1fr;
        }

        .barkaImage {
            grid-row: 1/4;
            grid-column: 1/2;
        }


        .barkaTitle {
            font-size: 16px;
            grid-row: 1/2;
            grid-column: 2/5;
        }

        .barkaPrice {
            grid-row: 2/3;
            grid-column: 2/5;
            font-size: clamp(1rem, -0.875rem + 8.333vw, 3.5rem);
        }

        .barkaButtonMoreDetails {
            grid-row: 3/4;
            grid-column: 2/3;
            margin: 3px;
            /*      text-decoration: none;*/
        }

        .barkaButtonBuyCheckout {
            grid-row: 3/4;
            grid-column: 3/4;
            margin: 3px;
        }

        .barkaButtonAdd2Cart {
            grid-row: 3/4;
            grid-column: 4/5;
            margin: 3px;
        }

        .barkaInfo {
            grid-row: 3/4;
            grid-column: 3/5;
            margin: 3px;
        }

        .barkaGo2Cart {
            grid-row: 3/4;
            grid-column: 3/5;
            margin: 3px;
            /*   margin: auto;*/
        }


        /*--------------------------*/

        .productgrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto auto auto 1fr auto auto;
            grid-auto-columns: 19.84% 1fr 1fr;
        }

        .prodAjtem1 {
            grid-row: 2/4;
            grid-column: 1/2;
        }

        .prodAjtem2 {
            grid-row: 4/6;
            grid-column: 1/2;
        }

        .prodAjtem3 {
            grid-row: 3/5;
            grid-column: 2/3;
        }

        .prodAjtem4 {
            grid-row: 3/4;
            grid-column: 3/4;
        }


        .prodAjtem5 {
            grid-row: 5/6;
            grid-column: 2/3;
        }


        .prodAjtem6 {
            grid-row: 4/5;
            grid-column: 3/4;
        }

        .prodAjtem7 {
            grid-row: 5/6;
            grid-column: 3/4;
        }

        .prodAjtem8 {
            grid-row: 2/3;
            grid-column: 2/4;
        }

        .prodAjtem9 {
            grid-row: 6/7;
            grid-column: 1/4;
        }

        .prodAjtem10 {
            grid-row: 1/2;
            grid-column: 1/4;
        }

        /*------------------------------------*/
        .cartgrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto auto auto 1fr auto;
            grid-auto-columns: 19.84% 1fr;
        }

        .cartAjtem1 {
            grid-row: 2/4;
            grid-column: 1/2;
        }



        .cartAjtem8 {
            grid-row: 2/3;
            grid-column: 2/3;
        }

        .cartAjtem10 {
            grid-row: 1/2;
            grid-column: 1/3;
        }

        .cartAjtem9 {
            grid-row: 5/6;
            grid-column: 1/3;
        }

        .cartAjtem3 {
            grid-row: 4/5;
            grid-column: 1/2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-content: center
        }

        .cartAJtem4 {
            grid-row: 3/5;
            grid-column: 2/3;
            display: flex;
            flex-direction: column;
        }

        /*------------------------------------*/

        .cartListgrid {
            display: grid;
            width: 100%;
            grid-template-columns: 1fr 2fr 2fr;
            grid-template-rows: 1fr 1fr 1fr;
            grid-auto-rows: min-content;
            border-top: 1px #aaa solid;
            margin-top: 5px;
        }
        /*  .cartListgrid > div:nth-child(8n+1),
        .cartListgrid > div:nth-child(8n+2),
        .cartListgrid > div:nth-child(8n+3),
        .cartListgrid > div:nth-child(8n+4) {
            background: #dddddd;
        }*/

        .cartListAjtem1 {
            grid-column: 2/4;
            grid-row: 1;
        }

        .cartListAjtem2 {
            grid-column: 3/4;
            grid-row: 2;
        }

        .cartListAjtem6 {
            grid-column: 2/3;
            grid-row: 2;
        }

        .cartListAjtem3 {
            grid-column: 2/3;
            grid-row: 3;
        }

        .cartListAjtem4 {
            grid-column: 3/4;
            grid-row: 3;
        }

        .cartListAjtem5 {
            grid-column: 1/2;
            grid-row: 1/4;
        }

        /*------------------------------------*/

        .OrderDetailsGrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto auto auto 1fr auto;
            grid-auto-columns: 19.84% 1fr;
        }

        .OrderDetailsAjtem1 {
            grid-row: 2/4;
            grid-column: 1/2;
        }



        .OrderDetailsAjtem8 {
            grid-row: 2/3;
            grid-column: 2/3;
        }

        .OrderDetailsAjtem10 {
            grid-row: 1/2;
            grid-column: 1/3;
        }

        .OrderDetailsAjtem9 {
            grid-row: 5/6;
            grid-column: 1/3;
        }

        .OrderDetailsAjtem3 {
            grid-row: 4/5;
            grid-column: 1/2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-content: center
        }

        .OrderDetailsAJtem4 {
            grid-row: 3/5;
            grid-column: 2/3;
            display: flex;
            flex-direction: column;
        }

        /*------------------------------------*/

        .OrderDetInsideGrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: 1fr;
            grid-auto-columns: 1fr 1fr;
        }

        .OrderDetInsideAjtem1 {
            grid-column: 1/2;
            height: 80%;
            margin: auto;
            /*        display: flex;
        flex-direction: row*/
        }

        .OrderDetInsideAjtem2 {
            grid-column: 2/2;
            margin: auto;
            /*      display: flex;
        flex-direction: column;
        justify-content: space-between*/
        }

        .AdrConfGrid {
            display: grid;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            background-color: white;
            border: 5px black solid;
            grid-template-rows: auto 1fr auto;
            grid-template-columns: auto 1fr;
            z-index: 9;
        }

        .AdrConfGridAJtem1 {
            grid-column: 1/2;
            grid-row: 1/4;
            font-size: 1700%;
        }

        .AdrConfGridAJtem2 {
            grid-column: 2/3;
            grid-row: 1/2;
        }

        .AdrConfGridAJtem3 {
            grid-column: 2/3;
            grid-row: 2/3;
        }

        .AdrConfGridAJtem4 {
            grid-column: 2/3;
            grid-row: 3/4;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            margin: 5px;
        }

        /*****************************************/

        .Logingrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto 1fr;
            grid-template-columns: 19.84% 1fr;
        }


        .Loginajtem1 {
            display: block !important;
            grid-row: 1/2;
            grid-column: 1/2;
        }

        .LoginAjtem2 {
            grid-row: 1/3;
            grid-column: 2/3;
        }
    }

    @media (max-width: 720px) {

        .stopek {
            display: grid;
            width: 100%;
            grid-template-rows: auto auto auto auto auto;
           
        }


        html {
            font-size: 16px;
        }

        .maingrid {
            display: grid;
            height: 100%;
            width: 100%;
            max-width: 100%;
            grid-template-rows: auto auto auto auto auto 1fr auto auto;
        }


        .ajtem2 {
            grid-row: 1 / 2;
        }


        .ajtem2 {
            grid-row: 2 / 3;
        }

        .ajtem1 {
            grid-row: 3 / 4;
        }


        .ajtem6 {
            grid-row: 4 / 5;
        }

        .ajtem10 {
            grid-row: 5/6;
            height: max-content;
        }

        .ajtem7 {
            grid-row: 6/7;
            height: max-content;
        }

        .ajtem3 {
            display: none;
        }

        .ajtem9 {
            grid-row: 7/ 8;
        }

        .ajtem5 {
            grid-row: 8 / 9;
        }




        .partssparesgrid {
            display: flex;
            flex-direction: column;
            height: 100%;
            min-height: 0;
            width: 100%;
            flex: 1;
            margin-top: 10px;
            justify-content: center;
        }

        /*--------------------------*/

        .barka {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto 1fr 1fr;
            grid-template-columns: 1fr 1fr 1fr;
        }

        .barkaImage {
            grid-row: 2/4;
            grid-column: 1/2;
        }


        .barkaTitle {
            font-size: 12px;
            grid-row: 1/2;
            grid-column: 1/4;
        }

        .barkaPrice {
            grid-row: 2/3;
            grid-column: 2/3;
            font-size: 16px;
        }

        .barkaButtonMoreDetails {
            grid-row: 3/4;
            grid-column: 2/3;
            margin: 3px;
            /* text-decoration: none;*/
            font-size: 12px;
            /*   display: inline-flex;*/
            align-items: center;
        }

        .barkaButtonBuyCheckout {
            grid-row: 2/3;
            grid-column: 3/4;
            margin: 3px;
            font-size: 12px;
        }

        .barkaButtonAdd2Cart {
            grid-row: 3/4;
            grid-column: 3/4;
            margin: 3px;
            font-size: 12px;
        }

        .barkaInfo {
            grid-row: 2/4;
            grid-column: 3/4;
            font-size: 12px;
            margin: auto;
        }

        .barkaGo2Cart {
            grid-row: 2/4;
            grid-column: 3/4;
            margin: 3px;
        }

        /*--------------------------*/

        .productgrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto auto auto 1fr auto auto auto auto auto auto;
        }

        .prodAjtem10 {
            grid-row: 1/2;
            grid-column: 1/2;
        }


        .prodAjtem8 {
            grid-row: 2/3;
            grid-column: 1/2;
        }

        .prodAjtem1 {
            grid-row: 3/4;
            grid-column: 1/2;
        }

        .prodAjtem2 {
            grid-row: 9/10;
            grid-column: 1/2;
        }

        .prodAjtem3 {
            grid-row: 5/6;
            grid-column: 1/2;
        }

        .prodAjtem4 {
            grid-row: 4/5;
            grid-column: 1/2;
        }


        .prodAjtem5 {
            grid-row: 6/7;
            grid-column: 1/2;
        }


        .prodAjtem6 {
            grid-row: 7/8;
            grid-column: 1/2;
        }

        .prodAjtem7 {
            grid-row: 8/9;
            grid-column: 1/2;
        }



        .prodAjtem9 {
            grid-row: 10/11;
            grid-column: 1/2;
        }

        /*------------------------------------*/
        .cartgrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto auto auto 1fr auto auto auto;
        }

        .cartAjtem10 {
            grid-row: 1/2;
            grid-column: 1/2;
        }


        .cartAjtem8 {
            grid-row: 2/3;
            grid-column: 1/2;
        }

        .cartAjtem1 {
            grid-row: 3/4;
            grid-column: 1/2;
        }

        .cartAJtem4 {
            grid-row: 4/5;
            grid-column: 1/2;
        }


        .cartAjtem3 {
            grid-row: 5/6;
            grid-column: 1/2;
        }



        .cartAjtem9 {
            grid-row: 6/7;
            grid-column: 1/2;
        }


        .cartListgrid {
            display: grid;
            width: 100%;
            grid-template-columns: 1fr 1fr 1fr;
            grid-template-rows: auto 1fr fr;
            grid-auto-rows: min-content;
            border-top: 1px #aaa solid;
            margin-top: 5px;
        }


        .cartListAjtem1 {
            grid-column: 1/4;
            grid-row: 1;
            margin: auto;
        }

        .cartListAjtem2 {
            grid-column: 3/4;
            grid-row: 2/3;
        }

        .cartListAjtem6 {
            grid-column: 2/3;
            grid-row: 2/3;
        }

        .cartListAjtem3 {
            grid-column: 2/3;
            grid-row: 3/4;
        }

        .cartListAjtem4 {
            grid-column: 3/4;
            grid-row: 3/4;
        }

        .cartListAjtem5 {
            grid-column: 1/2;
            grid-row: 2/4;
        }


        .OrderDetailsGrid {
            /*      display: grid;
        height: 100%;
        width: 100%;
        grid-template-rows: auto auto auto 1fr auto;
        grid-auto-columns: 19.84% 1fr;*/
            display: grid;
            /* height: 100%;*/
            width: 100%;
            grid-template-rows: auto auto auto 1fr auto auto auto;
        }

        .OrderDetailsAjtem1 {
            grid-row: 2/4;
            grid-column: 1/2;
        }



        .OrderDetailsAjtem8 {
            grid-row: 2/3;
            grid-column: 2/3;
        }

        .OrderDetailsAjtem10 {
            grid-row: 1/2;
            grid-column: 1/3;
        }

        .OrderDetailsAjtem9 {
            grid-row: 5/6;
            grid-column: 1/3;
        }

        .OrderDetailsAjtem3 {
            grid-row: 4/5;
            grid-column: 1/2;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-content: center
        }

        .OrderDetailsAJtem4 {
            grid-row: 3/5;
            grid-column: 2/3;
            display: flex;
            flex-direction: column;
        }

        /*------------------------------------*/

        .OrderDetInsideGrid {
            display: grid;
            /*  height: 100%;*/
            width: 100%;
            grid-template-rows: 1fr 1fr;
            grid-auto-columns: 1fr;
        }

        .OrderDetInsideAjtem1 {
            grid-column: 1;
            grid-row: 1/2;
            height: 80%;
            margin: auto;
            /*        display: flex;
        flex-direction: row*/
        }

        .OrderDetInsideAjtem2 {
            grid-row: 2/3;
            grid-column: 1;
            margin: auto;
            /*      display: flex;
        flex-direction: column;
        justify-content: space-between*/
        }

        .AdrConfGrid {
            display: grid;
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            background-color: white;
            border: 5px black solid;
            grid-template-rows: auto auto 1fr auto;
            z-index: 9;
        }

        .AdrConfGridAJtem1 {
            grid-row: 1/2;
            font-size: 300%;
            text-align: center
        }

        .AdrConfGridAJtem2 {
            grid-row: 2/3;
        }

        .AdrConfGridAJtem3 {
            grid-row: 3/4;
        }

        .AdrConfGridAJtem4 {
            grid-row: 4/5;
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            margin: 5px;
        }

        .Logingrid {
            display: grid;
            height: 100%;
            width: 100%;
            grid-template-rows: auto 1fr;
        }


        .Loginajtem1 {
            grid-row: 1/2;
        }

        .LoginAjtem2 {
            grid-row: 2/3;
        }
    }


/* ============================================
   TIME4PARTS CSS PATCH v3
   ============================================
   
   WERSJA NAPRAWIONA - nie zmienia layoutu!
   Tylko dodaje wizualne ulepszenia.
   
   INSTRUKCJA:
   1. Usuń CAŁY poprzedni patch (v1 lub v2)
   2. Wklej ten kod NA KONIEC pliku CSS
   
   ============================================ */

/* --------------------------------------------
   1. USUNIĘCIE DEBUG BORDERS
   -------------------------------------------- */
.blackBorder,
.orangeBorder,
.aquaBorder,
.yellowBorder,
.pinkBorder,
.greenBorder,
.blueBorder,
.redBorder,
.rameczka {
    border: none !important;
}

/* --------------------------------------------
   2. TŁO STRONY
   
   NIE dodajemy max-width ani padding do 
   głównych kontenerów - to psuło layout!
   -------------------------------------------- */
body {
    background-color: #f4f5f7;
    color: #374151;
    line-height: 1.6;
}

/* Zapobiega horizontal scrollbar */
#maingrid,
.maingrid,
.productgrid,
.cartgrid {
    overflow-x: hidden;
}

/* Biały kontener dla głównej zawartości - 
   ale BEZ max-width który psuł layout */
.ajtem10,
.ajtem3,
.ajtem9 {
    background: #ffffff;
}

/* --------------------------------------------
   3. NAGŁÓWKI I TYPOGRAFIA
   -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    color: #1f2937;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 1.75rem;
}

.ajtem3 h1 {
    font-size: 1.5rem;
    color: #1f2937;
    margin-bottom: 0.75rem;
}

.ajtem3 p,
.ajtem3 > div {
    color: #6b7280;
}

/* --------------------------------------------
   4. INPUT / WYSZUKIWARKA
   -------------------------------------------- */
input[type=text] {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    box-shadow: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

    input[type=text]:focus {
        border-color: #f0c105;
        outline: none;
        box-shadow: 0 0 0 3px rgba(240, 193, 5, 0.2);
    }

    input[type=text]::placeholder {
        color: #9ca3af;
    }

/* --------------------------------------------
   5. PRZYCISKI - FLAT DESIGN
   -------------------------------------------- */
.myButton,
.barkaButtonMoreDetails,
.barkaButtonBuyCheckout,
.barkaButtonAdd2Cart,
.barkaGo2Cart {
    /* Reset starych stylów */
    background: #f0c105 !important;
    background-image: none !important;
    text-shadow: none !important;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.12) !important;
    /* Nowy wygląd */
    border: none !important;
    border-radius: 6px !important;
    color: #1a1a1a !important;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

    .myButton:hover,
    .barkaButtonMoreDetails:hover,
    .barkaButtonBuyCheckout:hover,
    .barkaButtonAdd2Cart:hover,
    .barkaGo2Cart:hover {
        background: #e6b800 !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18) !important;
    }

/* Wybrany zegarek - niebieski */
.myButtonSelected {
    background: #1d4ed8 !important;
    background-image: none !important;
    text-shadow: none !important;
    box-shadow: 0 2px 8px rgba(29, 78, 216, 0.35) !important;
    border: none !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

    .myButtonSelected:hover {
        background: #2563eb !important;
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4) !important;
    }

/* btn-primary */
.btn-primary {
    background: #1d4ed8 !important;
    background-image: none !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: 0 2px 4px rgba(29, 78, 216, 0.25);
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

    .btn-primary:hover {
        background: #2563eb !important;
        box-shadow: 0 4px 10px rgba(37, 99, 235, 0.35);
    }

/* --------------------------------------------
   6. KARTY ZEGARKÓW (produtto)
   
   NIE zmieniamy display ani flex - 
   tylko wizualne style
   -------------------------------------------- */
.produtto {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.2s ease;
}

    .produtto:hover {
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
    }

/* --------------------------------------------
   7. KARTY CZĘŚCI (barka)
   
   WAŻNE: NIE zmieniamy display:grid ani 
   grid-template - to by zepsuło Twój layout!
   Tylko dodajemy wizualne style.
   -------------------------------------------- */
.barka {
    background: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    /* NIE zmieniamy: display, grid-template-*, padding, margin */
}

    .barka:hover {
        background: #f1f5f9;
        box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
    }

.barkaImage {
    border-radius: 6px;
    object-fit: contain;
}

.barkaTitle {
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
}

.barkaPrice {
    color: #1d4ed8 !important;
    font-weight: 700;
}

    .barkaPrice b {
        color: #1d4ed8;
    }

.barkaInfo {
    color: #9ca3af;
    font-weight: 500;
}

/* --------------------------------------------
   8. LISTA ZEGARKÓW W SIDEBAR
   -------------------------------------------- */
.list-group {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.list-group-item {
    border: none;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.15s ease;
    color: #374151;
}

    .list-group-item:hover {
        background-color: #f8fafc;
    }

    .list-group-item:last-child {
        border-bottom: none;
    }

    /* Aktywny element */
    .list-group-item.active {
        background-color: #1d4ed8;
        color: #ffffff;
        border-color: #1d4ed8;
    }

/* --------------------------------------------
   9. PANELE CZĘŚCI
   
   Dodajemy tylko wizualne style, 
   NIE zmieniamy layoutu
   -------------------------------------------- */
.partssparesgrid > div {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08);
}

/* --------------------------------------------
   10. PANEL PORÓWNANIA (polPro)
   -------------------------------------------- */
#polPro {
    background: #f8fafc;
    border-radius: 10px;
}

    #polPro h4 {
        color: #1f2937;
    }

    #polPro p {
        color: #6b7280;
    }

    #polPro img {
        border-radius: 8px;
    }

/* --------------------------------------------
   11. FOOTER
   -------------------------------------------- */
/* --------------------------------------------
   11. FOOTER
   -------------------------------------------- */
.footer {
    height: 60px;
    
}
.stopek {
    background: #1f2937;
    color: #d1d5db;
    display: flex;
    justify-content: space-around; /* poziomo */
    align-items: stretch; /* dzieci rozciągnięte na całą wysokość */
}

.stopka {
    flex: 1 1 auto;
    display: flex; /* drugi poziom flexa */
    justify-content: center; /* centrowanie poziome linku */
    align-items: center; /* centrowanie pionowe linku */
}

.stopek a {
    color: #93c5fd;
    text-decoration: none;
    transition: color 0.15s ease;
}

    .stopek a:hover {
        color: #bfdbfe;
    }



/* --------------------------------------------
   12. LINKI
   -------------------------------------------- */
a {
    color: #1d4ed8;
    transition: color 0.15s ease;
}

    a:hover {
        color: #2563eb;
    }

/* --------------------------------------------
   13. OBRAZKI
   -------------------------------------------- */
.ajtem9 img,
#mainPix {
    border-radius: 8px;
}

/* --------------------------------------------
   14. SCROLLBARY
   -------------------------------------------- */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: #c4c4c4;
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #a8a8a8;
    }

/* --------------------------------------------
   15. WATCH STRIPE - przyciski Next/Prev
   
   Upewniamy się że nie wychodzą poza kontener
   -------------------------------------------- */
#pokaZe {
    overflow: visible;
}

    /* Kontener z zegarkami - zapobiega overflow */
    #pokaZe > div {
        overflow: hidden;
    }

/* --------------------------------------------
   16. PRODUKT PAGE
   -------------------------------------------- */
.productgrid h1 {
    color: #1f2937;
}

/* Specyfikacje produktu */
.prodAjtem4 p,
.prodAjtem6 p {
    color: #6b7280;
    border-bottom: 1px solid #f0f0f0;
}

/* Cena */
.prodAjtem7 {
    color: #1d4ed8;
    font-weight: 700;
}
.barkaImage,
.prodAjtem3 img,
#polPro img,
.produtto img {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    padding: 4px;
}

/* Panel porównania - białe tło dla obrazków */
#polPro > div > div:first-child {
    background: #ffffff;
    border-radius: 8px;
    padding: 8px;
}

/* Karty części - białe tło */
.barka {
    background: #ffffff;
}
/* ==== Vertical centering for comparison panel (#polPro) ==== */

/* Outer two halves */
#polPro > div {
    /* Give them some real height so centering can work */
    min-height: 420px; /* adjust if needed */
    display: flex; /* they already are, but this makes it explicit */
    align-items: center; /* center image column and text column vertically */
}

/* Column with the image */
#polPro .image-col {
    display: flex;
    justify-content: center; /* horizontal centering inside column */
    align-items: center; /* vertical centering inside column */
}

/* Column with the text – tiny gap from image */
#polPro .text-col {
    padding-left: 20px;
}
.active-watch-link {
    color: #000; /* visible text color */
    font-weight: 600; /* optional: a bit bolder */
    text-decoration: none; /* optional */
}