/* ==========================================================================
   DitPetje.nl - Main Stylesheet
   ========================================================================== */

/* Design Tokens
   ========================================================================== */
:root {
    --dp-primary: #1a1a2e;
    --dp-primary-light: #16213e;
    --dp-accent: #e23317;
    --dp-accent-dark: #c62d14;
    --dp-text: #333333;
    --dp-text-light: #666666;
    --dp-text-muted: #888888;
    --dp-bg: #ffffff;
    --dp-bg-light: #f8f9fa;
    --dp-card-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    --dp-card-hover-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    --dp-border: #e5e7eb;
    --dp-radius: 12px;
    --dp-radius-sm: 8px;
    --dp-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    --dp-green: #1e7e34;
    --dp-footer-bg: #1a1a2e;
    --dp-footer-link: #9ca3af;
    --dp-footer-muted: #6e6e6e;
    --dp-unavailable: #545b62;
    --dp-accent-focus: rgba(226, 51, 23, 0.5);
    --dp-accent-focus-light: rgba(226, 51, 23, 0.3);
    --dp-gradient-placeholder: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Base
   ========================================================================== */
body {
    font-family: var(--dp-font);
    color: var(--dp-text);
    line-height: 1.6;
    background-color: var(--dp-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    transition: color 0.2s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dp-text);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

/* Skip Link
   ========================================================================== */
.dp-skip-link {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.dp-skip-link:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    background: #000;
    color: #fff;
    padding: 10px;
    z-index: 9999;
}

/* Focus Styles (WCAG)
   ========================================================================== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
[tabindex]:focus {
    outline: 3px solid var(--dp-accent-focus);
    outline-offset: 2px;
}

.btn:focus {
    box-shadow: 0 0 0 3px var(--dp-accent-focus-light);
}

/* Navigation
   ========================================================================== */
.navbar {
    background-color: var(--dp-primary) !important;
}

.navbar .megamenu {
    padding: 1rem;
}

.navbar .btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-weight: 500;
    transition: background-color 0.2s ease;
}

.navbar .btn-secondary:hover,
.navbar .btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.navbar .dropdown-menu {
    border: none;
    box-shadow: var(--dp-card-shadow);
    border-radius: var(--dp-radius-sm);
    padding: 0.5rem 0;
}

.navbar .dropdown-item {
    padding: 0.5rem 1.25rem;
    transition: background-color 0.15s ease;
}

.navbar .dropdown-item:hover {
    background-color: var(--dp-bg-light);
}

.dp-search-btn {
    color: #fff !important;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.dp-search-btn:hover {
    opacity: 1;
}

.dp-brand-dit {
    color: #fff;
}

.dp-brand-petje {
    color: var(--dp-accent);
}

/* Desktop megamenu */
@media all and (min-width: 992px) {
    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }
}

/* Mobile nav */
@media (max-width: 991px) {
    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
}

/* Sections
   ========================================================================== */
.dp-section {
    padding: 3rem 0;
}

.dp-section-sm {
    padding: 1.5rem 0;
}

.dp-section-bg {
    background-color: var(--dp-bg-light);
}

/* Hero Sections
   ========================================================================== */
.dp-hero {
    background: linear-gradient(135deg, var(--dp-primary) 0%, var(--dp-primary-light) 100%);
    padding: 60px 0;
    color: #fff;
}

.dp-hero h1,
.dp-hero h2 {
    color: #fff;
    font-weight: 700;
}

.dp-hero p {
    color: rgba(255, 255, 255, 0.85);
}

.dp-hero-cta {
    background: linear-gradient(135deg, var(--dp-accent) 0%, var(--dp-accent-dark) 100%);
    padding: 50px 0;
    color: #fff;
}

.dp-hero-cta h2 {
    color: #fff;
}

.dp-hero-cta p {
    color: rgba(255, 255, 255, 0.9);
}

/* Cards (generic)
   ========================================================================== */
.dp-card {
    background: var(--dp-bg);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    box-shadow: var(--dp-card-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dp-card-hover-shadow);
}

.dp-card-static {
    background: var(--dp-bg);
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    box-shadow: var(--dp-card-shadow);
    overflow: hidden;
}

/* Product Cards
   ========================================================================== */
.dp-product-card {
    display: flex;
    flex-direction: column;
    min-height: 420px;
    padding-top: 1rem;
}

