:root {
    --brand-blue: #005eab;
    --brand-blue-dark: #173a6a;
    --accent: #e2211c;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --bg: #f5f6f8;
    --white: #ffffff;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    --maxw: 1240px;
}

/* =========================
   RESET / BASE
========================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg);
    font-size: 16px;
    line-height: 1.5;
}

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

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

section {
    padding: 56px 0;
}

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 900;
    margin: 0 0 14px;
}

.lead {
    text-align: center;
    color: var(--muted);
    max-width: 850px;
    margin: 0 auto 28px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.prose {
    padding: 24px;
}

/* =========================
   HEADER / NAV
========================= */

.topbar {
    background: var(--white);
    border-bottom: 6px solid var(--brand-blue);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    min-height: 94px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
}

.logo,
.menu-logo,
.footer-logo,
.pd-direct-logo-card img {
    display: block;
    width: 220px;
    height: auto;
    max-width: 100%;
    min-width: 120px;
    object-fit: contain;
}

.logo {
    max-height: 70px;
}

.menu-logo {
    max-height: 52px;
}

.footer-logo {
    max-height: 56px;
    margin: 0 auto 12px;
}

.navlinks {
    display: flex;
    align-items: stretch;
    gap: 4px;
    height: 94px;
}

.navlinks a {
    display: flex;
    align-items: center;
    padding: 0 16px;
    font-weight: 700;
    color: #1f2937;
}

.navlinks a:hover,
.navlinks a.active {
    background: var(--brand-blue);
    color: #fff;
}

/* Quote count in nav */
.quote-nav-link {
    position: relative;
    gap: 8px;
}

.quote-cart-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}

.navlinks .quote-cart-count {
    margin-left: 6px;
}

/* =========================
   MOBILE SIDE MENU
========================= */

.menu-btn {
    display: none;
    background: var(--brand-blue);
    color: #fff;
    border: 0;
    font-size: 28px;
    line-height: 1;
    padding: 8px 12px;
    cursor: pointer;
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 200;
}

.overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.sidemenu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 201;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.16);
}

.sidemenu.open {
    transform: translateX(0);
}

.panel-head {
    min-height: 82px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.close-btn {
    background: transparent;
    border: 0;
    font-size: 38px;
    cursor: pointer;
    line-height: 1;
}

.bluebar {
    height: 5px;
    background: var(--brand-blue);
}

.panel-links {
    display: flex;
    flex-direction: column;
}

.panel-links a {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}

.panel-links a:hover {
    background: #f3f4f6;
    color: var(--brand-blue);
}

.panel-links .quote-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.panel-links .quote-cart-count {
    margin-left: auto;
}

/* =========================
   BUTTONS / GLOBAL UI
========================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    text-align: center;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    filter: brightness(0.95);
}

.btn-outline {
    background: #fff;
    color: var(--brand-blue);
    border: 2px solid var(--brand-blue);
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: #fff;
}

.btn-light-outline {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.btn-light-outline:hover {
    background: #fff;
    color: var(--brand-blue-dark);
}

.alert {
    padding: 12px 16px;
    margin-bottom: 18px;
    border: 1px solid transparent;
    font-weight: 700;
}

.alert.success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #a7f3d0;
}

.alert.error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #fecaca;
}

/* =========================
   FORMS
========================= */

form {
    margin: 0;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    padding: 11px 13px;
    font: inherit;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 4px rgba(0, 94, 171, 0.15);
}

label {
    display: block;
    font-weight: 800;
    margin: 12px 0 6px;
}

textarea {
    min-height: 140px;
    resize: vertical;
}

.grid,
.form-grid {
    display: grid;
    gap: 14px;
}

.grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.grid-2,
.form-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid.three {
    grid-template-columns: 1.4fr .5fr 1.4fr;
}

.form-grid.four {
    grid-template-columns: 1.2fr 1fr .75fr .8fr;
}

.actions {
    margin-top: 18px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

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

/* =========================
   LEGACY LANDING SUPPORT
========================= */

.hero {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    background:
        linear-gradient(rgba(23, 58, 106, 0.88), rgba(23, 58, 106, 0.68)),
        url('/img/priefertdirect/banner-1.jpg') center / cover no-repeat;
}

.hero .inner {
    max-width: 760px;
    padding: 46px 28px;
    border: 4px solid #fff;
}

.hero h1 {
    margin: 0 0 12px;
    font-size: clamp(30px, 5vw, 54px);
    line-height: 1.05;
    font-weight: 900;
}

.hero p {
    margin: 0 auto 22px;
    max-width: 620px;
    color: #dbeafe;
    font-size: 18px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 980px;
    margin: 28px auto 0;
}

.step {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.step-media {
    aspect-ratio: 16 / 9;
    background: #eef2f7;
}

.step-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.step-body {
    padding: 18px;
    text-align: center;
}

.step-title {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 900;
}

.step-note {
    margin: 0;
    color: var(--muted);
}

/* =========================
   PRIEFERT DIRECT LANDING PAGE
========================= */

.pd-direct-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(rgba(8,31,61,.82), rgba(8,31,61,.65)),
        url('/img/priefertdirect/banner-1.jpg') center center/cover no-repeat;
    color: #fff;
    overflow: hidden;
    padding: 50px 0;
}

.pd-direct-hero-inner {
    position: relative;
    z-index: 2;
}

.pd-direct-content {
    max-width: 720px;
    padding: 28px 30px;
    border-left: 6px solid var(--accent);
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(2px);
}

.pd-direct-logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 18px 26px;
    min-width: 240px;
    min-height: 96px;
    margin-bottom: 26px;
    overflow: hidden;
}

.pd-direct-logo-card img {
    width: 260px;
    max-height: 80px;
    min-height: 50px;
}

.pd-direct-content h1 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.pd-direct-content h1 span {
    display: block;
}

.pd-direct-content p {
    margin: 0 0 20px;
    max-width: 650px;
    font-size: clamp(15px, 2vw, 18px);
    line-height: 1.6;
    color: #e5eefb;
}

.pd-direct-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.pd-direct-about,
.pd-direct-banner {
    background: #f5f6f8;
}

.pd-direct-intro {
    background: #fff;
    border: 1px solid var(--border);
    padding: 36px;
    margin-bottom: 24px;
}

.pd-direct-intro h2,
.pd-direct-section-heading h2,
.pd-direct-banner-card h2 {
    margin: 0 0 12px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.08;
    font-weight: 900;
    color: var(--brand-blue-dark);
}

.pd-direct-intro p {
    margin: 0;
    max-width: 1000px;
    font-size: 18px;
    line-height: 1.7;
    color: #374151;
}

.pd-direct-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pd-direct-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 28px;
    min-height: 220px;
}

