/* ==================== FOOTER ==================== */
.dt-footer {
    --dt-orange: #ff7a00;
    --dt-footer-bg: #0b0b0b;
    --dt-footer-text: rgba(255, 255, 255, 0.66);
    --dt-footer-line: rgba(255, 255, 255, 0.08);
    --dt-ease: cubic-bezier(0.22, 1, 0.36, 1);

    position: relative;
    background: var(--dt-footer-bg);
    color: var(--dt-footer-text);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
}

/* Thin orange glow line along the top edge */
.dt-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 122, 0, 0) 0%, rgba(255, 122, 0, 0.7) 50%, rgba(255, 122, 0, 0) 100%);
}

.dt-footer a {
    color: inherit;
    text-decoration: none;
}

.dt-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ---------- Main grid ---------- */
.dt-footer__main {
    max-width: 1320px;
    margin: 0 auto;
    padding: 56px 24px 44px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 0.8fr)) minmax(0, 1.2fr);
    gap: 32px;
}

/* ---------- Brand column ---------- */
.dt-footer__logo {
    display: inline-block;
    margin-bottom: 16px;
}

.dt-footer__logo img {
    height: 58px;
    width: auto;
    display: block;
}

.dt-footer__about {
    max-width: 300px;
    margin: 0 0 20px;
    line-height: 1.65;
}

.dt-footer__socials {
    display: flex;
    gap: 10px;
}

.dt-footer__socials a {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.95rem;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s var(--dt-ease);
}

.dt-footer__socials a:hover {
    background: var(--dt-orange);
    border-color: var(--dt-orange);
    transform: translateY(-3px);
}

/* ---------- Columns ---------- */
.dt-footer__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 16px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    list-style: none;
}

.dt-footer__title::-webkit-details-marker {
    display: none;
}

/* Chevron only matters on mobile, where columns collapse */
.dt-footer__title i {
    display: none;
    font-size: 0.7rem;
    color: var(--dt-orange);
    transition: transform 0.3s var(--dt-ease);
}

.dt-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.dt-footer__links a {
    position: relative;
    display: inline-block;
    transition: color 0.2s ease, transform 0.25s var(--dt-ease);
}

.dt-footer__links a:hover {
    color: var(--dt-orange);
    transform: translateX(4px);
}

/* ---------- Contact ---------- */
.dt-footer__contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dt-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.dt-footer__contact-list i {
    flex-shrink: 0;
    width: 16px;
    margin-top: 3px;
    text-align: center;
    color: var(--dt-orange);
}

.dt-footer__contact-list a,
.dt-footer__contact-list span {
    overflow-wrap: anywhere;
}

.dt-footer__contact-list a:hover {
    color: #fff;
}

.dt-footer a:focus-visible,
.dt-footer summary:focus-visible {
    outline: 2px solid var(--dt-orange);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ---------- Bottom bar ---------- */
.dt-footer__bottom {
    border-top: 1px solid var(--dt-footer-line);
}

.dt-footer__bottom-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    font-size: 0.78rem;
}

.dt-footer__copy,
.dt-footer__credit {
    margin: 0;
}

.dt-footer__credit a {
    color: #fff;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 122, 0, 0.6);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.dt-footer__credit a:hover {
    color: var(--dt-orange);
    border-color: var(--dt-orange);
}

/* ---------- Payment badges ---------- */
.dt-footer__pay {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
}

.dt-footer__pay-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
}

.dt-footer__pay-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.dt-pay {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.74rem;
    font-weight: 600;
    white-space: nowrap;
}

.dt-pay img {
    height: 26px;
    width: auto;
    display: block;
}

.dt-pay__text b {
    font-weight: 800;
}

.dt-pay--cod {
    background: rgba(255, 122, 0, 0.12);
    border: 1px solid rgba(255, 122, 0, 0.45);
    color: #fff;
}

.dt-pay--cod i {
    color: #4ade80;
}

/* ---------- Laptop: brand on its own row ---------- */
@media (max-width: 1199.98px) {
    .dt-footer__main {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .dt-footer__brand {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px 32px;
        padding-bottom: 28px;
        border-bottom: 1px solid var(--dt-footer-line);
    }

    .dt-footer__logo,
    .dt-footer__about {
        margin: 0;
    }
}

/* ---------- Tablet ---------- */
@media (max-width: 991.98px) {
    .dt-footer__main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dt-footer__brand {
        grid-template-columns: minmax(0, 1fr);
        justify-items: start;
    }

    .dt-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ---------- Mobile: collapsible link groups ---------- */
@media (max-width: 575.98px) {
    .dt-footer__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        padding: 40px 16px 24px;
    }

    .dt-footer__brand {
        justify-items: center;
        text-align: center;
        margin-bottom: 8px;
        padding-bottom: 24px;
    }

    .dt-footer__about {
        margin: 0 auto;
    }

    .dt-footer__col {
        border-bottom: 1px solid var(--dt-footer-line);
    }

    .dt-footer__title {
        margin: 0;
        padding: 16px 2px;
        cursor: pointer;
    }

    .dt-footer__title i {
        display: inline-block;
    }

    .dt-footer__col[open] .dt-footer__title i {
        transform: rotate(180deg);
    }

    .dt-footer__links {
        padding: 0 2px 16px;
    }

    .dt-footer__contact {
        border-bottom: 0;
        padding-top: 16px;
    }

    .dt-footer__contact .dt-footer__title {
        padding-top: 0;
        padding-bottom: 14px;
    }

    .dt-footer__bottom-inner {
        padding: 18px 16px 22px;
    }

    .dt-footer__pay {
        justify-content: center;
    }

    .dt-footer__pay-list {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dt-footer *,
    .dt-footer *::before {
        transition: none !important;
    }
}
