/* Footer Base Styles */
/* Store Footer */
.store-footer {
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.store-footer__trust-wrap {
    position: relative;
    z-index: 1;
}

.store-footer__trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.875rem;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 1rem;
    box-shadow: 0 8px 28px rgba(17, 24, 39, 0.07);
    padding: 1rem 1.125rem;
}

@media (min-width: 768px) {
    .store-footer__trust {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        padding: 1.125rem 0;
    }
}

.store-footer__trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0;
    min-width: 0;
}

@media (min-width: 768px) {
    .store-footer__trust-item {
        align-items: center;
        padding: 0.35rem 1.25rem;
        border-right: 1px solid #eef0f2;
    }

    .store-footer__trust-item:last-child {
        border-right: none;
    }
}

.store-footer__trust-copy {
    min-width: 0;
    flex: 1;
}

.store-footer__trust-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.625rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-footer__trust-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.store-footer__trust-icon--secure {
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.store-footer__trust-icon--return {
    background: var(--color-accent-light);
    color: var(--color-accent);
}

.store-footer__trust-icon--shipping {
    background: #f3e8df;
    color: var(--color-primary-dark);
}

.store-footer__trust-title {
    font-family: var(--font-display);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.35;
    margin-bottom: 0.15rem;
}

.store-footer__trust-text {
    font-size: 0.6875rem;
    color: #6b7280;
    line-height: 1.45;
}

.store-footer__logo-section {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: -2.35rem;
    padding: 0 1rem;
}

.store-footer__logo-wrap {
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 0.85rem;
    padding: 0.55rem 1.35rem;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.store-footer__logo-wrap:hover {
    transform: translateY(-1px);
}

.store-footer__logo {
    height: 3.75rem;
    width: auto;
    max-width: 8rem;
    object-fit: contain;
    display: block;
}

@media (min-width: 768px) {
    .store-footer__logo-section {
        margin-top: 1.125rem;
        margin-bottom: -2.65rem;
    }

    .store-footer__logo {
        height: 4.25rem;
        max-width: 9rem;
    }
}

.store-footer__main {
    position: relative;
    background: linear-gradient(180deg, #7a5033 0%, #5c3d27 100%);
    border-radius: 1.25rem 1.25rem 0 0;
    margin-top: 0;
    padding: 3.75rem 0 3.25rem;
    color: #fff;
}

@media (min-width: 768px) {
    .store-footer__main {
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 4rem 0 3.5rem;
    }
}

.store-footer__content {
    position: relative;
    z-index: 1;
}

.store-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem 1rem;
    align-items: start;
}

@media (min-width: 640px) {
    .store-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1.25rem;
    }
}

@media (min-width: 1024px) {
    .store-footer__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 1rem 1.25rem;
    }
}

.store-footer__heading {
    font-family: var(--font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.625rem;
    letter-spacing: 0.01em;
}

.store-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.store-footer__links a {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.4;
    transition: color 0.2s;
}

.store-footer__links a:hover {
    color: var(--color-primary-light);
}

.store-footer__col--newsletter {
    grid-column: 1 / -1;
}

@media (min-width: 1024px) {
    .store-footer__col--newsletter {
        grid-column: auto;
        max-width: none;
    }
}

.store-footer__newsletter-title {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 0.625rem;
    line-height: 1.4;
}

.store-footer__newsletter-form {
    position: relative;
    margin-bottom: 0.75rem;
    max-width: 100%;
}

.store-footer__newsletter-input {
    width: 100%;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 9999px;
    padding: 0.625rem 6rem 0.625rem 0.875rem;
    font-size: 0.75rem;
    color: #374151;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.store-footer__newsletter-input:focus {
    border-color: rgba(150, 99, 63, 0.25);
    box-shadow: 0 0 0 3px rgba(150, 99, 63, 0.12);
}

.store-footer__newsletter-input::placeholder {
    color: #9ca3af;
}

.store-footer__newsletter-btn {
    position: absolute;
    top: 50%;
    right: 0.3rem;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.6875rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.store-footer__newsletter-btn:hover {
    background: var(--color-primary-dark);
}

.store-footer__social {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.625rem;
}

.store-footer__social-link {
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.store-footer__social-link:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-primary-light);
}

.store-footer__social-link svg {
    width: 0.875rem;
    height: 0.875rem;
}

.store-footer__wholesale {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.4;
    max-width: 16rem;
}

.store-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.store-footer__legal-copy {
    display: grid;
    gap: 0.45rem;
    max-width: 52rem;
}

.store-footer__copyright,
.store-footer__credit {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.745);
    line-height: 1.55;
    margin: 0;
}

.store-footer__credit-link {
    color: #f37021;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s, text-decoration 0.2s;
}

.store-footer__credit-link:hover {
    color: #ff9d5c;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .store-footer__bottom {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 1.5rem;
        text-align: left;
        margin-top: 1.75rem;
        padding-bottom: 1.75rem;
    }

    .store-footer__legal-copy {
        text-align: left;
    }
}

.store-footer__payments-and-legal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .store-footer__payments-and-legal {
        align-items: flex-end;
    }
}