.dp-product-card .card-body {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dp-product-card .dp-product-name {
    color: var(--dp-text);
    min-height: 60px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.dp-product-card .dp-product-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.dp-product-card .card-img {
    max-height: 220px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.dp-product-card .card-footer {
    background: transparent;
    border-top: 1px solid var(--dp-border);
    padding: 0.75rem;
    text-align: center;
}

.dp-product-unavailable .dp-product-img-wrap {
    position: relative;
}

.dp-product-unavailable .dp-product-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
}

/* Product List Cards (5 per row) */
.dp-product-list-card {
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.dp-product-list-card .card-body {
    text-align: center;
    padding: 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dp-product-list-card .dp-product-name {
    color: var(--dp-text);
    min-height: 60px;
    font-size: 0.85rem;
    font-weight: 600;
}

.dp-product-list-card .dp-product-img-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dp-product-list-card .card-img {
    max-width: 90%;
    max-height: 200px;
    object-fit: contain;
}

.dp-product-list-card .card-footer {
    background: transparent;
    border-top: 1px solid var(--dp-border);
    padding: 0.75rem;
    text-align: center;
}

/* Product Grid
   ========================================================================== */
.dp-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 991px) {
    .dp-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .dp-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Prices & Badges
   ========================================================================== */
.dp-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dp-green);
}

.dp-price-badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.dp-price-badge-available {
    background-color: var(--dp-green);
    color: #fff;
}

.dp-price-badge-unavailable {
    background-color: var(--dp-unavailable);
    color: #fff;
}

.dp-merchant-count {
    font-size: 0.7rem;
    color: var(--dp-text-muted);
    display: block;
    margin-top: 2px;
}

.dp-badge {
    display: inline-block;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dp-badge-accent {
    background-color: var(--dp-accent);
    color: #fff;
}

.dp-badge-dark {
    background-color: var(--dp-text);
    color: #fff;
}

/* Brand Badge on Product Card */
.dp-brand-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--dp-text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

/* Buttons
   ========================================================================== */

/* Primary: Dark navy blue (search header color) — main actions */
.dp-btn-primary {
    display: inline-block;
    background-color: var(--dp-primary);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--dp-radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
}

.dp-btn-primary:hover {
    background-color: var(--dp-primary-light);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Secondary: Red accent (logo color) — attention-grabbing CTAs */
.dp-btn-secondary {
    display: inline-block;
    background-color: var(--dp-accent);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--dp-radius-sm);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.1s ease;
    border: none;
    cursor: pointer;
}

.dp-btn-secondary:hover {
    background-color: var(--dp-accent-dark);
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Tertiary: Outlined navy — lower emphasis actions */
.dp-btn-tertiary {
    display: inline-block;
    background-color: transparent;
    color: var(--dp-primary) !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--dp-radius-sm);
    border: 2px solid var(--dp-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dp-btn-tertiary:hover {
    background-color: var(--dp-primary);
    color: #fff !important;
    text-decoration: none;
}

/* Light: White button — for use on dark backgrounds */
.dp-btn-light {
    display: inline-block;
    background-color: #fff;
    color: var(--dp-primary) !important;
    padding: 0.75rem 2rem;
    border-radius: var(--dp-radius-sm);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.dp-btn-light:hover {
    background-color: var(--dp-bg-light);
    text-decoration: none;
}

/* Section Headings
   ========================================================================== */
.dp-section-heading {
    color: var(--dp-text);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.dp-section-heading a {
    color: var(--dp-text);
    text-decoration: none;
}

.dp-section-heading a:hover {
    color: var(--dp-accent);
}

.dp-section-heading .material-symbols-outlined {
    vertical-align: middle;
    color: var(--dp-accent);
    margin-right: 0.25rem;
}

.dp-view-all {
    font-weight: 600;
    color: var(--dp-accent);
    text-decoration: none;
}

.dp-view-all:hover {
    color: var(--dp-accent-dark);
    text-decoration: underline;
}

/* Category & Brand Cards
   ========================================================================== */
.dp-category-card,
.dp-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 280px;
    padding: 1.5rem 1rem;
    text-align: center;
}

.dp-category-card h6,
.dp-brand-card h6 {
    min-height: 50px;
    font-weight: 600;
    color: var(--dp-text);
    margin-bottom: 1rem;
}

.dp-category-card img {
    max-width: 80%;
    max-height: 180px;
    object-fit: contain;
}

.dp-brand-card img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
}

.dp-category-card a,
.dp-brand-card a {
    color: var(--dp-text);
    text-decoration: none;
}

/* Campaign Banners
   ========================================================================== */
.dp-campaign-banner {
    position: relative;
    aspect-ratio: 21/9;
    min-height: 250px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    border-radius: var(--dp-radius);
}

.dp-campaign-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.dp-campaign-banner-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.dp-campaign-banner h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 1.5rem;
}

/* Product Detail
   ========================================================================== */
.dp-product-detail {
    padding: 2rem;
}

.dp-product-detail h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.dp-product-detail-images {
    text-align: center;
}

.dp-product-detail-images .img-thumbnail {
    border-radius: var(--dp-radius-sm);
    border: 1px solid var(--dp-border);
    margin: 0.25rem;
    transition: transform 0.2s ease;
}

.dp-product-detail-images .img-thumbnail:hover {
    transform: scale(1.05);
}

.dp-product-detail-info {
    font-size: 1rem;
    line-height: 1.8;
}

.dp-product-detail-info ul {
    list-style: none;
    padding: 0;
}

.dp-product-detail-info ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--dp-border);
}

.dp-product-detail-info ul li:last-child {
    border-bottom: none;
}

.dp-product-detail-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dp-green);
}

/* Filter Bar
   ========================================================================== */
.dp-filter-bar {
    padding: 1.25rem;
}

.dp-filter-bar .badge {
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    margin-right: 0.25rem;
}

.dp-filter-bar .badge a {
    color: #fff;
    text-decoration: none;
    margin-left: 0.35rem;
}

.dp-sort-link {
    color: var(--dp-accent);
    text-decoration: none;
    font-weight: 500;
}

.dp-sort-link:hover {
    text-decoration: underline;
}

/* Pagination
   ========================================================================== */
.dp-pagination-nav {
    text-align: center;
    padding: 2rem 0 1rem;
}

.dp-pagination {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    list-style: none;
    padding: 0;
    margin: 0;
    justify-content: center;
}

.dp-pagination-item {
    display: inline-flex;
}

.dp-pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 0.5rem;
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius-sm);
    background: var(--dp-bg);
    color: var(--dp-text);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

a.dp-pagination-link:hover {
    background-color: var(--dp-bg-light);
    border-color: var(--dp-text-muted);
    color: var(--dp-text);
    text-decoration: none;
}

a.dp-pagination-link:focus {
    outline: 3px solid var(--dp-accent-focus);
    outline-offset: 2px;
}

.dp-pagination-active .dp-pagination-link {
    background-color: var(--dp-primary);
    border-color: var(--dp-primary);
    color: #fff;
    font-weight: 700;
}

.dp-pagination-disabled .dp-pagination-link {
    color: var(--dp-text-muted);
    background-color: var(--dp-bg-light);
    border-color: var(--dp-border);
    cursor: not-allowed;
    opacity: 0.5;
}

