/* =========================================================================
   FOOTER COMPONENT  — WoodMart-inspired aesthetics
   Variants: classic | centered | minimal | dark | gradient | columns
   ========================================================================= */

.store-footer {
    margin-top: 48px;
    padding: 48px 32px 24px;
    background: var(--surface, #fafaf9);
    color: var(--text, #1a1a1a);
    border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 14px;
    line-height: 1.55;
}
.store-footer__container {
    max-width: 1240px;
    margin: 0 auto;
    width: 100%;
}
.store-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.store-footer__logo {
    height: 44px;
    width: auto;
    border-radius: 10px;
    object-fit: contain;
}
.store-footer__brand-name {
    font-weight: 800;
    font-size: 20px;
    letter-spacing: -0.012em;
    color: var(--text, #1a1a1a);
    margin: 0;
}
.store-footer__brand-tagline {
    font-size: 12.5px;
    color: rgba(0,0,0,0.55);
    margin-top: 2px;
}

/* ── Shared link/heading styles ─────────────────────────────── */
.store-footer h5,
.store-footer__heading {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text, #1a1a1a);
    margin: 0 0 16px;
}
.store-footer a {
    color: rgba(0,0,0,0.7);
    text-decoration: none;
    transition: color 0.15s ease;
}
.store-footer a:hover {
    color: var(--primary-color, #111);
    text-decoration: none;
}
.store-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.store-footer__list li {
    margin: 0 0 10px;
}

/* ── Social icons row ─────────────────────────────────────────── */
.store-footer__socials {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.store-footer__socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.05);
    color: var(--text, #1a1a1a);
    font-size: 15px;
    transition: background 0.15s, color 0.15s, transform 0.15s;
}
.store-footer__socials a:hover {
    background: var(--primary-color, #111);
    color: #fff;
    transform: translateY(-2px);
}

/* ── Newsletter / payment row ─────────────────────────────────── */
.store-footer__newsletter {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    max-width: 380px;
}
.store-footer__newsletter input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 100px;
    font-size: 13px;
    background: #fff;
    outline: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.store-footer__newsletter input:focus {
    border-color: var(--primary-color, #111);
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
}
.store-footer__newsletter button {
    padding: 10px 22px;
    border-radius: 100px;
    border: none;
    background: var(--primary-color, #111);
    color: #fff;
    font-weight: 700;
    font-size: 12.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter 0.15s, transform 0.15s;
}
.store-footer__newsletter button:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ── Bottom strip: copyright + payment ───────────────────────── */
.store-footer__bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: rgba(0,0,0,0.55);
}
.store-footer__bottom a { color: rgba(0,0,0,0.55); }
.store-footer__bottom a:hover { color: var(--text, #1a1a1a); }

/* ════════════════════════════════════════════════════════════════
   Variant: CLASSIC — 4-column grid with brand block on the left
   ════════════════════════════════════════════════════════════════ */
.store-footer--classic .store-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}
.store-footer--classic .store-footer__col--brand {
    padding-inline-end: 12px;
}

/* ════════════════════════════════════════════════════════════════
   Variant: CENTERED — logo + tagline + social, single column centred
   ════════════════════════════════════════════════════════════════ */
.store-footer--centered {
    text-align: center;
    padding: 56px 32px 24px;
}
.store-footer--centered .store-footer__brand-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
}
.store-footer--centered .store-footer__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 18px;
}
.store-footer--centered .store-footer__list li { margin: 0; }
.store-footer--centered .store-footer__socials {
    justify-content: center;
    margin-top: 24px;
}
.store-footer--centered .store-footer__bottom {
    justify-content: center;
}

/* ════════════════════════════════════════════════════════════════
   Variant: MINIMAL — single thin line at the bottom of the page
   ════════════════════════════════════════════════════════════════ */
.store-footer--minimal {
    padding: 18px 24px;
    background: transparent;
    border-top: 1px solid rgba(0,0,0,0.08);
    margin-top: 32px;
}
.store-footer--minimal .store-footer__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}
.store-footer--minimal .store-footer__brand-row { margin: 0; }
.store-footer--minimal .store-footer__brand-name { font-size: 14px; }
.store-footer--minimal .store-footer__logo { height: 28px; }
.store-footer--minimal .store-footer__socials a {
    width: 28px; height: 28px; font-size: 13px;
}
.store-footer--minimal .store-footer__bottom {
    margin: 0; padding: 0; border: none; flex: 1;
    justify-content: flex-end;
}

/* ════════════════════════════════════════════════════════════════
   Variant: DARK — high-contrast dark footer
   ════════════════════════════════════════════════════════════════ */
.store-footer--dark {
    background: #0d0d12;
    color: #e5e7eb;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.store-footer--dark .store-footer__brand-name,
.store-footer--dark h5,
.store-footer--dark .store-footer__heading {
    color: #fff;
}
.store-footer--dark .store-footer__brand-tagline,
.store-footer--dark .store-footer__bottom {
    color: rgba(255,255,255,0.5);
}
.store-footer--dark a {
    color: rgba(255,255,255,0.7);
}
.store-footer--dark a:hover {
    color: #fff;
}
.store-footer--dark .store-footer__socials a {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.store-footer--dark .store-footer__socials a:hover {
    background: var(--primary-color, #fff);
    color: #0d0d12;
}
.store-footer--dark .store-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
}
.store-footer--dark .store-footer__newsletter input {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.1);
    color: #fff;
}
.store-footer--dark .store-footer__newsletter input::placeholder { color: rgba(255,255,255,0.4); }
.store-footer--dark .store-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

/* ════════════════════════════════════════════════════════════════
   Variant: GRADIENT — primary color gradient as background
   ════════════════════════════════════════════════════════════════ */
.store-footer--gradient {
    background: linear-gradient(135deg,
        var(--primary-color, #1abc9c) 0%,
        color-mix(in srgb, var(--primary-color, #1abc9c) 70%, #000) 100%);
    color: #fff;
    border: none;
}
.store-footer--gradient .store-footer__brand-name,
.store-footer--gradient h5,
.store-footer--gradient .store-footer__heading,
.store-footer--gradient .store-footer__brand-tagline,
.store-footer--gradient .store-footer__bottom {
    color: #fff;
}
.store-footer--gradient .store-footer__brand-tagline,
.store-footer--gradient .store-footer__bottom { opacity: 0.82; }
.store-footer--gradient a { color: rgba(255,255,255,0.85); }
.store-footer--gradient a:hover { color: #fff; }
.store-footer--gradient .store-footer__socials a {
    background: rgba(255,255,255,0.18);
    color: #fff;
}
.store-footer--gradient .store-footer__socials a:hover {
    background: #fff;
    color: var(--primary-color, #111);
}
.store-footer--gradient .store-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.18);
}
.store-footer--gradient .store-footer__newsletter input {
    background: rgba(255,255,255,0.95);
    border-color: rgba(255,255,255,0.4);
    color: #1a1a1a;
}
.store-footer--gradient .store-footer__newsletter button {
    background: #fff;
    color: var(--primary-color, #111);
}
.store-footer--gradient .store-footer__cols {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    align-items: start;
}

/* ════════════════════════════════════════════════════════════════
   Variant: COLUMNS — denser 5-column layout
   ════════════════════════════════════════════════════════════════ */
.store-footer--columns .store-footer__cols {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 28px;
    align-items: start;
}

/* ── Mobile: stack everything ─────────────────────────────────── */
@media (max-width: 900px) {
    .store-footer { padding: 36px 22px 18px; }
    .store-footer--classic .store-footer__cols,
    .store-footer--dark .store-footer__cols,
    .store-footer--gradient .store-footer__cols,
    .store-footer--columns .store-footer__cols {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .store-footer__bottom { justify-content: center; text-align: center; }
}
@media (max-width: 540px) {
    .store-footer--classic .store-footer__cols,
    .store-footer--dark .store-footer__cols,
    .store-footer--gradient .store-footer__cols,
    .store-footer--columns .store-footer__cols {
        grid-template-columns: 1fr;
    }
}
