﻿a {
    text-decoration: none !important;
}

.text-right{
    text-align: right;
}

.cursor-pointer {
    cursor: pointer;
}

.w-auto {
    width: auto;
}

.w-inherit {
    width: inherit;
}

.w-max {
    width: max-content;
}

.w-fit {
    width: fit-content;
}

.w-20px{
    width: 20px;
}

.h-20px {
    height: 20px;
}

.max-w-100 {
    max-width: 100% !important;
}

.min-h-150{
    min-height: 150px !important;
}

.min-h-200{
    min-height: 200px;
}

.btn-step {
    padding: 4px 8px 8px 8px;
    border: none;
    transition: all 0.3s ease-in-out;
    border-bottom: 2px solid white;
    border-radius: 8px;
}

    .btn-step.active, .btn-step:hover {
        border-bottom: 2px solid #c0202e;
    }

.text-justify {
    text-align: justify;
}

.py-1\.5 {
    padding-top: 6px;
    padding-bottom: 6px;
}

.top-4 {
    top: 1rem;
}

.z-0 {
    z-index: 0;
}

.z-1 {
    z-index: 1;
}

.h-auto {
    height: auto !important;
}

.h-fit {
    height: fit-content !important;
}

.h-inherit {
    height: inherit;
}

.h-1px {
    height: 1px;
}

.h-40px {
    height: 40px;
}

.h-750px {
    height: 750px;
}

.rounded-10px {
    border-radius: 10px;
}

.rounded-20px {
    border-radius: 20px;
}

.fw-7 {
    font-weight: 700 !important;
}

.border-separator {
    width: 100%;
    height: 1px;
    background-color: #cdcdcd;
    margin: 10px 0;
}

.border-dashed-separator {
    width: 100%;
    height: 1px;
    border-top: 1px dashed #cdcdcd;
    margin: 10px 0;
}

.shadow-md {
    box-shadow: 0 5px 25px rgb(0 0 0 / 10%);
}

.bottom-4 {
    bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

    .form-control:focus {
        color: #495057;
        background-color: #fff;
        border-color: #80bdff;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
    }

/* Home */
.owl-dots {
    display: none !important;
}

.product-description-truncate {
    text-align: center;
    line-height: 22px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
}
/* End Home */

/* Design & Tag Search-Box */
.category-box {
    transition: transform 0.2s ease-in-out;
    z-index: 1;
}

    .category-box:hover {
        transform: scale(1.1);
    }

.category-title {
    opacity: 0;
    transition: 0.3s opacity ease-in-out;
    z-index: 0;
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
    display: flex;
    justify-content: center;
}

.category:hover .category-title {
    opacity: 1;
}

.category-title p {
    position: relative;
    left: 1rem;
    color: white;
    clip-path: polygon(0 0, 100% 0, 85% 50%, 100% 100%, 0 99%, 15% 50%);
    width: 70%;
    padding: 4px 16px;
    background-color: #5d2389;
}


p.empty-alert {
    color: var(--primary);
    text-align: center;
    font-size: 18px;
    margin-top: 20px;
    background-color: #ffe6e6;
    padding: 10px 0;
    border-radius: 10px;
}

.design-gallery-item-code {
    position: absolute;
    bottom: 0;
    width: 85px;
    height: 35px;
    overflow: hidden;
    z-index: 1;
    font-size: 1rem;
    border-radius: 40px 0 0;
    background-color: white;
    display: flex;
    align-items: end;
    transition: box-shadow 0.3s ease-in-out;
}

    .design-gallery-item-code label {
        color: black;
        cursor: pointer;
        padding-bottom: 2px;
        font-size: 0.885rem;
    }

    .design-gallery-item-code:hover {
        /* box-shadow: -3px -3px 20px 0px #d7d7d7; */
        box-shadow: 0px 0px 20px 10px #af00ff;
    }

.goto-link {
    height: fit-content;
    margin: 10px 0 0 0;
}

    .goto-link i {
        transition: transform 0.3s ease-in-out;
    }

    .goto-link:hover i {
        transform: translateX(-6px);
    }

.search-form button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: transparent;
    color: var(--primary);
    font-size: 18px;
    outline: none;
    border: none;
    transition: transform 0.3s ease-in-out;
}

    .search-form button:hover {
        transform: translateY(-2px);
    }