.pd-direct-card span {
    display: block;
    margin-bottom: 18px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .14em;
}

.pd-direct-card h3 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--brand-blue-dark);
}

.pd-direct-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.pd-direct-how {
    background: #fff;
}

.pd-direct-section-heading {
    text-align: center;
    margin-bottom: 34px;
}

.pd-direct-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
}

.pd-direct-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.pd-direct-step {
    border: 1px solid var(--border);
    background: #f9fafb;
    overflow: hidden;
}

.pd-direct-step-img {
    aspect-ratio: 16 / 10;
    background: #eef2f7;
}

.pd-direct-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-direct-step-body {
    padding: 20px;
}

.pd-direct-step-body h3 {
    margin: 0 0 8px;
    font-size: 21px;
    font-weight: 900;
    color: var(--brand-blue-dark);
}

.pd-direct-step-body p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}

.pd-direct-banner-card {
    background: var(--brand-blue-dark);
    color: #fff;
    padding: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.pd-direct-banner-card h2 {
    color: #fff;
}

.pd-direct-banner-card p {
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
}



/* Landing contact form */
.pd-direct-contact {
    background: #f5f6f8;
}

.pd-direct-contact .pd-direct-intro {
    margin-bottom: 0;
}

.pd-contact-form {
    margin-top: 30px;
}

.pd-contact-form .form-grid {
    margin-bottom: 18px;
}

.pd-contact-form label {
    margin-bottom: 8px;
    font-weight: 800;
    color: var(--brand-blue-dark);
}

.pd-contact-form input,
.pd-contact-form textarea {
    min-height: 46px;
}

.pd-contact-form textarea {
    min-height: 160px;
}

.pd-contact-form .actions {
    margin-top: 26px;
}

/* =========================
   PRODUCT CATALOG PAGE
========================= */

.products-page {
    background: #f5f6f8;
    padding: 42px 0 64px;
}

.products-header {
    margin-bottom: 26px;
}

.products-header h1 {
    margin: 0 0 6px;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 900;
    color: #111827;
}

.products-header p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

.products-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.products-sidebar {
    position: sticky;
    top: 118px;
}

.filter-card {
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    padding: 16px;
}

.filter-title {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--brand-blue-dark);
}

