.poppins {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.lora {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.corm {
    font-family: "Cormorant Garamond", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.alex {
    font-family: "Alex Brush", cursive;
    font-weight: 400;
    font-style: normal;
}


.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    text-decoration: none;
    color: inherit;
}

/*----NavBar-----*/

.navbar {
    background-color: #fff;
    height: 80px;
    box-shadow: 0px 4px 2px -2px rgba(66, 68, 90, 0.09);
}

.navbar-brand {
    font-weight: 500;
    color: #000000;
    font-size: 23px;
}

.navbar-toggler {
    border: none;
    font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
    box-shadow: none;
    outline: none;
}

.nav-link {
    color: #666777;
    font-weight: 400;

    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

/*
@media (min-width: 991px){
  .nav-link::before{
      content: "";
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 2px;
      background-color: #000000; 
      visibility: hidden;
      transition: 0.3s ease-in-out;
  }
  .nav-link:hover::before, .nav-link.active::before{
      width: 100%;
      visibility: visible;
  }
}
  */
/*----KONIEC NavBar-----*/

body {
    padding-top: 100px;
    font-family: "Lora", cursive;
    font-weight: 400;
    font-style: normal;
}


/*----Tabela Produktów-----*/
.content-table {
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 0.9em;
    min-width: 400px;
    border: none;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.content-table thead tr {
    background-color: #009879;
    color: #fff;
    text-align: left;
    font-weight: bold;
}

.content-table th,
.content-table td {
    padding: 12px 15px;
    border: none;
}

.content-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.content-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.content-table tbody tr:last-of-type {
    border-bottom: 2px solid #009879;
}

/*----KONIEC Tabela Produktów-----*/


/*----Formularz produktów-----*/
#form-custom-style {
    border: 3px solid #009879;
    padding: 30px;
    border-radius: 20px;
}

/*----KONIEC Formularz produktów-----*/

/*----Logowanie-----*/
#login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 440px;
    height: 480px;
    padding: 30px;
    margin-top: -100px;
}

.login-header {
    text-align: center;
    margin: 20px 0 40px 0;
}

.login-header header {
    color: #333;
    font-size: 30px;
    font-weight: 600;
}

.input-box .input-field {
    width: 100%;
    height: 60px;
    font-size: 17px;
    padding: 0 25px;
    margin-bottom: 15px;
    border-radius: 30px;
    border: none;
    box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.15);
    outline: none;
}

.forgot {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.forgot section {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
}

#check {
    margin-right: 10px;
}

.login-box a {
    text-decoration: none;
}

.login-box a:hover {
    text-decoration: underline;
}

.forgot section a {
    color: #555;
}

.input-submit {
    position: relative;
}

.submit-btn {
    width: 100%;
    height: 60px;
    color: white;
    font-size: 1.1rem;
    background: #C19A6B;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}

.input-submit label {
    position: absolute;
    top: 45%;
    left: 50%;
    color: #fff;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.submit-btn:hover {
    background: #C19A6B;
    transform: scale(1.05, 1);
}

.sign-up-link {
    text-align: center;
    font-size: 15px;
    margin-top: 20px;
}

.sign-up-link a {
    color: #000;
    font-weight: 600;
}

.input-box ::placeholder {
    font-weight: 400;
    color: #555;
}

#register ::placeholder {
    font-weight: 400;
    color: #555;
}

.form-error {
    color: red;
}

.form-success {
    color: #20d43b;
}

/*----KONIEC Logowanie-----*/

/*----Kategorie Produktów-----*/
.category-header {
    margin-top: 100px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.result-count {
    font-size: 0.9rem;
    padding-left: 20px;
}

.category-header .mb-1 {
    font-size: 0.9rem;
}

.category-header h2 {
    font-size: 5rem;
    text-align: left;
}

.category-header-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

/*----KONIEC Kategorie Produktów-----*/


/*----KONIEC Karty z produktami-----*/
.card-img-top {
    height: 350px;
    width: auto;
    object-fit: cover;
    object-position: center 10%;
    border-radius: 3px;
    margin-bottom: 0px;
}

.card {
    border: none;
    text-align: center;
    font-family: "Lora", cursive;

}

.card-title {
    margin-top: 0px;
    padding-top: 0px;
    font-weight: 400;
    font-size: 0.9rem;
}

.card-text {
    color: #C19A6B;
    font-size: 0.8rem;
    font-weight: 400;
}

.card-text2 {
    font-size: 0.8rem;
    font-weight: 400;
}

/* Etykieta w lewym górnym rogu */
.collection-tag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 3px 5px;
    background-color: #915E4F;
    color: #fff;
    font-size: 0.65rem;
    border-radius: 3px;
    text-transform: uppercase;
}

.category-type {
    margin: 0;
    font-size: 2rem;
    font-weight: 300;
}

.kimono-header {
    height: 500px;
    object-fit: cover;
    filter: brightness(0.7);
}

.image-containerProducts {
    position: relative;
}

.overlay-textProducts {
    position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    /* Biały kolor tekstu */
    font-size: 1rem;
    /* Rozmiar tekstu – dostosuj */
    text-align: center;
}

/*----KONIEC Karty z produktami-----*/

.cart-container {
    max-width: 80%;
    margin: auto;
    background: white;
    padding: 20px;
}

h2 {
    text-align: center;
}

.cart-header {
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.cart-item {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    font-size: 0.9rem;
}

.product-details {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 3px;
}

.product-info {
    display: flex;
    flex-direction: column;
}

.quantity-wrapper {
    border: 1px solid #ddd;
    border-radius: 0;
    display: inline-flex;
    margin: 0 auto;
    padding: 2px 6px;
    align-items: center;
    justify-content: center;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    font-size: 18px;
    cursor: pointer;
}

.quantity-btn:hover {
    color: #555;
}

.quantity-label {
    font-size: 16px;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
    display: inline-block;
    margin: 0 5px;
}

.subtotal {
    font-size: 16px;
    font-weight: bold;
    min-width: 60px;
}

.remove-link {
    color: #555;
    font-size: 16px;
    text-decoration: none;
    margin-left: 5px;
    cursor: pointer;
}

.remove-link:hover {
    color: #000;
}

.navbar {
    font-family: "Lora", cursive;
    font-weight: 400;
    font-style: normal;
    background-color: #EED4B1;
    height: 80px;
    box-shadow: 0px 4px 2px -2px rgba(66, 68, 90, 0.09);
}

.nav-link {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    font-weight: 400;
    position: relative;
    font-size: 0.8rem;
    font-family: "Poppins", sans-serif;
}

.logo-image {
    width: 130px;
    height: auto;
}

.navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: #fff;
}

.nav-link,
.nav-link:visited,
.nav-link:focus,
.nav-link:active {
    color: #fff !important;
}

.navbar .nav-link i.fa-user {
    position: relative;
    top: 1px;
    margin-right: 15px;
}

.back-button {
    background-color: #ccc;
    max-width: 120px;
    margin-top: 0.4rem;
    margin-left: -0.5rem;
    padding: 3px 13px;
    font-size: 1.3rem;
    background-color: #000000c5;
    border-radius: 25px;
    border-width: 0;
    color: #333333;
    cursor: pointer;
    color: white;
}

.back-button:hover {
    background-color: #000000a0;
    color: white;
}

.cart-button {
    background-color: #C19A6B;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1.1rem;
}

.cart-button:hover {
    background-color: #D3B182;
    transition: 0.3s;
}

.payment-pending {
    color: white;
    padding: 5px 10px;
    background-color: #009ddc;
    border-radius: 20px;
}

.payment-paid {
    color: white;
    padding: 5px 10px;
    background-color: #009b72;
    border-radius: 20px;
}

.payment-failed {
    color: white;
    padding: 5px 10px;
    background-color: #c32f27;
    border-radius: 20px;
}

.sticker {
    width: 50px;
    height: 40px;
    margin-left: 10px;
}

@media (min-width: 991px) {

    /*.nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #fff;
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }
  .nav-link:hover::before, .nav-link.active::before {
    width: 100%;
    color: #fff;
    visibility: visible;
  }
    */
    #navlink-active {
        color: #fff;
        font-weight: 500;
    }

    .badge {
        background-color: #707070;
        border-radius: 50%;
        position: absolute;
        top: 18px;
        right: 2px;
        z-index: 2;
        font-size: 0.6rem;
    }

    .fa-cart-shopping {
        display: flex;
        position: absolute;
        left: -15px;
        top: 9px;
        font-size: 1rem;
    }

    .fa-user {
        font-size: 1rem;
        right: -8px;
    }
}

