/* ================================================
   DUTCHIE PLUS MENU - Frontend Styles
   ================================================ */

:root {
    --dpm-accent: #10b981;
    --dpm-accent-dark: #059669;
    --dpm-bg: #ffffff;
    --dpm-card-bg: #ffffff;
    --dpm-text: #1f2937;
    --dpm-text-muted: #6b7280;
    --dpm-border: #e5e7eb;
    --dpm-radius: 12px;
    --dpm-shadow: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --dpm-shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --dpm-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.dpm-menu-container {
    font-family: var(--dpm-font);
    color: var(--dpm-text);
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 16px 80px;
    position: relative;
}

@media (max-width: 768px) {
    .dpm-menu-container {
        padding-top: 16px;
        padding-left: 12px;
        padding-right: 12px;
    }
}

.dpm-menu-container *, .dpm-menu-container *::before, .dpm-menu-container *::after {
    box-sizing: border-box;
}

/* ---- Error ---- */
.dpm-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    padding: 16px 20px;
    border-radius: var(--dpm-radius);
    text-align: center;
}

/* ---- Store Selector ---- */
.dpm-store-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.dpm-store-btn {
    padding: 8px 20px;
    border: 2px solid var(--dpm-border);
    border-radius: 999px;
    background: var(--dpm-bg);
    color: var(--dpm-text);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.dpm-store-btn:hover { border-color: var(--dpm-accent); color: var(--dpm-accent); }
.dpm-store-btn.active {
    background: var(--dpm-accent);
    border-color: var(--dpm-accent);
    color: #1f2937;
}

/* ---- Header with Cart ---- */
.dpm-menu-container .dpm-menu-header,
#dpm-app .dpm-menu-header,
#dpm-app.dpm-menu-container .dpm-menu-header {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin: 20px 0 16px !important;
    gap: 16px !important;
    width: 100% !important;
}
.dpm-menu-container .dpm-store-title,
#dpm-app .dpm-store-title,
#dpm-app span.dpm-store-title {
    font-size: 28px !important;
    font-weight: 800 !important;
    margin: 0 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    float: none !important;
}
.dpm-menu-container .dpm-title-wrap,
#dpm-app .dpm-title-wrap {
    flex: 1 1 0% !important;
    min-width: 0 !important;
}

/* Cart button - top of menu */
.dpm-menu-container .dpm-cart-top-btn {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--dpm-accent) !important;
    color: #1f2937 !important;
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s, transform .1s;
    white-space: nowrap;
    flex-shrink: 0;
    line-height: 1.4;
    text-decoration: none;
}
.dpm-menu-container .dpm-cart-top-btn:hover { background: var(--dpm-accent-dark) !important; transform: scale(1.03); color: #1f2937 !important; }
.dpm-menu-container .dpm-cart-top-btn svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
}
.dpm-cart-top-count {
    background: #ef4444;
    color: #fff !important;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

/* ================================================
   DEALS BANNER IMAGE
   ================================================ */
.dpm-deals-banner {
    margin-bottom: 0 !important;
    border-radius: var(--dpm-radius) !important;
    overflow: hidden !important;
    box-shadow: var(--dpm-shadow) !important;
    line-height: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}
.dpm-deals-banner-img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    border: none !important;
    border-radius: var(--dpm-radius) !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ================================================
   SPECIALS TAB + GRID
   ================================================ */
.dpm-specials-tab {
    background: linear-gradient(135deg, #f97316, #ef4444) !important;
    color: #fff !important;
    border-color: #ef4444 !important;
}
.dpm-specials-tab:hover,
.dpm-specials-tab.active {
    background: linear-gradient(135deg, #ea580c, #dc2626) !important;
    color: #fff !important;
    border-color: #dc2626 !important;
}
.dpm-specials-tab .dpm-cat-count {
    background: rgba(255,255,255,0.3) !important;
    color: #fff !important;
}

.dpm-specials-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 16px !important;
    padding: 16px 0 !important;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.dpm-specials-grid[style*="display: none"] {
    display: none !important;
}
.dpm-specials-grid.dpm-visible {
    display: grid !important;
}

/* Card with background image */
.dpm-special-card.has-image .dpm-special-bg {
    position: relative !important;
    border-radius: var(--dpm-radius) !important;
    overflow: hidden !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: flex-end !important;
    box-shadow: var(--dpm-shadow) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.dpm-special-card.has-image .dpm-special-bg:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--dpm-shadow-lg) !important;
}

.dpm-special-overlay {
    width: 100% !important;
    padding: 20px 16px 16px !important;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.0) 100%) !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Text-only card (no image) */
.dpm-special-text-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: var(--dpm-radius) !important;
    padding: 20px 16px !important;
    min-height: 120px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-shadow: var(--dpm-shadow) !important;
    transition: transform 0.2s, box-shadow 0.2s !important;
}
.dpm-special-text-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--dpm-shadow-lg) !important;
}

