/*----------------------------------------------------------------------------------------------------------------------
Custom

Loaded after style.css. Holds the few base rules that used to come from Bootstrap (now removed),
plus the Arabic font and the right-to-left flips.
----------------------------------------------------------------------------------------------------------------------*/

/* -- Base (was Bootstrap) */

*, *::before, *::after {
    box-sizing: border-box;
}

.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 768px) {
    .container { width: 750px; }
}

@media (min-width: 992px) {
    .container { width: 970px; }
}

@media (min-width: 1200px) {
    .container { width: 1170px; }
}

h1, h2 {
    margin-top: 0;
}

/* -- Arabic typography */

body, html {
    font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
}

/* -- Header
   The brand is the header's only cell, so it spans the full width and the
   alignment alone decides which side the logo sits on. */

.page-wrapper header .brand {
    text-align: left;
}

/* -- Store badges
   Coming-soon placeholders, so there is no link on them yet. pointer-events stays
   off for the same reason the header and the headline turn it off: the drawing
   canvas sits underneath and needs to keep receiving the cursor. */

footer {
    bottom: 1.875rem;
}

.store-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .9375rem;
    pointer-events: none;
}

.store-badges img {
    display: block;
    width: 11.25rem;
    height: auto;
}

@media (max-width: 480px) {
    .store-badges img {
        width: 9.0625rem;
    }
}

/* -- Legal links
   Unlike the badges above, these must stay clickable, so pointer-events is left
   on. They sit in the drawing canvas's way only for the width of the text. */

.legal-links {
    margin-top: .875rem;
    font-size: .75rem;
    line-height: 1.6;
    text-align: center;
}

.legal-links a {
    color: #000;
    opacity: .45;
    text-decoration: none;
    padding: .25rem .125rem;
    transition: opacity .3s ease;
}

.legal-links a:hover,
.legal-links a:focus {
    opacity: .9;
    text-decoration: underline;
}

.legal-links span {
    opacity: .3;
    margin: 0 .375rem;
}

/* -- Temporarily hidden
   The footer social links are kept in the markup, just not shown.
   Delete this rule to bring them back. */

footer .social-icons {
    display: none;
}
