﻿* {
    margin: 0
}

a {
    text-decoration: none
}

.container {
    max-width: 1240px !important /* HPL: same width as the header */
}

ul.dropdown-menu li a:hover {
    background-color: unset !important
}

.product-enlarge {
    background-color: white;
    padding: 5px
}

    .product-enlarge img {
        height: 500px;
        object-fit: contain;
        width: 625px
    }

.Landing-Nav li.nav-item a {
    color: #000;
    font-weight: bold
}

.Landing-Nav {
    justify-content: space-between;
    width: 35%
}

.matmak-language-switcher {
    display: flex;
    align-items: center;
    margin-right: 14px
}

.matmak-language-nav-item {
    display: flex;
    align-items: center
}

.matmak-language-nav-item .matmak-language-switcher {
    margin-right: 0
}

.matmak-language-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 4px 10px 4px 5px;
    border: 1px solid rgba(var(--hpl-red-rgb), .24);
    border-radius: 999px;
    background: #fff;
    color: #111;
    font-size: 13px;
    font-weight: 700;
    line-height: 1
}

.matmak-language-button img,
.matmak-language-option img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover
}

.matmak-language-menu {
    min-width: 160px;
    padding: 8px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .16)
}

.matmak-language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    font-weight: 600
}

.matmak-language-option.active,
.matmak-language-option:active {
    background-color: var(--hpl-red);
    color: #fff
}

.matmak-language-switcher-dark .matmak-language-button {
    border-color: rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.main-section {
    z-index: 50;
    position: sticky;
    width: 100%
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-image: url('/img/AssetsLanding/bg-footer-overlay.webp');
    background-position: center;
    background-size: cover;
    padding-top: 125px;
    padding-bottom: 50px;
    z-index: 25;
    height: 70%;
    display: flex;
    align-items: end
}

.nav-icons-right {
    width: 10%
}

.bg-blue {
    background-color: var(--hpl-red) !important;
    color: #fff !important
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    font-size: 1.5em;
    justify-content: space-around;
    text-align: center;
    width: 5em
}

    .star-rating input {
        display: none
    }

    .star-rating label {
        color: #ccc;
        cursor: pointer
    }

    .star-rating :checked ~ label i {
        color: #000;
        background-color: #000;
        border-radius: 50px;
        line-height: 22px;
        padding: 0px 3px;
        font-size: 14px
    }

label.star i {
    line-height: 42px;
    color: #000;
    font-size: 20px
}

.product-box {
    width: 97%;
    padding: 20px;
    border: 1px solid #F7F7F7;
    display: flex;
    flex-direction: column;
    min-height: 37rem;
    max-height: 50rem;
    justify-content: space-between
}

div#col-one .row .col-lg-6 .product-box-custom {
    min-height: 49rem !important
}

div#col-three .row .col-lg-3 .product-box img#productImageSrc {
    min-height: 15rem;
    max-height: 15rem
}

div#col-three .row .col-lg-3 .product-box {
    min-height: 28rem;
    justify-content: space-between
}

.product-hover-btn {
    display: none
}

.product-box:hover .product-hover-btn {
    display: block;
    position: absolute;
    top: 30%;
    left: 30%;
    cursor: pointer
}

.product-box:hover {
    background-color: #f5f5f5;
    cursor: pointer
}

.product-btn {
    background-color: #000;
    margin: 15px;
    width: 115px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center
}

span.product-action {
    display: none
}

.product-btn:hover span.product-action {
    display: block
}

.product-btn:hover span.product-action-icon {
    display: none
}

span.product-action {
    color: #fff !important;
    text-align: center;
    line-height: 48px !important;
    font-size: 14px !important;
    font-weight: 400 !important
}

.modal-backdrop.show {
    opacity: 0.9
}

.modal-header.border-0 button {
    border-radius: 0;
    background-color: #fff !important;
    z-index: 999999 !important
}

.bg-light-blue {
    background-color: var(--hpl-grey-100)
}

