/*
===============================================================================
ONMOVE DIRECT - SHARED RESPONSIVE STYLES
File: responsive.css
===============================================================================
*/

:root {
    --om-navy: #102a43;
    --om-blue: #1967d2;
    --om-blue-dark: #1557b0;
    --om-text: #102a43;
    --om-muted: #627d98;
    --om-bg: #f5f7fa;
    --om-border: #d9e2ec;
    --om-success: #16834a;
    --om-danger: #c62828;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 320px;
    font-family: Inter, Arial, Helvetica, sans-serif;
    color: var(--om-text);
    background: #fff;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; }
a, button, input, select, textarea { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(25, 103, 210, .22);
    outline-offset: 2px;
}

.container {
    width: min(1180px, calc(100% - 30px));
    margin: 0 auto;
}

/* Site header used by the existing customer pages. */
.site-header {
    width: 100%;
    position: relative;
    z-index: 20;
    background: var(--om-navy);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
}
.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    color: #fff;
    font-size: 25px;
    font-weight: 950;
    line-height: 1;
    letter-spacing: -.045em;
    text-decoration: none;
}
.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px;
}
.main-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 13px;
    border-radius: 9px;
    color: rgba(255,255,255,.9);
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
    transition: background-color .18s ease, color .18s ease;
}
.main-nav a:hover { background: rgba(255,255,255,.09); color: #fff; }

/* Shared buttons. */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease,
                color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .65; cursor: not-allowed; transform: none; }
.btn-full { width: 100%; }
.btn-primary { background: var(--om-blue); color: #fff; }
.btn-primary:hover { background: var(--om-blue-dark); }
.btn-secondary { border-color: #cbd5e1; background: #fff; color: var(--om-navy); }
.btn-secondary:hover { background: #f8fafc; border-color: #94a3b8; }

/* Shared alerts. */
.alert { margin: 0 0 18px; padding: 13px 15px; border-radius: 10px; line-height: 1.5; }
.alert-error { border: 1px solid #fecaca; background: #fff1f2; color: #991b1b; }
.alert-success { border: 1px solid #bbf7d0; background: #f0fdf4; color: #166534; }

/* Customer authentication pages. */
.auth-page { width: 100%; min-height: calc(100vh - 145px); padding: 38px 0 55px; background: var(--om-bg); }
.auth-container { width: min(500px, calc(100% - 30px)); margin: 0 auto; }
.auth-card { padding: 28px; border: 1px solid var(--om-border); border-radius: 16px; background: #fff; box-shadow: 0 10px 28px rgba(16,42,67,.07); }
.auth-header { margin-bottom: 24px; text-align: center; }
.auth-header h1 { margin: 0 0 8px; color: var(--om-navy); font-size: clamp(28px,5vw,36px); line-height: 1.12; letter-spacing: -.035em; }
.auth-header p { margin: 0; color: var(--om-muted); }
.auth-form { margin: 0; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; margin-bottom: 7px; color: var(--om-navy); font-size: 14px; font-weight: 800; }
.form-group input, .form-group select, .form-group textarea { width: 100%; min-height: 50px; padding: 11px 13px; border: 1px solid #bcccdc; border-radius: 10px; background: #fff; color: var(--om-text); }
.form-group textarea { min-height: 140px; resize: vertical; }
.password-label { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 7px; }
.password-label label { margin: 0; }
.password-label a { color: var(--om-blue); font-size: 13px; font-weight: 700; text-decoration: none; }
.password-input-wrap { position: relative; }
.password-input-wrap input { padding-right: 78px; }
.password-toggle { position: absolute; top: 50%; right: 7px; min-width: 60px; min-height: 36px; padding: 5px 9px; border: 0; border-radius: 7px; background: #eef3f7; color: var(--om-navy); font-size: 13px; font-weight: 800; transform: translateY(-50%); cursor: pointer; }
.auth-divider { position: relative; display: flex; justify-content: center; margin: 25px 0 20px; }
.auth-divider::before { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--om-border); content: ""; }
.auth-divider span { position: relative; z-index: 1; padding: 0 12px; background: #fff; color: #829ab1; font-size: 12px; font-weight: 900; }
.register-prompt { text-align: center; }
.register-prompt p { margin: 0 0 10px; color: var(--om-muted); font-size: 14px; }

/* Product-page inquiry / chat buttons. */
.pdp-contact-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin: 14px 0 22px;
}
.pdp-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 0;
    min-height: 50px;
    padding: 11px 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .92rem;
    font-weight: 850;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background-color .18s ease, border-color .18s ease,
                color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.pdp-contact-button i { flex: 0 0 auto; }
.pdp-contact-button:hover { transform: translateY(-1px); }
.pdp-contact-button:active { transform: translateY(0); }
.pdp-contact-inquiry { border-color: #cbd5e1; background: #fff; color: var(--om-navy); }
.pdp-contact-inquiry:hover { border-color: var(--om-blue); background: #f7fbff; box-shadow: 0 5px 16px rgba(25,103,210,.08); }
.pdp-contact-chat { background: var(--om-navy); color: #fff; }
.pdp-contact-chat:hover { background: #173f63; box-shadow: 0 5px 16px rgba(16,42,67,.12); }

/* Customer site footer. */
.site-footer { padding: 25px 0; background: var(--om-navy); color: rgba(255,255,255,.78); }
.site-footer p { margin: 0; text-align: center; font-size: 13px; }

@media (max-width: 900px) {
    .header-inner { align-items: flex-start; flex-direction: column; gap: 10px; }
    .main-nav { width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
    .main-nav a { flex: 0 0 auto; }
}

@media (max-width: 700px) {
    .container { width: min(100% - 18px, 700px); }
    .auth-page { padding-top: 22px; }
    .auth-container { width: min(100% - 18px, 500px); }
    .auth-card { padding: 21px; border-radius: 14px; }
    .pdp-contact-actions { grid-template-columns: 1fr; gap: 9px; }
    .pdp-contact-button { width: 100%; }
}

@media (max-width: 480px) {
    .logo { font-size: 22px; }
    .main-nav { gap: 2px; }
    .main-nav a { min-height: 40px; padding: 8px 10px; font-size: 13px; }
    .auth-card { padding: 18px; }
    .password-label { flex-direction: column; align-items: flex-start; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