.dp-pagination-ellipsis .dp-pagination-link {
    background: transparent;
    border-color: transparent;
    cursor: default;
    color: var(--dp-text-muted);
}

.dp-pagination-info {
    color: var(--dp-text-muted);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    margin-bottom: 0;
}

@media (max-width: 575px) {
    .dp-pagination-link {
        min-width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    .dp-pagination {
        gap: 0.25rem;
    }
}

/* Content Pages (FAQ, About, Contact, Privacy, Disclaimer)
   ========================================================================== */
.dp-content-page {
    padding: 2rem 0;
}

.dp-content-card {
    border: none;
    box-shadow: var(--dp-card-shadow);
    border-radius: var(--dp-radius);
    overflow: hidden;
}

.dp-content-card .card-header {
    background: var(--dp-bg);
    border-bottom: 2px solid var(--dp-accent);
    padding: 1.5rem 2rem;
}

.dp-content-card .card-header h1 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.dp-content-card .card-header p {
    color: var(--dp-text-light);
    margin-bottom: 0;
}

.dp-content-card .card-body {
    padding: 2rem;
}

.dp-content-card .card-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dp-text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.dp-content-card .card-body h2:first-child {
    margin-top: 0;
}

/* Guide Cards
   ========================================================================== */
.dp-guide-card {
    border: none;
    box-shadow: var(--dp-card-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: var(--dp-radius);
    overflow: hidden;
}

.dp-guide-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--dp-card-hover-shadow);
}

.dp-guide-card .card-img-top {
    height: 180px;
    object-fit: cover;
}

.dp-guide-card-placeholder {
    height: 180px;
    background: var(--dp-gradient-placeholder);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dp-guide-card-placeholder .material-symbols-outlined {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.5);
}

.dp-guide-meta {
    font-size: 0.8rem;
    color: var(--dp-text-muted);
}

.dp-guide-meta .material-symbols-outlined {
    font-size: 1rem;
    vertical-align: middle;
}

/* Guide Show Page
   ========================================================================== */
.dp-guide-intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dp-text);
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: var(--dp-bg-light);
    border-left: 4px solid var(--dp-accent);
    border-radius: 4px;
}

.dp-guide-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--dp-text);
}

.dp-step-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--dp-bg-light);
    border-radius: var(--dp-radius-sm);
}

.dp-step-number {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--dp-accent);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-right: 1.25rem;
}

.dp-faq-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--dp-bg-light);
    border-radius: var(--dp-radius-sm);
}

.dp-faq-item {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--dp-border);
}

.dp-faq-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.dp-toc {
    border: none;
    box-shadow: var(--dp-card-shadow);
}

.dp-toc .card-body {
    padding: 1.5rem;
}

.dp-toc ol {
    margin: 0;
    padding-left: 1.25rem;
}

.dp-toc li {
    margin-bottom: 0.5rem;
}

.dp-toc a {
    color: var(--dp-text);
    text-decoration: none;
}

.dp-toc a:hover {
    color: var(--dp-accent);
}

/* Footer
   ========================================================================== */
.dp-footer-links {
    padding: 2rem 0;
    border-bottom: 1px solid var(--dp-border);
}

.dp-footer-links h2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dp-text);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dp-footer-links a {
    color: var(--dp-text-light);
    text-decoration: none;
    font-size: 0.875rem;
    line-height: 1.8;
    transition: color 0.15s ease;
}

.dp-footer-links a:hover {
    color: var(--dp-accent);
}

