* {
    font-family: "Poppins", sans-serif;
}

body {
    font-family: "Poppins", sans-serif;
}

.input.form-control.header-form {
    font-size: 13px !important;
    border-radius: 0px !important;
}

.lang-dropdown:hover > .lang-menu {
    display: block;
    opacity: 1;
    visibility: visible;
}

.lang-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    padding: 0.5rem 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 0.375rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    z-index: 1050;
}

.lang-menu .dropdown-item {
    color: #333 !important;
    background-color: white !important;
}

.lang-menu .dropdown-item:hover {
    background-color: #f0f0f0 !important;
    color: #000 !important;
}

a {
    text-decoration: none !important;
}

.nav-tabs .nav-link {
    color: #333;
    font-weight: bold;
    width: 100%;
    text-align: center;
    border-radius: 5px;
}

.product-actions-list-view {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .product-actions-list-view {
    opacity: 1;
}

.product-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
    border: none;
    box-shadow: 0 0 0 0.5px #ddd;
    border-radius: 0px;
}

.product-card .quick-view-button {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    z-index: 2;
}

.product-card:hover .quick-view-button {
    display: flex;
    justify-content: center;
    border: none;
    background-color: rgba(13, 110, 253, 0.6);
    transition: box-shadow 0.2s ease;
}

.product-card:hover .quick-view-button:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.product-hover {
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    padding-bottom: 3px;
    opacity: 0;
    transition: opacity 0.3s;
}

.product-card:hover .product-hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        background: #fff;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    }

    .category-container {
        cursor: pointer;
    }

    .category-list {
        display: none;
    }

    .category-container.active .category-list {
        display: block;
    }

    .reference-item {
        margin-bottom: 10px;
    }

    footer {
        padding-bottom: 70px !important;
    }
}

.reference-item {
    overflow: hidden;
    position: relative;
    border-radius: 8px;
}

.reference-item img {
    transition: transform 0.3s ease-in-out;
}

.reference-item:hover img {
    transform: scale(1.1);
}

.custom-hr {
    border: 0;
    height: 1px;
    background-color: lightgray;
    margin: 5px;
}

.bilgi-p {
    margin: 0;
    margin-top: 7px;
}

.bilgi-hr {
    margin: 0.5rem;
    opacity: 0.7;
}

.table-responsive {
    overflow-x: auto;
    white-space: nowrap;
}

.progress-steps {
    display: flex;
    width: 100%;
    height: 60px;
    margin: 30px 0;
    position: relative;
    flex-wrap: wrap;
}

.progress-step {
    flex: 1;
    position: relative;
    background-color: white;
    border: 1px solid #dee2e6;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    z-index: 1;
    padding: 10px 15px;
    min-width: 120px;
    text-align: center;
    overflow: visible;
}

.progress-step.active {
    background-color: #2e3192;
    color: white;
    border-color: #2e3192;
    z-index: 2;
}

.progress-step.active::after {
    content: "";
    position: absolute;
    right: -30px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 30px solid #2e3192;
    z-index: 3;
}

.progress-step:not(:first-child)::before {
    content: "";
    position: absolute;
    left: -30px;
    top: 0;
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right: 30px solid white;
    z-index: 4;
}

.progress-step:first-child::before,
.progress-step:last-child.active::after {
    content: none;
}

@media (max-width: 576px) {
    .progress-steps {
        flex-direction: column;
        height: auto;
    }

    .progress-step {
        padding: 12px;
        border-radius: 6px;
        margin-bottom: 10px;
    }

    .progress-step::after,
    .progress-step::before {
        content: none !important;
    }
}

.card-container {
    perspective: 1000px;
    margin: auto;
    max-width: 400px;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 220px;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flipped .card-inner {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    backface-visibility: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: white;
    font-family: "Courier New", Courier, monospace;
    padding: 20px;
}

.card-front {
    background: linear-gradient(135deg, #3a3d98, #5b67ca);
}

.card-back {
    background: linear-gradient(135deg, #5b67ca, #3a3d98);
    transform: rotateY(180deg);
}

.magnetic-strip {
    background: #333;
    height: 40px;
    margin-top: 20px;
    border-radius: 5px;
}

.cvv-box {
    margin-top: 40px;
    background: #fff;
    color: #000;
    text-align: right;
    padding: 5px 10px;
    width: 100px;
    border-radius: 4px;
    float: right;
    font-weight: bold;
}

@media (max-width: 576px) {
    .card-container {
        height: 180px;
    }

    .card-front,
    .card-back {
        padding: 15px;
    }

    .progress-steps {
        flex-direction: column;
        align-items: flex-start;
    }

    .progress-step {
        width: 100%;
        margin-bottom: 5px;
    }

    .nav-tabs .nav-link {
        padding: 0.5rem 0.75rem;
    }
    .nt {
        margin-top: 25px;
    }
}
.dropdown-menu {
    left: 0;
    right: auto;
    transition: left 0.3s ease, right 0.3s ease;
    white-space: normal;
    max-width: 90vw;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.dropdown-toggle::after {
    display: none;
}
