:root {
    --primary: #E30613; /* Fressnapf Red */
    --primary-hover: #c20510;
    --secondary: #2D5A27; /* Masterfeed Green */
    --accent: #E8D3A3; /* Gold/Cream */
    --bg-light: #fdfdfd;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --card-bg: rgba(255, 255, 255, 0.8);
    --border-radius: 16px;
    --shadow: 0 10px 30px rgba(0,0,0,0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.pricelist-page .header {
    padding: 8px 0;
}

.header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 58px;
}

.pricelist-page .header-row {
    min-height: 44px;
    align-items: flex-start;
}

#btn-toggle-price-list {
    margin-left: auto;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pricelist-page .container {
    max-width: 96vw;
}

.pricelist-page input {
    background: #f3f4f6;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-fressnapf { color: var(--primary); }
.logo-masterfeed { color: var(--secondary); }
.logo-divider { color: #ddd; font-weight: 300; }

/* Hero */
.hero {
    padding: 80px 0 40px;
    background: linear-gradient(135deg, #fff 0%, #fff5f5 100%);
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.hero h1 span { color: var(--primary); }
.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Card Styles */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    transition: var(--transition);
}

.card-header {
    margin-bottom: 30px;
}

.card-header h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

/* Form Styles */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

input {
    padding: 14px 18px;
    border: 1.5px solid #eee;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.1);
}

/* Product Grid */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 50px;
}

.selection-counter {
    margin-top: 15px;
    background: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.product-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.product-image {
    height: 200px;
    background: #f9f9f9;
    position: relative;
    overflow: hidden;
}

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

.product-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.product-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-pack-size {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    background: rgba(45, 90, 39, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 8px;
    width: fit-content;
}

.product-footer {
    padding: 15px;
    border-top: 1px solid #f5f5f5;
    text-align: center;
}

.select-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    opacity: 0.5;
    transition: var(--transition);
}

.product-card.selected {
    border-color: var(--primary);
    border-width: 2px;
    background: rgba(227, 6, 19, 0.03);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.12);
}

.product-card.selected .select-overlay {
    background: var(--primary);
    color: white;
    opacity: 1;
    transform: scale(1.1);
}

.product-card.selected .product-footer {
    background: rgba(227, 6, 19, 0.06);
}

.product-card.selected .price {
    color: var(--primary);
    font-weight: 700;
}

/* Submit Section */
.submit-card {
    background: #1a1a1a;
    color: white;
    padding: 40px;
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

/* Sticky Submit (Mobile) */
.section-submit-sticky {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: #1a1a1a;
    padding: 16px 24px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.section-submit-sticky .sticky-label {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.section-submit-sticky .sticky-count {
    color: var(--primary);
}

.section-submit-sticky .btn {
    flex-shrink: 0;
    padding: 14px 28px;
    font-size: 1rem;
}

.btn {
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
    font-size: 1.1rem;
}

.btn-secondary {
    background: #f2f4f7;
    color: #1f2937;
}

.btn-secondary:hover:not(:disabled) {
    background: #e5e7eb;
}

.btn.is-disabled,
.btn[aria-disabled="true"] {
    opacity: 0.55;
    pointer-events: none;
    cursor: not-allowed;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: scale(1.02);
}

.btn-primary:disabled {
    background: #444;
    cursor: not-allowed;
    opacity: 0.7;
}

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

.pricelist-page .table-wrap {
    overflow: visible;
}

.pricelist-sticky-columns {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid #eceff3;
    border-radius: 10px;
    padding: 8px 10px;
    margin: 8px 0 0;
}

.pricelist-head-row,
.pricelist-filter-row {
    display: grid;
    grid-template-columns: 1.5fr 1.6fr 1.2fr 1fr 1.1fr 1fr 1fr 0.9fr;
    gap: 10px;
    align-items: center;
}

.pricelist-head-row {
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricelist-filter-row input {
    width: 100%;
    padding: 8px 10px;
    border-radius: 8px;
}

.price-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
    margin-top: 8px;
}

.pricelist-page .price-table {
    min-width: 0;
}

.pricelist-page .price-table tbody td {
    font-size: 0.92rem;
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
}

.price-table thead th { color: var(--text-muted); font-size: 0.9rem; font-weight: 700; }

.price-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 600;
}

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

.qty-input {
    width: 90px;
    padding: 10px 12px;
}

.price-summary {
    margin-top: 20px;
    margin-left: auto;
    width: min(100%, 360px);
}

.pricelist-page .price-summary-floating {
    width: min(90vw, 300px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    padding: 10px 12px;
}

.pricelist-page .header-price-summary {
    margin-left: auto;
    flex-shrink: 0;
}

.pricelist-page .price-summary-floating .price-summary {
    margin-top: 0;
    width: 100%;
}

.pricelist-page .price-summary-floating .submit-actions {
    margin-top: 10px;
    justify-content: stretch;
}

.pricelist-page .price-summary-floating .submit-actions .btn {
    width: 100%;
    padding: 12px 14px;
    font-size: 0.96rem;
}

.pricelist-page .price-summary-floating .summary-row {
    padding: 6px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #e5e7eb;
}

.summary-row.total {
    border-bottom: 0;
    font-size: 1.05rem;
}

.submit-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
    color: var(--text-muted);
    border-top: 1px solid #eee;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 50px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0,0,0,0.2);
    animation: modalPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4BB543;
    color: white;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

/* Loader */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    /* Form */
    .form-grid { grid-template-columns: 1fr; }
    .header-row { align-items: center; flex-direction: column; min-height: 52px; }
    .header-row .btn { width: auto; padding: 12px 18px; font-size: 1rem; }

    /* Hero */
    .hero { padding: 48px 0 28px; }
    .hero h1 { font-size: 1.9rem; }
    .subtitle { font-size: 1rem; }

    /* Product grid: 2 columns on mobile */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-image { height: 150px; }

    .product-content {
        padding: 14px;
    }

    .product-content h3 {
        font-size: 0.95rem;
    }

    /* Hide static submit bar, show sticky instead */
    .section-submit { display: none; }
    .section-submit-sticky { display: flex; }

    /* Extra bottom padding so content isn't hidden behind sticky bar */
    .section-products { padding-bottom: 90px; }

    /* Card padding */
    .card { padding: 24px 20px; }

    .pricelist-page .price-summary-floating {
        width: 100%;
        margin-top: 14px;
    }

    .pricelist-sticky-columns { position: static; }

    .pricelist-head-row,
    .pricelist-filter-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ─────────────────────────────────────────────────────────────
   New Pricelist Design (2026-04)
   Scope: .pricelist-page only
   ───────────────────────────────────────────────────────────── */

.pricelist-page {
    background: radial-gradient(1200px 500px at 10% 0%, rgba(227, 6, 19, 0.08), transparent 60%),
        radial-gradient(900px 420px at 90% 10%, rgba(45, 90, 39, 0.08), transparent 55%),
        var(--bg-light);
}

.pricelist-page .container {
    max-width: 1240px;
}

.pl-header {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.86);
    border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.pl-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.pl-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 320px;
}

.pl-brand-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pl-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.pl-title {
    font-size: 1rem;
    color: var(--text-dark);
}

.pl-checkout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 380px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 16px;
    padding: 12px 14px;
    box-shadow: 0 14px 32px rgba(0,0,0,0.06);
}

.pl-checkout-toggle {
    display: none;
}

.pricelist-page .pl-checkout {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;
}

.pricelist-page .pl-checkout .btn {
    width: 100%;
}

.pricelist-page main {
    /* Reserve space so the floating checkout doesn't cover content */
    padding-right: 420px;
}

.pl-checkout-rows {
    display: grid;
    gap: 6px;
}

.pl-checkout-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(229, 231, 235, 0.9);
}

.pl-checkout-row:last-child {
    border-bottom: 0;
}

.pl-checkout-row span {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.92rem;
}

.pl-checkout-row strong {
    font-variant-numeric: tabular-nums;
}

.pl-checkout-row.is-total span {
    color: var(--text-dark);
}

.pl-checkout-row.is-total {
    padding-top: 10px;
    font-size: 1.02rem;
}

.pl-hero {
    padding: 26px 0 8px;
    background: transparent;
    text-align: left;
}

.pl-hero-card {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 18px;
    padding: 18px 18px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.06);
}

.pl-hero-card h1 {
    font-size: 1.55rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.pl-hero-card .subtitle {
    font-size: 1rem;
    margin: 0;
    max-width: 900px;
}

.pl-section {
    padding-top: 8px;
}

.pl-muted {
    color: var(--text-muted);
}

.pl-filters {
    padding: 22px;
    margin-bottom: 18px;
}

.pl-filters-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.pl-filters-head h2 {
    margin: 0;
    font-size: 1.25rem;
}

.pl-filters-head p {
    margin: 0;
    font-size: 0.95rem;
}

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

.pl-filter-toolbar {
    display: grid;
    grid-template-columns: minmax(320px, 1.8fr) minmax(180px, 1fr) minmax(200px, 1fr) auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 12px;
}

.pl-filter-search {
    min-width: 0;
}

.pl-inline-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 10px 12px;
    border: 1px solid rgba(229, 231, 235, 1);
    border-radius: 12px;
    background: #fff;
    white-space: nowrap;
}

.pl-inline-option input {
    width: auto;
    margin: 0;
}

.pl-inline-select {
    display: grid;
    gap: 6px;
}

.pl-inline-select span {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
}

.pl-inline-select select {
    width: 100%;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 1);
    background: #fff;
    font: inherit;
}

#advanced-filters[hidden] {
    display: none;
}