/* Badge */
.dpm-special-badge {
    display: inline-block !important;
    padding: 3px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 8px !important;
    width: fit-content !important;
}
.has-image .dpm-special-badge {
    background: var(--dpm-accent) !important;
    color: #1f2937 !important;
}
.no-image .dpm-special-badge {
    background: #fef3c7 !important;
    color: #92400e !important;
}

/* Name */
.dpm-special-name {
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    margin: 0 0 4px 0 !important;
    padding: 0 !important;
}
.has-image .dpm-special-name {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5) !important;
}
.no-image .dpm-special-name {
    color: #1f2937 !important;
}

/* Description */
.dpm-special-desc {
    font-size: 13px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    padding: 0 !important;
}
.has-image .dpm-special-desc {
    color: rgba(255,255,255,0.85) !important;
}
.no-image .dpm-special-desc {
    color: #6b7280 !important;
}

@media (max-width: 768px) {
    .dpm-specials-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
        gap: 12px !important;
    }
    .dpm-special-card.has-image .dpm-special-bg {
        min-height: 160px !important;
    }
}

/* ---- Toolbar (Search + Sort) ---- */
.dpm-toolbar {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.dpm-search-wrap {
    flex: 1;
    min-width: 200px;
    position: relative;
}
.dpm-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--dpm-text-muted);
    pointer-events: none;
}
.dpm-search {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 2px solid var(--dpm-border);
    border-radius: var(--dpm-radius);
    font-size: 15px;
    background: #ffffff !important;
    color: #1f2937 !important;
    transition: border-color .2s;
    outline: none;
}
.dpm-search:focus { border-color: var(--dpm-accent); }

.dpm-sort-wrap { min-width: 160px; }
.dpm-sort {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--dpm-border);
    border-radius: var(--dpm-radius);
    font-size: 14px;
    background: #ffffff !important;
    color: #1f2937 !important;
    cursor: pointer;
    outline: none;
    appearance: auto;
}

/* ---- Category Tabs ---- */
/* Categories scroll wrapper */
.dpm-categories-wrap {
    position: relative !important;
    margin-bottom: 8px;
    overflow: visible !important;
}
.dpm-categories {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    padding-right: 48px;
    padding-left: 48px;
}
.dpm-categories::-webkit-scrollbar { display: none; }

.dpm-cat-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--dpm-accent);
    border: 2px solid var(--dpm-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,.3);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .2s;
    color: #1f2937;
    padding: 0;
}
.dpm-cat-scroll-btn:hover {
    box-shadow: 0 0 16px rgba(45,212,191,.6), 0 0 32px rgba(45,212,191,.3);
}
.dpm-cat-scroll-btn.hidden { display: none !important; }
.dpm-cat-scroll-left { left: 0px !important; }
.dpm-cat-scroll-right { right: 0px !important; }
.dpm-cat-scroll-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.5;
}

@media (max-width: 768px) {
    .dpm-cat-scroll-btn { display: none !important; }
    .dpm-categories { padding-right: 0 !important; padding-left: 0 !important; }
}