.dp-footer-links a:focus-visible {
    outline: 2px solid var(--dp-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.dp-footer-dark {
    background: var(--dp-footer-bg);
    padding: 2rem 0 1.5rem;
}

.dp-footer-dark h2 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.dp-footer-dark a {
    color: var(--dp-footer-link);
    font-size: 0.875rem;
    padding: 0.2rem 0;
    display: inline-block;
    transition: color 0.15s ease;
}

.dp-footer-dark a:hover {
    color: #fff;
    text-decoration: none;
}

.dp-footer-dark a:focus-visible {
    outline: 2px solid var(--dp-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

.dp-footer-about {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dp-footer-about p {
    color: var(--dp-footer-link);
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.dp-footer-copyright {
    text-align: center;
    color: #fff;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 1.25rem;
}

.dp-footer-copyright p {
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.dp-footer-copyright .dp-affiliate-note {
    color: var(--dp-footer-muted);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Search Modal
   ========================================================================== */
#searchModal .modal-content {
    border: none;
    border-radius: var(--dp-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

#searchModal .modal-header {
    background: var(--dp-primary);
    border-bottom: none;
    padding: 1rem 1.25rem;
}

#searchModal .modal-header .close {
    color: #fff;
    opacity: 0.7;
    text-shadow: none;
}

#searchModal .modal-header .close:hover {
    opacity: 1;
}

#searchModal .modal-header .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: var(--dp-radius-sm);
    padding: 0.6rem 1rem;
    font-size: 1rem;
    flex: 1;
}

#searchModal .modal-header .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#searchModal .modal-header .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    outline: none;
    box-shadow: none;
}

#searchModal .modal-body {
    padding: 0;
    max-height: 60vh;
    overflow-y: auto;
}

/* Search Results
   ========================================================================== */
.dp-search-empty {
    text-align: center;
    padding: 2rem;
    color: var(--dp-text-light);
}

.dp-search-empty .material-symbols-outlined {
    font-size: 3rem;
    color: var(--dp-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.dp-search-group {
    padding: 0.75rem 1.25rem;
    border-bottom: 1px solid var(--dp-border);
}

.dp-search-group:last-child {
    border-bottom: none;
}

.dp-search-heading {
    color: var(--dp-text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.dp-search-heading .material-symbols-outlined {
    font-size: 0.9rem;
    vertical-align: middle;
    margin-right: 0.25rem;
}

.dp-search-result-item {
    color: var(--dp-text);
    text-decoration: none;
    display: block;
    padding: 0.6rem 0.5rem;
    border-radius: var(--dp-radius-sm);
    transition: background-color 0.15s ease;
}

.dp-search-result-item:hover {
    background-color: var(--dp-bg-light);
    color: var(--dp-text);
    text-decoration: none;
}

.dp-search-result-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.dp-search-result-info {
    flex: 1;
    min-width: 0;
}

.dp-search-result-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dp-search-result-brand {
    display: block;
    font-size: 0.75rem;
    color: var(--dp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.dp-search-result-type {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--dp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 0.1rem;
}

.dp-search-result-img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dp-search-result-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.dp-search-result-arrow {
    color: var(--dp-text-muted);
    font-size: 1.25rem;
}

.dp-search-result-item .dp-price-badge {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    margin-top: 0.25rem;
}

.dp-search-loading {
    text-align: center;
    padding: 2rem;
    color: var(--dp-text-muted);
}

/* 404 Page
   ========================================================================== */
.dp-404-heading {
    color: var(--dp-accent);
}

/* Breadcrumb (visual)
   ========================================================================== */
.dp-breadcrumb {
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.dp-breadcrumb a {
    color: var(--dp-text-light);
    text-decoration: none;
}

.dp-breadcrumb a:hover {
    color: var(--dp-accent);
}

.dp-breadcrumb .dp-breadcrumb-sep {
    color: var(--dp-text-muted);
    margin: 0 0.5rem;
}

.dp-breadcrumb .dp-breadcrumb-current {
    color: var(--dp-text);
    font-weight: 500;
}

/* Utility Classes
   ========================================================================== */
.dp-text-center { text-align: center; }
.dp-text-right { text-align: right; }
.dp-text-muted { color: var(--dp-text-muted); }
.dp-text-light { color: var(--dp-text-light); }

.dp-mt-1 { margin-top: 0.5rem; }
.dp-mt-2 { margin-top: 1rem; }
.dp-mt-3 { margin-top: 1.5rem; }
.dp-mb-1 { margin-bottom: 0.5rem; }
.dp-mb-2 { margin-bottom: 1rem; }
.dp-mb-3 { margin-bottom: 1.5rem; }

/* Hero Typography
   ========================================================================== */
.dp-hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.dp-hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.dp-hero-subtitle-lg {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.dp-hero-meta {
    font-size: 0.9rem;
}

/* Section Heading Sizes
   ========================================================================== */
.dp-heading-sm {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.dp-heading-md {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.dp-heading-lg {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* Icon Sizes
   ========================================================================== */
.dp-icon-sm {
    font-size: 1rem !important;
}

.dp-icon-md {
    font-size: 1.2rem !important;
}

.dp-icon-lg {
    font-size: 2.5rem !important;
}

.dp-icon-xl {
    font-size: 3rem !important;
}

.dp-icon-hero {
    font-size: 6rem !important;
    color: var(--dp-accent);
}

/* Card Title & Text Variants
   ========================================================================== */
.dp-card-title-sm {
    font-size: 1rem;
    font-weight: bold;
}

.dp-card-title-md {
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 10px;
}

.dp-card-text-sm {
    font-size: 0.9rem;
}

.dp-card-text-xs {
    font-size: 0.85rem;
}

/* Image Cover Sizes
   ========================================================================== */
.dp-img-cover-sm {
    height: 150px;
    object-fit: cover;
}

.dp-img-cover-md {
    height: 180px;
    object-fit: cover;
}

/* Layout Utilities
   ========================================================================== */
.dp-container-offset {
    margin-top: -30px;
}

.dp-min-h-page {
    min-height: 600px;
}

.dp-min-h-page-lg {
    min-height: 800px;
}

.dp-page-padding {
    padding: 100px 0;
}

/* Color Utilities
   ========================================================================== */
.dp-color-inherit {
    color: inherit;
}

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

.dp-color-muted-hint {
    color: var(--dp-text-muted, #767676);
}

/* Badge Variants
   ========================================================================== */
.dp-badge-lg {
    padding: 8px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Card Gradient Background
   ========================================================================== */
.dp-card-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--dp-bg-light) 100%);
}

/* FAQ Answer Indent
   ========================================================================== */
.dp-faq-answer {
    padding-left: 30px;
}

/* Admin Section
   ========================================================================== */
.dp-admin-section {
    padding: 20px;
}

/* Feed Dashboard Sections
   ========================================================================== */
.dp-feed-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border-radius: var(--dp-radius);
    background: var(--dp-bg);
    border: 1px solid var(--dp-border);
}

.dp-feed-section-incoming {
    border-left: 4px solid var(--dp-primary);
}

.dp-feed-section-outgoing {
    border-left: 4px solid var(--dp-accent);
}

.dp-feed-section-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dp-text);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--dp-border);
}

.dp-feed-section-header .material-symbols-outlined {
    font-size: 1.5rem;
}

.dp-feed-section-incoming .dp-feed-section-header .material-symbols-outlined {
    color: var(--dp-primary);
}

.dp-feed-section-outgoing .dp-feed-section-header .material-symbols-outlined {
    color: var(--dp-accent);
}

.dp-feed-status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 0.75rem 1rem;
    background: var(--dp-bg-light);
    border-radius: var(--dp-radius-sm);
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.dp-feed-status-bar .dp-feed-status-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.dp-feed-status-bar .dp-feed-status-item strong {
    color: var(--dp-text);
}

.dp-feed-section .dp-admin-section {
    padding: 10px 0;
}

.dp-feed-section .card {
    border: 1px solid var(--dp-border);
    box-shadow: none;
}

/* Step Image
   ========================================================================== */
.dp-step-img {
    border-radius: var(--dp-radius-sm);
}

/* CTA Button XL
   ========================================================================== */
.dp-btn-xl {
    padding: 15px 40px;
}

/* Clickable Element
   ========================================================================== */
.dp-clickable {
    cursor: pointer;
}

/* Additional Spacing
   ========================================================================== */
.dp-mb-4 { margin-bottom: 1.75rem; }
.dp-mb-5 { margin-bottom: 2.5rem; }
.dp-mt-5 { margin-top: 2.5rem; }

/* WCAG Contrast Overrides
   ========================================================================== */
.badge-success {
    background-color: var(--dp-green) !important;
}

.badge-secondary {
    background-color: #545b62 !important;
}

/* Background Image Utility */
.has-bg-img {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

/* Material Icon Alignment */
.material-symbols-outlined {
    vertical-align: middle;
}

/* Cookie Consent Banner (base styles — positioning in fixed section below)
   ========================================================================== */

.dp-cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--dp-text);
}

.dp-cookie-banner-buttons {
    display: flex;
    gap: 0.5rem;
}

.dp-cookie-banner-buttons .btn {
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
}

/* Multi-Merchant PDP
   ========================================================================== */
.dp-merchant-best {
    border-left: 4px solid var(--dp-green);
    background-color: rgba(30, 126, 52, 0.05);
}

.dp-merchant-unavailable {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.dp-total-cost {
    font-size: 1rem;
}

.dp-free-shipping {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dp-green);
    background-color: rgba(30, 126, 52, 0.1);
    padding: 0.1rem 0.5rem;
    border-radius: var(--dp-radius-sm);
}

/* Mobile Typography Scaling
   ========================================================================== */
@media (max-width: 576px) {
    h1, .h1 { font-size: 1.5rem; }
    h2, .h2 { font-size: 1.25rem; }
    .dp-hero-title { font-size: 1.75rem; }
    .dp-section { padding: 1.5rem 0; }
}

/* Touch Targets (44px minimum)
   ========================================================================== */
@media (max-width: 576px) {
    .dp-pagination-link {
        min-width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }

    .dp-filter-bar .badge a {
        display: inline-block;
        padding: 0.35rem 0.5rem;
        min-width: 44px;
        min-height: 44px;
        line-height: 2;
    }
}

/* Price Badge No-Wrap
   ========================================================================== */
.dp-price-badge { white-space: nowrap; }

/* PDP Merchant Buttons Responsive
   ========================================================================== */
@media (max-width: 576px) {
    .dp-merchant-best .d-flex.flex-wrap,
    .btn-outline-success .d-flex.flex-wrap {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .dp-total-cost {
        margin-top: 0.25rem;
    }

    .dp-merchant-best .justify-content-end,
    .btn-outline-success .justify-content-end {
        justify-content: flex-start !important;
        margin-top: 0.5rem;
    }
}

/* PDP Specs Table Mobile Layout
   ========================================================================== */
.dp-product-specs th {
    font-weight: 600;
    padding: 0.5rem 1rem 0.5rem 0;
}

.dp-product-specs td {
    padding: 0.5rem 0;
}

@media (max-width: 576px) {
    .dp-product-specs { display: block; }
    .dp-product-specs tbody { display: block; }
    .dp-product-specs tr {
        display: block;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--dp-border);
    }
    .dp-product-specs tr:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .dp-product-specs th,
    .dp-product-specs td {
        display: block;
        padding: 0.15rem 0;
    }
    .dp-product-specs th {
        color: var(--dp-text-light);
        font-size: 0.85rem;
    }
}

/* Content Page Readability
   ========================================================================== */
.dp-content-card .card-body { max-width: 75ch; }

/* Button Active/Press States
   ========================================================================== */
.dp-btn-primary:active,
.dp-btn-secondary:active,
.dp-btn-tertiary:active,
.dp-btn-light:active {
    transform: translateY(1px);
}

/* Image Lazy-Load Skeleton Placeholder
   ========================================================================== */
.dp-product-card .card-img,
.dp-product-list-card .card-img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: dp-shimmer 1.5s ease-in-out infinite;
}

@keyframes dp-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Sticky Navbar
   ========================================================================== */
.navbar.sticky-top {
    transition: box-shadow 0.2s ease;
}

.navbar.dp-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Back to Top Button
   ========================================================================== */
.dp-back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--dp-primary);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
    z-index: 1040;
}

.dp-back-to-top.dp-visible {
    opacity: 1;
    visibility: visible;
}

.dp-back-to-top:hover {
    background-color: var(--dp-primary-light);
    transform: translateY(-2px);
}

.dp-back-to-top:focus {
    outline: 3px solid var(--dp-accent-focus);
    outline-offset: 2px;
}

/* Homepage Hero
   ========================================================================== */
.dp-home-hero {
    background: linear-gradient(135deg, var(--dp-primary) 0%, var(--dp-primary-light) 100%);
    padding: 3.5rem 0;
    color: #fff;
    position: relative;
    overflow: visible;
}

.dp-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.dp-home-hero-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dp-home-hero-image::before {
    display: none;
}

.dp-home-hero-video {
    background: #000;
}

.dp-home-hero-video::before {
    display: none;
}

.dp-hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (prefers-reduced-motion: reduce) {
    .dp-hero-video-bg {
        display: none;
    }
}

.dp-hero-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    pointer-events: none;
}

.dp-home-hero .container {
    position: relative;
    z-index: 2;
}

.dp-home-hero h1 {
    color: #fff;
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.dp-home-hero p {
    color: rgba(255, 255, 255, 0.9);
    position: relative;
}

.dp-home-hero .dp-hero-search {
    position: relative;
    max-width: 500px;
    margin: 1.5rem auto 0;
    z-index: 1060;
}

.dp-home-hero .dp-hero-search input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem 1.25rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.dp-home-hero .dp-hero-search input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.dp-home-hero .dp-hero-search input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.dp-home-hero .dp-hero-search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    padding: 0.5rem;
}

.dp-home-hero .dp-hero-search-btn:hover {
    color: #fff;
}

/* Hero Search Autocomplete Dropdown */
.dp-hero-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 0.5rem;
    background: var(--dp-bg);
    border-radius: var(--dp-radius);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    max-height: 50vh;
    overflow-y: auto;
    z-index: 1060;
    display: none;
}

.dp-hero-results.dp-hero-results-open {
    display: block;
    animation: dp-dropdown-in 0.15s ease-out;
}

@keyframes dp-dropdown-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.dp-hero-results .dp-search-result-name {
    color: var(--dp-text);
}

.dp-hero-results .dp-search-empty {
    padding: 1.5rem;
}

.dp-hero-results .dp-search-loading {
    padding: 1.5rem;
}

.dp-hero-intro {
    max-width: 700px;
    margin: 0 auto;
}

/* USP Badges
   ========================================================================== */
.dp-usp-bar {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    position: relative;
}

.dp-usp-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
}

.dp-usp-item .material-symbols-outlined {
    font-size: 1.2rem;
    color: var(--dp-accent);
}

/* FAQ Accordion
   ========================================================================== */
.dp-faq-toggle {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.dp-faq-toggle .dp-faq-chevron {
    transition: transform 0.25s ease;
    flex-shrink: 0;
    color: var(--dp-accent);
}

.dp-faq-item[aria-expanded="true"] .dp-faq-chevron {
    transform: rotate(90deg);
}

.dp-faq-answer-wrap {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.dp-faq-item[aria-expanded="true"] .dp-faq-answer-wrap {
    max-height: 500px;
}

/* Search Spinner Animation
   ========================================================================== */
.dp-search-loading .material-symbols-outlined {
    animation: dp-spin 1s linear infinite;
    display: inline-block;
}

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

/* Search Result Count
   ========================================================================== */
.dp-search-count {
    padding: 0.5rem 1.25rem;
    font-size: 0.8rem;
    color: var(--dp-text-muted);
    border-bottom: 1px solid var(--dp-border);
}

/* Search Empty State Suggestions
   ========================================================================== */
.dp-search-suggestions {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.dp-search-suggestions a {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--dp-border);
    color: var(--dp-text-light);
    text-decoration: none;
    font-size: 0.85rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.dp-search-suggestions a:hover {
    background-color: var(--dp-bg-light);
    color: var(--dp-text);
}

/* Persistent Result Count Bar
   ========================================================================== */
.dp-result-count-bar {
    background: var(--dp-bg-light);
    padding: 0.5rem 1rem;
    border-radius: var(--dp-radius-sm);
    font-size: 0.9rem;
    color: var(--dp-text-light);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dp-result-count-bar .material-symbols-outlined {
    font-size: 1rem;
    color: var(--dp-text-muted);
}

/* Sort Dropdown
   ========================================================================== */
.dp-sort-select {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    border-radius: var(--dp-radius-sm);
    border: 1px solid var(--dp-border);
    background-color: var(--dp-bg);
    color: var(--dp-text);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='2' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
}

/* Sticky Filter Bar
   ========================================================================== */
.dp-filter-bar-sticky {
    position: sticky;
    top: 56px;
    z-index: 50;
    background: var(--dp-bg);
}

/* Cookie Banner Fixed
   ========================================================================== */
.dp-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background-color: var(--dp-bg);
    border-top: 1px solid var(--dp-border);
    border-bottom: none;
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    transition: opacity 0.3s ease;
}

/* Keyboard Shortcut Hint
   ========================================================================== */
.dp-kbd-hint {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    padding: 0.1rem 0.4rem;
    font-size: 0.75rem;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Language Switcher */
.dp-lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}
.dp-lang-active {
    color: #fff;
    padding: 2px 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}
.dp-lang-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 2px 6px;
}
.dp-lang-link:hover {
    color: #fff;
    text-decoration: none;
}

/* Comparison Table
   ========================================================================== */
.dp-comparison-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--dp-border);
    border-radius: var(--dp-radius);
    background: var(--dp-bg);
    box-shadow: var(--dp-card-shadow);
}

.dp-comparison-wrapper:focus-visible {
    outline: 3px solid var(--dp-accent-focus);
    outline-offset: 2px;
}

.dp-comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
}

.dp-comparison-table tr:not(:last-child) {
    border-bottom: 1px solid var(--dp-border);
}

.dp-comparison-label {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--dp-bg-light);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--dp-text);
    padding: 0.75rem 1rem;
    white-space: nowrap;
    min-width: 120px;
    border-right: 1px solid var(--dp-border);
}

