/*************SUCCESS MESSAGE BLOCK AFTER REGISTRATION*****************/
.block-custom {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s, box-shadow 0.2s;
    margin: 20px;
}

.block-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
}

.custom-h2 {
    color: #404040;
    font-size: 2em;
    margin-bottom: 10px;
    transition: color 0.2s, border-color 0.2s;
}

.custom-h2:hover {
    color: #e32727;
    border-color: #e32727;
}

.custom-h4 {
    color: #333333;
    font-size: 1.2em;
    margin-bottom: 15px;
}

.custom-p {
    color: #e32727;
    font-size: 1em;
    margin-bottom: 15px;
}

.custom-a {
    display: inline-block;
    position: relative;
    font-size: 1.2em;
    color: #333333;
    text-decoration: none;
    border-bottom: 2px dashed transparent;
    transition: border-color 0.2s;
}

.custom-a::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: #e32727;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s, background-color 0.3s;
}

.custom-a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
    background-color: #e32727;
}

.custom-a:hover {
    border-color: #e32727;
}

/*************POPUP MESSAGE*****************/
.popup-message {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #e32727;
    color: #fdfdfd;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 999;
    margin-left: 20px;
}

.popup-success-message {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #bde5a1;
    color: #34402d;
    padding: 10px 20px;
    border-radius: 5px;
    z-index: 999;
    margin-left: 20px;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/*************BREADCRUMB HEADER ITEM*************/
.underline-text {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.underline-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px; /* Висота підкреслення */
    background-color: #e32727; /* Колір підкреслення */
    transform: scaleX(0); /* Початкова ширина підкреслення (0 - не видно) */
    transform-origin: right;
    transition: transform 0.3s ease; /* Швидкість анімації */
}

.underline-text:hover::after {
    transform: scaleX(1); /* Збільшення ширини при наведенні курсора */
    transform-origin: left;
}

/************* PRODUCT NAME IN CHECKOUT *************/
.productInCheckoutName {
    text-decoration: none;
    color: black;
    transition: all 0.3s;
}

.productInCheckoutName:hover {
    color: #e32727;
    font-size: 101%;
    cursor: pointer;
}

/***************POLICY TERMS AGREEMENT CHECKBOX VALIDATION*/
.highlight-red {
    border: 2px solid red;
    box-shadow: 0 0 5px red;
    transition: border 0.5s ease, box-shadow 0.5s ease;
}

/****************** INDEX PAGE POPULAR CATEGORIES IMG ******************/
.image__tag_only_popular_categories {
    transition: transform 0.3s ease; /* Додана плавна анімація */
}
.image__tag_only_popular_categories:hover {
    transform: scale(1.1) rotateZ(5deg); /* Збільшити та повернути при наведенні */
}

/************* TOOLTIP REGISTER PASSWORD ************/
.tooltip-pwd {
    display: none;
    max-width: 100%;
    position: absolute;
    background-color: #ccc7c7;
    border: 1px solid #f41111;
    border-radius: 10px;
    padding: 10px;
    z-index: 2147483647;
    margin-top: -80px;
}

@media screen and (min-width: 768px) and (max-width: 992px){
    .tooltip-pwd {
        margin-top: -95px;
    }
}
/************* TOOLTIP REGISTER PASSWORD \ END************/