.dpm-cat-btn {
    flex-shrink: 0;
    padding: 10px 22px;
    border: 2px solid var(--dpm-accent);
    border-radius: 999px;
    background: var(--dpm-accent);
    color: #1f2937 !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    line-height: 1.2;
    box-sizing: border-box;
}
.dpm-cat-btn:link, .dpm-cat-btn:visited, .dpm-cat-btn:hover, .dpm-cat-btn:active, .dpm-cat-btn:focus {
    color: #1f2937 !important;
    text-decoration: none !important;
}
.dpm-cat-btn:hover { filter: brightness(0.9); }
.dpm-cat-btn.active,
.dpm-cat-btn.active:link,
.dpm-cat-btn.active:visited,
.dpm-cat-btn.active:hover {
    background: var(--dpm-accent);
    border-color: var(--dpm-accent);
    color: #1f2937 !important;
    filter: none;
    box-shadow: 0 0 0 2px #1f2937;
}
.dpm-cat-btn .dpm-cat-count {
    display: inline-block;
    background: rgba(0,0,0,.15);
    border-radius: 999px;
    padding: 2px 9px;
    font-size: 13px;
    font-weight: 700;
    margin-left: 4px;
    color: #1f2937 !important;
}
.dpm-cat-btn.active .dpm-cat-count { background: rgba(0,0,0,.15); color: #1f2937 !important; }

/* ---- Filter Dropdowns (Type, Strain, Brands) ---- */
/* Filter dropdowns row */
.dpm-filter-dropdowns {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.dpm-brands-filter {
    position: relative;
    flex-shrink: 0;
}
.dpm-brands-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 2px solid var(--dpm-border);
    border-radius: 999px;
    background: var(--dpm-bg);
    color: var(--dpm-text);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    letter-spacing: .5px;
}
.dpm-brands-toggle:hover { border-color: var(--dpm-accent); }
.dpm-brands-toggle.active {
    border-color: var(--dpm-accent);
    background: var(--dpm-accent);
    color: #1f2937;
}
.dpm-brands-arrow {
    transition: transform .2s;
    flex-shrink: 0;
}
.dpm-brands-toggle.open .dpm-brands-arrow {
    transform: rotate(180deg);
}
.dpm-brands-active-count {
    display: none;
    background: var(--dpm-accent);
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    border-radius: 999px;
    padding: 1px 8px;
    margin-left: 2px;
}
.dpm-brands-toggle.active .dpm-brands-active-count {
    background: rgba(0,0,0,.15);
}
.dpm-brands-active-count.visible { display: inline-block; }

.dpm-brands-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 10000;
    background: #ffffff !important;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    width: min(260px, calc(100vw - 32px));
    max-height: 400px;
    display: flex;
    flex-direction: column;
    color: #1f2937 !important;
}
.dpm-brands-search-wrap {
    padding: 12px 12px 8px;
    border-bottom: 1px solid #f3f4f6;
}
.dpm-brands-search {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    color: #1f2937 !important;
    background: #f9fafb !important;
    outline: none;
    box-sizing: border-box;
}
.dpm-brands-search:focus { border-color: var(--dpm-accent); }
.dpm-brands-search::placeholder { color: #9ca3af; }

.dpm-brands-list {
    overflow-y: auto;
    max-height: 260px;
    padding: 4px 0;
}
.dpm-brands-list::-webkit-scrollbar { width: 6px; }
.dpm-brands-list::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }

.dpm-brand-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background .1s;
    font-size: 14px;
    color: #1f2937 !important;
}
.dpm-brand-item:hover { background: #f3f4f6; }
.dpm-brand-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .15s;
    background: #fff;
}
.dpm-brand-item.checked .dpm-brand-checkbox {
    background: var(--dpm-accent);
    border-color: var(--dpm-accent);
}
.dpm-brand-checkbox-icon {
    display: none;
    width: 12px;
    height: 12px;
    color: #1f2937;
}
.dpm-brand-item.checked .dpm-brand-checkbox-icon { display: block; }
.dpm-brand-name {
    flex: 1;
    font-weight: 500;
    color: #1f2937 !important;
}
.dpm-brand-count {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 600;
}

.dpm-brands-actions {
    display: flex;
    justify-content: space-between;
    padding: 8px 12px;
    border-top: 1px solid #f3f4f6;
    gap: 8px;
}
.dpm-brands-view-more {
    background: none;
    border: none;
    color: #0e7490;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
}
.dpm-brands-view-more:hover { text-decoration: underline; }
.dpm-brands-clear {
    background: none;
    border: none;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-left: auto;
}
.dpm-brands-clear:hover { text-decoration: underline; }

