* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}


div.products-scroll {
    background: white;
    overflow: auto;
    white-space: nowrap;
    padding: 10px;
    scroll-snap-type: x mandatory;
}

div.products-scroll img {
    padding: 10px;
    scroll-snap-type: x mandatory;
}

.navbar {
    border-bottom: 1px solid black;
    background: #ffffff;
    overflow: hidden;
    position: relative;
    max-width: 100vw;
    margin: 0 auto;
}

.navbar .content {
    max-width: 80vw;
    margin: 0 auto;
}

.navbar a, select {
    float: left;
    color: black;
    text-align: center;
    padding: 30px 8px 30px 8px;
    text-decoration: none;
    font-size: 19px;
    text-transform: uppercase;
}

.navbar select {
    background: white;
    border: none;
}

.nav-centered a {
    float: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.nav-right {
    float: right;
}

.logo {
    width: 12rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.options {
    padding: 30px;
}

.logo:hover {
    transform: scale(1.1);
}

.hamburger-menu {
    display: flex;
    cursor: pointer;
    align-items: center;
    flex-direction: column;
}

.bar1, .bar2, .bar3 {
    width: 35px;
    height: 3px;
    background: black;
    margin: 6px 0;
    border-radius: 10px;
    transition: 0.4s;
}

.nav-container ul li {
    list-style-type: none;
    display: inline-flex;
    padding: 5px;
    cursor: pointer;
    text-align: center;
    float: right;
}

.account:hover {
    cursor: default;
}

.account i {
    color: black;
    transition: color 0.3s ease, transform 0.3s ease;
}

.account i:hover {
    color: dimgrey;
    transform: scale(1.2);
}

.account a {
    text-decoration: none;
}

.sidepanel {
    height: 100vh;
    width: 0;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    background: white;
    border-right: 1px solid black;
    overflow-x: hidden;
    /*padding-top: 60px;*/
    transition: 0.45s;
}

.sidepanel ul li {
    list-style-type: none;
    padding-left: 20px;
    padding-bottom: 12px;
}

.sidebar-shop-icon {
    margin: 0;
    padding-top: 0;
    text-align: right;
    font-size: 36px;
    font-weight: normal;
    transition: transform 0.5s ease, opacity 0.5s ease;
    display: inline-block;
}

.sidebar-shop-icon.animating {
    opacity: 0;
    transform: scale(0.5);
}

.sidepanel ul li a, .dropdown-btn {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 24px;

    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    outline: none;
    position: relative;
}

.dropdown-btn span {
    color: black;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 24px;
    position: relative;
    display: inline-block;
}

.sidepanel ul li a::after, .dropdown-btn span::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: black;
    transition: width 0.3s ease-in-out;
}

.sidepanel ul li a:hover::after, .dropdown-btn span:hover::after {
    width: 100%;
}

.sidepanel ul li a:focus::after, .dropdown-btn span:focus::after {
    width: 100%;
}

#close-btn-li a::after {
    content: none; /* Usuń pseudo-element */
}

.closebtn {
    font-size: 48px !important;
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    color: black;
    padding: 10px;
}


.dropdown-container {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease-in-out;
    padding-top: 0;
}

.dropdown-container.open {
    max-height: 500px;
}

.dropdown-container li {
    margin-left: 32px;
    margin-bottom: 8px;
}

.fa-caretd-down {
    float: right;
    margin-left: 8px;
}

.main-image-container {
    max-width: 100%;
    max-height: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid black; /* Optional: mimic the frame */
}

.main-image-container img {
    width: 100%;
    height: auto;
}

.main-image-button {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 10px 20px;
    background-color: white;
    color: black;
    border: 1px solid black;
    font-size: 20px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.main-image-button:hover {
    background-color: #f0f0f0;
}

.products {
    margin: 0 auto;
    display: grid;
    gap: 1rem;
    padding: 1rem;
}

.products .card {
    color: white;
    background: dodgerblue;
    font-size: 22px;
    padding: 1rem;
    height: 24rem;
}

.newsletter {
    background-color: #000;
    color: #fff;
    padding: 20px;
    text-align: left;
}

.newsletter h4 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.input-group {
    width: 100%;
    margin-bottom: 10px;
}

.input-group input {
    width: 100%;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #555; /* Cienka linia tylko na dole */
    color: #fff;
    padding: 5px 0;
    font-size: 14px;
    outline: none; /* Brak niebieskiego obramowania przy focus */
}

.input-group input::placeholder {
    color: #888;
}

.btn-submit {
    background-color: transparent;
    display: block;
    margin: 0 auto;
    text-align: center;
    border: none;
    color: #fff;
    font-size: 14px;
    padding: 5px 0;
    cursor: pointer;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
    color: #ccc;

}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.table-section {
    padding: 3rem;
}

.logout-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px;
}

.tracking-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

.tracking-table th {
    border: none;
    text-align: left;
    font-weight: bold;
}

.tracking-table td {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-left: none;
    border-right: none;
    padding: 12px 16px;
}

.tracking-table th:nth-child(1),
.tracking-table td:nth-child(1),
.tracking-table th:nth-child(2),
.tracking-table td:nth-child(2) {
    text-align: left;
}

