/*
 * SPACELAND CHARCOAL UNIFIED V5
 * Exact requested brand surface: #1c1c1c
 */

/* =========================================================
   HEADER
   ========================================================= */

body.sp-ios-storefront .sl-online-header,
body.sp-ios-home .sl-online-header {
    background: #1c1c1c !important;
    background-image: none !important;
    border-bottom: 1px solid #2d2d2d !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18) !important;
}

body.sp-ios-storefront .sl-online-header::after,
body.sp-ios-home .sl-online-header::after {
    content: "" !important;
    display: block !important;
    height: 1px !important;
    background: rgba(240, 122, 58, .62) !important;
}

body.sp-ios-storefront .sl-header-logo-link,
body.sp-ios-home .sl-header-logo-link {
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.sp-ios-storefront .sl-header-logo-link::before,
body.sp-ios-storefront .sl-header-logo-link::after,
body.sp-ios-home .sl-header-logo-link::before,
body.sp-ios-home .sl-header-logo-link::after {
    content: none !important;
    display: none !important;
}

body.sp-ios-storefront .sl-header-logo,
body.sp-ios-home .sl-header-logo {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Search */
body.sp-ios-storefront .sl-header-search,
body.sp-ios-home .sl-header-search {
    background: #272727 !important;
    background-image: none !important;
    border: 1px solid #3a3a3a !important;
    box-shadow: none !important;
}

body.sp-ios-storefront .sl-header-search:focus-within,
body.sp-ios-home .sl-header-search:focus-within {
    background: #292929 !important;
    border-color: rgba(240, 122, 58, .58) !important;
    box-shadow: 0 0 0 3px rgba(240, 122, 58, .09) !important;
}

body.sp-ios-storefront .sl-header-search-input,
body.sp-ios-home .sl-header-search-input,
body.sp-ios-storefront .sl-header-search input[type="search"],
body.sp-ios-home .sl-header-search input[type="search"] {
    background: transparent !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.sp-ios-storefront .sl-header-search-input::placeholder,
body.sp-ios-home .sl-header-search-input::placeholder,
body.sp-ios-storefront .sl-header-search input[type="search"]::placeholder,
body.sp-ios-home .sl-header-search input[type="search"]::placeholder {
    color: #a8a8a8 !important;
    -webkit-text-fill-color: #a8a8a8 !important;
    opacity: 1 !important;
}

body.sp-ios-storefront .sl-header-search-submit,
body.sp-ios-home .sl-header-search-submit {
    background: #f07a3a !important;
    background-image: none !important;
    color: #ffffff !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.sp-ios-storefront .sl-header-search-submit:hover,
body.sp-ios-home .sl-header-search-submit:hover {
    background: #df6430 !important;
}

/* Cart */
body.sp-ios-storefront .sl-header-cart,
body.sp-ios-home .sl-header-cart {
    background: #272727 !important;
    background-image: none !important;
    border-color: #3a3a3a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

body.sp-ios-storefront .sp-store-footer,
body.sp-ios-home .sp-store-footer,
.sp-store-footer {
    width: 100% !important;
    margin-top: 32px !important;
    padding: 0 !important;
    background: #1c1c1c !important;
    background-image: none !important;
    color: #ffffff !important;
}

body.sp-ios-storefront .sp-store-footer-shell,
body.sp-ios-home .sp-store-footer-shell,
.sp-store-footer-shell {
    width: min(1440px, 100%) !important;
    margin: 0 auto !important;
    padding: 24px clamp(18px, 3vw, 40px) !important;

    background: #1c1c1c !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    overflow: visible !important;
}

body.sp-ios-storefront .sp-store-footer-shell::before,
body.sp-ios-home .sp-store-footer-shell::before,
.sp-store-footer-shell::before {
    content: none !important;
    display: none !important;
}

/* Keep legal / policy / contact links simple and crawler-friendly */
body.sp-ios-storefront .sp-store-footer-links,
body.sp-ios-home .sp-store-footer-links,
.sp-store-footer-links {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;

    gap: 8px 22px !important;

    margin: 0 !important;
    padding: 0 !important;
}

body.sp-ios-storefront .sp-store-footer-link,
body.sp-ios-home .sp-store-footer-link,
.sp-store-footer-link {
    min-height: auto !important;

    margin: 0 !important;
    padding: 5px 0 !important;

    background: transparent !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    color: #d7d7d7 !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;

    text-decoration: none !important;
}

body.sp-ios-storefront .sp-store-footer-link:hover,
body.sp-ios-home .sp-store-footer-link:hover,
.sp-store-footer-link:hover,
body.sp-ios-storefront .sp-store-footer-link:focus-visible,
body.sp-ios-home .sp-store-footer-link:focus-visible,
.sp-store-footer-link:focus-visible {
    color: #ffffff !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: underline !important;
    text-underline-offset: 4px !important;
}

/* Existing bottom/copyright area */
body.sp-ios-storefront .sp-store-footer-bottom,
body.sp-ios-home .sp-store-footer-bottom,
.sp-store-footer-bottom {
    margin-top: 18px !important;
    padding-top: 16px !important;

    border-top: 1px solid #303030 !important;

    color: #9f9f9f !important;
}

body.sp-ios-storefront .sp-store-footer-bottom-copy,
body.sp-ios-home .sp-store-footer-bottom-copy,
.sp-store-footer-bottom-copy,
body.sp-ios-storefront .sp-store-footer-bottom-meta,
body.sp-ios-home .sp-store-footer-bottom-meta,
.sp-store-footer-bottom-meta {
    color: #9f9f9f !important;
}

/* Hide decorative service/policy cards if present inside footer.
   Legal text pages and footer navigation remain intact. */
.sp-store-footer .footer-services,
.sp-store-footer .footer-service-grid,
.sp-store-footer .footer-benefits,
.sp-store-footer .footer-benefits-grid,
.sp-store-footer .footer-features,
.sp-store-footer .footer-feature-grid,
.sp-store-footer .store-benefits,
.sp-store-footer .store-benefits-grid,
.sp-store-footer .store-policies,
.sp-store-footer .store-policies-grid,
.sp-store-footer .policy-cards,
.sp-store-footer .policy-grid,
.sp-store-footer .service-cards,
.sp-store-footer .service-grid,
.sp-store-footer .trust-cards,
.sp-store-footer .trust-grid {
    display: none !important;
}

/* WhatsApp keeps its recognizable Google/user-friendly color */
body.sp-ios-storefront .sp-floating-whatsapp,
body.sp-ios-home .sp-floating-whatsapp,
.sp-floating-whatsapp {
    box-shadow: 0 10px 26px rgba(0, 0, 0, .22) !important;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {
    body.sp-ios-storefront .sp-store-footer,
    body.sp-ios-home .sp-store-footer,
    .sp-store-footer {
        margin-top: 24px !important;
        padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.sp-ios-storefront .sp-store-footer-shell,
    body.sp-ios-home .sp-store-footer-shell,
    .sp-store-footer-shell {
        padding: 20px 16px !important;
    }

    body.sp-ios-storefront .sp-store-footer-links,
    body.sp-ios-home .sp-store-footer-links,
    .sp-store-footer-links {
        justify-content: flex-start !important;
        gap: 7px 18px !important;
    }

    body.sp-ios-storefront .sp-store-footer-link,
    body.sp-ios-home .sp-store-footer-link,
    .sp-store-footer-link {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }
}