/* ==========================================================
   MasterUnlockCode shared storefront footer V1
   ----------------------------------------------------------
   Neutral "store-*" naming is intentional so the same footer
   structure can be copied to future satellite storefronts.
   Brand colors are centralized as CSS variables below.
   ========================================================== */

.store-site-footer,
.store-site-footer * {
    box-sizing: border-box;
}

.store-site-footer {
    --store-footer-bg: #142d42;
    --store-footer-bg-deep: #0d2234;
    --store-footer-bg-soft: #1b3850;
    --store-footer-panel: rgba(255,255,255,.045);
    --store-footer-line: rgba(255,255,255,.10);
    --store-footer-text: #e9f0f5;
    --store-footer-muted: #aebfcb;
    --store-footer-accent: #f28a19;
    --store-footer-accent-soft: #f7a247;
    --store-footer-green: #49b980;

    position: relative;
    width: 100%;
    margin-top: 28px;
    color: var(--store-footer-text);
    background:
        radial-gradient(circle at 18% 0%, rgba(54,107,144,.18), transparent 34%),
        linear-gradient(180deg, #1a3850 0%, var(--store-footer-bg) 42%, var(--store-footer-bg-deep) 100%);
    border-top: 3px solid var(--store-footer-accent);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 -4px 18px rgba(15,37,54,.10);
}

.store-site-footer a {
    text-decoration: none;
    transition:
        color .16s ease,
        background-color .16s ease,
        border-color .16s ease,
        transform .16s ease,
        box-shadow .16s ease,
        opacity .16s ease;
}

.store-site-footer a:focus,
.store-site-footer button:focus {
    outline: 2px solid var(--store-footer-accent);
    outline-offset: 2px;
}

/* Bootstrap .container controls the same 750 / 970 / 1170 rhythm as Header. */
.store-footer-inner {
    position: relative;
}

/* ==========================================================
   QUICK ACTIONS
   ========================================================== */

.store-footer-actions {
    position: relative;
    overflow: hidden;
    background: rgba(6,24,39,.22);
    border-bottom: 1px solid var(--store-footer-line);
}

.store-footer-action-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.store-footer-action {
    min-width: 0;
    min-height: 64px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    color: #f4f8fb;
    border-right: 1px solid var(--store-footer-line);
    background: rgba(255,255,255,.012);
}

.store-footer-action:first-child {
    border-left: 1px solid var(--store-footer-line);
}

.store-footer-action:hover {
    color: #ffffff;
    background: rgba(255,255,255,.055);
}

.store-footer-action-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #dceaf3;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.10);
}

.store-footer-action:hover .store-footer-action-icon {
    color: #ffffff;
    border-color: rgba(242,138,25,.45);
    background: rgba(242,138,25,.12);
}

.store-footer-action-icon svg,
.store-footer-panel-icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.store-footer-action-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.store-footer-action-copy strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.store-footer-action-copy small {
    margin-top: 3px;
    color: var(--store-footer-muted);
    font-size: 10px;
    line-height: 1.2;
}

.store-footer-action-arrow {
    margin-left: auto;
    color: var(--store-footer-accent);
    font-size: 22px;
    line-height: 1;
    opacity: .85;
}

/* ==========================================================
   MAIN CONTENT
   ========================================================== */

.store-footer-main {
    position: relative;
    overflow: hidden;
}

.store-footer-main:before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255,255,255,.012), transparent 18%, transparent 82%, rgba(255,255,255,.012));
}

.store-footer-nav-layout {
    position: relative;
    z-index: 1;
    padding: 26px 0 20px;
    display: grid;
    grid-template-columns: 1.35fr 3.65fr;
    gap: 34px;
    align-items: start;
}

.store-footer-brand-block {
    min-width: 0;
}

.store-footer-brand {
    display: inline-flex;
    align-items: center;
}

.store-footer-brand-logo {
    display: block;
    width: auto;
    height: 64px;
    max-width: 330px;
    object-fit: contain;
    filter: drop-shadow(0 3px 8px rgba(0,0,0,.16));
}