.dp-comparison-cell {
    padding: 0.75rem 1rem;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9rem;
    min-width: 150px;
}

.dp-comparison-cell:not(:last-child) {
    border-right: 1px solid var(--dp-border);
}

.dp-comparison-img-cell {
    padding: 1rem;
}

.dp-comparison-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    border-radius: var(--dp-radius-sm);
}

.dp-comparison-no-img {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dp-bg-light);
    border-radius: var(--dp-radius-sm);
    color: var(--dp-text-muted);
    margin: 0 auto;
}

.dp-comparison-no-img .material-symbols-outlined {
    font-size: 2rem;
}

.dp-comparison-product-link {
    font-weight: 600;
    color: var(--dp-primary);
    text-decoration: none;
}

.dp-comparison-product-link:hover {
    color: var(--dp-accent);
    text-decoration: underline;
}

.dp-comparison-row-highlight {
    background: rgba(30, 126, 52, 0.06);
}

.dp-comparison-row-highlight .dp-comparison-label {
    background: rgba(30, 126, 52, 0.1);
}

.dp-comparison-price {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--dp-green);
}

.dp-comparison-available {
    color: var(--dp-green);
}

.dp-comparison-available .material-symbols-outlined,
.dp-comparison-unavailable .material-symbols-outlined {
    font-size: 1.4rem;
    vertical-align: middle;
}

