/* ==========================================
   iSale Modern Footer — WOW Edition
   ========================================== */

#isale-modern-footer {
    position: relative;
    background: #fafafa;
    color: #2C2C2A;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    -webkit-font-smoothing: antialiased;
}

/* === Animated background === */
.isale-footer__bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.isale-footer__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    animation: isaleFooterOrb 25s ease-in-out infinite;
}

.isale-footer__orb--1 {
    width: 500px;
    height: 500px;
    background: var(--isale-accent, #ef8903);
    top: -200px;
    right: -100px;
    animation-duration: 22s;
}

.isale-footer__orb--2 {
    width: 400px;
    height: 400px;
    background: #fac775;
    bottom: -150px;
    left: -100px;
    animation-duration: 28s;
    animation-delay: -8s;
}

@keyframes isaleFooterOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, -30px) scale(1.1); }
}

.isale-footer__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(239, 137, 3, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(239, 137, 3, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    animation: isaleFooterGrid 30s linear infinite;
}

@keyframes isaleFooterGrid {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.isale-footer__particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--isale-accent, #ef8903);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--isale-accent, #ef8903), 0 0 16px rgba(239, 137, 3, 0.4);
    animation: isaleFooterParticle 12s linear infinite;
    opacity: 0;
}

.isale-footer__particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.isale-footer__particles span:nth-child(2) { left: 25%; animation-delay: 2s; }
.isale-footer__particles span:nth-child(3) { left: 40%; animation-delay: 5s; }
.isale-footer__particles span:nth-child(4) { left: 55%; animation-delay: 1s; }
.isale-footer__particles span:nth-child(5) { left: 70%; animation-delay: 7s; }
.isale-footer__particles span:nth-child(6) { left: 85%; animation-delay: 4s; }
.isale-footer__particles span:nth-child(7) { left: 15%; animation-delay: 9s; }
.isale-footer__particles span:nth-child(8) { left: 80%; animation-delay: 11s; }

@keyframes isaleFooterParticle {
    0%   { transform: translateY(100%); opacity: 0; }
    20%  { opacity: 0.8; }
    80%  { opacity: 0.6; }
    100% { transform: translateY(-100%); opacity: 0; }
}

/* === Animated top line - sweep effect === */
.isale-footer__top-line {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #ececec 20%, #ececec 80%, transparent 100%);
    overflow: hidden;
    z-index: 2;
}

.isale-footer__top-line-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--isale-accent, #ef8903), #fac775, var(--isale-accent, #ef8903), transparent);
    box-shadow: 0 0 20px rgba(239, 137, 3, 0.6);
    animation: isaleFooterSweep 4s ease-in-out infinite;
}

@keyframes isaleFooterSweep {
    0%   { left: -200px; }
    100% { left: 100%; }
}

/* === Container === */
.isale-footer__container {
    position: relative;
    z-index: 5;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 32px 28px;
}

/* === Main grid === */
.isale-footer__main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

/* === Brand column === */
.isale-footer__col--brand {
    max-width: 380px;
}

.isale-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.isale-footer__logo:hover {
    transform: scale(1.03);
}

.isale-footer__logo img {
    max-height: 44px;
    width: auto;
    display: block;
}

.isale-footer__logo-fallback {
    font-size: 26px;
    font-weight: 800;
    color: #2C2C2A;
    letter-spacing: -0.5px;
}

.isale-footer__logo-fallback .i-letter {
    color: var(--isale-accent, #ef8903);
    font-style: italic;
}

.isale-footer__desc {
    font-size: 13px;
    color: #5F5E5A;
    line-height: 1.7;
    margin: 0 0 20px;
}

/* === Contacts === */
.isale-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.isale-footer__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #5F5E5A;
    text-decoration: none;
    transition: color 0.2s ease;
}