.store-footer-brand-text {
    margin: 10px 0 0;
    max-width: 315px;
    color: #d5e2ea;
    font-size: 12px;
    line-height: 1.58;
}

.store-footer-brand-actions {
    margin-top: 13px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
}

.store-footer-btn {
    min-height: 36px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    font-size: 11px;
    font-weight: 700;
}

.store-footer-btn-primary {
    color: #ffffff;
    background: var(--store-footer-accent);
    border: 1px solid var(--store-footer-accent);
    box-shadow: 0 4px 12px rgba(242,138,25,.16);
}

.store-footer-btn-primary:hover {
    color: #ffffff;
    background: var(--store-footer-accent-soft);
    border-color: var(--store-footer-accent-soft);
    transform: translateY(-1px);
}

.store-footer-btn-secondary {
    color: #f3f7fa;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.16);
}

.store-footer-btn-secondary:hover {
    color: #ffffff;
    background: rgba(255,255,255,.075);
    border-color: rgba(255,255,255,.27);
    transform: translateY(-1px);
}

.store-footer-brand-meta {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.store-footer-brand-meta span {
    padding: 4px 8px;
    border-radius: 999px;
    color: #dce8ef;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.09);
    font-size: 8.5px;
    font-weight: 700;
}

.store-footer-service-note {
    margin: 10px 0 0;
    max-width: 315px;
    color: #91aabd;
    font-size: 9px;
    line-height: 1.5;
}

/* ==========================================================
   LINK GROUPS
   ========================================================== */

.store-footer-link-groups {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 21px;
}

.store-footer-group {
    min-width: 0;
}

.store-footer-group-title {
    position: relative;
    width: 100%;
    min-height: 32px;
    padding: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: #ffffff;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 800;
    text-align: left;
    cursor: default;
}

.store-footer-group-title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 38px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--store-footer-accent), rgba(242,138,25,.15));
}

.store-footer-group-chevron {
    display: none;
}

.store-footer-group-body {
    padding-top: 9px;
}

.store-footer-link {
    min-height: 26px;
    padding: 3px 0;
    display: flex;
    align-items: center;
    gap: 5px;
    color: #dce8ef;
    font-size: 10.5px;
    line-height: 1.35;
}

.store-footer-link:hover {
    color: #ffffff;
    padding-left: 3px;
}

.store-footer-link span:first-child {
    min-width: 0;
}

.store-footer-link-arrow {
    margin-left: auto;
    flex: 0 0 auto;
    color: var(--store-footer-accent);
    opacity: 0;
    transform: translateX(-2px);
}

.store-footer-link:hover .store-footer-link-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ==========================================================
   SECURITY / PAYMENTS
   ========================================================== */

.store-footer-divider {
    position: relative;
    z-index: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.14) 7%, rgba(255,255,255,.14) 93%, transparent);
}

.store-footer-trust-grid {
    position: relative;
    z-index: 1;
    padding: 18px 0 20px;
    display: grid;
    grid-template-columns: .92fr 1.48fr;
    gap: 14px;
}

.store-footer-trust-panel,
.store-footer-payment-panel {
    position: relative;
    min-width: 0;
    padding: 14px 16px;
    overflow: hidden;
    border-radius: 9px;
    background: var(--store-footer-panel);
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025);
}

.store-footer-trust-panel:before,
.store-footer-payment-panel:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 76px;
    height: 2px;
    background: linear-gradient(90deg, var(--store-footer-accent), rgba(242,138,25,0));
}

.store-footer-panel-heading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.store-footer-panel-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--store-footer-accent);
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(255,255,255,.09);
}

.store-footer-panel-heading strong,
.store-footer-panel-heading small {
    display: block;
}

.store-footer-panel-heading strong {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
}

.store-footer-panel-heading small {
    margin-top: 2px;
    color: var(--store-footer-muted);
    font-size: 9px;
}

.store-footer-security-list {
    margin-top: 11px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 13px;
}

