:root {
    --bg: #f8fafc;
    --surface: #ffffff;
    --surface-strong: #f1f5f9;
    --text: #102a43;
    --muted: #617d98;
    --primary: #0f4c81;
    --primary-soft: #dce8f8;
    --accent: #f97316;
    --accent-soft: #ffe6d1;
    --radius: 24px;
    --shadow: 0 24px 70px rgba(16, 42, 67, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
.button {
    border: none;
    cursor: pointer;
    font: inherit;
}

.layout {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
}

header {
    padding: 24px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.logo {
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.04em;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    white-space: nowrap;
    gap: 6px;
}

.logo-img {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.nav-links a:hover {
    color: var(--primary);
}

.cart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(16, 42, 67, 0.08);
    color: var(--text);
    font-weight: 700;
}

.cart-link.is-adding {
    transform: scale(1.05);
    color: var(--primary);
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
}

.nav-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--primary);
    color: white;
    border-radius: 999px;
    transition: transform 0.2s ease;
}

.nav-action:hover {
    transform: translateY(-2px);
}

.site-menu-toggle {
    position: absolute;
    left: -9999px;
}

.site-menu-btn,
.site-menu-close,
.site-menu-overlay {
    display: none;
}

.site-menu-btn,
.site-menu-close {
    cursor: pointer;
}

.profile-menu-toggle {
    position: absolute;
    left: -9999px;
}

.profile-menu-btn,
.profile-menu-close,
.profile-menu-overlay {
    display: none;
}

.profile-menu-btn,
.profile-menu-close {
    cursor: pointer;
}

.cart-page {
    padding: 24px 0 64px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.cart-items,
.cart-summary {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.shipping-card {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(16, 42, 67, 0.08);
}

.shipping-form {
    display: grid;
    gap: 12px;
}

.shipping-form label {
    display: grid;
    gap: 6px;
    font-weight: 600;
    color: var(--text);
}

.shipping-form input {
    padding: 12px 14px;
    border: 1px solid rgba(16, 42, 67, 0.12);
    border-radius: 12px;
    font: inherit;
}

.shipping-message {
    margin: 0 0 12px;
    color: var(--primary);
    font-weight: 600;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.cart-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.cart-item-info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
}

.cart-item strong {
    display: block;
}

.cart-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.cart-controls input[type="number"] {
    width: 58px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid rgba(16, 42, 67, 0.12);
}

.cart-controls button,
.checkout-btn,
.remove-btn {
    border: none;
    border-radius: 999px;
    padding: 8px 12px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 600;
}

.remove-btn {
    background: #fee2e2;
    color: #b91c1c;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    color: var(--muted);
}

.summary-row.total {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    padding-top: 12px;
    border-top: 1px solid rgba(16, 42, 67, 0.08);
}

.payment-option {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0;
    color: var(--text);
}

.payment-page {
    padding: 24px 0 64px;
}

.payment-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 24px;
    align-items: start;
}

.payment-panel {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.payment-method-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 14px;
}

.payment-line-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.payment-line-item strong {
    white-space: nowrap;
}

.payment-note {
    margin: 20px 0;
    color: var(--muted);
}

.payment-launch {
    width: 100%;
    padding: 14px 18px;
    margin-top: 8px;
}

.payment-back-link {
    display: inline-flex;
    margin-top: 16px;
    color: var(--primary);
    font-weight: 700;
}

.cart-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.profile-page {
    padding: 24px 0 64px;
}

.profile-card {
    background: var(--surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.profile-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-soft);
}

.profile-form,
.profile-notifications,
.profile-orders {
    margin-top: 24px;
}

.profile-form label,
.profile-form textarea,
.profile-form input {
    display: block;
    width: 100%;
    margin-top: 8px;
}

.logout-btn {
    display: inline-flex;
    margin-top: 20px;
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: var(--primary);
    font-weight: 700;
}

.profile-form input,
.profile-form textarea {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(16, 42, 67, 0.12);
    font: inherit;
}

.alert-success {
    padding: 12px 14px;
    border-radius: 12px;
    background: #e8f7ed;
    color: #166534;
    margin-bottom: 16px;
}

.cart-form {
    margin-top: 12px;
}

.cart-form .add-to-cart {
    width: 100%;
}

.page-header {
    padding: 48px 0 32px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.75rem;
    margin: 0 0 16px;
}

.page-header p {
    color: var(--muted);
    max-width: 640px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .site-header {
        padding: 14px 0;
    }

    .site-header .nav-row {
        position: relative;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .site-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(16, 42, 67, 0.18);
        border-radius: 10px;
        background: #fff;
        color: var(--text);
        font-size: 22px;
    }

    .site-nav-links {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 35;
        width: min(84vw, 320px);
        height: 100vh;
        margin-left: 0;
        padding: 18px;
        background: var(--surface);
        box-shadow: -16px 0 30px rgba(16, 42, 67, 0.22);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        transform: translateX(105%);
        transition: transform 0.22s ease;
    }

    .site-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        width: 34px;
        height: 34px;
        font-size: 28px;
        line-height: 1;
        color: var(--text);
    }

    .site-nav-links .nav-action {
        justify-content: center;
    }

    .site-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(15, 23, 42, 0.45);
    }

    .site-menu-toggle:checked + .site-header .site-nav-links {
        transform: translateX(0);
    }

    .site-menu-toggle:checked + .site-header + .site-menu-overlay {
        display: block;
    }

    .profile-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-avatar {
        width: 78px;
        height: 78px;
    }

    .profile-form {
        display: grid;
        gap: 8px;
    }

    .profile-card {
        padding: 18px;
    }

    .profile-header {
        padding: 14px 0;
    }

    .profile-header .nav-row {
        position: relative;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
    }

    .profile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border: 1px solid rgba(16, 42, 67, 0.18);
        border-radius: 10px;
        background: #fff;
        font-size: 22px;
        color: var(--text);
    }

    .profile-nav-links {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 35;
        width: min(84vw, 320px);
        height: 100vh;
        background: var(--surface);
        box-shadow: -16px 0 30px rgba(16, 42, 67, 0.22);
        padding: 18px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        margin-left: 0;
        transform: translateX(105%);
        transition: transform 0.22s ease;
    }

    .profile-menu-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        align-self: flex-end;
        width: 34px;
        height: 34px;
        font-size: 28px;
        line-height: 1;
        color: var(--text);
    }

    .profile-nav-links .nav-action {
        justify-content: center;
    }

    .profile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 30;
        background: rgba(15, 23, 42, 0.45);
    }

    .profile-menu-toggle:checked ~ .profile-header .profile-nav-links {
        transform: translateX(0);
    }

    .profile-menu-toggle:checked ~ .profile-menu-overlay {
        display: block;
    }
}