.options select {
    font-size: 16px;
    color: #767B7D
}

.bg-light {
    background-color: #f5f5f5 !important
}

.main-nav-right {
    width: 35% !important
}

.settings-hover-icon {
    transition: transform 0.25s ease;
    transform-origin: center
}

.settings-hover-icon:hover {
    transform: rotate(35deg) scale(1.05)
}

@media (prefers-reduced-motion: reduce) {
    .settings-hover-icon,
    .settings-hover-icon:hover {
        transition: none;
        transform: none
    }
}

.mat-nav-menus {
    width: 65% !important;
    justify-content: center
}

    .mat-nav-menus li {
        width: 14%
    }

.product-detail-image img {
    width: 100%;
    height: 541px;
    object-fit: contain
}

.product-detail-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.product-title h2 {
    font-weight: 800;
    font-size: 50px;
    line-height: 60px;
    color: #2B2B2B
}

.product-cost label {
    color: #727272;
    font-style: italic;
    font-size: 20px;
    line-height: 35px
}

.product-cost p {
    color: #727272;
    font-style: italic;
    font-size: 22px;
    line-height: 35px;
    font-weight: 800
}

.product-selling-price {
    color: #000000;
    font-size: 22px;
    line-height: 32px
}

    .product-selling-price p {
        color: #000000;
        font-size: 35px;
        line-height: 35px;
        font-weight: 800
    }

.product-description label {
    color: #2B2B2B;
    font-size: 22px;
    line-height: 35px;
    font-weight: 800
}

.Product-Detail-Slider h2 {
    color: #00000F;
    font-size: 40px;
    line-height: 90px;
    font-weight: bold
}

[id="heart"] {
    position: absolute;
    left: -100vw
}

[id="productheart"] {
    position: absolute;
    right: 8px;
    top: 12px;
    opacity: 0;
    width: 15px;
    height: 15px;
    cursor: pointer
}

.product-research-filter h2 {
    color: #000000;
    font-size: 30px;
    line-height: 35px;
    font-weight: bold
}

.product-research-filter div div select {
    color: #000000;
    font-size: 18px;
    line-height: 35px
}

.research-filter-btn button {
    font-size: 18px;
    line-height: 35px;
    font-weight: 600
}

hr {
    border-top: 2px solid #000;
    opacity: .8
}

.product-box div span {
    font-weight: 800;
    color: #2B2B2B;
    font-size: 25px;
    line-height: 35px
}

.left-panel {
    width: 22%
}

.right-panel {
    width: 78%
}

.product-research-filters {
    border: 1px solid #66666614;
    padding: 20px
}

    .product-research-filters select {
        color: #000000;
        font-weight: 800;
        font-size: 18px;
        line-height: 35px
    }

.sort-by-select {
    width: 40%;
    margin-left: 25px
}

    .sort-by-select select {
        background-color: #8B8B8B14;
        font-size: 18px;
        line-height: 35px;
        color: #000000
    }

ul#grid-col-tab li.nav-item .nav-link {
    border: 1px solid #8B8B8B;
    width: 48px;
    border-radius: 0;
    margin: 3px;
    display: flex;
    padding: 4px;
    justify-content: center;
    height: 48px;
    align-items: center;
    opacity: 8%
}

    ul#grid-col-tab li.nav-item .nav-link i {
        font-size: 12px;
        color: #666666
    }

    ul#grid-col-tab li.nav-item .nav-link.active {
        background-color: #fff !important;
        color: #000 !important;
        opacity: 100% !important
    }

ul.pagination.pagination-custom li {
    margin: 5px
}

    ul.pagination.pagination-custom li a {
        border-radius: 0px !important;
        font-size: 18px;
        line-height: 35px;
        color: #000000;
        font-weight: 600;
        border: 1px solid #000;
        padding: 0px 15px
    }

li.page-item.leftcust a {
    padding: 0px 10px !important;
    background-color: var(--hpl-red);
    border-color: var(--hpl-red) !important;
    color: #fff !important
}