/* ---- Results Bar ---- */
.dpm-results-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--dpm-text-muted);
}
.dpm-sale-toggle {
    padding: 6px 14px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #1f2937 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all .2s !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1 !important;
    display: inline-block !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
    max-width: none !important;
    max-height: none !important;
    box-shadow: none !important;
    line-height: 1.4 !important;
}
.dpm-sale-toggle:hover { border-color: #ef4444 !important; color: #ef4444 !important; }
.dpm-sale-toggle.active {
    background: #ef4444 !important;
    border-color: #ef4444 !important;
    color: #fff !important;
}

/* ---- Loading ---- */
.dpm-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--dpm-text-muted);
}
.dpm-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--dpm-border);
    border-top-color: var(--dpm-accent);
    border-radius: 50%;
    animation: dpm-spin 0.8s linear infinite;
    margin: 0 auto 16px;
}
@keyframes dpm-spin { to { transform: rotate(360deg); } }
@keyframes dpmSlideUp {
    from { transform: scale(.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---- Products Grid ---- */
.dpm-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Product Card ---- */
.dpm-product-card {
    background: #ffffff;
    border: 1px solid var(--dpm-border);
    border-radius: var(--dpm-radius);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
    position: relative;
    color: #1f2937;
    display: flex;
    flex-direction: column;
}
.dpm-product-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--dpm-shadow-lg);
}

/* Badges */
.dpm-badge-row {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}
.dpm-badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.dpm-badge-sale { background: #ef4444; color: #fff; }
.dpm-badge-staff { background: #f59e0b; color: #fff; }
.dpm-badge-strain {
    background: rgba(0,0,0,.6);
    color: #fff;
    backdrop-filter: blur(4px);
    margin-left: auto;
}

/* Image */
.dpm-product-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #f3f4f6;
    overflow: hidden;
    flex-shrink: 0;
}
.dpm-product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}
.dpm-product-card:hover .dpm-product-image { transform: scale(1.05); }
.dpm-product-image-placeholder {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    color: #9ca3af;
    font-size: 40px;
}

/* Info */
.dpm-product-info {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.dpm-product-category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #0e7490;
    margin-bottom: 4px;
    line-height: 1.3;
    min-height: 1.3em;
}
.dpm-product-name {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em; /* exactly 2 lines (2 × 1.3 line-height) */
}
.dpm-product-brand {
    font-size: 13px;
    color: #4b5563;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.4em; /* reserve space even if empty */
    line-height: 1.4;
}

/* Potency badges */
.dpm-potency-row {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
    flex-wrap: nowrap;
    overflow: hidden;
    min-height: 26px; /* reserve space for badges even if missing */
    align-items: flex-start;
}
.dpm-potency-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f3f4f6;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 1;
    min-width: 0;
}