.pl-filter {
    display: grid;
    gap: 6px;
}

.pl-filter span {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-muted);
}

.pl-filter input {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(229, 231, 235, 1);
    background: rgba(243, 244, 246, 0.9);
}

.pl-table-card {
    padding: 0;
    overflow: hidden;
}

.pl-table-wrap {
    overflow: auto;
    max-height: calc(100vh - 290px);
}

/* Override legacy pricelist rule that disables scrolling */
.pricelist-page .table-wrap.pl-table-wrap {
    overflow: auto;
}

.pl-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 980px;
    margin-top: 0;
}

.pl-table thead th {
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(229, 231, 235, 1);
    color: #475467;
    font-size: 0.88rem;
    text-transform: none;
}

.pl-table th,
.pl-table td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(238, 238, 238, 1);
    vertical-align: middle;
}

.pl-table tbody tr:hover {
    background: rgba(227, 6, 19, 0.035);
}

.pl-table .qty-input {
    width: 72px;
    min-width: 72px;
    text-align: center;
    padding: 10px 8px;
    border-radius: 12px;
}

.pl-table .qty-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pl-table .qty-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(209, 213, 219, 1);
    background: #fff;
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
}

.pl-table .qty-btn:hover {
    background: rgba(243, 244, 246, 1);
}