.tab-pane hr {
    border-color: #F6F6F6
}

input#phone {
    padding-left: 55px !important
}

div#pills-tabContent .tab-pane .row div .product-box {
    width: 100% !important;
    margin-bottom: 30px
}

div#col-three .row .col-lg-3 .product-box div span {
    font-size: 20px;
    line-height: 35px
}

.research-filter-btn a {
    padding: 13px
}

.nav-icons-right.main-nav-right ul {
    justify-content: end;
    align-items: center
}

.col-lg-2.login-register-nav {
    flex: 0 0 auto;
    width: 25%
}

.main-nav-right .trial-button {
    white-space: nowrap;
    padding: 10px 18px;
    min-width: auto
}

.main-nav-right .login-register-nav,
.main-nav-right .login-register-nav > div,
.main-nav-right .login-register-nav > div > div {
    display: flex;
    align-items: center;
    gap: 10px
}

.main-nav-right .login-register-nav a,
.main-nav-right .login-register-nav button {
    white-space: nowrap
}

.main-nav-right .login-register-nav a {
    font-size: 1rem;
    line-height: 1.2
}

.container-margin-bottom {
    margin-bottom: 415px
}

ul.loginNavCustom {
    margin-bottom: 0;
    margin-right: 25px
}

ul.loginNavCustom li {
    list-style: none
}

label.dificulty-rating {
    font-size: 16px;
    color: #000000;
    opacity: 50%
}

select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") !important;
    background-repeat: no-repeat !important;
    background-position-x: 98% !important;
    background-position-y: 7px !important;
    background-size: 2rem !important
}

input#TermsConditions:checked ~ span#TermsConditionsValidations {
    display: none
}

li.nav-item, .Language, .Search, .CuttingTool {
    cursor: pointer
}

ul.pagination.pagination-custom li a.active {
    background-color: var(--hpl-red);
    color: #fff;
    border-color: transparent
}

.favoris-products div .product-box img, div#pills-tabContent .tab-pane .row div .product-box img {
    display: block;
    width: 100%;
    min-height: 22rem;
    max-height: 28rem;
    object-fit: contain
}

.product-hover-btn .product-btn img {
    min-height: 0px !important
}

@media only screen and (min-width:1920px) {
    .container {
        max-width: 1240px !important
    }
}

@media only screen and (max-width:1536px) {

.main-nav-right {
        width: 40% !important
    }

    .mat-nav-menus li {
        width: 120px !important
    }

    .nav-icons-right {
        width: 13%
    }

.spacing-res {
        padding: 0px 65px
    }

}

@media only screen and (max-width:1366px) {
    .Landing-Nav {
        width: 50%
    }

.nav-icons-right {
        width: 15%
    }

}

@media only screen and (max-width:1024px) {

.research-result-left-panel {
        flex-direction: column
    }

        .research-result-left-panel .left-panel, .research-result-left-panel .right-panel, .settings-tab-design div#v-pills-tab button.nav-link {
            width: 100%
        }

}

@media only screen and (max-width:991px) {

div#col-one .row .col-lg-6 {
        flex-direction: row !important;
        width: 50%
    }

    div#col-two .row .col-lg-4 {
        width: 33%
    }

    button#grid-col-three {
        display: none !important
    }

.container-margin-bottom {
        margin-bottom: 500px
    }

}

@media only screen and (max-width:768px) {

.product-research-filter h2, .Product-Detail-Slider h2 {
        font-size: 22px;
        margin-bottom: 25px
    }

}

@media only screen and (max-width:600px) {

.product-box {
        width: 100%
    }

    button#grid-col-two {
        display: none !important
    }

    .sort-by-select {
        width: 65%
    }

    span.font-weight-bold {
        font-size: 20px !important
    }

input.pattern-searchbar, div#col-one .row .col-lg-6, div#v-pills-tabContent, .my-pattern-saved-custom div {
            width: 100% !important;
            margin-bottom: 15px
        }