.form--control {
    background-color: transparent;
    border: 1px solid #e5e5e5;
    box-shadow: none;
    height: 45px;
    color: #19232d;
    border-radius: 5px;
    font-weight: 600;
    padding: 10px 15px;
    width: 100%;
}

input.form--control {
    border: 1px solid #e5e5e5;
    padding: 10px 10px 10px 40px;
    font-weight: 500;
    outline: none;
}

.search-form select {
    padding: 10px;
    text-align: center;
    background-color: white !important;
    font-size: 14px;
    border: 1px solid #e5e5e5;
    color: gray;
}

select#take {
    width: fit-content;
    position: relative;
    top: 3px;
}

.design-category-list {
    list-style: none;
    font-size: 15px;
    padding: 0;
    margin: 0;
    font-weight: 700;
}

    .design-category-list .category-checkbox-item label::before, .category-checkbox-item label::after {
        outline: medium none;
        text-decoration: none;
        -webkit-transition: all 0.2s linear 0s;
        -moz-transition: all 0.2s linear 0s;
        -ms-transition: all 0.2s linear 0s;
        -o-transition: all 0.2s linear 0s;
        transition: all 0.2s linear 0s;
    }

    .design-category-list .category-checkbox-item label {
        cursor: pointer;
        display: block;
        position: relative;
        padding-right: 25px;
    }

        .design-category-list .category-checkbox-item label::before {
            width: 18px;
            height: 18px;
            border-radius: 3px;
            -moz-border-radius: 3px;
            -webkit-border-radius: 3px;
            border: 1px solid #d7e1e6;
            content: '';
            position: absolute;
            right: 0;
            top: 5px;
            outline: medium none;
            text-decoration: none;
        }

        .design-category-list .category-checkbox-item label::after {
            width: 14px;
            height: 14px;
            border-radius: 2px;
            -moz-border-radius: 2px;
            -webkit-border-radius: 2px;
            background-color: var(--primary);
            content: '';
            position: absolute;
            right: 2px;
            top: 7px;
            opacity: 0;
            transform: translate(20px);
        }

    .design-category-list .category-checkbox-input {
        position: absolute;
        left: 0;
        visibility: hidden;
    }

.category-checkbox-item.active label::before {
    border: 1px solid var(--primary);
}

.category-checkbox-item.active label::after {
    opacity: 0.9;
    transform: translate(0);
}
/* End Design & Tag Search-Box */

/* Pagination */
.page-item {
    margin: 0 10px;
}

.page-link {
    padding: 10px 16px !important;
    border-radius: 100px;
}

.page-item:hover .page-link {
    z-index: 3;
    color: #fff;
    background-color: #c0202e;
    border-color: #c0202e;
}
/* End Pagination */

/* Login */
.account-form {
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-shadow: 0 0 20px 0px #dbdbdb;
}

.form-remember {
    display: flex;
    gap: 8px;
}

    .form-remember input {
        cursor: pointer;
        width: 20px;
        height: 20px;
    }

.account-form .icon {
    position: absolute;
    top: 15px;
    left: 30px;
    background-color: transparent;
    font-size: 20px;
}

.btn-link {
    transition: color 0.3s ease-in-out;
}

.btn-purple {
    color: white;
    background-color: #7d2b91;
}

    .btn-purple:hover {
        color: white;
        background-color: rgb(109 0 153);
    }

    .btn-link:hover {
        color: #890b16;
    }
/* End Login */

/* Show Design */
.design-gallery-item .jg-caption {
    display: none !important;
}

.design-details-box {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s;
    text-align: center;
    box-shadow: 0 5px 25px rgb(0 0 0 / 10%);
    margin: 0 auto;
    width: 100%;
    color: rgb(63, 63, 63) !important;
}