.filter-link {
    display: block;
    padding: 9px 10px;
    margin-bottom: 2px;
    font-size: 14px;
    line-height: 1.25;
    border-left: 4px solid transparent;
    color: #1f2937;
}

.filter-link:hover {
    background: #f3f4f6;
}

.filter-link.active {
    background: #eef5ff;
    border-left-color: var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 900;
}

.products-main {
    min-width: 0;
}

.products-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.products-count {
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.products-search {
    display: flex;
    gap: 8px;
    width: min(430px, 100%);
}

.products-search input {
    height: 42px;
}

.products-search .btn {
    height: 42px;
    min-height: 42px;
}

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

.modern-product-card {
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.035);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.modern-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.modern-product-image {
    aspect-ratio: 1 / 1;
    width: 100%;
    display: grid;
    place-items: center;
    background: #fff;
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.modern-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modern-product-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.modern-product-id {
    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-blue);
    margin-bottom: 8px;
}

.modern-product-body h2 {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 900;
    color: #111827;
}

.modern-product-body h2 a:hover {
    color: var(--brand-blue);
}

.modern-product-body p {
    margin: 0 0 12px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.35;
}

.animal-dots {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-top: auto;
    margin-bottom: 12px;
}

.animal-dot {
    width: 10px;
    height: 10px;
    display: inline-block;
    border-radius: 999px;
    background: var(--brand-blue);
}

.animal-dot:nth-child(2) {
    background: var(--accent);
}

.product-btn {
    width: 100%;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
}

.empty-products {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid var(--border);
    padding: 42px 20px;
    text-align: center;
}

.empty-products h2 {
    margin: 0 0 8px;
    font-size: 24px;
}

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

/* =========================
   PAGINATION
========================= */

.pagination-wrap {
    margin-top: 30px;
}

.pagination-wrap nav {
    display: flex;
    justify-content: center;
}

.pagination-wrap .pagination {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 0;
}

.pagination-wrap .page-link,
.pagination-wrap .page-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--border);
    padding: 8px 12px;
    min-width: 38px;
    min-height: 38px;
    text-align: center;
    color: #111827;
}

.pagination-wrap .active span,
.pagination-wrap .page-link:hover {
    background: var(--brand-blue);
    color: #fff;
}

.pagination svg,
.pagination-wrap svg {
    width: 16px !important;
    height: 16px !important;
}

/* =========================
   PRODUCT DETAIL PAGE
========================= */

.product-detail-page {
    background: #f5f6f8;
    padding: 36px 0 70px;
}

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 18px;
}

.breadcrumb a {
    color: var(--brand-blue);
    font-weight: 800;
}

.product-hero-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 30px;
    display: grid;
    grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
    gap: 34px;
    margin-bottom: 28px;
}

.product-hero-image {
    background: #fff;
    border: 1px solid var(--border);
    aspect-ratio: 1 / 1;
    padding: 28px;
    display: grid;
    place-items: center;
}

.product-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-hero-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-detail-sku {
    color: var(--brand-blue);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.product-hero-info h1 {
    margin: 0 0 16px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.05;
    font-weight: 900;
    color: #111827;
}

.product-short-description {
    margin: 0 0 24px;
    color: #374151;
    font-size: 17px;
    line-height: 1.6;
}

.back-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--brand-blue);
    font-weight: 800;
}

.add-to-quote-form {
    margin-top: 8px;
}

.quote-add-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.quote-add-row input {
    width: 90px;
}

.product-detail-sections {
    display: grid;
    gap: 22px;
}

.product-section-card {
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
}

.product-section-title {
    padding: 18px 24px;
    font-size: 24px;
    font-weight: 900;
    color: var(--brand-blue-dark);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.product-section-content {
    padding: 24px;
}

.product-description-content {
    color: #374151;
    font-size: 16px;
    line-height: 1.7;
}

.product-description-content p:first-child {
    margin-top: 0;
}

.product-description-content img {
    max-width: 100%;
    height: auto;
}

.product-description-content ul,
.product-description-content ol {
    padding-left: 22px;
}

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

.product-image-tile {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border);
    background: #fff;
    padding: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: .15s ease;
}

.product-image-tile:hover {
    border-color: var(--brand-blue);
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.product-image-tile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-list {
    margin: 0;
    padding-left: 22px;
    columns: 2;
    column-gap: 36px;
}

.feature-list li {
    break-inside: avoid;
    margin-bottom: 10px;
    color: #374151;
}

/* Product options table */
.product-options-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.product-options-table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    background: #fff;
}