/* Weight selector */
.dpm-weight-selector {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr)) !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
}
.dpm-weight-btn {
    padding: 6px 10px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all .15s !important;
    text-align: center !important;
    line-height: 1.3 !important;
    color: #1f2937 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    min-width: 0 !important;
}
.dpm-weight-btn:hover { border-color: #1f2937 !important; }
.dpm-weight-btn.selected {
    border-color: #1f2937 !important;
    background: #1f2937 !important;
    color: #ffffff !important;
}
.dpm-weight-btn .dpm-weight-label {
    display: block !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 1px !important;
}
.dpm-weight-btn.selected .dpm-weight-label { color: #ffffff !important; }
.dpm-weight-btn .dpm-weight-price {
    display: block !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #1f2937 !important;
}
.dpm-weight-btn.selected .dpm-weight-price { color: #ffffff !important; }
.dpm-weight-btn .dpm-weight-original {
    text-decoration: line-through !important;
    color: #6b7280 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
}
.dpm-weight-btn.selected .dpm-weight-original { color: #d1d5db !important; }
.dpm-weight-btn .dpm-weight-sale {
    color: #ef4444 !important;
    font-weight: 800 !important;
}
.dpm-weight-btn.selected .dpm-weight-sale { color: #fca5a5 !important; }

/* Price + Add to Cart row */
.dpm-product-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
}
.dpm-price {
    font-size: 18px;
    font-weight: 800;
    color: #111827;
}
.dpm-price-original {
    text-decoration: line-through;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    margin-right: 6px;
}
.dpm-price-sale { color: #ef4444; }

.dpm-add-btn,
.dpm-select-weight-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 999px;
    background: var(--dpm-accent);
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s;
    width: 100%;
    text-align: center;
}
.dpm-add-btn:hover, .dpm-select-weight-btn:hover { background: var(--dpm-accent-dark); color: #1f2937; }
.dpm-add-btn:active, .dpm-select-weight-btn:active { transform: scale(.95); }
.dpm-add-btn.added {
    background: #059669;
    animation: dpm-pop .3s ease;
}
@keyframes dpm-pop {
    50% { transform: scale(1.15); }
}

/* Out of stock */
.dpm-product-card.out-of-stock { opacity: .55; }
.dpm-product-card.out-of-stock .dpm-add-btn,
.dpm-product-card.out-of-stock .dpm-select-weight-btn {
    background: #9ca3af;
    cursor: not-allowed;
}
.dpm-oos-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,.7);
    color: #fff;
    text-align: center;
    padding: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ---- Load More ---- */
.dpm-load-more-wrap { text-align: center; margin-top: 24px; }
.dpm-load-more-btn {
    padding: 14px 40px;
    border: 2px solid var(--dpm-border);
    border-radius: 999px;
    background: var(--dpm-bg);
    color: var(--dpm-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.dpm-load-more-btn:hover { border-color: var(--dpm-accent); color: var(--dpm-accent); }

/* ---- Empty ---- */
.dpm-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--dpm-text-muted);
}
.dpm-empty p { font-size: 16px; margin: 12px 0; }
.dpm-clear-filters {
    padding: 10px 24px;
    border: 1px solid var(--dpm-accent);
    border-radius: 999px;
    background: transparent;
    color: var(--dpm-accent);
    font-weight: 600;
    cursor: pointer;
}

/* ================================================
   CART DRAWER
   ================================================ */
.dpm-cart-fab {
    display: none !important;
}

.dpm-cart-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,.5) !important;
    z-index: 99999 !important;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    padding: 0 !important;
    margin: 0 !important;
}
.dpm-cart-overlay.open { opacity: 1; visibility: visible; }

.dpm-cart-drawer {
    position: fixed !important;
    top: 0 !important;
    right: -420px !important;
    width: 400px !important;
    max-width: 90vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 100000 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: -4px 0 20px rgba(0,0,0,.15) !important;
    transition: right .3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    color: #1f2937 !important;
    font-family: var(--dpm-font) !important;
}
.dpm-cart-drawer.open { right: 0 !important; }

.dpm-cart-drawer .dpm-cart-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 20px 24px !important;
    border-bottom: 1px solid #e5e7eb !important;
    background: #ffffff !important;
    margin: 0 !important;
    min-height: auto !important;
}
.dpm-cart-drawer .dpm-cart-header h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    padding: 0 !important;
    line-height: 1.3 !important;
}
.dpm-cart-drawer .dpm-cart-close {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    cursor: pointer !important;
    color: #6b7280 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
.dpm-cart-drawer .dpm-cart-close:hover {
    color: #1f2937 !important;
    background: #f3f4f6 !important;
}

.dpm-cart-drawer .dpm-cart-items {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 16px 24px !important;
    background: #ffffff !important;
}
.dpm-cart-drawer .dpm-cart-empty {
    text-align: center !important;
    padding: 40px 0 !important;
    color: #6b7280 !important;
}

.dpm-cart-drawer .dpm-cart-item {
    display: flex !important;
    gap: 14px !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid #e5e7eb !important;
    align-items: center !important;
    background: #ffffff !important;
    margin: 0 !important;
    border-radius: 0 !important;
}
.dpm-cart-drawer .dpm-cart-item-img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    border-radius: 8px !important;
    object-fit: cover !important;
    background: #f3f4f6 !important;
    flex-shrink: 0 !important;
    border: none !important;
}
.dpm-cart-drawer .dpm-cart-item-info {
    flex: 1 !important;
    min-width: 0 !important;
}
.dpm-cart-drawer .dpm-cart-item-name {
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-bottom: 2px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: #1f2937 !important;
    line-height: 1.4 !important;
}
.dpm-cart-drawer .dpm-cart-item-meta {
    font-size: 12px !important;
    color: #6b7280 !important;
    line-height: 1.4 !important;
}
.dpm-cart-drawer .dpm-cart-item-price {
    font-weight: 700 !important;
    font-size: 15px !important;
    margin-top: 4px !important;
    color: #1f2937 !important;
}

.dpm-cart-drawer .dpm-cart-item-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 4px !important;
    flex-shrink: 0 !important;
}
.dpm-cart-drawer .dpm-cart-item-actions .dpm-qty-row {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}
.dpm-cart-drawer .dpm-qty-btn {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    min-height: 28px !important;
    max-height: 28px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all .15s !important;
    color: #1f2937 !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
}
.dpm-cart-drawer .dpm-qty-btn:hover {
    border-color: var(--dpm-accent) !important;
    color: var(--dpm-accent) !important;
}
.dpm-cart-drawer .dpm-qty-value {
    font-weight: 700 !important;
    font-size: 14px !important;
    min-width: 20px !important;
    text-align: center !important;
    color: #1f2937 !important;
}

.dpm-cart-drawer .dpm-cart-item-remove {
    background: none !important;
    border: none !important;
    color: #ef4444 !important;
    font-size: 11px !important;
    cursor: pointer !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    width: auto !important;
    height: auto !important;
    min-width: auto !important;
    max-width: none !important;
    min-height: auto !important;
    max-height: none !important;
    display: inline !important;
    border-radius: 0 !important;
    line-height: 1 !important;
    box-shadow: none !important;
    font-weight: 500 !important;
    text-decoration: underline !important;
}
.dpm-cart-drawer .dpm-cart-item-remove:hover {
    color: #dc2626 !important;
    background: none !important;
}