.container-margin-bottom {
        margin-bottom: 700px
    }

.spacing-res {
        padding: 0px 30px
    }

}

@media only screen and (max-width:400px) {

.container, .container-fluid {
        padding: 15px
    }

.learn-more-section, .container-margin-bottom {
        margin-bottom: 780px
    }

}

.preformat-text {
    white-space: pre-line
}

.overflow-pattern-item {
    display: -webkit-box;
    max-width: 400px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px
}

.mr-5px-force {
    margin-right: 5px !important
}

.bold-800 {
    font-weight: 800 !important
}

.overflow-ellipsis {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.label-title-h {
    height: 37px
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--bs-nav-pills-link-active-color);
    background-color: var(--hpl-red)
}

.nav-link {
    display: block;
    padding: var(--bs-nav-link-padding-y) var(--bs-nav-link-padding-x);
    font-size: var(--bs-nav-link-font-size);
    font-weight: var(--bs-nav-link-font-weight);
    color: var(--hpl-red);
    text-decoration: none;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out
}

ul.nav button:hover {
    color: #000000f0 !important
}

.btn-check:active + .btn, .btn-check:checked + .btn, .btn.active, .btn.show, .btn:active {
    color: var(--bs-btn-active-color);
    background-color: var(--hpl-red);
    border-color: var(--hpl-red)
}

.btn-outline-primary {
    --bs-btn-color: var(--hpl-red);
    --bs-btn-border-color: var(--hpl-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--hpl-red);
    --bs-btn-hover-border-color: var(--hpl-red);
    --bs-btn-focus-shadow-rgb: 13,110,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--hpl-red);
    --bs-btn-active-border-color: var(--hpl-red);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    --bs-btn-disabled-color: var(--hpl-red);
    --bs-btn-disabled-bg: transparent;
    --bs-gradient: none
}

.form-check-input:checked {
    background-color: var(--hpl-red);
    border-color: var(--hpl-red)
}

.accordion-button:not(.collapsed) {
    color: #000000;
    background-color: var(--hpl-grey-100);
    box-shadow: inset 0 calc(var(--bs-accordion-border-width)* -1) 0 var(--bs-accordion-border-color)
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--hpl-red);
    --bs-btn-border-color: var(--hpl-red);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--hpl-red);
    --bs-btn-hover-border-color: var(--hpl-red);
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--hpl-red);
    --bs-btn-active-border-color: var(--hpl-red);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--hpl-red);
    --bs-btn-disabled-border-color: var(--hpl-red)
}

#RegisterFormModal .modal-content {
    display: block
}

#RegisterFormModal a:link, #RegisterFormModal a:visited, #RegisterFormModal a:hover, #RegisterFormModal a:active {
    color: var(--hpl-red)
}

.options select {
    color: #00000f
}

.trial-button {
    background: var(--hpl-red);
    border: 2px solid transparent;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1;
    animation: buttonCycle 10s infinite
}

    .trial-button::before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        border-radius: 25px;
        border: 2px solid #ffffff;
        top: 0;
        left: 0;
        box-sizing: border-box;
        animation: moveAroundEdges 8s infinite linear;
        pointer-events: none;
        z-index: 0
    }

@keyframes moveAroundEdges {
    0% {
        clip-path: polygon(0% 0%,0% 0%,0% 100%,0% 100%)
    }

    25% {
        clip-path: polygon(0% 0%,100% 0%,100% 0%,0% 0%)
    }

    50% {
        clip-path: polygon(0% 0%,100% 0%,100% 100%,100% 100%)
    }

    75% {
        clip-path: polygon(0% 0%,100% 0%,100% 100%,0% 100%)
    }

    100% {
        clip-path: polygon(0% 0%,0% 0%,100% 100%,0% 100%)
    }
}

.trial-button:hover {
    background: #000000;
    color: #ffffff;
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.2)
}