a.isale-footer__contact:hover {
    color: var(--isale-accent, #ef8903);
}

.isale-footer__contact-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #ececec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--isale-accent, #ef8903);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

a.isale-footer__contact:hover .isale-footer__contact-icon {
    background: var(--isale-accent, #ef8903);
    color: #fff;
    border-color: var(--isale-accent, #ef8903);
    transform: rotate(360deg);
    box-shadow: 0 4px 12px rgba(239, 137, 3, 0.3);
}

/* === Social Links === */
.isale-footer__social {
    display: flex;
    gap: 8px;
}

.isale-footer__social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ececec;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #5F5E5A;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.isale-footer__social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--isale-accent, #ef8903), #d67500);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.isale-footer__social-link svg {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.isale-footer__social-link:hover {
    border-color: var(--isale-accent, #ef8903);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(239, 137, 3, 0.3);
}

.isale-footer__social-link:hover::before {
    transform: translateY(0);
}

.isale-footer__social-link:hover svg {
    color: #fff;
}

/* === Column headings === */
.isale-footer__heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #2C2C2A;
    text-transform: uppercase;
    margin: 0 0 20px;
    position: relative;
    display: inline-block;
    padding-bottom: 8px;
}

.isale-footer__heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--isale-accent, #ef8903), transparent);
    border-radius: 2px;
    animation: isaleFooterHeadingLine 3s ease-in-out infinite;
}

@keyframes isaleFooterHeadingLine {
    0%, 100% { width: 24px; }
    50% { width: 40px; }
}

/* === Links === */
.isale-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.isale-footer__links li {
    margin: 0;
    padding: 0;
}

.isale-footer__links a {
    font-size: 13px;
    color: #5F5E5A;
    text-decoration: none;
    transition: all 0.25s ease;
    position: relative;
    display: inline-block;
    padding-left: 0;
}

.isale-footer__links a::before {
    content: '→';
    position: absolute;
    left: -16px;
    opacity: 0;
    color: var(--isale-accent, #ef8903);
    transition: all 0.25s ease;
    font-weight: 600;
}

.isale-footer__links a:hover {
    color: var(--isale-accent, #ef8903);
    padding-left: 16px;
}

.isale-footer__links a:hover::before {
    opacity: 1;
    left: 0;
}

/* === Divider === */
.isale-footer__divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e0e0e0 20%, #e0e0e0 80%, transparent 100%);
    margin: 0 0 24px;
    position: relative;
}

.isale-footer__divider::after {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--isale-accent, #ef8903);
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 16px rgba(239, 137, 3, 0.6);
    animation: isaleFooterDot 3s ease-in-out infinite;
}

@keyframes isaleFooterDot {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
    50% { transform: translateX(-50%) scale(1.4); opacity: 0.6; }
}

/* === Bottom === */
.isale-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 8px;
}

.isale-footer__copyright {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #888;
}

.isale-footer__ssl {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #888;
}

.isale-footer__ssl svg {
    color: #4caf50;
}

/* === Created & Developed by SITEZZY — WOW animation === */
.isale-footer__credit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #888;
}

.isale-footer__credit-text {
    font-style: italic;
    font-weight: 400;
}

.isale-footer__credit-brand {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    position: relative;
    padding: 2px 0;
}

.isale-footer__credit-brand-text {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    background: linear-gradient(
        90deg,
        var(--isale-accent, #ef8903) 0%,
        #fac775 25%,
        #ef9f27 50%,
        #d67500 75%,
        var(--isale-accent, #ef8903) 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: isaleFooterShine 3s linear infinite;
    position: relative;
}

@keyframes isaleFooterShine {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.isale-footer__credit-brand-text::before {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(8px);
    opacity: 0.6;
    z-index: -1;
}

.isale-footer__credit-arrow {
    display: inline-flex;
    align-items: center;
    color: var(--isale-accent, #ef8903);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.isale-footer__credit-brand:hover .isale-footer__credit-arrow {
    transform: translate(2px, -2px) scale(1.2);
}

.isale-footer__credit-brand::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 16px;
    height: 1px;
    background: linear-gradient(90deg, var(--isale-accent, #ef8903), #d67500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.isale-footer__credit-brand:hover::after {
    transform: scaleX(1);
}

/* === Responsive === */
@media (max-width: 1024px) {
    .isale-footer__main {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .isale-footer__col--brand {
        grid-column: 1 / -1;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .isale-footer__container {
        padding: 20px 20px 24px;
    }

    .isale-footer__main {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-bottom: 32px;
    }

    .isale-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .isale-footer__copyright {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}
