/* HyperTechno footer v5: fixed Claue grid tracks with restrained brand-red accents and payment marks. */
body.hypertechno-design-system .footer-container.footer1 {
    --ht-footer-accent: var(--ht-color-primary, #d71920);
    --ht-footer-bg: #111516;
    --ht-footer-bg-deep: #0a0d0e;
    --ht-footer-surface: #202628;
    --ht-footer-line: #30383b;
    --ht-footer-text: #d7dcdf;
    --ht-footer-muted: #aeb7bb;
}

body.hypertechno-design-system .page-footer {
    margin-top: var(--ht-page-shell-gap, 48px);
    background: var(--ht-footer-bg-deep, #0a0d0e);
    color: #f7f8f9;
}

/* The homepage owns the same trailing gap inside its tinted content surface. */
body.hypertechno-design-system.cms-index-index .page-footer {
    margin-top: 0;
}

body.hypertechno-design-system .footer-container.footer1 {
    background: var(--ht-footer-bg-deep);
    color: #f7f8f9;
}

body.hypertechno-design-system .footer-container.footer1 .middle-footer {
    padding: clamp(48px, 5vw, 72px) 0;
    border-top: 1px solid var(--ht-footer-line);
    background: var(--ht-footer-bg);
}

body.hypertechno-design-system .footer-container.footer1 .middle-footer .line {
    display: grid;
    grid-template-columns: minmax(340px, 1.3fr) repeat(2, minmax(220px, .85fr));
    gap: clamp(34px, 4vw, 64px);
    margin: 0;
}

body.hypertechno-design-system .footer-container.footer1 .middle-footer .line > [class*="col-"] {
    float: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    flex: none !important;
    -ms-flex: none !important;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-contact,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-links {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

/* Footer 1 only uses contact, information, and account links on this storefront. */
body.hypertechno-design-system .footer-container.footer1 .middle-footer .line > :nth-child(2),
body.hypertechno-design-system .footer-container.footer1 .middle-footer .line > :nth-child(5) {
    display: none;
}

body.hypertechno-design-system .footer-container.footer1 h6,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-heading {
    position: relative;
    margin: 0 0 26px !important;
    padding-bottom: 13px;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    text-transform: none;
}

body.hypertechno-design-system .footer-container.footer1 h6::after,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-heading::after {
    position: absolute;
    bottom: 0;
    inset-inline-start: 0;
    width: 34px;
    height: 3px;
    border-radius: 99px;
    background: var(--ht-color-primary);
    content: "";
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-brand {
    margin-bottom: 27px;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-brandmark {
    display: inline-flex;
    align-items: center;
    margin-bottom: 11px;
    color: #fff !important;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-decoration: none;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-brandmark:hover,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-brandmark:focus {
    color: var(--ht-footer-accent) !important;
    text-decoration: none;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-brand p {
    max-width: 48ch;
    margin: 0;
    color: var(--ht-footer-muted);
    font-size: 14px;
    line-height: 1.8;
}

body.hypertechno-design-system .footer-container.footer1 ul.list-icon,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-contact-list,
body.hypertechno-design-system .footer-container.footer1 ul.menu,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu,
body.hypertechno-design-system .footer-container.footer1 ul.social-link,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.hypertechno-design-system .footer-container.footer1 ul.list-icon li,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-contact-list li {
    display: flex;
    position: relative;
    min-height: 38px;
    margin: 0 0 12px;
    padding: 0;
    align-items: center;
    gap: 12px;
    color: var(--ht-footer-text);
    font-size: 14px;
    line-height: 1.65;
}

body.hypertechno-design-system .footer-container.footer1 ul.list-icon li .icon,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-contact-list .icon {
    display: inline-flex;
    position: static;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--ht-footer-surface);
    color: #cbd3d6 !important;
    font-size: 18px;
    font-weight: 400;
}

body.hypertechno-design-system .footer-container.footer1 ul.list-icon a,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-contact-list a {
    color: var(--ht-footer-text) !important;
    overflow-wrap: anywhere;
    text-decoration: none;
}

body.hypertechno-design-system .footer-container.footer1 ul.list-icon a:hover,
body.hypertechno-design-system .footer-container.footer1 ul.list-icon a:focus,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-contact-list a:hover,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-contact-list a:focus {
    color: #fff !important;
    text-decoration: underline;
    text-decoration-color: var(--ht-color-primary);
    text-underline-offset: 4px;
}

body.hypertechno-design-system .footer-container.footer1 ul.menu li,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu li {
    margin: 0;
    line-height: 1.5;
}

body.hypertechno-design-system .footer-container.footer1 ul.menu a,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    color: var(--ht-footer-text) !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color var(--ht-transition, .2s ease), transform var(--ht-transition, .2s ease);
}

body.hypertechno-design-system .footer-container.footer1 ul.menu a::before,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu a::before {
    color: #778287;
    content: "›";
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

html[dir="rtl"] body.hypertechno-design-system .footer-container.footer1 ul.menu a::before,
html[dir="rtl"] body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu a::before {
    transform: rotate(180deg);
}

body.hypertechno-design-system .footer-container.footer1 ul.menu a:hover,
body.hypertechno-design-system .footer-container.footer1 ul.menu a:focus,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu a:hover,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu a:focus {
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

body.hypertechno-design-system .footer-container.footer1 ul.menu a:hover::before,
body.hypertechno-design-system .footer-container.footer1 ul.menu a:focus::before,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu a:hover::before,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-menu a:focus::before {
    color: var(--ht-footer-accent);
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social {
    display: flex;
    margin-top: 22px !important;
    flex-wrap: wrap;
    gap: 9px;
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link::after,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social::after {
    display: none;
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link li,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social li {
    float: none;
    margin: 0;
    font-size: 16px;
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link li:first-child,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social li:first-child {
    margin: 0;
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link a,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid #465055;
    border-radius: 50%;
    background: transparent;
    color: #cbd3d6 !important;
    font-size: 0;
    text-decoration: none;
    transition: background-color var(--ht-transition, .2s ease), border-color var(--ht-transition, .2s ease), transform var(--ht-transition, .2s ease);
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link a:hover,
body.hypertechno-design-system .footer-container.footer1 ul.social-link a:focus,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social a:hover,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social a:focus {
    border-color: var(--ht-color-primary);
    background: var(--ht-color-primary);
    color: #fff !important;
    transform: translateY(-2px);
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link a > .fa,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social a > .fa {
    color: inherit !important;
    font-size: 16px;
    line-height: 1;
}

body.hypertechno-design-system .footer-container.footer1 ul.social-link a > .fa::before,
body.hypertechno-design-system .footer-container.footer1 .ht-footer-social a > .fa::before {
    color: inherit !important;
}

body.hypertechno-design-system .footer-container.footer1 .middle-footer .theme-footer-icon,
body.hypertechno-design-system .footer-container.footer1 .middle-footer .theme-footer-icon::before {
    color: #cbd3d6 !important;
}

body.hypertechno-design-system .footer-container.footer1 a:focus-visible {
    outline: 2px solid var(--ht-footer-accent) !important;
    outline-offset: 3px;
}

body.hypertechno-design-system .footer-container.footer1 .bottom-footer {
    padding: 20px 0;
    border-top: 1px solid var(--ht-color-primary);
    background: var(--ht-footer-bg-deep);
}

body.hypertechno-design-system .footer-container.footer1 .bottom-footer .line {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

body.hypertechno-design-system .footer-container.footer1 .bottom-footer .line > [class*="col-"] {
    float: none;
    width: auto;
    padding: 0;
}

body.hypertechno-design-system .footer-container.footer1 .bottom-footer .copyright {
    flex: 1 1 auto;
}

body.hypertechno-design-system .footer-container.footer1 .bottom-footer address {
    margin: 0;
    color: var(--ht-footer-muted);
    font-size: 13px;
    line-height: 1.7;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-column {
    display: flex;
    flex: 0 0 auto;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payments {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.25vw, 18px);
    direction: ltr;
    list-style: none;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-item {
    display: inline-flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-logo {
    display: block;
    flex: 0 0 auto;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .84;
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-logo--visa {
    width: 49px;
    height: 18px;
    background-image: url("../images/footer-payments/visa.svg");
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-logo--mastercard {
    width: 31px;
    height: 22px;
    background-image: url("../images/footer-payments/mastercard.svg");
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-logo--meeza {
    width: 37px;
    height: 24px;
    background-image: url("../images/footer-payments/meeza.svg");
}

body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-logo--fawry {
    width: 25px;
    height: 25px;
    background-image: url("../images/footer-payments/fawry.png");
    filter: grayscale(1) contrast(.88);
    opacity: .72;
}

body.hypertechno-design-system .footer-container.footer1 .switcher-store {
    margin-top: 24px;
}

@media (max-width: 991px) {
    body.hypertechno-design-system .footer-container.footer1 .middle-footer .line {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 44px;
    }

    body.hypertechno-design-system .footer-container.footer1 .middle-footer .line > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    body.hypertechno-design-system .page-footer {
        margin-top: var(--ht-page-shell-gap-mobile, 32px);
    }

    body.hypertechno-design-system.cms-index-index .page-footer {
        margin-top: 0;
    }

    body.hypertechno-design-system .footer-container.footer1 .middle-footer {
        padding: 42px 0;
    }

    body.hypertechno-design-system .footer-container.footer1 h6,
    body.hypertechno-design-system .footer-container.footer1 .ht-footer-heading {
        margin-bottom: 20px;
    }

    body.hypertechno-design-system .footer-container.footer1 .bottom-footer .line {
        display: block;
        text-align: center;
    }

    body.hypertechno-design-system .footer-container.footer1 .bottom-footer .line > :not(:first-child) {
        margin-top: 12px;
    }

    body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-column,
    body.hypertechno-design-system .footer-container.footer1 .ht-footer-payments {
        justify-content: center;
    }

    body.hypertechno-design-system .footer-container.footer1 .ht-footer-payments {
        margin-inline: auto;
    }
}

@media (max-width: 600px) {
    body.hypertechno-design-system .footer-container.footer1 .middle-footer .line {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    body.hypertechno-design-system .footer-container.footer1 .middle-footer .line > :first-child {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.hypertechno-design-system .footer-container.footer1 a {
        transition-duration: .01ms !important;
    }
}

@media (forced-colors: active) {
    body.hypertechno-design-system .footer-container.footer1 .ht-footer-payment-logo {
        filter: grayscale(1);
        opacity: 1;
    }
}