.design-img-box {
    overflow: hidden;
    display: flex;
    justify-content: center;
    border-radius: 15px;
    transition: border-radius 0.3s ease-in-out;
}

    .design-img-box img {
        width: inherit;
    }

        .design-img-box:hover, .design-img-box img:hover {
            border-radius: 0px;
        }

.tag-box {
    width: fit-content;
    height: fit-content;
    padding: 6px 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgb(0 0 0 / 10%);
    transition: all 0.3s ease-in-out;
}

    .tag-box:hover {
        box-shadow: 0px 0px 25px 0px rgb(153 0 191);
    }

    .tag-box a {
        color: rgb(63, 63, 63) !important;
    }

.tags-header {
    width: 100px;
    height: 50px;
    display: flex;
    clip-path: polygon(40% 0%, 40% 20%, 100% 20%, 100% 80%, 40% 80%, 40% 100%, 0% 50%);
    color: white;
    background-color: #c0202e;
}

    .tags-header p {
        margin-top: auto;
        margin-right: 8px;
    }
/* End Show Design */

/* Mockup */
.add-mockup-box > .btn {
    width: 38px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
    transition: .5s;
}

.add-mockup-box:hover > .btn {
    width: 110px;
}

.add-mockup-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 4rem;
    height: 2rem;
}

.add-mockup-btn {
    font-size: 0.775rem;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: white;
    border-bottom-left-radius: 10px;
    animation-name: background-anim;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 5s;
    border: none;
}
@keyframes background-anim {
    0% {
        box-shadow: none;
    }

    50% {
        box-shadow: inset 0px 0px 12px 2px #dddddd;
    }

    100% {
        box-shadow: none;
    }
}

.splide__arrow {
    background-color: white !important;
}

.splide__arrow--prev {
    right: -1rem !important;
}

.splide__arrow--next {
    left: -1rem !important;
}
/* End Mockup */

/* Albom */
.albom-box > div {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(103 48 144 / 80%);
}

.albom-box .btn {
    width: 110px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    background: #FFFFFF;
    white-space: nowrap;
    overflow: hidden;
}
/* End Albom */

/* Media Query */
@media (min-width: 768px) {
    .owl-dots {
        display: flex !important;
    }

    .px-md-6 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
}

@media (min-width: 768px) {
    .design-gallery-item-code {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        font-size: 1.5rem;
        transition: all 0.3s ease-in-out;
        padding: 0;
        opacity: 0;
        border-radius: 0;
        display: block;
        background: none;
    }

        .design-gallery-item-code label {
            color: white;
            cursor: pointer;
            display: flex;
            justify-content: center;
            align-items: center;
            /* background-color: rgba(0, 0, 0, 0.7); */
            background: rgb(109 0 153 / 80%);
            background: radial-gradient(circle, rgb(109 0 153 / 80%) 0%, rgba(0,0,0,0.8) 100%);
            width: 100%;
            height: 100%;
            padding: 0;
            text-align: center;
            font-size: 1.3rem;
        }

        .design-gallery-item-code:hover {
            box-shadow: none;
            padding: 15px;
            opacity: 1;
        }

    .w-md-75 {
        width: 75% !important;
    }

    .add-mockup-box {
        position: absolute;
        bottom: -10rem;
        top: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        transition: all 0.3s ease-in-out;
    }

    .mockup-slider .splide__slide img:hover .add-mockup-box,
    .mockup-slider .splide__slide:hover .add-mockup-box {
        bottom: 1rem !important;
    }

    .albom-box > div {
        opacity: 0;
        transition: opacity 0.3s ease-in-out;
    }

    .albom-box:hover > div {
        opacity: 1;
    }

    .albom-box:hover .btn {
        width: 100px;
    }

    .albom-box .btn {
        width: 38px;
        transition: .5s;
    }
}

@media (min-width: 992px) {
    .w-lg-50 {
        width: 50% !important;
    }

    .w-lg-auto {
        width: auto !important;
    }

    .w-lg-inherit {
        width: inherit !important;
    }
}

@media (min-width: 1200px) {
    .w-xl-25 {
        width: 25% !important;
    }
}
/* End Media Query */
