/*
Theme Name: Lotus Import & Export
Description: Eight independent Arabic and English pages for Lotus shipping enquiries.
Version: 1.5.2
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: lotus-shipping
*/
html { scroll-padding-top: 1rem; }
body { margin: 0; font-family: "Readex Pro", sans-serif; }
#wpadminbar { position: fixed; }
.material-symbols-outlined { vertical-align: middle; flex-shrink: 0; }
header nav a[aria-current="page"] { color: #01160d; font-weight: 600; position: relative; }
header nav a[aria-current="page"]::after { content: ""; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; background: #e9c176; }
footer nav a[aria-current="page"] { font-weight: 600; color: #01160d; }
footer a[href^="mailto"], footer a[href^="tel"] { display: inline-block; }
.menu-toggle { display: none; }
.skip-link { position: fixed; top: -6rem; z-index: 100; background: #fff; color: #142b21; padding: .75rem 1rem; }
.skip-link:focus { top: 0; }
:focus-visible, label:has(.peer:focus-visible) { outline: 2px solid #8b692d; outline-offset: 3px; }
.form-error { background: #fff0ed; color: #8c2518; border-radius: .5rem; padding: 1rem; margin-bottom: 1rem; }
#channelToggleContainer button[aria-pressed="false"] { box-shadow: none; background: transparent; color: #536251; }
#channelToggleContainer button[aria-pressed="true"] { background: #fff; color: #01160d; box-shadow: 0 1px 3px #142b211f; }
#submitBtn:disabled { opacity: .65; }
.fallback { max-width: 60rem; margin: 3rem auto; padding: 1rem; }

html[dir="ltr"] .text-right { text-align: start; }
html[dir="ltr"] #lotusInquiryForm .pr-10 { padding-left: 2.5rem; padding-right: 1rem; }
html[dir="ltr"] #lotusInquiryForm .right-3 { right: auto; left: .75rem; }
html[dir="ltr"] .directional, html[dir="ltr"] .lucide-arrow-left { transform: scaleX(-1); }
.shipment-cta .text-on-primary-container, .bg-primary-container p.text-on-primary-container { color: #a1b7aa; }
.card-detail-icon { color: #78867c; }
.light-gold-icon { color: #886532; }
#lotusInquiryForm input::placeholder, #lotusInquiryForm textarea::placeholder { color: #646c65; opacity: 1; }
#lotusInquiryForm input:focus-visible, #lotusInquiryForm textarea:focus-visible, #lotusInquiryForm button:focus-visible {
    outline: 2px solid #795d2d; outline-offset: 2px;
}
#lotusInquiryForm input[aria-invalid="true"], #lotusInquiryForm textarea[aria-invalid="true"] { border-color: #a33a2a; }
.choice-ring { margin-left: 0; margin-inline-end: .35rem; flex-shrink: 0; }
input:checked + .choice-ring > span { opacity: 1; }
.shipment-cta { align-items: center; text-align: center; }
footer nav a, footer a[href^="tel:"], footer a[href^="mailto:"] { width: fit-content; }
footer a:hover { text-decoration: underline; text-underline-offset: .15em; }
.enquiry-short { display: none; }
@media (min-width: 1024px) { .about-intro .about-photo { order: -1; } }
@media (max-width: 1023px) {
    .about-intro .about-photo { max-width: 38rem; width: 100%; margin-inline: auto; }
}
@media (min-width: 1024px) { html[dir="ltr"] .lg\:text-right { text-align: left; } }
@media (max-width: 1023px) {
    header > div { height: 4.25rem !important; }
    main#content { padding-top: 4.25rem; }
    .menu-toggle { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; color: #142b21; border: 1px solid #c2c8c3; border-radius: .5rem; }
    #lotus-menu.is-open { position: absolute; top: 100%; inset-inline: 0; display: grid; gap: 0; padding: .5rem 1rem 1rem; background: #fbf9f5; box-shadow: 0 12px 20px #142b211a; }
    #lotus-menu a { display: block; padding: .75rem; }
    #lotus-menu a[aria-current="page"] { background: #efeeea; border-radius: .375rem; }
    #lotus-menu a[aria-current="page"]::after { display: none; }
}
@media (max-width: 767px) {
    header > div { gap: .35rem !important; }
    header a[data-lotus-page="alternate"] { padding: .45rem .55rem; min-height: 2.5rem; }
    header a[data-lotus-page="inquiry"]:not(nav a) { padding: .5rem .65rem; font-size: .75rem; white-space: normal; text-align: center; line-height: 1.35; }
    header a[data-lotus-page="home"] { white-space: nowrap; }
    header .menu-toggle { flex-shrink: 0; }
    main section { padding-block: 1.75rem; }
    html[lang="ar"] main p[style*="justify"] { text-align: start !important; }
    main .grid > *, footer .grid > * { min-width: 0; }
    main .grid .absolute.left-space-md.right-space-md { inset-inline: .65rem; }
    footer > div { padding-block: 2rem !important; }
    footer .grid { gap: 1.5rem; margin-bottom: 1.5rem; }
    footer .whitespace-nowrap { white-space: normal; }
    #lotusInquiryForm input:not([type=radio]):not([type=hidden]), #lotusInquiryForm textarea { font-size: 1rem; min-width: 0; }
    #lotusInquiryForm label:has(input[type=radio]) { min-height: 2.75rem; }
    .inquiry-title { font-size: 1.75rem; line-height: 1.35; }
    .about-intro { row-gap: 1.5rem; }
    .about-intro .grid-cols-3 { gap: .25rem; padding-inline: .5rem; }
    .about-intro .grid-cols-3 .text-headline-md { font-size: clamp(.875rem, 3.8vw, 1.175rem); line-height: 1.4; }
    .about-intro .grid-cols-3 span { overflow-wrap: anywhere; }
    header .enquiry-long { display: none; }
    header .enquiry-short { display: inline; }
    footer nav a, footer a[href^="mailto:"], footer a[href^="tel:"] { padding-block: .25rem; }
    #lotusInquiryForm .flex.items-center.justify-between { flex-wrap: wrap; gap: .25rem; }
    .home-assurances { gap: .75rem; }
}
@media (max-width: 450px) {
    html[dir="ltr"] header > div { padding-inline: .65rem; }
    header a[data-lotus-page="alternate"] svg { display: none; }
    .home-assurances { display: flex; flex-wrap: wrap; }
    #lotusInquiryForm { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (min-width: 768px) { .lotus-mobile-only { display: none !important; } }
@media (max-width: 767px) {
    .lotus-desktop-only { display: none !important; }
    [data-lotus-m-width] { width: var(--lotus-m-width) !important; }
    [data-lotus-m-height] { height: var(--lotus-m-height) !important; }
    [data-lotus-m-font-weight] { font-weight: var(--lotus-m-font-weight) !important; }
    [data-lotus-m-line-height] { line-height: var(--lotus-m-line-height) !important; }
    [data-lotus-m-font-size] { font-size: var(--lotus-m-font-size) !important; }
    [data-lotus-m-font-style] { font-style: var(--lotus-m-font-style) !important; }
    [data-lotus-m-color] { color: var(--lotus-m-color) !important; }
    [data-lotus-m-background-color] { background-color: var(--lotus-m-background-color) !important; }
    [data-lotus-m-text-decoration] { text-decoration: var(--lotus-m-text-decoration) !important; }
}
.lotus-masthead { position: relative; z-index: 50; }
.lotus-masthead header { position: relative; top: auto; }
.lotus-masthead + main#content { padding-top: 0; }
.lotus-topbar { width: 100%; background: #142b21; color: #fbf9f5; }
.lotus-topbar-inner { min-height: 36px; display: flex; flex-direction: row-reverse; align-items: center; justify-content: space-between; gap: 12px; }
.lotus-networks, .lotus-contacts, .lotus-contacts a { display: flex; align-items: center; }
.lotus-networks { gap: 2px; }
.lotus-networks a { display: grid; place-items: center; min-width: 30px; min-height: 32px; color: #e9c176; }
.lotus-contacts { gap: 20px; }
.lotus-contacts a { gap: 6px; min-height: 32px; font-size: .78rem; line-height: 1.35; }
.lotus-contacts .material-symbols-outlined { font-size: 16px; color: #e9c176; }
.lotus-topbar a[href]:hover { color: white; text-decoration: underline; }
.lotus-topbar a:focus-visible { outline-color: #e9c176; outline-offset: 0; }
@media (max-width: 560px) {
    .lotus-contacts { flex-direction: column; align-items: flex-start; gap: 0; padding-block: 3px; min-width: 0; }
    .lotus-contacts a { min-height: 22px; font-size: .75rem; }
    .lotus-contacts bdi { overflow-wrap: anywhere; }
    .lotus-networks { flex-shrink: 0; }
    .lotus-networks a { min-height: 40px; }
}
.lotus-captcha { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.75rem; margin-bottom:1rem; padding:.75rem 1rem; border:1px solid #c2c8c3; border-radius:.75rem; background:#f5f3ef; color:#142b21; }
.lotus-captcha bdi { display:inline-block; font-weight:600; margin-inline:.35rem; }
#lotus-answer { width:4rem; min-height:2.75rem; text-align:center; border:1px solid #89968d; border-radius:.4rem; background:white; }

.lotus-back-top {
    position: fixed;
    right: max(1rem, env(safe-area-inset-right));
    bottom: calc(8.5rem + env(safe-area-inset-bottom));
    z-index: 40;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #142b21;
    color: #e9c176;
    border: 1px solid #e9c176;
    box-shadow: 0 3px 12px #142b2126;
}
.lotus-back-top[hidden] { display: none; }
.lotus-back-top:hover { color: #fff; }

html[lang="en"] :is(main, header, footer, .lotus-topbar, #root) :is(p, h1, h2, h3, h4, h5, h6, li, label, a, button, blockquote, span:not(.material-symbols-outlined)),
html[lang="en"] :is(main, footer, #root) div:not([class*="flex"]):not([class*="grid"]) { text-align: justify !important; text-align-last: auto; }
