﻿.overlay-content {
    width: min(1100px,92%);
    background-color: #6d361e;
    border-radius: 12px;
    padding: 2.5rem;
    opacity: 0.9;
}

.hero__title {
    margin-bottom: 1rem;
    color: #fefcf5;
}

#filter.filter {
    display: flex;
    align-items: stretch;
    gap: 14px;
    flex-wrap: wrap; 
    justify-content: center;
    margin-inline: auto;
}

    .field {
        background-color: #fefcf5;
        border-radius: 14px;
        padding: 10px 12px;
        min-width: 220px;
        max-width: 280px;
        display: flex;
        flex-direction: column;
        text-align: left;
    }

    .field .label {
        text-transform: uppercase;
        letter-spacing: .02em;
        color: #6d361e;
        margin: 0 0 4px;
    }

    .field select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        border: none;
        outline: none;
        background: #fefcf5 right 10px center / 12px no-repeat;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236d361e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
        padding: 0 0.5rem;
        border-radius: 10px;
        font-weight: 500;
        color: #6d361e;
    }

#apply.btn {
    background: #fefcf5;
    color: #6d361e;
    text-transform: uppercase;
    border: none;
    outline: none;
    padding: 14px 22px;
    border-radius: 14px;
    cursor: pointer;
    transition: transform .05s ease, box-shadow .2s ease;
}

    #apply.btn:active {
        transform: translateY(1px);
    }

@media (max-width: 980px) {
    .overlay-content {
        padding: 32px 24px 24px;
    }

    #filter.filter {
        gap: 10px;
    }

    .field {
        min-width: 200px;
    }
}

@media (max-width: 620px) {

    #filter.filter {
        justify-content: stretch;
    }

    .field, #apply.btn {
        width: 100%;
        max-width: 100%;
    }

    #apply.btn {
        padding: 14px;
    }
}

.coming-soon-logo {
    height: 3vw;
    max-height: 80px;
    width: auto;
    margin-bottom: 1.5rem;
}

/* PRODUCTS SECTION */
.container {
    width: min(1200px, 92%);
    margin-inline: auto;
}

.section-title {
    margin: 38px 0 6px;
}

.section-sub {
    margin: 0 0 18px;
}

.tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 24px 0;
}

.tab {
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 2px solid #6d361e;
    background: transparent;
    color: #6d361e;
    font-weight: 600;
    cursor: pointer;
}

    .tab.is-active {
        background: #6d361e;
        color: #fefcf5;
    }

.product-image-wrapper {
    width: 100%;
    height: 200px; 
    overflow: hidden;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    transition: transform .28s ease-in-out;
    transform: translateZ(0);
    background: #f6f2ee;
    position: relative; 
}

.product-card:hover .product-image-wrapper img {
    transform: scale(1.04) translateZ(0);
}

    .product-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: translateZ(0);
        transition: transform .28s ease;
    }

.bank {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fefcf5;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-size: 12px;
    z-index: 2;
}

.product-info-wrapper.card__body {
    padding: 16px;
    background: #6d361e;
    color: #fefcf5;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
}

.product-title,
.card__title {
    min-height: 50px;
    color: #fefcf5;
}

.product-description p,
.card__desc {
    line-height: 1.45;
    opacity: .95;
    margin: 0 0 14px;
    color: #fefcf5;
    min-height: 70px;
}

.meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 1.2rem;
}

.pill {
    background: #fefcf5;
    color: #6d361e;
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 12px;
    font-weight: 600;
}

.cta,
.apply-btn {
    background-color: #fefcf5;
    color: #6d361e;
    text-align: center;
}

.empty {
    text-align: center;
    padding: 32px;
    display: none;
}

/* FAQ SECTION */
.faq {
    margin: 56px 0;
    justify-self: center;
}

    .faq details {
        border-bottom: 1px solid #e8ded7;
        padding: 14px 0;
    }

    .faq summary {
        list-style: none;
        cursor: pointer;
        font-weight: 700;
        position: relative;
    }

        .faq summary::after {
            content: "+";
            position: absolute;
            right: 0;
        }

    .faq details[open] summary::after {
        content: "−";
    }

    .faq p {
        margin: 10px 0 0;
    }

.controls {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: end;
    margin: 10px 0 22px;
}

.control {
    min-width: 240px;
}

    .control label {
        display: block;
        margin-bottom: 6px;
    }

#f-bank, #f-sort {
    width: 100%;
    padding: 10px 12px;
    border-radius: 5px;
    background-color: transparent;
}

a:hover {
    color: #6d361e;
}

.best-option-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background-color: #4CAF50;
    color: #fefcf5;
    font-weight: 700; 
    padding: 6px 14px; 
    border-radius: 999px; 
    font-size: 0.8rem;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: none; /* Hide by default */
}

.product-card.best-option .best-option-label {
    display: block;
}


/* ---------- DIGITAL PAYMENTS FIX ---------- */
.digital-payments {
    padding: 60px 0;
    background: #fefcf5;
}

    .digital-payments .dp-head {
        text-align: center;
        max-width: 900px;
        margin: 0 auto 40px;
    }

    .digital-payments .section-title {
        margin-bottom: 12px;
        color: #6d361e;
    }

/* Card grid */
.dp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 980px) {
    .dp-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .dp-grid {
        grid-template-columns: 1fr;
    }
}

/* Card style */
.dp-card {
    background: transparent;
    border-radius: 10px;
    padding: 2rem 1.5rem;
    border: 1px solid #6d361e;
    display: flex;
    flex-direction: column;
}

.dp-card--accent {
    background: #6d361e;
    color: #fefcf5;
}

.dp-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.dp-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #6d361e;
    color: #fefcf5;
    font-weight: 700;
    font-size: 9px;
}

.dp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    color: #fefcf5;
    font-weight: 700;
    font-size: 9px;
}

    .dp-icon svg {
        flex: 0 0 auto;
        display: block;
        fill: #fefcf5 !important;
    }

.dp-badge {
    background: #fefcf5;
    color: #6d361e;
    border: 1px solid #6d361e;
    border-radius: 999px;
    padding: 2px 10px;
}

.dp-card--accent .dp-badge {
    background: #6d361e;
    color: #fefcf5;
    border-color: #fefcf5;
}

.dp-card__title {
    margin: 6px 0;
}

.dp-card__desc {
    margin: 0 0 12px;
}

.dp-list {
    margin: 0;
    padding-left: 18px;
}

/* Steps layout */
.dp-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 32px 0 16px;
    flex-wrap: wrap;
}

.step {
    background: #fff;
    border: 1px solid #e8ded7;
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 220px;
}

.step__num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #6d361e;
    color: #fefcf5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.step__text {
    font-weight: 600;
}

/* CTA buttons */
.dp-cta {
    text-align: center;
    margin-top: 20px;
}

    .dp-cta a {
        margin: 6px 8px;
    }

@media (max-width: 768px) {
    .coming-soon-section {
        height: 70vh !important;
        min-height: 70vh !important;
    }
}