.dp-comparison-unavailable {
    color: var(--dp-accent);
}

@media (max-width: 768px) {
    .dp-comparison-img {
        width: 80px;
        height: 80px;
    }

    .dp-comparison-no-img {
        width: 80px;
        height: 80px;
    }

    .dp-comparison-label {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        min-width: 100px;
    }

    .dp-comparison-cell {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
        min-width: 130px;
    }
}

/* Health Check Cards
   ========================================================================== */
.dp-health-card {
    border-top: 3px solid var(--dp-border);
    transition: box-shadow 0.2s ease;
}

.dp-health-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dp-health-green {
    border-top-color: var(--dp-green);
}

.dp-health-yellow {
    border-top-color: #ffc107;
}

.dp-health-red {
    border-top-color: var(--dp-accent);
}

.dp-health-indicator {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.dp-health-indicator-green {
    background-color: var(--dp-green);
    box-shadow: 0 0 6px rgba(30, 126, 52, 0.4);
}

.dp-health-indicator-yellow {
    background-color: #ffc107;
    box-shadow: 0 0 6px rgba(255, 193, 7, 0.4);
}

.dp-health-indicator-red {
    background-color: var(--dp-accent);
    box-shadow: 0 0 6px rgba(220, 53, 69, 0.4);
}

/* Export Cards
   ========================================================================== */
.dp-export-card {
    border: 1px solid var(--dp-border);
    transition: box-shadow 0.2s ease;
}

.dp-export-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dp-export-card .card-header .material-symbols-outlined {
    color: var(--dp-accent);
}

/* Source Overview Cards
   ========================================================================== */
.dp-source-card {
    border: 1px solid var(--dp-border);
    transition: box-shadow 0.2s ease, opacity 0.2s ease;
}

.dp-source-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dp-source-active {
    border-left: 4px solid var(--dp-green);
}

.dp-source-inactive {
    opacity: 0.7;
}

.dp-feed-collapse-header {
    font-weight: 600;
    cursor: pointer;
    padding: 0.75rem 0;
    font-size: 1.05rem;
    color: var(--dp-text);
    list-style: none;
}

.dp-feed-collapse-header::-webkit-details-marker {
    display: none;
}

.dp-feed-collapse-header::before {
    content: '\25B6';
    display: inline-block;
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
    font-size: 0.75rem;
}

details[open] > .dp-feed-collapse-header::before {
    transform: rotate(90deg);
}

/* Admin Responsive
   ========================================================================== */
@media (max-width: 767.98px) {
    .dp-health-card .card-body {
        padding: 0.75rem !important;
    }

    .dp-health-card .h5 {
        font-size: 1.1rem;
    }

    .dp-feed-status-bar {
        flex-direction: column;
        gap: 0.25rem;
    }

    .dp-source-card .card-body {
        padding: 0.75rem !important;
    }

    .dp-export-card code {
        font-size: 0.7rem;
        word-break: break-all;
    }
}

/* Toast notification */
.dp-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dp-primary, #333);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: var(--dp-radius-sm, 8px);
    z-index: 9999;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Social Share Bar
   ========================================================================== */
.dp-share-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem 0;
    padding: 0.75rem 0;
    border-top: 1px solid var(--dp-border, #e5e7eb);
    border-bottom: 1px solid var(--dp-border, #e5e7eb);
}

.dp-share-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dp-text, #333);
    margin-right: 0.25rem;
}

.dp-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    transition: opacity 0.2s, transform 0.2s;
}