.pl-table .qty-btn:active {
    transform: scale(0.97);
}

.pl-table a.price-link {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.pl-table a.price-link::after {
    content: "↗";
    font-weight: 800;
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .pl-filter-toolbar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .pl-filters-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pl-table-wrap {
        max-height: none;
    }

    .pricelist-page .pl-checkout {
        position: static;
        width: 100%;
        right: auto;
        bottom: auto;
    }

    .pricelist-page main {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    .pl-header-inner {
        flex-direction: column;
        align-items: stretch;
    }
    .pl-brand {
        min-width: 0;
    }
    .pricelist-page .pl-checkout {
        position: fixed;
        left: 10px;
        right: 10px;
        bottom: 10px;
        width: auto;
        z-index: 1100;
        border-radius: 14px;
        box-shadow: 0 14px 32px rgba(0, 0, 0, 0.14);
    }

    .pricelist-page .pl-checkout .btn {
        min-height: 46px;
    }

    .pricelist-page main {
        padding-right: 0;
        padding-bottom: 220px;
    }
    .pl-filters-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .pl-filters {
        padding: 18px;
    }
    .pl-table-wrap {
        overflow: visible;
        max-height: none;
    }

    .pl-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 12px;
    }

    .pl-table thead {
        display: none;
    }

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

    .pl-table tbody tr {
        background: #fff;
        border: 1px solid rgba(229, 231, 235, 1);
        border-radius: 14px;
        padding: 8px 10px;
        box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    }

    .pl-table tbody td {
        border-bottom: 1px dashed rgba(229, 231, 235, 1);
        padding: 10px 0;
    }

    .pl-table tbody td:last-child {
        border-bottom: 0;
        padding-bottom: 4px;
    }

    .pl-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--text-muted);
        margin-bottom: 4px;
    }

    .pl-table .qty-control {
        width: 100%;
        justify-content: flex-start;
    }

    .pl-table .qty-btn {
        width: 38px;
        height: 38px;
    }

    .pl-table .qty-input {
        width: 84px;
        min-width: 84px;
    }
}