.product-options-table th,
.product-options-table td {
    border-bottom: 1px solid var(--border);
    padding: 14px 16px;
    text-align: left;
    vertical-align: middle;
}

.product-options-table th {
    background: #f9fafb;
    color: var(--brand-blue-dark);
    font-weight: 900;
    font-size: 14px;
    white-space: nowrap;
}

.product-options-table td {
    color: #374151;
    font-size: 14px;
}

.product-options-table td:first-child,
.product-options-table th:first-child {
    width: 32%;
}

.product-options-table td:last-child,
.product-options-table th:last-child {
    width: 150px;
    text-align: right;
}

.product-options-table td:nth-last-child(2),
.product-options-table th:nth-last-child(2) {
    width: 110px;
}

.product-option-form {
    display: contents;
}

.product-options-table input[type="number"] {
    width: 84px;
    padding: 8px 10px;
}

.product-options-table .btn {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
}

/* =========================
   REQUEST QUOTE PAGE
========================= */

.quote-hero {
    background:
        linear-gradient(rgba(23, 58, 106, 0.88), rgba(23, 58, 106, 0.68)),
        url('/img/priefertdirect/banner-2.jpg') center / cover no-repeat;
    color: #fff;
    padding: 72px 0;
}

.quote-hero-box {
    max-width: 760px;
    padding: 34px 28px;
    border: 4px solid #fff;
    text-align: center;
    margin: 0 auto;
}

.quote-hero-box h1 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.05;
    font-weight: 900;
}

.quote-hero-box p {
    margin: 0;
    color: #dbeafe;
    font-size: 18px;
}

.quote-page {
    background: #f5f6f8;
}

.quote-intro-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.quote-intro-card p {
    margin: 0 0 10px;
    color: #374151;
}

.quote-intro-card p:last-child {
    margin-bottom: 0;
}

.quote-intro-card a {
    color: var(--brand-blue);
    font-weight: 900;
}

.quote-cart-card,
.quote-form-card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 24px;
}

.quote-cart-card {
    margin-bottom: 24px;
}

.quote-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.quote-card-head h2,
.quote-form-card > h2 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
    color: var(--brand-blue-dark);
}

.quote-card-head span {
    background: #eef5ff;
    color: var(--brand-blue);
    padding: 6px 10px;
    font-weight: 900;
    font-size: 13px;
}

.quote-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
}

.quote-table th,
.quote-table td {
    border-bottom: 1px solid var(--border);
    padding: 13px 12px;
    text-align: left;
    vertical-align: middle;
}

.quote-table th {
    background: #f9fafb;
    color: var(--brand-blue-dark);
    font-size: 14px;
    font-weight: 900;
}

