/**
 * Hemp Medical Footer Styles
 * Adapted from Aura Care footer design
 */

/* ============================================
   PRE-FOOTER: Newsletter
   ============================================ */
.aura-prefooter {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1f2937;
}
.aura-prefooter-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}
.aura-prefooter-row-a {
    background: #ffffff;
    padding: 2.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.aura-prefooter-newsletter-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}
.aura-prefooter-newsletter {
    display: flex;
    flex-direction: column;
    gap: 1.125rem;
}
.aura-prefooter-newsletter-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.aura-prefooter-newsletter-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3f880b;
}
.aura-prefooter-newsletter-icon svg {
    width: 20px;
    height: 20px;
}
.aura-prefooter-newsletter-header h3 {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.125rem 0;
    line-height: 1.3;
}
.aura-prefooter-newsletter-header p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}
.aura-prefooter-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}
.aura-prefooter-newsletter-input-group {
    display: flex;
    max-width: 480px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    border-radius: 10px;
}
.aura-prefooter-newsletter-input-group input[type="email"] {
    flex: 1;
    padding: 0.8125rem 1rem;
    font-size: 0.875rem;
    border: 1px solid #e5e7eb;
    border-right: none;
    border-radius: 10px 0 0 10px;
    font-family: inherit;
    color: #1f2937;
    background: #fff;
    min-width: 0;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.aura-prefooter-newsletter-input-group input[type="email"]::placeholder {
    color: #9ca3af;
}
.aura-prefooter-newsletter-input-group input[type="email"]:focus {
    border-color: #3f880b;
    box-shadow: 0 0 0 3px rgba(63,136,11,0.1);
    z-index: 1;
    position: relative;
}
.aura-prefooter-newsletter-input-group button {
    padding: 0.8125rem 1.5rem;
    background-color: #3f880b;
    color: #fff;
    border: 1px solid #3f880b;
    border-radius: 0 10px 10px 0;
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s;
}
.aura-prefooter-newsletter-input-group button:hover {
    background-color: #357509;
    border-color: #357509;
}
@media (max-width: 480px) {
    .aura-prefooter-newsletter-input-group {
        flex-direction: column;
        max-width: 100%;
        box-shadow: none;
    }
    .aura-prefooter-newsletter-input-group input[type="email"] {
        border-right: 1px solid #e5e7eb;
        border-radius: 10px;
    }
    .aura-prefooter-newsletter-input-group button {
        border-radius: 10px;
        margin-top: 0.5rem;
    }
}
.aura-prefooter-newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    max-width: 480px;
}
.aura-prefooter-newsletter-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    margin-top: 1px;
    accent-color: #3f880b;
    cursor: pointer;
}
.aura-prefooter-newsletter-consent span {
    font-size: 0.6875rem;
    color: #9ca3af;
    line-height: 1.45;
}
.aura-prefooter-newsletter-consent a {
    color: #6b7280;
    text-decoration: underline;
}
.aura-prefooter-newsletter-consent a:hover {
    color: #3f880b;
}
.aura-prefooter-newsletter .ml-form-embedWrapper {
    max-width: 100%;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}
.aura-prefooter-newsletter .ml-form-embedBody {
    padding: 0;
    background: transparent;
}
.aura-prefooter-newsletter .ml-form-embedContent {
    display: none;
}
.aura-prefooter-newsletter .ml-form-embedSubmit,
.aura-prefooter-newsletter .ml-field-group {
    display: contents;
}
.aura-prefooter-newsletter .loading {
    display: none !important;
}

/* HIDE SHOPTIMIZER DEFAULT FOOTER */
.site-footer,
#colophon,
.footer-widgets,
.below-content,
.copyright {
    display: none !important;
}

/* CUSTOM FOOTER WRAPPER */
.hm-custom-footer {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    color: #1f2937;
    background-color: #fff;
}

/* ============================================
   MOBILE CTA — Call button, visible only on mobile
   ============================================ */
.hm-footer-mobile-cta {
    display: none;
}

@media (max-width: 768px) {
    .hm-footer-mobile-cta {
        display: block;
        background: #000;
        padding: 1rem;
    }

    .hm-footer-mobile-cta__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 14px 20px;
        background: transparent;
        color: #fff;
        border: 1.5px solid rgba(255, 255, 255, 0.4);
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        text-align: center;
        line-height: 1.3;
        transition: border-color 0.2s ease;
    }

    .hm-footer-mobile-cta__btn svg {
        flex-shrink: 0;
    }

    .hm-footer-mobile-cta__btn:hover {
        border-color: rgba(255, 255, 255, 0.7);
        color: #fff;
    }
}

/* ============================================
   MAIN FOOTER — BLACK BACKGROUND, 4 COLUMNS
   ============================================ */
.hm-footer-main {
    background-color: #000000;
    border-top: 1px solid #4b5563;
    padding: 3rem 0;
}

.hm-footer-main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hm-footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .hm-footer-columns {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .hm-footer-columns {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Column headings */
.hm-footer-column h3 {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: white;
    text-transform: uppercase;
}

/* Column link lists */
.hm-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hm-footer-column ul li {
    margin-bottom: 0.5rem;
}

.hm-footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.hm-footer-column ul li a:hover {
    color: white;
}

/* Company info block */
.hm-footer-company-info {
    line-height: 1.3;
}

.hm-footer-company-info > div {
    margin-bottom: 1rem;
}

.hm-footer-company-info .company-name {
    font-weight: 500;
    color: #d1d5db;
    font-size: 0.875rem;
}

.hm-footer-company-info .company-details {
    color: #d1d5db;
    font-size: 0.875rem;
}

.hm-footer-company-info .company-contact a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-block;
    padding: 0.5rem 0;
    transition: color 0.2s ease;
}

.hm-footer-company-info .company-contact a:hover {
    color: white;
}

.hm-footer-company-info .company-bank {
    font-family: monospace;
    color: #d1d5db;
    font-size: 0.875rem;
}

/* Social icons */
.hm-footer-social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hm-footer-social a {
    color: #d1d5db;
    transition: color 0.2s ease;
}

.hm-footer-social a:hover {
    color: white;
}

.hm-footer-social svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ============================================
   FOOTER BOTTOM — PAYMENT & COPYRIGHT
   ============================================ */
.hm-footer-bottom {
    background-color: #000000;
    border-top: 1px solid #2a2a2a;
    padding: 1.5rem 0;
}

.hm-footer-bottom-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.hm-footer-bottom-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

@media (min-width: 1024px) {
    .hm-footer-bottom-content {
        flex-direction: row;
    }
}

/* Copyright text */
.hm-footer-copyright {
    font-size: 0.75rem;
    color: #d1d5db;
}

.hm-footer-copyright p {
    margin: 0;
}

@media (max-width: 1023px) {
    .hm-footer-copyright {
        text-align: center;
    }
}

/* Payment icons row */
.hm-payment-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
}

.hm-payment-icons::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .hm-payment-icons {
        overflow: visible;
    }
}

.hm-payment-icons img {
    height: 1.25rem;
    width: auto;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .hm-payment-icons img {
        height: 1.5rem;
    }
}