.tracking-table th:nth-child(3),
.tracking-table td:nth-child(3),
.tracking-table th:nth-child(4),
.tracking-table td:nth-child(4),
.tracking-table th:nth-child(5),
.tracking-table td:nth-child(5) {
    text-align: right;
}

.tracking-table td:nth-child(1) {
    position: relative;
    text-align: left;
}

.tracking-table td:nth-child(1) span {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.tracking-table td:nth-child(1) span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #333;
    transition: width 0.3s ease;
}

.tracking-table td:nth-child(1) span:hover::after {
    width: 100%;
}

.tracking-address-container {
    width: calc(100% - 32px);
    margin: 0;
    padding: 20px;
    background-color: #fff;
    border-radius: 0;
    margin-left: 16px;
}

.tracking-address-title {
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 18px;
}

.tracking-address-new {
    color: dimgrey;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
    cursor: pointer;
}

.tracking-address-details {
    margin-bottom: 20px;
    line-height: 1.6;
}

.tracking-address-details p {
    margin: 0;
}

.tracking-address-edit {
    color: dimgrey;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}


.footer-bottom {
    background: #1b1b1b;
    padding: 10px;
    color: white;
    display: flex;
    flex-direction: row;
    font-size: 20px;
    text-transform: uppercase;
    overflow: hidden;
}

.footer-bottom a {
    text-decoration: none;
    color: white;
}

.footer-bottom .column {
    padding: 3rem;
}

.footer-bottom li {
    list-style-type: none;
    margin: 20px 0 20px 0;
}

.footer-bottom-text {
    background: #1b1b1b;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
}

/*LOGIN PAGE*/
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #fff;
}

.title {
    font-size: 20px;
    font-weight: normal;
    color: #333;
}

.breadcrumb {
    font-size: 12px;
    color: #666;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.login-container {
    max-width: 400px;
    width: 100%;
    margin: 100px auto 0;
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

h1 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

form {
    display: flex;
    flex-direction: column;
}

.login-input {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.login-input:focus {
    border-color: black;
    outline: none;
}

.login-button {
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.login-links {
    text-align: left;
    margin-top: 15px;
    font-size: 14px;
}

/*.login-links a {*/
/*    color: #333;*/
/*    font-weight: bold;*/
/*    text-decoration: underline;*/
/*}*/

.highlight {
    color: #333;
    font-weight: normal;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.login-links a:hover {
    color: #000;
}


.product {
    display: flex;
    width: 100vw;
    flex-direction: row;
    overflow: hidden;
}

.product .left {
    width: 50%;
}

.product .right {
    width: 50%;
    text-align: left;
}

.product .left img {
    width: 100%;
}

.product .right .product-name {
    font-size: 5rem;
    color: black;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0;
}

.product .right .product-price {
    font-size: 3rem;
    text-transform: uppercase;
    font-weight: 400;
}

.product .right .product-tax {
    font-size: 1rem;
    font-weight: 400;
}

.quantity_counter {
    display: flex;
    border: 1px solid black;
    width: 20%;
    height: 2rem;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    margin-top: 12px;
}

.quantity_counter button {
    font-size: 1rem;
    border: none;
    background: none;
    padding: 0 6px 0 6px;
    cursor: pointer;
}

.product ul {
    list-style-type: none;
    text-transform: uppercase;
}

.product ul li {
    font-size: 1rem;
}

.product .model-info {
    font-size: 1rem;
    text-transform: uppercase;
}

.add-to-cart-btn {
    border: none;
    width: 50%;
    font-size: 1.2rem;
    padding: 8px;
    margin-top: 12px;
    background: white;
    border: 1px solid black;
    cursor: pointer;
}

.product select {
    width: 50%;
    border: none;
    background: white;
    border: 1px solid black;
    font-size: 1rem;
    padding: 6px;
    text-transform: uppercase;
    margin-top: 12px;
    cursor: pointer;
}

.product table, th, td {
    border: 1px solid rgb(167, 167, 167);
    border-collapse: collapse;
    padding: 10px;
}

.product table th {
    background: lightgrey;
    color: rgb(48, 48, 48);
}

@media (min-width: 600px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 900px) {
    .products {
        grid-template-columns: repeat(6, 1fr);
    }

}

@media (max-width: 768px) {
    .logo {
        width: 8rem;

    }

    .nav-centered a {
        display: block;
        margin: 0 auto;
        position: relative;
        top: .5rem;
        left: .5rem;
        transform: none;
        overflow: hidden;
        float: left;
        padding: 0;
    }

    .navbar a {
        font-size: 16px;
    }

    .navbar {
        padding: 6px;
    }
}

@media (max-width: 900px) {
    .navbar .content {
        max-width: 100vw;
    }

    .product {
        flex-direction: column;
        overflow: hidden;
    }

    .product .left {
        width: 100%;
    }

    .product .right {
        width: 100%;
        padding: 1rem;
    }

    .add-to-cart-btn, .product select {
        width: 100%;
    }

    .quantity_counter {
        width: 40%;
    }

    .product table {
        font-size: 12px;
        width: 100%;
    }

    .product {

    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;
        padding: 0;
    }

    .footer-bottom .column {
        padding: 1rem 3rem 1rem 3rem;
    }
}