.quote-item-number {
    color: var(--brand-blue);
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.quote-table strong {
    font-size: 14px;
    color: #111827;
}

.quote-qty-form {
    display: flex;
    gap: 6px;
    align-items: center;
}

.quote-qty-form input {
    width: 70px;
    padding: 8px;
}

.quote-qty-form button,
.quote-remove {
    border: 0;
    cursor: pointer;
    font-weight: 800;
    padding: 8px 10px;
    background: #e5e7eb;
    color: #111827;
}

.quote-remove {
    background: #fee2e2;
    color: #991b1b;
}

.quote-clear-form {
    margin-top: 16px;
}

.empty-quote {
    text-align: center;
    padding: 38px 18px;
    background: #f9fafb;
    border: 1px dashed var(--border);
}

.empty-quote h3 {
    margin: 0 0 8px;
    font-size: 22px;
    font-weight: 900;
}

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

/* Quote form */
.quote-form-card {
    margin-top: 24px;
}

.quote-request-form {
    display: grid;
    gap: 22px;
}

.form-section {
    border: 1px solid var(--border);
    background: #fff;
    padding: 20px;
}

.form-section h3 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 900;
    color: var(--brand-blue-dark);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.form-grid {
    margin-bottom: 16px;
}

.form-grid:last-child {
    margin-bottom: 0;
}

.quote-request-form label {
    margin: 0 0 6px;
}

.quote-request-form input,
.quote-request-form select,
.quote-request-form textarea {
    min-height: 44px;
}

.quote-checkboxes {
    display: grid;
    gap: 12px;
    margin: 16px 0;
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 700;
    color: #374151;
    margin: 0;
    line-height: 1.4;
}

.checkbox input {
    width: auto;
    min-height: auto;
    margin-top: 4px;
}

.captcha-wrap {
    margin-top: 18px;
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
}

.quote-form-actions {
    justify-content: flex-end;
    margin-top: 0;
}

/* =========================
   FOOTER
========================= */

footer {
    background: var(--brand-blue);
    color: #dbeafe;
    padding: 34px 0;
    text-align: center;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1180px) {
    .modern-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pd-direct-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .product-image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .feature-list {
        columns: 1;
    }
}

@media (max-width: 920px) {
    .nav {
        min-height: 82px;
    }

    .navlinks {
        display: none;
    }

    .menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .logo {
        max-height: 58px;
    }

    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        position: static;
    }

    .products-topbar {
        align-items: stretch;
        flex-direction: column;
    }

    .products-search {
        width: 100%;
    }

    .products-count {
        white-space: normal;
    }

    .modern-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .steps,
    .pd-direct-card-grid {
        grid-template-columns: 1fr;
    }

    .pd-direct-hero {
        min-height: 580px;
    }

    .pd-direct-banner-card {
        display: block;
    }

    .pd-direct-banner-card .pd-direct-actions {
        margin-top: 22px;
    }

    .form-grid.two,
    .form-grid.three,
    .form-grid.four {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .product-options-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .product-options-table thead {
        display: none;
    }

    .product-options-table,
    .product-options-table tbody,
    .product-options-table tr,
    .product-options-table td {
        display: block;
        width: 100%;
    }

    .product-options-table tr {
        border: 1px solid var(--border);
        background: #fff;
        padding: 10px;
    }

    .product-options-table td {
        border-bottom: 1px solid var(--border);
        padding: 10px 8px;
        text-align: left !important;
    }

    .product-options-table td:last-child {
        border-bottom: 0;
    }

    .product-options-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 12px;
        font-weight: 900;
        color: var(--brand-blue);
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .product-option-form {
        display: block;
    }

    .product-options-table input[type="number"],
    .product-options-table .btn {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .quote-hero-box {
        border: 0;
        padding: 24px 12px;
    }

    .quote-cart-card,
    .quote-form-card,
    .quote-intro-card {
        padding: 18px;
    }

    .quote-table thead {
        display: none;
    }

    .quote-table,
    .quote-table tbody,
    .quote-table tr,
    .quote-table td {
        display: block;
        width: 100%;
    }

    .quote-table tr {
        border: 1px solid var(--border);
        margin-bottom: 12px;
        padding: 10px;
    }

    .quote-table td {
        border-bottom: 1px solid var(--border);
        padding: 10px 6px;
    }

    .quote-table td:last-child {
        border-bottom: 0;
    }

    .quote-table td::before {
        content: attr(data-label);
        display: block;
        color: var(--brand-blue);
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .quote-qty-form {
        align-items: stretch;
    }

    .quote-qty-form input,
    .quote-qty-form button,
    .quote-remove {
        width: 100%;
    }
}

@media (max-width: 620px) {
    .pd-contact-form .form-grid.two {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 16px;
    }

    .form-grid.two,
    .form-grid.three,
    .form-grid.four {
        grid-template-columns: 1fr;
    }

    .quote-form-actions,
    .actions {
        flex-direction: column;
    }

    .quote-form-actions .btn,
    .actions .btn {
        width: 100%;
    }

     .pd-direct-hero{
        min-height:320px;
        padding:35px 0;
    }

    .pd-direct-content{
        padding:20px;
    }

    .pd-direct-content h1{
        font-size:32px;
    }

    .pd-direct-logo-card {
        width: 100%;
        min-width: 0;
    }

    .pd-direct-logo-card img {
        max-width: 220px;
    }

    .pd-direct-actions .btn {
        width: 100%;
    }

    .pd-direct-intro,
    .pd-direct-card,
    .pd-direct-banner-card {
        padding: 24px;
    }

    .pd-direct-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        min-height: 340px;
    }

    .hero .inner {
        border: 0;
        padding: 34px 16px;
    }

    section {
        padding: 42px 0;
    }

    .products-page {
        padding-top: 30px;
    }

    .products-header h1 {
        font-size: 30px;
    }

    .products-search,
    .quote-add-row {
        flex-direction: column;
    }

    .quote-add-row input {
        width: 100%;
    }

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

    .product-hero-card {
        padding: 18px;
    }

    .product-section-content {
        padding: 18px;
    }

    .product-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.d-none{
    display:none !important;
}