.dp-share-btn:hover {
    opacity: 0.85;
    transform: scale(1.1);
    color: #fff;
    text-decoration: none;
}

.dp-share-btn:focus {
    outline: 2px solid var(--dp-accent, #e23317);
    outline-offset: 2px;
}

.dp-share-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.dp-share-facebook { background: #1877f2; }
.dp-share-whatsapp { background: #25d366; }
.dp-share-pinterest { background: #e60023; }
.dp-share-x { background: #000; }

/* Print Styles
   ========================================================================== */
@media print {
    .navbar,
    .dp-campaign-banner,
    .dp-hero-cta,
    .dp-back-to-top,
    .dp-cookie-banner,
    .nav-pills,
    .btn,
    button,
    footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
        color: #000;
    }

    .dp-health-card {
        break-inside: avoid;
        border: 1px solid #ccc !important;
    }

    .dp-health-indicator {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* ==========================================================================
   Product Compare
   ========================================================================== */
.dp-compare-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--dp-border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    z-index: 2;
    color: var(--dp-text-muted);
}
.dp-compare-btn:hover,
.dp-compare-btn:focus {
    background: var(--dp-accent);
    color: #fff;
    border-color: var(--dp-accent);
    outline: 2px solid var(--dp-accent);
    outline-offset: 2px;
}
.dp-compare-btn.active {
    background: var(--dp-accent);
    color: #fff;
    border-color: var(--dp-accent);
}
.dp-product-card { position: relative; }

.dp-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dp-primary);
    color: #fff;
    padding: 10px 0;
    z-index: 1050;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.dp-compare-table {
    table-layout: fixed;
}
.dp-compare-label-col {
    width: 140px;
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 1;
}
.dp-compare-product-col {
    min-width: 180px;
}
.dp-compare-img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 8px;
}
.dp-compare-img-placeholder {
    width: 150px;
    height: 150px;
    background: var(--dp-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: var(--dp-text-muted);
}
.dp-compare-product-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}
.dp-compare-product-name a { color: var(--dp-text); text-decoration: none; }
.dp-compare-product-name a:hover { color: var(--dp-accent); }
.dp-compare-remove { padding: 2px 6px; }
.dp-compare-link { font-size: 0.8rem; }
.dp-compare-empty { min-height: 300px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dp-compare-btn-pdp {
    position: static;
    width: auto;
    height: auto;
    border-radius: 4px;
    background: transparent;
    display: inline-flex;
    gap: 4px;
}
.dp-compare-best-price {
    background: var(--dp-green, #1e7e34);
    color: #fff;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}
.dp-compare-avail-yes {
    color: var(--dp-green, #1e7e34);
    font-weight: 600;
}
.dp-compare-avail-no {
    color: var(--dp-unavailable, #545b62);
}
.dp-compare-actions { gap: 0.5rem; }
.dp-compare-share-btn,
.dp-compare-print-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.dp-compare-print-ref {
    display: none;
}

/* Desktop: show table, hide cards */
.dp-compare-desktop { display: block; }
.dp-compare-mobile { display: none; }

/* Mobile card layout */
.dp-compare-mobile-card {
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    background: var(--dp-bg);
}
.dp-compare-mobile-card.dp-compare-mobile-best {
    border-color: var(--dp-green, #1e7e34);
    border-width: 2px;
}
.dp-compare-mobile-header {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 0.75rem;
}
.dp-compare-mobile-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}
.dp-compare-mobile-title {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.dp-compare-mobile-dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 12px;
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
}
.dp-compare-mobile-dl dt {
    font-weight: 600;
    color: var(--dp-text);
}
.dp-compare-mobile-dl dd {
    margin: 0;
    color: var(--dp-text-light);
}
.dp-compare-mobile-links {
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .dp-compare-desktop { display: none; }
    .dp-compare-mobile { display: block; }
}

@media print {
    .dp-compare-actions,
    .dp-compare-remove,
    .dp-compare-bar,
    nav,
    footer,
    .dp-back-to-top,
    .dp-cookie-bar,
    .dp-wishlist-bar { display: none !important; }
    .dp-compare-print-ref { display: block; font-size: 0.8rem; color: #666; margin-top: 1rem; }
    .dp-compare-table { table-layout: auto; }
    .dp-compare-desktop { display: block !important; }
    .dp-compare-mobile { display: none !important; }
}

/* ==========================================================================
   Configurator (Petje Vinden)
   ========================================================================== */
.dp-configurator { max-width: 800px; margin: 0 auto; }

.dp-configurator-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 0;
}
.dp-configurator-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--dp-text-muted);
    border-bottom: 3px solid var(--dp-border);
    transition: color 0.2s, border-color 0.2s;
}
.dp-configurator-step.active {
    color: var(--dp-accent);
    border-color: var(--dp-accent);
    font-weight: 600;
}
.dp-configurator-step.completed {
    color: var(--dp-green);
    border-color: var(--dp-green);
}
.dp-configurator-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid currentColor;
    font-size: 0.8rem;
    font-weight: 700;
}

.dp-configurator-panel { display: none; }
.dp-configurator-panel.active { display: block; }

.dp-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}
.dp-option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 1rem;
    border: 2px solid var(--dp-border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    text-align: center;
    background: var(--dp-bg);
    text-decoration: none;
    color: var(--dp-text);
}
.dp-option-card:hover,
.dp-option-card:focus {
    border-color: var(--dp-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: var(--dp-text);
    outline: none;
}
.dp-option-card.selected {
    border-color: var(--dp-accent);
    background: rgba(226, 51, 23, 0.05);
}
.dp-option-card-name {
    font-weight: 600;
    font-size: 0.95rem;
}
.dp-option-card-count {
    font-size: 0.8rem;
    color: var(--dp-text-muted);
    margin-top: 4px;
}
.dp-configurator-result {
    text-align: center;
    padding: 2rem 0;
}
.dp-configurator-result-count {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dp-accent);
}
.dp-configurator-nav-btn {
    border: 2px solid var(--dp-accent) !important;
    color: var(--dp-accent) !important;
    font-weight: 600;
}
.dp-configurator-nav-btn:hover {
    background: var(--dp-accent) !important;
    color: #fff !important;
}
.dp-configurator-actions { display: flex; justify-content: center; gap: 0.5rem; }
.dp-configurator-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}
.dp-configurator-result-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border: 1px solid var(--dp-border);
    border-radius: 8px;
    background: var(--dp-bg);
}
.dp-configurator-result-img {
    max-width: 150px;
    max-height: 150px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}
.dp-configurator-result-brand {
    font-size: 0.75rem;
    color: var(--dp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dp-configurator-result-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dp-text);
    text-decoration: none;
    margin: 4px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dp-configurator-result-name:hover { color: var(--dp-accent); text-decoration: none; }
.dp-configurator-result-price {
    font-weight: 700;
    color: var(--dp-accent);
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .dp-configurator-steps { flex-wrap: wrap; }
    .dp-configurator-step { padding: 0.4rem 0.6rem; font-size: 0.75rem; }
    .dp-option-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Wishlist / Favorites
   ========================================================================== */
.dp-wishlist-btn {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--dp-border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    z-index: 2;
    color: var(--dp-text-muted);
}
.dp-wishlist-btn:hover,
.dp-wishlist-btn:focus {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
    outline: 2px solid #e74c3c;
    outline-offset: 2px;
}
.dp-wishlist-btn.active {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

.dp-wishlist-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dp-primary);
    color: #fff;
    padding: 10px 0;
    z-index: 1049;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

/* WCAG 2.1 AA — Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