@media (min-width: 992px) {

    /* Bootstrap's breakpoint for large devices */
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
    }

    .navbar .dropdown-menu {
        padding-top: 23px;
        /* Dostosuj wartość zgodnie z potrzebami */
        border-radius: 0px 3px 3px;
        background-color: #EED4B1;
        border: none;
    }

    .dropdown-item {
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
        font-size: 0.8rem;
        padding-top: 10px;
        padding-bottom: 10px;

    }

    .dropdown-item:hover {
        background-color: #EED4B1;
        color: #fff;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.9);
    }
}

.navbar-item {
    font-weight: 600;
    font-size: 1rem;
}

@media (max-width: 990px) {
    .navbar-nav {
        display: flex;
        flex-direction: row;
        /* <-- Ustawia ikony obok siebie */
        align-items: center;
        justify-content: flex-end;
        gap: 5px;
        /* odstęp między ikonami */
        padding-right: 10px;
    }

    .navbar-nav .nav-item {
        display: flex;
        align-items: center;
        position: relative;
    }

    .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    .fa-user,
    .fa-cart-shopping {
        font-size: 1rem;
        position: relative;
        margin: 0;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    }

    .badge {
        position: absolute;
        top: 7px;
        right: -12px;
        background-color: #707070;
        color: #fff;
        font-size: 0.65rem;
        border-radius: 50%;
        padding: 3px 6px;
        min-width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
        z-index: 3;
    }
}