@media (max-width: 900px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }

    .payment-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-row {
        justify-content: center;
        text-align: center;
    }

    .nav-links {
        justify-content: center;
        margin-left: 0;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .cart-controls {
        width: 100%;
        justify-content: space-between;
    }

    .page-header h1 {
        font-size: 2.1rem;
    }
}

.hero {
    padding: 72px 0 64px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
}

.hero-copy {
    max-width: 540px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 10px 16px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-copy h1 {
    font-size: clamp(2.75rem, 4vw, 4.5rem);
    margin: 0;
    line-height: 0.95;
}

.hero-copy p {
    margin: 24px 0 32px;
    color: var(--muted);
    font-size: 1rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.button-primary,
.button-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 16px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 18px 40px rgba(15, 76, 129, 0.18);
}

.button-primary:hover,
.button-secondary:hover {
    transform: translateY(-2px);
}

.button-secondary {
    background: transparent;
    border: 1px solid rgba(16, 42, 67, 0.12);
    color: var(--text);
}

.hero-visual {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    border-radius: 32px;
    background: linear-gradient(180deg, #eff5fb 0%, #ffffff 100%);
    box-shadow: var(--shadow);
}

.hero-visual .image-card {
    position: absolute;
    width: calc(100% - 64px);
    max-width: 560px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 32px;
    overflow: hidden;
    background: white;
    box-shadow: 0 30px 60px rgba(16, 42, 67, 0.12);
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 48px;
}

.feature-card {
    padding: 22px 24px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(16, 42, 67, 0.06);
}

.feature-card strong {
    display: block;
    margin-bottom: 8px;
    color: var(--text);
}

.section {
    padding: 64px 0;
}

.section h2 {
    font-size: 2.4rem;
    margin: 0 0 16px;
}

.section p.lead {
    max-width: 640px;
    color: var(--muted);
    margin: 0 0 36px;
}

.product-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
    background: var(--surface);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(16, 42, 67, 0.12);
}

.product-card .product-image {
    position: relative;
    padding-top: 68%;
    background: linear-gradient(180deg, #eef7ff 0%, #ffffff 100%);
}

.product-card .product-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card .product-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-card h3 {
    margin: 0;
    font-size: 1.05rem;
}

.product-card span,
.product-card p {
    color: var(--muted);
    font-size: 0.95rem;
    margin: 0;
}

.product-card .price {
    margin-top: auto;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.15rem;
}

.product-card .add-to-cart {
    margin-top: 16px;
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    transition: background 0.2s ease;
}

.product-card .add-to-cart:hover {
    background: #0a3566;
}

.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 18px;
    border: 1px solid rgba(16, 42, 67, 0.2);
    border-radius: 999px;
    background: transparent;
    color: var(--text);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.brand-strip,
.testimonial-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: center;
}

.brand-item,
.testimonial-card {
    padding: 20px 22px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: inset 0 0 0 1px rgba(16, 42, 67, 0.05);
}

.brand-item {
    text-align: center;
    color: var(--muted);
    font-weight: 600;
}

.testimonial-card p {
    margin: 0 0 18px;
    color: var(--muted);
}

.testimonial-card .author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card .author div {
    display: grid;
}

.testimonial-card strong {
    font-size: 1rem;
    margin-bottom: 2px;
}

.newsletter {
    padding: 48px 40px;
    border-radius: 32px;
    background: linear-gradient(90deg, #0f4c81 0%, #2368ad 100%);
    color: white;
    box-shadow: var(--shadow);
}

.newsletter h2 {
    color: white;
}

.newsletter-form {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
}

.newsletter-form input {
    width: 100%;
    padding: 18px 20px;
    border-radius: 18px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 18px 24px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--primary);
    font-weight: 700;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 64px 0;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-card {
    display: flex;
    gap: 16px;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
}

.info-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.contact-form {
    background: var(--surface);
    padding: 32px;
    border-radius: 28px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    margin: 0 0 24px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(16, 42, 67, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.submit-btn:hover {
    background: #0a3566;
    transform: translateY(-2px);
}

.job-listings {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.job-card {
    background: var(--surface);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.job-info h3 {
    margin: 0 0 8px;
    color: var(--primary);
}

.job-info p {
    margin: 0 0 4px;
}

.job-type {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary-soft);
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.apply-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.apply-btn:hover {
    background: #0a3566;
}

.press-releases {
    display: grid;
    gap: 24px;
    margin: 32px 0;
}

.press-card {
    background: var(--surface);
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary);
}

.press-card .date {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.press-card h3 {
    margin: 0 0 12px;
    color: var(--text);
}

.press-card p {
    margin: 0 0 16px;
}

.press-card a {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.press-card a:hover {
    text-decoration: underline;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin: 32px 0;
}

.value-card {
    background: var(--surface);
    padding: 24px;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.value-card h3 {
    margin: 0 0 12px;
    color: var(--primary);
}

.value-card p {
    margin: 0;
}

.faq-section {
    display: grid;
    gap: 20px;
    margin: 32px 0;
}

.faq-item {
    background: var(--surface);
    padding: 20px;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(16, 42, 67, 0.06);
}

.faq-item h4 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 1.05rem;
}

.faq-item p {
    margin: 0;
}

.steps {
    background: var(--surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin: 20px 0;
}

.step {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.step:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 8px;
    color: var(--text);
}

.step-content p {
    margin: 0;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 120px);
    padding: 32px 0;
}

.auth-card {
    background: var(--surface);
    padding: 48px;
    border-radius: 28px;
    box-shadow: var(--shadow);
    max-width: 420px;
    width: 100%;
}

.auth-card h1 {
    font-size: 2rem;
    margin: 0 0 8px;
}

.auth-card .subtitle {
    color: var(--muted);
    margin-bottom: 32px;
    font-size: 0.95rem;
}

.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.alert-error {
    background: #fde8e8;
    color: var(--error);
    border: 1px solid #f5c8c7;
}

.alert-success {
    background: #e6f7ed;
    color: var(--success);
    border: 1px solid #c6e9d8;
}

.auth-card .form-group {
    margin-bottom: 20px;
}

.auth-card .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.auth-card .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(16, 42, 67, 0.1);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-card .form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-soft);
}

.auth-card .form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.auth-card .form-row .remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-card .form-row input[type="checkbox"] {
    cursor: pointer;
}

.auth-card .form-row a {
    color: var(--primary);
    font-weight: 600;
}

.auth-card .form-row a:hover {
    text-decoration: underline;
}

.back-link {
    color: var(--primary);
    font-weight: 600;
}

.back-link:hover {
    text-decoration: underline;
}

.auth-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--muted);
    font-size: 0.95rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.success-message {
    text-align: center;
}

.success-message h2 {
    color: var(--success);
    margin-top: 0;
}

.success-message p {
    color: var(--muted);
    margin-bottom: 24px;
}

.success-btn {
    display: inline-block;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-weight: 600;
}

.success-btn:hover {
    background: #0a3566;
}

footer {
    padding: 48px 0 32px;
    color: var(--muted);
}

footer .footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
}

footer h3 {
    margin-top: 0;
    font-size: 1.05rem;
    color: var(--text);
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

footer ul li a:hover {
    color: var(--primary);
}

.cart-page {
    padding: 32px 0 64px;
}

.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
}

.cart-items,
.summary-card {
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 24px;
}

.cart-items h2,
.summary-card h2 {
    margin-top: 0;
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(16, 42, 67, 0.08);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 16px;
}

.cart-item strong {
    display: block;
    margin-bottom: 4px;
}

.cart-item span {
    color: var(--muted);
    font-size: 0.95rem;
}

.summary-card .total-row {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
}

.payment-options {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.payment-option {
    padding: 12px 14px;
    border: 1px solid rgba(16, 42, 67, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.empty-cart {
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: var(--surface);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.mobile-menu {
    display: none;
}

.rating {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    color: var(--accent);
}

@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .feature-strip,
    .product-grid,
    .brand-strip,
    .testimonial-list,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }

    .product-grid {
        grid-template-columns: 1fr 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .job-card {
        flex-direction: column;
        gap: 16px;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .layout {
        width: calc(100% - 24px);
    }

    .nav-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
    }

    .site-header .nav-row {
        flex-direction: row;
        align-items: center;
    }

    .hero {
        padding-top: 48px;
    }

    .feature-strip,
    .product-grid,
    .brand-strip,
    .testimonial-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .hero-copy h1 {
        font-size: 2.75rem;
    }

    .auth-card {
        padding: 32px;
    }

    header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .contact-form {
        padding: 20px;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .product-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .filter-bar {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }
}