.store-footer-security-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #e5eef4;
    font-size: 9.5px;
}

.store-footer-check {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #ffffff;
    background: linear-gradient(180deg, #4cc58c, #319d6d);
    border: 1px solid rgba(255,255,255,.15);
    font-size: 9px;
    font-weight: 700;
}

.store-footer-inline-link {
    margin-top: 10px;
    display: inline-block;
    color: var(--store-footer-accent-soft);
    font-size: 9.5px;
    font-weight: 700;
}

.store-footer-inline-link:hover {
    color: #ffffff;
}

.store-footer-payment-chips {
    margin-top: 11px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.store-footer-payment-chip {
    min-height: 27px;
    padding: 4px 9px;
    display: inline-flex;
    align-items: center;
    border-radius: 6px;
    color: #ffffff;
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.11);
    font-size: 8.8px;
    font-weight: 800;
    letter-spacing: .1px;
}

.store-footer-payment-crypto {
    color: #eafff4;
    background: rgba(31,123,83,.28);
    border-color: rgba(94,194,140,.18);
}

.store-footer-payment-note {
    margin-top: 10px;
    padding-top: 9px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #b6c8d4;
    border-top: 1px solid rgba(255,255,255,.09);
    font-size: 9.3px;
    line-height: 1.5;
}

.store-footer-payment-note-icon {
    color: #64d59c;
    font-weight: 800;
}

.store-footer-payment-note a {
    color: var(--store-footer-accent-soft);
    font-weight: 700;
}

.store-footer-payment-note a:hover {
    color: #ffffff;
}

/* ==========================================================
   LEGAL BAR
   ========================================================== */

.store-footer-legal {
    position: relative;
    background: #091b2a;
    border-top: 1px solid rgba(255,255,255,.08);
}

.store-footer-legal-inner {
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Bootstrap 3 .container clearfix pseudo-elements become flex children. */
.store-footer-legal-inner:before,
.store-footer-legal-inner:after {
    display: none !important;
    content: none !important;
}

.store-footer-copyright {
    color: #aabdc9;
    font-size: 9.5px;
}

.store-footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px 18px;
}

.store-footer-legal-links a {
    color: #c9d8e1;
    font-size: 9.5px;
}

.store-footer-legal-links a:hover {
    color: #ffffff;
}

/* ==========================================================
   TABLET / COMPACT DESKTOP
   ========================================================== */

@media (min-width: 768px) and (max-width: 991px) {
    .store-footer-action {
        min-height: 58px;
        padding: 8px 7px;
        gap: 6px;
    }

    .store-footer-action-icon {
        width: 29px;
        height: 29px;
        flex-basis: 29px;
    }

    .store-footer-action-copy strong {
        font-size: 9.5px;
        white-space: normal;
    }

    .store-footer-action-copy small,
    .store-footer-action-arrow {
        display: none;
    }

    .store-footer-nav-layout {
        padding-top: 21px;
        grid-template-columns: 1.18fr 3.82fr;
        gap: 17px;
    }

    .store-footer-brand-logo {
        height: 48px;
        max-width: 220px;
    }

    .store-footer-brand-text {
        margin-top: 8px;
        font-size: 10px;
        line-height: 1.45;
    }

    .store-footer-brand-actions {
        margin-top: 9px;
        flex-wrap: wrap;
        gap: 5px;
    }

    .store-footer-btn {
        min-height: 30px;
        padding: 5px 8px;
        font-size: 9px;
    }

    .store-footer-brand-meta {
        margin-top: 8px;
        gap: 4px;
    }

    .store-footer-brand-meta span {
        padding: 3px 5px;
        font-size: 7.5px;
    }

    .store-footer-service-note {
        font-size: 8px;
    }

    .store-footer-link-groups {
        gap: 11px;
    }

    .store-footer-group-title {
        min-height: 26px;
        padding-bottom: 7px;
        font-size: 10px;
    }

    .store-footer-group-body {
        padding-top: 5px;
    }

    .store-footer-link {
        min-height: 22px;
        padding: 2px 0;
        font-size: 8.6px;
        line-height: 1.25;
    }

    .store-footer-trust-grid {
        padding: 14px 0 16px;
        gap: 10px;
    }

    .store-footer-trust-panel,
    .store-footer-payment-panel {
        padding: 11px 12px;
    }
}

/* ==========================================================
   MOBILE / TOUCH FOLD
   ========================================================== */

@media (max-width: 767px),
       (max-width: 991px) and (pointer: coarse) {
    .store-site-footer {
        margin-top: 20px;
        border-top-width: 2px;
    }

    .store-footer-nav-layout {
        grid-template-columns: 1fr;
        gap: 21px;
        padding: 23px 0 19px;
    }

    .store-footer-brand-text {
        max-width: 620px;
    }

    .store-footer-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-footer-action {
        min-height: 56px;
        padding: 9px;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .store-footer-action:nth-child(1),
    .store-footer-action:nth-child(2) {
        border-top: 0;
    }

    .store-footer-action:nth-child(2n) {
        border-right: 0;
    }

    .store-footer-action:nth-child(5) {
        grid-column: 1 / -1;
        border-right: 0;
    }

    .store-footer-action-copy small {
        display: none;
    }

    .store-footer-action-copy strong {
        white-space: normal;
        font-size: 10px;
    }

    .store-footer-action-arrow {
        display: none;
    }

    .store-footer-brand-logo {
        height: 49px;
        max-width: 285px;
    }

    .store-footer-brand-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .store-footer-btn {
        width: 100%;
    }

    .store-footer-link-groups {
        display: block;
    }

    .store-footer-group {
        border-top: 1px solid rgba(255,255,255,.11);
    }

    .store-footer-group:last-child {
        border-bottom: 1px solid rgba(255,255,255,.11);
    }

    .store-footer-group-title {
        min-height: 45px;
        padding: 10px 2px;
        border-bottom: 0;
        cursor: pointer;
        font-size: 11px;
    }

    .store-footer-group-title:after {
        display: none;
    }

    .store-footer-group-chevron {
        width: 8px;
        height: 8px;
        display: inline-block;
        border-right: 1.5px solid var(--store-footer-accent);
        border-bottom: 1.5px solid var(--store-footer-accent);
        transform: rotate(45deg);
        transition: transform .18s ease;
    }

    .store-footer-group.is-open .store-footer-group-chevron {
        transform: rotate(225deg);
    }

    .store-footer-group-body {
        display: none;
        padding: 0 2px 10px;
    }

    .store-footer-group.is-open .store-footer-group-body {
        display: block;
    }

    .store-footer-link {
        min-height: 32px;
        padding: 6px 0;
        font-size: 10px;
    }

    .store-footer-link:hover {
        padding-left: 0;
    }

    .store-footer-link-arrow {
        opacity: .66;
        transform: none;
    }

    .store-footer-trust-grid {
        grid-template-columns: 1fr;
        padding: 18px 0 20px;
    }

    .store-footer-security-list {
        grid-template-columns: 1fr;
    }

    .store-footer-legal-inner {
        padding-top: 12px;
        padding-bottom: 12px;
        display: block;
        text-align: center;
    }

    .store-footer-legal-links {
        margin-top: 8px;
        justify-content: center;
        gap: 6px 13px;
    }
}

@media (max-width: 420px) {
    .store-footer-action-grid {
        grid-template-columns: 1fr;
    }

    .store-footer-action,
    .store-footer-action:nth-child(1),
    .store-footer-action:nth-child(2),
    .store-footer-action:nth-child(3),
    .store-footer-action:nth-child(4),
    .store-footer-action:nth-child(5) {
        grid-column: auto;
        border-right: 0;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    .store-footer-action:first-child {
        border-top: 0;
        border-left: 0;
    }

    .store-footer-brand-actions {
        grid-template-columns: 1fr;
    }

    .store-footer-brand-logo {
        height: 43px;
        max-width: 245px;
    }
}