@keyframes buttonCycle {
    0%,80% {
        background-color: var(--hpl-red);
        color: #ffffff
    }

    85%,95% {
        background-color: #000000;
        color: #ffffff
    }

    100% {
        background-color: var(--hpl-red);
        color: #ffffff
    }
}

.alert-primary {
    --bs-alert-color: #fff;
    --bs-alert-bg: var(--hpl-red);
    --bs-alert-border-color: var(--hpl-red)
}

.mat-nav-menus {
    width: 50% !important
}

:root {
    --ab-height: 0px;
}

/* Push the header down dynamically */
#main-header {
    margin-top: var(--ab-height);
}

/* Mobile */
@media (max-width: 768px) {

@media (max-width: 768px) {
        #announcement-bar .ab-right {
            justify-content: space-between; /* button left, close right */
        }

        #announcement-bar .ab-cta {
            padding: 10px 14px;
            font-size: 14px;
        } 
    }
}

.dropdown-menu li {
    width: inherit !important
}

.dropdown-menu a:hover {
    color: black !important
}

.product-detail-image img {
    width: 100%;
    height: 340px;
    object-fit: contain
}

.owl-carousel .owl-item img, .favoris-products div .product-box img, div#pills-tabContent .tab-pane .row div .product-box img {
    display: block;
    width: 100%;
    min-height: 22rem;
    max-height: 28rem;
    object-fit: contain
}

.star {
    font-size: 20px;
    color: #ddd;
}

    .star.filled {
        color: #f5c518;
    }

.dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

    .dot.active {
        background: #1a73e8;
    }

/*for the phone input in reg*/
.iti.iti--allow-dropdown {
    width: 100%;
}

/* Faint text overlay */

/* Button styles (from .trial-button in the first CSS code) */
.trial-button {
    background: var(--hpl-red);
    border: 2px solid transparent;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

    .trial-button:hover {
        background: #000000;
        color: #ffffff;
        transform: scale(1.03);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

/* Responsive adjustments */

@media (max-width: 400px) {

.trial-button {
        font-size: 16px;
        padding: 12px 18px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {

.trial-button {
        width: 100%; 
        max-width: 250px; 
        padding: 15px 20px;  
        font-size: 18px; 
        border-radius: 30px; 
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .trial-button:active {
            transform: scale(0.98); /* Subtle press effect for mobile */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

.stats-content h1 {
        font-weight: bold;
        font-size: 1.5rem; /* Large heading */
        margin-bottom: 1rem;
    }

    .stats-content p {
        font-size: 1rem; /* Smaller subheading */
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 400px) {

.trial-button {
        font-size: 16px;
        padding: 12px 18px;
        max-width: 250px;
    }
}

/* Faint text overlay */

/* Button styles (from .trial-button in the first CSS code) */
.trial-button {
    background: var(--hpl-red);
    border: 2px solid transparent;
    color: #ffffff;
    padding: 12px 24px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

    .trial-button:hover {
        background: #000000;
        color: #ffffff;
        transform: scale(1.03);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    }

/* Responsive adjustments */ 
@media (max-width: 400px) {

.trial-button {
        font-size: 16px;
        padding: 12px 18px;
        max-width: 250px;
    }
}

@media (max-width: 768px) {

.trial-button {
        width: 100%; 
        max-width: 250px; 
        padding: 15px 20px;  
        font-size: 18px;  
        border-radius: 30px; 
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);  
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

        .trial-button:active {
            transform: scale(0.98); /* Subtle press effect for mobile */
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

.stats-content h1 {
        font-weight: bold;
        font-size: 1.5rem; /* Large heading */
        margin-bottom: 1rem;
    }

    .stats-content p {
        font-size: 1rem; /* Smaller subheading */
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 400px) {

.trial-button {
        font-size: 16px;
        padding: 12px 18px;
        max-width: 250px;
    }
}

.owl-nav {
    text-align: center;
}

.nav-label {
    font-weight: 500;
    margin: 0 5px;
    font-size: 14px;
}

.breadcrumb {
    margin-bottom: auto;
}