.dpm-cart-drawer .dpm-cart-footer {
    padding: 20px 24px !important;
    border-top: 1px solid #e5e7eb !important;
    background: #ffffff !important;
}
.dpm-cart-drawer .dpm-cart-total {
    display: flex !important;
    justify-content: space-between !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 16px !important;
    color: #1f2937 !important;
}
.dpm-cart-drawer .dpm-checkout-btn {
    width: 100% !important;
    padding: 16px !important;
    background: var(--dpm-accent) !important;
    color: #1f2937 !important;
    border: none !important;
    border-radius: var(--dpm-radius) !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: background .2s !important;
    box-shadow: none !important;
}
.dpm-cart-drawer .dpm-checkout-btn:hover { background: var(--dpm-accent-dark) !important; }
.dpm-cart-drawer .dpm-checkout-btn:disabled { background: #9ca3af !important; cursor: not-allowed !important; }

/* ================================================
   CHECKOUT MODAL
   ================================================ */
.dpm-checkout-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
}
.dpm-checkout-modal {
    background: var(--dpm-bg);
    border-radius: var(--dpm-radius);
    width: 95%;
    max-width: 600px;
    height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.dpm-checkout-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--dpm-border);
}
.dpm-checkout-header h3 { margin: 0; }
.dpm-checkout-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--dpm-text-muted);
}
.dpm-checkout-loading {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dpm-text-muted);
}
.dpm-checkout-iframe {
    flex: 1;
    border: none;
    width: 100%;
    display: none;
}

/* ================================================
   PRODUCT DETAIL MODAL
   ================================================ */
.dpm-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.6);
    z-index: 100001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.dpm-detail-modal {
    background: var(--dpm-bg);
    border-radius: var(--dpm-radius);
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.dpm-detail-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dpm-detail-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
    background: #f3f4f6;
}
.dpm-detail-body { padding: 24px; }
.dpm-detail-category {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #0e7490;
    letter-spacing: .5px;
    margin-bottom: 4px;
}
.dpm-detail-name { font-size: 24px; font-weight: 700; margin: 0 0 4px; }
.dpm-detail-brand { font-size: 15px; color: var(--dpm-text-muted); margin-bottom: 16px; }

.dpm-detail-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.dpm-detail-meta-item {
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}
.dpm-detail-effects {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.dpm-effect-tag {
    padding: 4px 12px;
    background: #e5e7eb;
    color: #1f2937;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}
.dpm-detail-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--dpm-text-muted);
    margin-bottom: 20px;
}

.dpm-detail-weights {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.dpm-detail-weight-btn {
    padding: 10px 18px;
    border: 2px solid var(--dpm-border);
    border-radius: 10px;
    background: var(--dpm-bg);
    cursor: pointer;
    text-align: center;
    transition: all .15s;
    min-width: 80px;
}
.dpm-detail-weight-btn:hover { border-color: var(--dpm-accent); }
.dpm-detail-weight-btn.selected {
    border-color: var(--dpm-accent);
    background: rgba(16,185,129,.08);
}
.dpm-detail-weight-btn .label { display: block; font-size: 12px; color: var(--dpm-text-muted); }
.dpm-detail-weight-btn .price { display: block; font-size: 16px; font-weight: 700; }

.dpm-detail-add-btn {
    width: 100%;
    padding: 16px;
    background: var(--dpm-accent, #2dd4bf);
    color: #1f2937;
    border: none;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}
.dpm-detail-add-btn:hover { background: var(--dpm-accent-dark); color: #1f2937; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
    .dpm-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .dpm-product-info { padding: 10px 12px 14px; }
    .dpm-product-name { font-size: 13px; min-height: 2.6em; }
    .dpm-product-brand { font-size: 11px; }
    .dpm-price { font-size: 16px; }
    .dpm-add-btn, .dpm-select-weight-btn { padding: 8px 12px; font-size: 12px; }
    .dpm-weight-range {
        font-size: 10px !important;
    }
    .dpm-potency-row {
        flex-wrap: wrap;
        min-height: auto;
    }
    .dpm-potency-badge {
        font-size: 10px;
        padding: 2px 6px;
    }
    .dpm-toolbar { flex-direction: column; }
    .dpm-store-title,
    #dpm-app .dpm-store-title,
    #dpm-app span.dpm-store-title { 
        font-size: 20px !important; 
        color: #ffffff !important; 
        -webkit-text-fill-color: #ffffff !important; 
        opacity: 1 !important; 
    }
    .dpm-menu-container .dpm-menu-header,
    #dpm-app .dpm-menu-header,
    #dpm-app.dpm-menu-container .dpm-menu-header {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 8px !important;
    }
    .dpm-menu-container .dpm-title-wrap,
    #dpm-app .dpm-title-wrap {
        flex: 1 1 0% !important;
        min-width: 0 !important;
    }
    .dpm-menu-container .dpm-cart-top-btn,
    #dpm-app .dpm-cart-top-btn {
        padding: 8px 14px !important;
        font-size: 12px !important;
        flex-shrink: 0 !important;
    }
    .dpm-detail-image { height: 240px; }
}