.store-footer__payment-icons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.store-footer__payment-icon {
    width: 2.25rem;
    height: 1.4rem;
    object-fit: contain;
    transition: opacity 0.2s ease, transform 0.2s ease;
    opacity: 0.75;
}

.store-footer__payment-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.store-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 1rem;
}

@media (min-width: 768px) {
    .store-footer__legal {
        justify-content: flex-end;
    }
}

.store-footer__legal a {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.52);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
    white-space: nowrap;
}

.store-footer__legal a:hover {
    color: var(--color-primary-light);
}

.store-footer__etbis {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.store-footer__etbis-qr {
    width: 3.5rem;
    height: 3.5rem;
    background: #fff;
    border: 1px solid #eef0f2;
    border-radius: 0.5rem;
    padding: 0.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
    .store-footer__etbis-qr {
        width: 3.75rem;
        height: 3.75rem;
    }
}

.store-footer__etbis-qr svg {
    width: 100%;
    height: 100%;
    display: block;
}

.store-footer__etbis-text {
    font-size: 0.625rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    white-space: nowrap;
    letter-spacing: 0.02em;
}



/* Footer Responsive Styles */
/* ─── Footer ─── */
@media (max-width: 767px) {


    .store-footer__bottom {
        margin-bottom:30px;
    }
    .store-footer {
        margin-top: 0.5rem;
        margin-bottom: 0;
    }

    .store-footer__trust-wrap--desktop,
    .store-footer__logo-section--desktop {
        display: none;
    }

    .store-footer__main {
        border-radius: 0;
        margin-top: 0;
        padding: 1.35rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
        background: linear-gradient(180deg, #6b452c 0%, #4a2f1d 100%);
    }

    .store-footer__content {
        padding-left: 0;
        padding-right: 0;
    }

    .store-footer__mobile {
        padding: 0 1rem;
    }

    .store-footer__mobile-newsletter .store-footer__heading {
        font-size: 1rem;
        margin-bottom: 0.35rem;
    }

    .store-footer__mobile-newsletter .store-footer__newsletter-title {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.88);
        margin-bottom: 0.75rem;
    }

    .store-footer__mobile-newsletter .store-footer__newsletter-form {
        margin-bottom: 1rem;
    }

    .store-footer__mobile-newsletter .store-footer__newsletter-input {
        border-radius: 0.5rem;
        padding: 0.75rem 5.75rem 0.75rem 0.875rem;
        font-size: 0.8125rem;
    }

    .store-footer__mobile-newsletter .store-footer__newsletter-btn {
        right: 0.35rem;
        border-radius: 0.4rem;
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        background: #3d2818;
    }

    .store-footer__mobile-newsletter .store-footer__newsletter-btn:hover {
        background: #2f1f12;
    }

    .store-footer__social--mobile {
        margin-bottom: 0.85rem;
        gap: 0.65rem;
    }

    .store-footer__social--mobile .store-footer__social-link {
        width: 2.35rem;
        height: 2.35rem;
        background: rgba(255, 255, 255, 0.92);
        color: #4b5563;
        border: none;
    }

    .store-footer__social--mobile .store-footer__social-link svg {
        width: 1.1rem;
        height: 1.1rem;
    }

    .store-footer__wholesale--mobile {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.9);
        line-height: 1.45;
        margin: 0 0 0.25rem;
    }

    .store-footer__accordions {
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .store-footer__grid--desktop {
        display: none !important;
    }

    .store-footer__accordion {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .store-footer__accordion-summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 1rem 0;
        font-family: var(--font-display);
        font-size: 0.9375rem;
        font-weight: 700;
        color: #fff;
        cursor: pointer;
        list-style: none;
        user-select: none;
    }

    .store-footer__accordion-summary::-webkit-details-marker {
        display: none;
    }

    .store-footer__accordion-icon {
        font-size: 1.35rem;
        font-weight: 400;
        line-height: 1;
        color: #fff;
        transition: transform 0.2s ease;
    }

    .store-footer__accordion[open] .store-footer__accordion-icon {
        transform: rotate(45deg);
    }

    .store-footer__links--accordion {
        padding: 0 0 0.85rem;
        gap: 0.55rem;
    }

    .store-footer__links--accordion a {
        font-size: 0.8125rem;
        color: rgba(255, 255, 255, 0.78);
    }

    .store-footer__etbis {
        margin-top: 1rem;
        padding-bottom: 0.5rem;
    }
}

@media (min-width: 768px) {
    .store-footer__mobile {
        display: none !important;
    }

    .store-footer__grid--desktop {
        display: grid !important;
    }
}

@media (max-width: 639px) {
    .store-footer__bridge {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .store-footer__trust {
        flex-direction: column;
        gap: 0.85rem;
        padding: 1rem;
    }

    .store-footer__trust-item {
        width: 100%;
    }
}

.store-footer__newsletter-hint {
    font-size: 0.65rem;
    color: #ffffff;
    margin-top: 0.5rem;
    line-height: 1.3;
    text-align: left;
    opacity: 0.8;
    margin-bottom: 10px;
}

.store-footer__newsletter-hint-link {
    text-decoration: underline;
    color: #f37021;
}
