/* Header */
.navbar-custom {
    padding: 1rem 4rem;
    background-color: #fff;
}

.login-register-form-header-logo {
    display: none;
}

@media (max-width: 992px) {
    .navbar-custom {
        padding: 1rem 1.5rem;
    }

    .navbar-brand img {
        max-height: 80px;
    }

    .nav-right {
        justify-content: center;
        gap: 1rem;
    }
}

.navbar-brand img {
    max-height: 120px;
}

.search-bar {
    width: 100%;
    max-width: 450px;
    background-color: #e8e8e8;
    border: none;
    border-radius: 0.25rem;
    padding: 0.1rem 0.7rem 0.1rem 2.5rem;
    margin-left: 20px;
    background-image: url('https://cdn-icons-png.flaticon.com/512/622/622669.png');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: 16px;
    font-size: 0.9rem;
}

.nav-right a,
.nav-right button {
    white-space: nowrap;
}

#search-form2 {
    min-width: 200px;
    flex-grow: 1;
}

.nav-right {
    flex-shrink: 0;
}

/*search*/
.products-wrapper {
    display: none;
    position: absolute;
    z-index: 999;
    top: 100%;        /* right under input */
    left: 0;
    width: 100%;
    max-width: 500px; /* limit overall width */
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 6px 6px;
    overflow-y: auto;
    padding: 10px;
    flex-wrap: wrap;  /* wrap items to new line */
    margin-left: 20px;
}

.products-wrapper.active {
    display: flex;
    /*flex-direction: row;*/
    flex-wrap: wrap;
    gap: 12px;
}

.product-info {
    padding: 20px 0;
    border: none;
}

.product-item {
    flex: 1 1 100%; /* full width by default */
    max-width: 100%;
}

.form-control:focus {
    border-color: #231F20;
}

@media (min-width: 576px) {
    .product-item {
        flex: 1 1 calc(50% - 12px); /* two per row on small screens */
    }
}


.product-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.product-thumbnail img.product-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 6px;
}

.product-brand {
    font-family: 'Shafarik';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 13px;
    text-transform: uppercase;
    text-align: left;
    color: #141415;
}

.product-title {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.3;
    color: #241A15;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;          /* max 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: calc(1.3em * 2);

    /* 👇 NEW */
    word-break: break-word;
    overflow-wrap: anywhere;
}
.products-wrapper
.arrow-link {
    color: #000 !important;
    transition: transform 0.2s ease-in-out;
    display: inline-block;
}

.products-wrapper
.arrow-link:hover {
    color: #000 !important;
    transform: translateX(3px);
}

.product-action a {
    color: #000 !important;
}

.product-action a:hover {
    color: #000 !important;
}

/*footer*/
.footer-custom {
    font-family: 'Nunito Sans';
}

.footer-custom hr {
    color: #C9C9C9;
    width: 100%;
    max-width: 650px;
    height: 4px;
    margin-top: 60px;
    border-radius: 6px;
}

.footer-custom .small {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 24px;
    text-align: left;
    color: #000000;
}

.footer-custom h6 {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 900;
    font-size: 21px;
    line-height: 29px;
    display: flex;
    align-items: center;

    color: #141415;

}

.footer-custom a {
    color: #333;
    text-decoration: none;
}

.footer-custom a:hover {
    text-decoration: underline;
}

.footer-custom .social-icons a {
    font-family: 'Nunito Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    display: flex;
    align-items: center;
    transition: color 0.2s ease;
    color: #141415;
}

.footer-custom .social-icons a:hover {
    color: #6c757d;
}

.footer-custom li > svg {
    margin-top: 4px;
}

/*beard guys follow up*/
.background-figure-right,
.background-figure-left {
    position: fixed;
    width: 18vw;
    aspect-ratio: 0.53;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    pointer-events: none;
    z-index: 0;
}

.background-figure-right {
    top: 10vh;
    right: -8vw;
    background-image: url('../../icons/beard-man.png');
}

.background-figure-left {
    top: 35vh;
    left: -8vw;
    background-image: url('../../icons/beard-man.png');
}

/*mobile search*/
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9999;
    padding: 30px 15px;
    overflow-y: auto;

    /* animation additions */
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.search-inner-box {
    width: 100%;
    max-width: 500px;
}

.search-form-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.search-form-wrapper input {
    width: 100%;
    font-size: 18px;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
}

.close-search {
    position: absolute;
    right: 10px;
    top: 0;
    background: none;
    border: none;
    font-size: 24px;
    color: #FFFFFF;
    cursor: pointer;
}

.products-wrapper-mobile {
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 60vh;
    overflow-y: auto;
    display: none;
    max-width: 650px;
}