@media (max-width: 480px) {
    .dpm-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .dpm-potency-row { gap: 4px; }
    .dpm-potency-badge { font-size: 10px; padding: 2px 6px; }
    .dpm-cart-top-btn span.dpm-cart-top-count { padding: 0 4px; min-width: 18px; height: 18px; font-size: 10px; }
}

/* Compact weight buttons on small cards (mobile 2-col) */
@media (max-width: 768px) {
    .dpm-weight-selector {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
        margin-bottom: 8px !important;
    }
    .dpm-weight-btn {
        padding: 4px 2px !important;
        font-size: 9px !important;
        border-radius: 6px !important;
        line-height: 1.2 !important;
        border-width: 1.5px !important;
        min-width: 0 !important;
        width: auto !important;
    }
    .dpm-weight-btn .dpm-weight-label {
        font-size: 10px !important;
    }
    .dpm-weight-btn .dpm-weight-price,
    .dpm-weight-btn .dpm-weight-original,
    .dpm-weight-btn .dpm-weight-sale {
        font-size: 9px !important;
    }
}

/* ================================================
   THEME OVERRIDE - Force light card styling
   Prevents dark WP themes from bleeding into cards
   ================================================ */
.dpm-menu-container .dpm-product-card {
    background: #ffffff !important;
    color: #1f2937 !important;
    display: flex !important;
    flex-direction: column !important;
}
.dpm-menu-container .dpm-product-card .dpm-product-info {
    background: #ffffff !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.dpm-menu-container .dpm-product-card .dpm-card-footer {
    margin-top: auto !important;
}
.dpm-menu-container .dpm-product-card .dpm-product-name {
    color: #111827 !important;
    font-weight: 700 !important;
}
.dpm-menu-container .dpm-product-card .dpm-product-brand {
    color: #4b5563 !important;
    font-weight: 600 !important;
}
.dpm-menu-container .dpm-product-card .dpm-product-category {
    color: #0e7490 !important;
    font-weight: 700 !important;
}
.dpm-menu-container .dpm-product-card .dpm-price {
    color: #111827 !important;
    font-weight: 800 !important;
}
.dpm-menu-container .dpm-product-card .dpm-price-sale {
    color: #ef4444 !important;
}
.dpm-menu-container .dpm-product-card .dpm-price-original {
    color: #9ca3af !important;
}
.dpm-menu-container .dpm-product-card .dpm-potency-badge {
    background: #f3f4f6 !important;
    color: #111827 !important;
    font-weight: 700 !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn {
    background: #ffffff !important;
    border: 2px solid #e5e7eb !important;
    color: #1f2937 !important;
    border-radius: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    min-width: 0 !important;
    padding: 6px 10px !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn .dpm-weight-label {
    color: #1f2937 !important;
    font-weight: 700 !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn .dpm-weight-sale {
    color: #ef4444 !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn .dpm-weight-original {
    color: #6b7280 !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn .dpm-weight-price {
    color: #1f2937 !important;
    font-weight: 800 !important;
}
@media (max-width: 768px) {
    .dpm-menu-container .dpm-product-card .dpm-weight-selector {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 4px !important;
    }
    .dpm-menu-container .dpm-product-card .dpm-weight-btn {
        padding: 4px 2px !important;
        font-size: 9px !important;
        border-radius: 6px !important;
        border-width: 1.5px !important;
        min-width: 0 !important;
        width: auto !important;
    }
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn.selected {
    background: #1f2937 !important;
    color: #ffffff !important;
    border-color: #1f2937 !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn.selected .dpm-weight-label,
.dpm-menu-container .dpm-product-card .dpm-weight-btn.selected .dpm-weight-price {
    color: #ffffff !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn.selected .dpm-weight-original {
    color: #d1d5db !important;
}
.dpm-menu-container .dpm-product-card .dpm-weight-btn.selected .dpm-weight-sale {
    color: #fca5a5 !important;
}
.dpm-menu-container .dpm-product-card .dpm-add-btn,
.dpm-menu-container .dpm-product-card .dpm-select-weight-btn {
    color: #1f2937 !important;
    background: var(--dpm-accent) !important;
}
.dpm-menu-container .dpm-product-card .dpm-add-btn:hover,
.dpm-menu-container .dpm-product-card .dpm-select-weight-btn:hover {
    background: var(--dpm-accent-dark) !important;
    color: #1f2937 !important;
}
.dpm-menu-container .dpm-product-card .dpm-badge {
    color: #ffffff !important;
}
.dpm-menu-container .dpm-product-card .dpm-product-bottom {
    background: #ffffff !important;
}

/* Force brands dropdown to light */
.dpm-brands-dropdown,
.dpm-menu-container .dpm-brands-dropdown,
#dpm-app .dpm-brands-dropdown {
    background: #ffffff !important;
    color: #1f2937 !important;
}
.dpm-brands-dropdown .dpm-brand-item,
.dpm-brands-dropdown .dpm-brand-name {
    color: #1f2937 !important;
}
.dpm-brands-dropdown .dpm-brands-search {
    color: #1f2937 !important;
    background: #f9fafb !important;
}
.dpm-brands-dropdown .dpm-brand-count {
    color: #9ca3af !important;
}

/* Force detail modal to light */
.dpm-detail-modal {
    background: #ffffff !important;
    color: #1f2937 !important;
}
.dpm-detail-modal .dpm-detail-body {
    background: #ffffff !important;
}
.dpm-detail-modal .dpm-detail-name {
    color: #1f2937 !important;
}
.dpm-detail-modal .dpm-detail-brand,
.dpm-detail-modal .dpm-detail-description {
    color: #6b7280 !important;
}
.dpm-detail-modal .dpm-detail-description *:not(a) {
    color: #6b7280 !important;
}
.dpm-detail-modal .dpm-detail-description a {
    color: var(--dpm-accent) !important;
}
.dpm-detail-modal .dpm-detail-category {
    color: #0e7490 !important;
}
.dpm-detail-modal .dpm-detail-meta-item {
    background: #f3f4f6 !important;
    color: #1f2937 !important;
}
.dpm-detail-modal .dpm-detail-weight-btn {
    background: #ffffff !important;
    color: #1f2937 !important;
    border-color: #e5e7eb !important;
}
.dpm-detail-modal .dpm-detail-weight-btn .label {
    color: #6b7280 !important;
}
.dpm-detail-modal .dpm-detail-weight-btn .price {
    color: #1f2937 !important;
}
.dpm-detail-modal .dpm-detail-weight-btn.selected {
    border-color: #1f2937 !important;
    background: #1f2937 !important;
    color: #ffffff !important;
}
.dpm-detail-modal .dpm-detail-weight-btn.selected .label {
    color: #d1d5db !important;
}
.dpm-detail-modal .dpm-detail-weight-btn.selected .price {
    color: #ffffff !important;
}
.dpm-detail-modal .dpm-detail-weight-btn.selected .price s {
    color: #9ca3af !important;
}
.dpm-detail-modal .dpm-detail-weight-btn.selected .price span {
    color: #fca5a5 !important;
}
.dpm-detail-modal .dpm-detail-add-btn {
    background: var(--dpm-accent, #2dd4bf) !important;
    color: #1f2937 !important;
}
.dpm-detail-modal .dpm-effect-tag {
    background: #e5e7eb !important;
    color: #1f2937 !important;
}

/* Force checkout modal to light */
.dpm-checkout-modal {
    background: #ffffff !important;
    color: #1f2937 !important;
}

/* ================================================
   MOBILE BANNER FIX - Nuclear override
   Ensures banner is visible regardless of theme
   ================================================ */
@media (max-width: 768px) {
    .dpm-deals-banner,
    .dpm-menu-container .dpm-deals-banner {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: none !important;
        overflow: visible !important;
        margin: 0 0 0 0 !important;
        padding: 0 !important;
        position: relative !important;
        float: none !important;
        clear: both !important;
        transform: none !important;
    }
    .dpm-deals-banner-img,
    .dpm-menu-container .dpm-deals-banner-img,
    .dpm-deals-banner img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: none !important;
        min-height: 0 !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        float: none !important;
        transform: none !important;
        clip: auto !important;
        clip-path: none !important;
    }
}