/* Mobile redesign: clearer flow and hierarchy */
@media (max-width: 768px) {
    .pricelist-page .container {
        padding: 0 12px;
    }

    .pl-hero {
        padding: 14px 0 6px;
    }

    .pl-hero-card {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .pl-hero-card h1 {
        font-size: 1.25rem;
    }

    .section-data .card,
    .pl-filters.card {
        border-radius: 14px;
        padding: 14px;
        margin-bottom: 12px;
    }

    .section-data .card-header h2,
    .pl-filters-head h2 {
        font-size: 1.08rem;
    }

    .pl-filter-toolbar {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .pl-inline-option,
    .pl-inline-select select,
    .pl-filter input,
    .pl-filter-search input {
        min-height: 42px;
    }

    .pl-table-wrap {
        padding: 0 2px 6px;
    }

    .pl-table {
        border-spacing: 0 10px;
    }

    .pl-table tbody tr {
        border-radius: 14px;
        padding: 10px 12px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
    }

    .pl-table tbody td {
        padding: 9px 0;
    }

    .pl-table tbody td::before {
        margin-bottom: 3px;
        font-size: 0.76rem;
    }

    /* Prioritize key information */
    .pl-table tbody td[data-label="Artikel"] {
        order: 1;
        font-size: 1.03rem;
        font-weight: 700;
    }

    .pl-table tbody td[data-label="Artikelnummer"] {
        order: 2;
    }

    .pl-table tbody td[data-label="Kategorie"] {
        order: 3;
    }

    .pl-table tbody td[data-label="Händlerpreis (netto)"] {
        order: 4;
        font-size: 1.02rem;
        font-weight: 700;
    }

    .pl-table tbody td[data-label="Menge"] {
        order: 5;
        padding-top: 12px;
    }

    .pl-table tbody td[data-label="UVP brutto"] {
        order: 6;
    }

    .pl-table tbody td[data-label="UVP netto"] {
        order: 7;
    }

    .pl-table tbody td[data-label="Link"] {
        order: 8;
    }

    .pl-table .qty-control {
        gap: 10px;
    }

    .pl-table .qty-btn {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 1.2rem;
    }

    .pl-table .qty-input {
        width: 92px;
        min-width: 92px;
        min-height: 42px;
        font-size: 1.05rem;
        font-weight: 700;
    }

    /* Compact sticky checkout: less visual noise */
    .pricelist-page .pl-checkout {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .pricelist-page .pl-checkout-rows {
        gap: 4px;
    }

    .pricelist-page .pl-checkout-row {
        padding: 4px 0;
    }

    .pricelist-page .pl-checkout-row:not(.is-total) {
        display: none;
    }

    .pricelist-page .pl-checkout-toggle {
        display: inline-flex;
        width: 30px;
        height: 30px;
        margin-left: auto;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(209, 213, 219, 1);
        border-radius: 999px;
        background: #fff;
        color: var(--text-dark);
        cursor: pointer;
        padding: 0;
    }

    .pricelist-page .pl-checkout-toggle-icon {
        display: inline-flex;
        width: 16px;
        height: 16px;
        transform: rotate(180deg);
        transition: transform 0.2s ease;
    }

    .pricelist-page .pl-checkout-toggle-icon svg {
        width: 100%;
        height: 100%;
        stroke: currentColor;
        stroke-width: 2.2;
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .pricelist-page .pl-checkout.is-expanded .pl-checkout-toggle-icon {
        transform: rotate(0deg);
    }

    .pricelist-page .pl-checkout.is-expanded .pl-checkout-row:not(.is-total) {
        display: flex;
    }

    .pricelist-page .pl-checkout-row.is-total {
        font-size: 1.06rem;
        padding-top: 0;
    }

    .pricelist-page .pl-checkout .btn {
        min-height: 44px;
        font-size: 1rem;
    }

    .pricelist-page main {
        padding-bottom: 150px;
    }
}
