/*
Theme Name: DealsCommunity Theme
Theme URI: https://example.com/dealscommunity
Author: DealsCommunity
Author URI: https://example.com
Description: A modern deals and community WordPress theme powered by bbPress. Display deal topics as product cards with voting, filtering, and full community interaction.
Version: 1.6.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dealscommunity
Tags: community, deals, bbpress, coupons, e-commerce, responsive, custom-menu, featured-images

This theme is not affiliated with or derived from Slickdeals.net.
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
    --dc-primary:       #e63946;
    --dc-primary-dark:  #c1121f;
    --dc-primary-light: #ff6b6b;
    --dc-accent:        #f4a261;
    --dc-success:       #2a9d8f;
    --dc-warning:       #e9c46a;
    --dc-info:          #457b9d;
    --dc-dark:          #1d3557;
    --dc-gray-900:      #1a1a2e;
    --dc-gray-800:      #2d2d44;
    --dc-gray-700:      #4a4a6a;
    --dc-gray-600:      #6c757d;
    --dc-gray-400:      #adb5bd;
    --dc-gray-200:      #e9ecef;
    --dc-gray-100:      #f8f9fa;
    --dc-white:         #ffffff;
    --dc-bg:            #f0f2f5;
    --dc-card-bg:       #ffffff;
    --dc-border:        #dee2e6;
    --dc-shadow-sm:     0 1px 3px rgba(0,0,0,0.08);
    --dc-shadow-md:     0 4px 16px rgba(0,0,0,0.10);
    --dc-shadow-lg:     0 8px 32px rgba(0,0,0,0.14);
    --dc-radius-sm:     6px;
    --dc-radius-md:     10px;
    --dc-radius-lg:     16px;
    --dc-radius-xl:     24px;
    --dc-font-sans:     'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --dc-font-display:  'Syne', 'DM Sans', sans-serif;
    --dc-font-mono:     'JetBrains Mono', 'Courier New', monospace;
    --dc-transition:    0.2s ease;
    --dc-header-height: 64px;
    --dc-sidebar-width: 280px;
    --dc-container:     1280px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--dc-font-sans);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--dc-gray-800);
    background: var(--dc-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--dc-primary); text-decoration: none; transition: color var(--dc-transition); }
a:hover { color: var(--dc-primary-dark); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }
button { cursor: pointer; border: none; background: none; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--dc-font-display);
    font-weight: 700;
    line-height: 1.25;
    color: var(--dc-dark);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.dc-container {
    width: 100%;
    max-width: var(--dc-container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.dc-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.dc-col-main {
    flex: 1 1 0;
    min-width: 0;
}

.dc-col-sidebar {
    flex: 0 0 var(--dc-sidebar-width);
    width: var(--dc-sidebar-width);
}

.dc-grid {
    display: grid;
    gap: 0.75rem;
}

.dc-grid-2 { grid-template-columns: repeat(2, 1fr); }
.dc-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dc-grid-4 { grid-template-columns: repeat(4, 1fr); }
.dc-grid-5 { grid-template-columns: repeat(5, 1fr); }

@media (max-width: 1200px) { .dc-grid-5 { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 1100px) { .dc-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .dc-grid-3, .dc-grid-4, .dc-grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .dc-grid-2, .dc-grid-3, .dc-grid-4, .dc-grid-5 { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
    .dc-col-sidebar { display: none; }
    .dc-row { flex-direction: column; }
}

/* =====================================================
   HEADER
   ===================================================== */
.dc-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--dc-dark);
    box-shadow: var(--dc-shadow-md);
    height: var(--dc-header-height);
}

.dc-header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 1.5rem;
}

.dc-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--dc-font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--dc-white);
    white-space: nowrap;
    flex-shrink: 0;
}

.dc-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--dc-primary);
    border-radius: var(--dc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.dc-logo:hover { color: var(--dc-accent); }

.dc-header-search {
    flex: 1;
    max-width: 560px;
    position: relative;
}

.dc-header-search input {
    width: 100%;
    padding: 0.6rem 2.75rem 0.6rem 1rem;
    border-radius: var(--dc-radius-xl);
    border: 2px solid transparent;
    background: rgba(255,255,255,0.12);
    color: var(--dc-white);
    font-size: 0.875rem;
    transition: all var(--dc-transition);
    outline: none;
}

.dc-header-search input::placeholder { color: rgba(255,255,255,0.55); }
.dc-header-search input:focus {
    background: rgba(255,255,255,0.18);
    border-color: var(--dc-primary);
}

.dc-header-search button {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: color var(--dc-transition);
}
.dc-header-search button:hover { color: var(--dc-accent); }

.dc-header-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: auto;
}

/* WordPress outputs ul.menu > li > a — flatten to horizontal */
.dc-header-nav ul,
.dc-header-nav ul.menu,
.dc-header-nav .dc-nav-list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dc-header-nav ul li,
.dc-header-nav .dc-nav-list li {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Dropdown submenu — hidden by default */
.dc-header-nav ul li ul,
.dc-header-nav .dc-nav-list li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    min-width: 180px;
    z-index: 999;
    padding: 0.375rem 0;
}

.dc-header-nav ul li:hover > ul,
.dc-header-nav .dc-nav-list li:hover > ul {
    display: flex;
}

.dc-header-nav ul li ul li,
.dc-header-nav .dc-nav-list li ul li {
    width: 100%;
}

.dc-header-nav ul li ul li a,
.dc-header-nav .dc-nav-list li ul li a {
    color: #1a1a2e !important;
    padding: 0.5rem 1rem;
    width: 100%;
    border-radius: 0;
}

.dc-header-nav ul li ul li a:hover,
.dc-header-nav .dc-nav-list li ul li a:hover {
    background: #f8f8fc !important;
    color: #e63946 !important;
}

.dc-header-nav a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: var(--dc-radius-sm);
    transition: all var(--dc-transition);
}

.dc-header-nav a:hover,
.dc-header-nav a.active {
    color: var(--dc-white);
    background: rgba(255,255,255,0.1);
}

.dc-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.dc-btn-submit-deal {
    background: var(--dc-primary);
    color: var(--dc-white) !important;
    padding: 0.45rem 1rem !important;
    border-radius: var(--dc-radius-sm) !important;
    font-weight: 600 !important;
    font-size: 0.8125rem !important;
    transition: background var(--dc-transition) !important;
}
.dc-btn-submit-deal:hover { background: var(--dc-primary-dark) !important; }

/* Mobile header */
.dc-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    color: var(--dc-white);
}

.dc-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all var(--dc-transition);
}

/* Category nav bar */
.dc-catbar {
    background: var(--dc-white);
    border-bottom: 1px solid var(--dc-border);
    overflow: hidden;
}

.dc-catbar-inner {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.dc-catbar-inner::-webkit-scrollbar { display: none; }

/* WordPress wp_nav_menu outputs ul.menu > li > a — flatten to horizontal */
.dc-catbar-inner ul,
.dc-catbar-inner ul.menu {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.dc-catbar-inner ul li,
.dc-catbar-inner ul.menu li {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dc-catbar-inner a {
    color: var(--dc-gray-700);
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all var(--dc-transition);
}
.dc-catbar-inner a:hover,
.dc-catbar-inner a.active {
    color: var(--dc-primary);
    border-bottom-color: var(--dc-primary);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.dc-hero {
    background: linear-gradient(135deg, var(--dc-dark) 0%, #16213e 50%, #0f3460 100%);
    padding: 3.5rem 0 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.dc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(230,57,70,0.15) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(69,123,157,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.dc-hero-content { position: relative; z-index: 1; }

.dc-hero h1 {
    color: var(--dc-white);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}

.dc-hero h1 span { color: var(--dc-accent); }

.dc-hero p {
    color: rgba(255,255,255,0.75);
    font-size: 1.0625rem;
    margin-bottom: 1.75rem;
}

.dc-hero-search {
    display: flex;
    max-width: 640px;
    margin: 0 auto 1.5rem;
    background: var(--dc-white);
    border-radius: var(--dc-radius-xl);
    box-shadow: var(--dc-shadow-lg);
    overflow: hidden;
}

.dc-hero-search input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    outline: none;
    font-size: 0.9375rem;
    color: var(--dc-dark);
}

.dc-hero-search button {
    padding: 0.875rem 1.75rem;
    background: var(--dc-primary);
    color: var(--dc-white);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: background var(--dc-transition);
}
.dc-hero-search button:hover { background: var(--dc-primary-dark); }

.dc-hero-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.dc-hero-tags a {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.85);
    padding: 0.3rem 0.875rem;
    border-radius: var(--dc-radius-xl);
    font-size: 0.8125rem;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all var(--dc-transition);
}

.dc-hero-tags a:hover {
    background: rgba(255,255,255,0.2);
    color: var(--dc-white);
}

/* =====================================================
   SECTION HEADERS
   ===================================================== */
.dc-section { padding: 2.5rem 0; }
.dc-section + .dc-section { padding-top: 0; }

.dc-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dc-section-head h2 {
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dc-section-head h2 .icon {
    font-size: 1.1rem;
}

.dc-section-link {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dc-primary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dc-section-link:hover { color: var(--dc-primary-dark); }

/* =====================================================
   DEAL CARD — FONT SIZE REDUCTIONS
   ===================================================== */

/* Price — was 1.375rem, too dominant */
.dc-price-deal {
    font-family: var(--dc-font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dc-primary);
}

/* Regular crossed-out price */
.dc-price-regular {
    font-size: 0.775rem;
    color: var(--dc-gray-500);
    text-decoration: line-through;
}

/* "X% off" green text */
.dc-price-save {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dc-success);
}

/* Card title — keep 2-line clamp, reduce size */
.dc-card-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dc-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Vendor label */
.dc-card-vendor {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--dc-info);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Expiry date text */
.dc-card-expiry {
    font-size: 0.6875rem;
    color: var(--dc-gray-600);
}

.dc-card-expiry.expiring-soon {
    color: var(--dc-warning);
    font-weight: 600;
}

/* Meta items (comments, time ago) */
.dc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: var(--dc-gray-600);
}

/* Action buttons — fix wrapping on "Get Deal" */
.dc-card-actions {
    display: flex;
    gap: 0.4rem;
    padding: 0 0.75rem 0.75rem;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.4rem 0.7rem;
    border-radius: var(--dc-radius-sm);
    font-weight: 600;
    font-size: 0.75rem;       /* was 0.8125rem */
    transition: all var(--dc-transition);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;      /* prevent wrapping */
    line-height: 1.3;
}

/* Coupon code box */
.dc-coupon-code {
    font-family: var(--dc-font-mono);
    font-size: 0.75rem;       /* was 0.8125rem */
    font-weight: 700;
    color: var(--dc-dark);
    flex: 1;
}

.dc-coupon-copy {
    font-size: 0.6875rem;     /* was 0.75rem */
    color: var(--dc-primary);
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border: 1px solid var(--dc-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--dc-transition);
    background: transparent;
    white-space: nowrap;
}

/* Card body padding tighter */
.dc-card-body {
    padding: 0.75rem 0.875rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Card footer */
.dc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.875rem;
    border-top: 1px solid var(--dc-gray-100);
    gap: 0.4rem;
    flex-wrap: wrap;
}

/* Vote button — tighter */
/* dc-vote-btn — inline pill style (not vertical box) */
.dc-vote-btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0.375rem;
    padding: 0.4rem 0.875rem;
    border-radius: 7px;
    border: 1.5px solid var(--dc-border);
    background: var(--dc-gray-100);
    color: var(--dc-gray-600);
    font-size: 0.8125rem;
    font-weight: 800;
    transition: all var(--dc-transition);
    cursor: pointer;
    min-width: 0;
    white-space: nowrap;
}
.dc-vote-btn .vote-arrow { font-size: 0.8125rem; line-height: 1; }
.dc-vote-btn .vote-count { font-size: 0.8125rem; font-weight: 900; display: inline; }

/* Discount badge on card */
.dc-badge-discount {
    background: var(--dc-primary);
    color: var(--dc-white);
    font-size: 0.6875rem;
    padding: 0.2rem 0.5rem;
}
.dc-deal-card {
    background: var(--dc-card-bg);
    border-radius: var(--dc-radius-md);
    box-shadow: var(--dc-shadow-sm);
    border: 1px solid var(--dc-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--dc-transition), transform var(--dc-transition);
    position: relative;
}

.dc-deal-card:hover {
    box-shadow: var(--dc-shadow-md);
    transform: translateY(-2px);
}

.dc-deal-card.is-featured { border-color: var(--dc-accent); }
.dc-deal-card.is-expired {
    opacity: 0.55;
    filter: grayscale(40%);
    position: relative;
}
.dc-deal-card.is-expired::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,.35);
    border-radius: inherit;
    pointer-events: none;
    z-index: 1;
}
.dc-deal-card.is-expired .dc-card-img-wrap,
.dc-deal-card.is-expired .dc-card-price,
.dc-deal-card.is-expired .dc-card-title {
    opacity: .6;
}
.dc-deal-card.is-expired .dc-badge-expired {
    position: relative;
    z-index: 2;
    font-size: .7rem;
    font-weight: 800;
    background: #6b7280;
    color: #fff;
    border-radius: 4px;
    padding: .15rem .45rem;
}
.dc-deal-card.is-hot { border-top: 3px solid var(--dc-primary); }

/* Card badges */
.dc-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    z-index: 2;
}

.dc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.6rem;
    border-radius: var(--dc-radius-xl);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.dc-badge-hot      { background: var(--dc-primary); color: var(--dc-white); }
.dc-badge-new      { background: var(--dc-success); color: var(--dc-white); }
.dc-badge-expiring { background: var(--dc-warning); color: var(--dc-dark); }
.dc-badge-featured { background: var(--dc-accent); color: var(--dc-dark); }
.dc-badge-staff    { background: var(--dc-info); color: var(--dc-white); }
.dc-badge-expired  { background: var(--dc-gray-600); color: var(--dc-white); }
.dc-badge-discount {
    background: var(--dc-primary);
    color: var(--dc-white);
    font-size: 0.75rem;
    padding: 0.25rem 0.65rem;
}

/* Card image */
.dc-card-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--dc-gray-100);
    position: relative;
}

.dc-card-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem;
    transition: transform 0.35s ease;
}

.dc-deal-card:hover .dc-card-img img { transform: scale(1.04); }

/* Card body */
.dc-card-body {
    padding: 0.875rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dc-card-vendor {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--dc-info);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.dc-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--dc-dark);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dc-card-title a { color: inherit; }
.dc-card-title a:hover { color: var(--dc-primary); }

.dc-card-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.625rem;
    flex-wrap: wrap;
}

.dc-price-deal {
    font-family: var(--dc-font-display);
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--dc-primary);
}

.dc-price-regular {
    font-size: 0.875rem;
    color: var(--dc-gray-500);
    text-decoration: line-through;
}

.dc-price-save {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dc-success);
}

.dc-card-coupon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff8f0;
    border: 1px dashed var(--dc-accent);
    border-radius: var(--dc-radius-sm);
    padding: 0.35rem 0.625rem;
}

.dc-coupon-code {
    font-family: var(--dc-font-mono);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--dc-dark);
    flex: 1;
}

.dc-coupon-copy {
    font-size: 0.75rem;
    color: var(--dc-primary);
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border: 1px solid var(--dc-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--dc-transition);
    background: transparent;
}

.dc-coupon-copy:hover {
    background: var(--dc-primary);
    color: var(--dc-white);
}

.dc-card-expiry {
    font-size: 0.75rem;
    color: var(--dc-gray-600);
}

.dc-card-expiry.expiring-soon { color: var(--dc-warning); font-weight: 600; }

/* Card footer */
.dc-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--dc-gray-100);
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dc-card-meta {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.dc-meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--dc-gray-600);
}

.dc-meta-item .icon { font-size: 0.875rem; }

/* Vote button */
.dc-vote-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    padding: 0.4rem 0.625rem;
    border-radius: var(--dc-radius-sm);
    border: 1px solid var(--dc-border);
    background: var(--dc-gray-100);
    color: var(--dc-gray-600);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all var(--dc-transition);
    cursor: pointer;
    min-width: 44px;
}

.dc-vote-btn .vote-arrow { font-size: 0.875rem; line-height: 1; }
.dc-vote-btn .vote-count { font-size: 0.875rem; font-weight: 800; }

.dc-vote-btn:hover,
.dc-vote-btn.voted {
    background: var(--dc-primary);
    color: var(--dc-white);
    border-color: var(--dc-primary);
}

.dc-card-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem 0.875rem;
}

.dc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: var(--dc-radius-sm);
    font-weight: 600;
    font-size: 0.8125rem;
    transition: all var(--dc-transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.dc-btn-primary {
    background: var(--dc-primary);
    color: var(--dc-white);
    flex: 1;
}
.dc-btn-primary:hover { background: var(--dc-primary-dark); color: var(--dc-white); }

.dc-btn-outline {
    background: transparent;
    color: var(--dc-gray-700);
    border: 1px solid var(--dc-border);
}
.dc-btn-outline:hover {
    background: var(--dc-gray-100);
    color: var(--dc-dark);
}

.dc-btn-sm { padding: 0.35rem 0.75rem; font-size: 0.75rem; }
.dc-btn-lg { padding: 0.75rem 1.5rem; font-size: 1rem; }

/* =====================================================
   LIST VIEW CARDS
   ===================================================== */
.dc-deal-list-item {
    background: var(--dc-card-bg);
    border-radius: var(--dc-radius-md);
    box-shadow: var(--dc-shadow-sm);
    border: 1px solid var(--dc-border);
    display: flex;
    gap: 1rem;
    padding: 1rem;
    transition: box-shadow var(--dc-transition);
    position: relative;
}

.dc-deal-list-item:hover { box-shadow: var(--dc-shadow-md); }

.dc-list-vote {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dc-list-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: var(--dc-radius-sm);
    overflow: hidden;
    background: var(--dc-gray-100);
}

.dc-list-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.5rem;
}

.dc-list-body { flex: 1; min-width: 0; }

.dc-list-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
    align-items: flex-end;
}

/* =====================================================
   ARCHIVE TOOLBAR
   ===================================================== */
.dc-archive-toolbar {
    background: var(--dc-white);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-md);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.dc-toolbar-sort {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.dc-sort-btn {
    padding: 0.35rem 0.875rem;
    border-radius: var(--dc-radius-xl);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--dc-gray-600);
    background: var(--dc-gray-100);
    border: 1px solid transparent;
    transition: all var(--dc-transition);
    cursor: pointer;
}

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

.dc-toolbar-view {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}

.dc-view-btn {
    padding: 0.35rem 0.5rem;
    border-radius: var(--dc-radius-sm);
    color: var(--dc-gray-600);
    font-size: 1rem;
    border: 1px solid transparent;
    transition: all var(--dc-transition);
}

.dc-view-btn.active, .dc-view-btn:hover {
    background: var(--dc-gray-100);
    color: var(--dc-dark);
}

.dc-count-info {
    font-size: 0.8125rem;
    color: var(--dc-gray-600);
}

/* =====================================================
   SIDEBAR
   ===================================================== */
/* =====================================================
   SIDEBAR FILTER WIDGETS — Redesigned
   ===================================================== */
.dc-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e8e8ed;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.04);
}

.dc-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .75rem 1rem;
    background: #f8f8fc;
    border-bottom: 1px solid #e8e8ed;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #1a1a2e;
}

.dc-widget-body { padding: 0; }

/* ── Checkbox filter options (vendors, categories) ── */
.dc-filter-options {
    display: flex;
    flex-direction: column;
}

.dc-filter-option {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .5rem 1rem;
    font-size: .8125rem;
    color: #444;
    cursor: pointer;
    border-bottom: 1px solid #f5f5f7;
    transition: background .1s;
    user-select: none;
}
.dc-filter-option:last-child { border-bottom: none; }
.dc-filter-option:hover { background: #fafbff; }
.dc-filter-option:has(input:checked) { background: #fff5f5; color: #e63946; font-weight: 600; }

.dc-filter-option input[type="checkbox"] {
    width: 15px;
    height: 15px;
    accent-color: #e63946;
    flex-shrink: 0;
    cursor: pointer;
}

.dc-filter-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Vendor/store count badge ── */
.dc-vendor-count {
    background: #f0f0f5;
    color: #636366;
    padding: .1rem .45rem;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 24px;
    text-align: center;
}
.dc-filter-option:has(input:checked) .dc-vendor-count {
    background: #fde8ea;
    color: #e63946;
}

/* ── Sub-category / top-store vendor list ── */
.dc-vendor-list { display: flex; flex-direction: column; }
.dc-vendor-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
    border-bottom: 1px solid #f5f5f7;
    transition: background .1s;
    gap: .5rem;
}
.dc-vendor-item:last-child { border-bottom: none; }
.dc-vendor-item:hover { background: #fafbff; }
.dc-vendor-item a {
    color: #333;
    font-size: .8125rem;
    font-weight: 500;
    text-decoration: none;
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .12s;
}
.dc-vendor-item a:hover { color: #e63946; }

/* ── Price list filter ── */
.dc-price-list { display: flex; flex-direction: column; }
.dc-price-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
    font-size: .8125rem;
    color: #444;
    border-bottom: 1px solid #f5f5f7;
    text-decoration: none;
    transition: background .1s;
    cursor: pointer;
}
.dc-price-list-item:last-child { border-bottom: none; }
.dc-price-list-item:hover { background: #fafbff; color: #e63946; }
.dc-price-list-item.active {
    background: #fff5f5;
    color: #e63946;
    font-weight: 700;
}
.dc-price-list-item .dc-price-check { color: #e63946; font-size: .875rem; }

/* Custom price range */
.dc-price-custom {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .75rem 1rem;
    border-top: 1px solid #f0f0f5;
    background: #fafbfc;
}
.dc-price-custom input {
    flex: 1;
    min-width: 0;
    padding: .375rem .5rem;
    border: 1.5px solid #e0e0e8;
    border-radius: 6px;
    font-size: .8125rem;
    text-align: center;
    outline: none;
    background: #fff;
    transition: border .12s;
}
.dc-price-custom input:focus { border-color: #e63946; }
.dc-price-custom-sep { color: #aaa; font-size: .875rem; flex-shrink: 0; }
.dc-price-custom-btn {
    background: #e63946;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: .375rem .75rem;
    font-size: .8125rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background .12s;
}
.dc-price-custom-btn:hover { background: #c1121f; }

/* ── Tag cloud ── */
.dc-tag-cloud { display: flex; flex-wrap: wrap; gap: .375rem; padding: .75rem 1rem; }
.dc-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .625rem;
    background: #f4f5f9;
    border: 1.5px solid #e0e0e8;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
}
.dc-tag-pill:hover { border-color: #e63946; color: #e63946; background: #fff5f5; }
.dc-tag-pill.active { background: #e63946; color: #fff; border-color: #e63946; }
.dc-tag-count { font-size: .65rem; opacity: .75; }

/* ── Deal list widgets (Trending, Popular) ── */
.dc-widget-deal-list { display: flex; flex-direction: column; }
.dc-widget-deal-item {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem 1rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f5f5f7;
    transition: background .1s;
}
.dc-widget-deal-item:last-child { border-bottom: none; }
.dc-widget-deal-item:hover { background: #fafbff; }
.dc-widget-deal-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #f0f0f5;
    background: #f8f8fc;
    padding: .2rem;
    flex-shrink: 0;
}
.dc-widget-deal-img-ph {
    width: 44px; height: 44px;
    border-radius: 6px; border: 1px solid #f0f0f5;
    background: #f8f8fc; display: flex; align-items: center;
    justify-content: center; font-size: 1.125rem; flex-shrink: 0;
}
.dc-widget-deal-info { flex: 1; min-width: 0; }
.dc-widget-deal-title {
    font-size: .78rem;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .2rem;
}
.dc-widget-deal-meta { display: flex; align-items: center; gap: .375rem; flex-wrap: wrap; }
.dc-widget-deal-price { color: #e63946; font-weight: 800; font-size: .875rem; }
.dc-widget-deal-votes { font-size: .75rem; color: #8e8e93; }
.dc-widget-deal-disc {
    background: #e63946; color: #fff;
    font-size: .65rem; font-weight: 700;
    padding: .1rem .3rem; border-radius: 3px;
}

/* ── Filter group scrollable area ── */
.dc-filter-scrollable {
    max-height: 220px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #e0e0e8 transparent;
}
.dc-filter-scrollable::-webkit-scrollbar { width: 4px; }
.dc-filter-scrollable::-webkit-scrollbar-track { background: transparent; }
.dc-filter-scrollable::-webkit-scrollbar-thumb { background: #e0e0e8; border-radius: 4px; }

/* ── Clear filters button ── */
#dc-clear-filters {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    width: 100%; padding: .5rem 1rem;
    background: #fff5f5; border: 1.5px solid #fca5a5;
    border-radius: 8px; color: #e63946;
    font-size: .8125rem; font-weight: 700;
    text-decoration: none; transition: all .12s;
    margin-bottom: .875rem;
}
#dc-clear-filters:hover { background: #e63946; color: #fff; border-color: #e63946; }

/* =====================================================
   SINGLE DEAL PAGE
   ===================================================== */
.dc-single-deal {
    background: var(--dc-card-bg);
    border-radius: var(--dc-radius-lg);
    box-shadow: var(--dc-shadow-sm);
    border: 1px solid var(--dc-border);
    overflow: hidden;
    margin-bottom: 2rem;
}

.dc-single-top {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 0;
}

@media (max-width: 768px) {
    .dc-single-top { grid-template-columns: 1fr; }
}

.dc-single-img {
    background: var(--dc-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 300px;
}

.dc-single-img img {
    max-height: 300px;
    object-fit: contain;
}

.dc-single-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dc-single-vendor {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dc-info);
}

.dc-single-title {
    font-size: 1.5rem;
    line-height: 1.3;
    color: var(--dc-dark);
}

.dc-single-pricing {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.dc-single-price-deal {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dc-primary);
    font-family: var(--dc-font-display);
}

.dc-single-price-reg {
    font-size: 1.1rem;
    color: var(--dc-gray-500);
    text-decoration: line-through;
}

.dc-single-discount {
    background: var(--dc-primary);
    color: var(--dc-white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--dc-radius-xl);
    font-weight: 700;
    font-size: 0.9375rem;
}

.dc-single-coupon {
    background: #fff8f0;
    border: 2px dashed var(--dc-accent);
    border-radius: var(--dc-radius-md);
    padding: 0.875rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dc-coupon-label { font-size: 0.75rem; font-weight: 600; color: var(--dc-gray-600); display: block; }
.dc-coupon-value {
    font-family: var(--dc-font-mono);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dc-dark);
    letter-spacing: 0.06em;
}

.dc-single-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.dc-btn-get-deal {
    background: var(--dc-primary);
    color: var(--dc-white);
    padding: 0.875rem 2rem;
    border-radius: var(--dc-radius-md);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background var(--dc-transition);
}
.dc-btn-get-deal:hover { background: var(--dc-primary-dark); color: var(--dc-white); }

.dc-deal-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--dc-gray-100);
    border-top: 1px solid var(--dc-border);
}

.dc-deal-meta-item { display: flex; flex-direction: column; gap: 0.2rem; }
.dc-deal-meta-label {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--dc-gray-600);
}
.dc-deal-meta-value { font-size: 0.9375rem; font-weight: 600; color: var(--dc-dark); }

.dc-single-body { padding: 2rem; }

.dc-disclosure-box {
    background: #fffbf0;
    border: 1px solid #f4a261;
    border-radius: var(--dc-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--dc-gray-700);
    margin-bottom: 1.5rem;
}

/* =====================================================
   RELATED DEALS
   ===================================================== */
.dc-related { margin-top: 2.5rem; }

/* =====================================================
   BBPRESS DISCUSSION SECTION
   ===================================================== */
.dc-discussion {
    background: var(--dc-card-bg);
    border-radius: var(--dc-radius-lg);
    border: 1px solid var(--dc-border);
    padding: 2rem;
    margin-top: 2rem;
}

.dc-discussion h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--dc-gray-100);
}

/* =====================================================
   BBPRESS OVERRIDES — Full reset to prevent scroll blocking
   ===================================================== */

/* Core reset — no fixed/absolute positioning from bbPress */
#bbpress-forums,
#bbpress-forums *,
.bbpress-wrapper,
.bbpress-wrapper * {
    position: static !important; /* Kill any fixed/absolute that blocks scroll */
    max-width: 100%;
}

/* Re-allow specific elements that need relative */
#bbpress-forums .bbp-reply-author,
#bbpress-forums .bbp-topic-author {
    position: relative !important;
}

/* Hide duplicate header/footer bbPress renders */
#bbpress-forums .bbp-header,
#bbpress-forums .bbp-footer,
#bbpress-forums .bbp-breadcrumb,
#bbpress-forums .bbp-topic-header { 
    display: none !important; 
}

/* Font */
#bbpress-forums { 
    font-family: var(--dc-font-sans); 
    font-size: 0.9375rem;
    overflow: visible !important;
}

/* Reply/topic content boxes */
#bbpress-forums .bbp-topic-content,
#bbpress-forums .bbp-reply-content {
    background: var(--dc-gray-100);
    border-radius: var(--dc-radius-sm);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    overflow: visible !important;
}

/* Author */
#bbpress-forums .bbp-author-name { 
    font-weight: 700; 
    color: var(--dc-dark); 
}

#bbpress-forums .bbp-author-role {
    background: var(--dc-info);
    color: var(--dc-white);
    padding: 0.1rem 0.5rem;
    border-radius: var(--dc-radius-xl);
    font-size: 0.6875rem;
    font-weight: 700;
    display: inline-block;
}

/* Reply form */
#bbpress-forums #new-reply { 
    margin-top: 1.5rem;
    overflow: visible !important;
}

/* THE KEY FIX — bbPress login form for logged-out users */
/* bbPress renders a login overlay/modal that sits on top of page content */
/* Force it to be inline, not fixed/absolute */
#bbpress-forums #bbp-your-profile,
#bbpress-forums .bbp-logged-in,
#bbpress-forums .bbp-login-form,
#bbpress-forums #login,
.bbp-login-form,
.bbp-login-form *,
#bbpress-forums .not-logged-in,
#bbpress-forums .not-logged-in * {
    position: static !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    z-index: auto !important;
    overflow: visible !important;
    background: transparent !important;
}

/* Style the inline login form nicely */
#bbpress-forums .bbp-login-form {
    background: var(--dc-gray-100) !important;
    border-radius: var(--dc-radius-md) !important;
    padding: 1.5rem !important;
    margin-top: 1rem !important;
    border: 1px solid var(--dc-border) !important;
}

#bbpress-forums .bbp-login-form label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--dc-dark);
    display: block;
    margin-bottom: 0.3rem;
}

#bbpress-forums .bbp-login-form input[type="text"],
#bbpress-forums .bbp-login-form input[type="password"] {
    width: 100%;
    padding: 0.6rem 0.875rem;
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-sm);
    font-size: 0.9375rem;
    margin-bottom: 0.875rem;
    background: var(--dc-white) !important;
}

#bbpress-forums .bbp-login-form input[type="submit"],
#bbpress-forums .bbp-login-form .button {
    background: var(--dc-primary);
    color: var(--dc-white);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: var(--dc-radius-sm);
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9375rem;
}

#bbpress-forums .bbp-login-form input[type="submit"]:hover {
    background: var(--dc-primary-dark);
}

/* Prevent any overlay/backdrop bbPress might inject */
.bbp-forum-content > .screen-reader-text,
#bbpress-forums + div[style*="position:fixed"],
#bbpress-forums + div[style*="position: fixed"] {
    display: none !important;
}

/* Fix reply list */
#bbpress-forums ul.bbp-replies {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#bbpress-forums ul.bbp-replies li {
    background: var(--dc-white);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-md);
    padding: 1rem 1.25rem;
}

/* Reply textarea */
#bbpress-forums textarea {
    width: 100%;
    min-height: 120px;
    padding: 0.75rem;
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-sm);
    font-family: var(--dc-font-sans);
    font-size: 0.9375rem;
    resize: vertical;
}

#bbpress-forums textarea:focus {
    outline: none;
    border-color: var(--dc-primary);
    box-shadow: 0 0 0 3px rgba(230,57,70,0.1);
}

/* Submit reply button */
#bbpress-forums #bbp_reply_submit,
#bbpress-forums input[type="submit"] {
    background: var(--dc-primary);
    color: var(--dc-white);
    border: none;
    padding: 0.65rem 1.5rem;
    border-radius: var(--dc-radius-sm);
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background var(--dc-transition);
    margin-top: 0.75rem;
}

#bbpress-forums #bbp_reply_submit:hover,
#bbpress-forums input[type="submit"]:hover {
    background: var(--dc-primary-dark);
}

/* =====================================================
   VENDOR / CATEGORY ARCHIVE HERO
   ===================================================== */
.dc-archive-hero {
    background: linear-gradient(135deg, var(--dc-dark), #16213e);
    padding: 2.5rem 0;
    color: var(--dc-white);
    margin-bottom: 2rem;
}

.dc-archive-hero h1 { color: var(--dc-white); }
.dc-archive-hero p { color: rgba(255,255,255,0.75); margin-top: 0.5rem; }

.dc-archive-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.dc-archive-stat { display: flex; flex-direction: column; gap: 0.1rem; }
.dc-archive-stat-value {
    font-family: var(--dc-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dc-accent);
}
.dc-archive-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.65); }

/* =====================================================
   VENDOR GRID
   ===================================================== */
.dc-vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 1rem; }

.dc-vendor-card {
    background: var(--dc-card-bg);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-md);
    padding: 1.25rem;
    text-align: center;
    transition: all var(--dc-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
}

.dc-vendor-card:hover {
    box-shadow: var(--dc-shadow-md);
    border-color: var(--dc-primary);
}

.dc-vendor-logo {
    width: 60px;
    height: 60px;
    border-radius: var(--dc-radius-sm);
    object-fit: contain;
    background: var(--dc-gray-100);
    padding: 0.5rem;
}

.dc-vendor-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dc-dark);
}

.dc-vendor-deals { font-size: 0.75rem; color: var(--dc-gray-600); }

/* =====================================================
   CATEGORY GRID
   ===================================================== */
.dc-category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }

.dc-category-card {
    background: var(--dc-card-bg);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all var(--dc-transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.dc-category-card:hover { box-shadow: var(--dc-shadow-md); transform: translateY(-2px); }

.dc-category-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--dc-radius-md);
    background: var(--dc-gray-100);
}

.dc-category-name { font-size: 0.875rem; font-weight: 700; color: var(--dc-dark); }
.dc-category-count { font-size: 0.75rem; color: var(--dc-gray-600); }

/* =====================================================
   NEWSLETTER SECTION
   ===================================================== */
.dc-newsletter {
    background: linear-gradient(135deg, var(--dc-dark), #0f3460);
    padding: 3rem 0;
    text-align: center;
    color: var(--dc-white);
    margin-top: 2rem;
}

.dc-newsletter h2 { color: var(--dc-white); margin-bottom: 0.5rem; }
.dc-newsletter p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }

.dc-newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
    border-radius: var(--dc-radius-sm);
    overflow: hidden;
    box-shadow: var(--dc-shadow-lg);
}

.dc-newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: none;
    outline: none;
    font-size: 0.9375rem;
}

.dc-newsletter-form button {
    padding: 0.875rem 1.5rem;
    background: var(--dc-primary);
    color: var(--dc-white);
    font-weight: 700;
    font-size: 0.9375rem;
    transition: background var(--dc-transition);
    white-space: nowrap;
}
.dc-newsletter-form button:hover { background: var(--dc-primary-dark); }

/* =====================================================
   FOOTER
   ===================================================== */
.dc-footer {
    background: var(--dc-gray-900);
    color: rgba(255,255,255,0.75);
    padding: 3rem 0 0;
}

.dc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

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

.dc-footer-brand { max-width: 300px; }
.dc-footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--dc-font-display);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dc-white);
    margin-bottom: 0.875rem;
}

.dc-footer-desc { font-size: 0.875rem; line-height: 1.7; }

.dc-footer-title {
    font-family: var(--dc-font-display);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dc-white);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
}

.dc-footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.dc-footer-links a {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    transition: color var(--dc-transition);
}
.dc-footer-links a:hover { color: var(--dc-accent); }

/* WordPress wp_nav_menu in footer — keep vertical, just flatten ul/li */
.dc-footer-links ul,
.dc-footer-links ul.menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.dc-footer-links ul li,
.dc-footer-links ul.menu li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Mobile menu — flatten ul/li vertically */
.dc-mobile-menu-panel ul,
.dc-mobile-menu-panel ul.menu {
    display: flex;
    flex-direction: column;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.dc-mobile-menu-panel ul li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dc-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.45);
}

/* =====================================================
   PAGINATION
   ===================================================== */
.dc-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.375rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.dc-pagination a,
.dc-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 .75rem;
    border-radius: var(--dc-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    border: 1.5px solid var(--dc-border);
    background: var(--dc-white);
    color: var(--dc-dark);
    text-decoration: none;
    transition: all var(--dc-transition);
    white-space: nowrap;
}

.dc-pagination a:hover { background: var(--dc-gray-100); color: var(--dc-dark); border-color: #ccc; }
.dc-pagination .current { background: var(--dc-primary); color: var(--dc-white) !important; border-color: var(--dc-primary); }
.dc-pagination .prev,
.dc-pagination .next { font-size: .8125rem; padding: 0 1rem; }
.dc-pagination .dots { border: none; background: transparent; cursor: default; color: #aaa; }

/* =====================================================
   FORMS
   ===================================================== */
.dc-form-group { margin-bottom: 1.25rem; }
.dc-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dc-dark);
    margin-bottom: 0.4rem;
}
.dc-form-control {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-sm);
    font-size: 0.9375rem;
    color: var(--dc-dark);
    background: var(--dc-white);
    outline: none;
    transition: border-color var(--dc-transition);
}
.dc-form-control:focus { border-color: var(--dc-primary); box-shadow: 0 0 0 3px rgba(230,57,70,0.1); }

/* =====================================================
   NOTICES / ALERTS
   ===================================================== */
.dc-notice {
    padding: 0.875rem 1.25rem;
    border-radius: var(--dc-radius-sm);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}
.dc-notice-info { background: #e8f4fd; color: #1a6aa0; border-left: 4px solid var(--dc-info); }
.dc-notice-success { background: #e8f5f2; color: #1a7a6e; border-left: 4px solid var(--dc-success); }
.dc-notice-warning { background: #fefce8; color: #854d0e; border-left: 4px solid var(--dc-warning); }
.dc-notice-error { background: #fef2f2; color: #991b1b; border-left: 4px solid var(--dc-primary); }

/* =====================================================
   SEARCH PAGE
   ===================================================== */
.dc-search-banner {
    background: var(--dc-white);
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.dc-search-banner form { display: flex; gap: 0.5rem; }
.dc-search-banner input {
    flex: 1;
    padding: 0.625rem 1rem;
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-sm);
    font-size: 0.9375rem;
    outline: none;
}
.dc-search-banner input:focus { border-color: var(--dc-primary); }

/* =====================================================
   404 PAGE
   ===================================================== */
.dc-404 {
    text-align: center;
    padding: 5rem 1rem;
}
.dc-404-code {
    font-family: var(--dc-font-display);
    font-size: 8rem;
    font-weight: 900;
    color: var(--dc-gray-200);
    line-height: 1;
    margin-bottom: 0;
}
.dc-404 h2 { color: var(--dc-dark); margin-bottom: 0.75rem; }
.dc-404 p { color: var(--dc-gray-600); margin-bottom: 2rem; }

/* =====================================================
   LOADING STATES & SKELETONS
   ===================================================== */
.dc-skeleton {
    background: linear-gradient(90deg, var(--dc-gray-200) 25%, var(--dc-gray-100) 50%, var(--dc-gray-200) 75%);
    background-size: 200% 100%;
    animation: dc-shimmer 1.4s infinite;
    border-radius: var(--dc-radius-sm);
}

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

/* =====================================================
   MOBILE MENU
   ===================================================== */
/* Prevent mobile menu scroll-lock bleeding to desktop */
@media (min-width: 769px) {
    body {
        overflow: auto !important;
    }
    .dc-mobile-menu {
        display: none !important;
    }
    .dc-hamburger {
        display: none !important;
    }
}

/* Mobile: body must NEVER have overflow:hidden — use pointer-events on menu instead */
@media (max-width: 768px) {
    body {
        overflow: visible !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

.dc-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.dc-mobile-menu.open { display: flex; }

.dc-mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.dc-mobile-menu-panel {
    position: relative;
    background: var(--dc-dark);
    width: 280px;
    height: 100%;
    overflow-y: auto;
    padding: 1.5rem;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dc-mobile-menu-panel a {
    display: block;
    color: rgba(255,255,255,0.85);
    padding: 0.625rem 0.5rem;
    font-size: 0.9375rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dc-mobile-menu-panel a:hover { color: var(--dc-accent); }

/* =====================================================
   UTILITY CLASSES
   ===================================================== */
.dc-text-center { text-align: center; }
.dc-text-muted   { color: var(--dc-gray-600); }
.dc-text-small   { font-size: 0.8125rem; }
.dc-mt-1  { margin-top: 0.5rem; }
.dc-mt-2  { margin-top: 1rem; }
.dc-mt-3  { margin-top: 1.5rem; }
.dc-mb-1  { margin-bottom: 0.5rem; }
.dc-mb-2  { margin-bottom: 1rem; }
.dc-mb-3  { margin-bottom: 1.5rem; }
.dc-p-1   { padding: 0.5rem; }
.dc-p-2   { padding: 1rem; }
.dc-p-3   { padding: 1.5rem; }
.dc-hidden { display: none !important; }
.dc-flex   { display: flex; }
.dc-flex-center { display: flex; align-items: center; justify-content: center; }
.dc-gap-1  { gap: 0.5rem; }
.dc-gap-2  { gap: 1rem; }
.dc-w-full { width: 100%; }
.dc-sticky { position: sticky; top: calc(var(--dc-header-height) + 1rem); }

/* =====================================================
   ADMIN THEME OPTIONS
   ===================================================== */
.dc-admin-page .form-table th { font-weight: 600; }
.dc-admin-page h2.nav-tab-wrapper { border-bottom: 2px solid var(--dc-primary); }
.dc-admin-page .nav-tab-active { border-bottom-color: var(--dc-primary) !important; color: var(--dc-primary) !important; }

/* =====================================================
   RESPONSIVE BREAKPOINTS
   ===================================================== */
@media (max-width: 768px) {
    .dc-header-nav { display: none; }
    .dc-hamburger { display: flex; }
    .dc-header-search { max-width: 200px; }
    .dc-deal-list-item { flex-direction: column; }
    .dc-list-img { width: 100%; height: 160px; }
    .dc-hero { padding: 2rem 0 1.5rem; }
    .dc-single-body { padding: 1.25rem; }
    .dc-single-info { padding: 1.25rem; }
    .dc-discussion { padding: 1.25rem; }
    .dc-newsletter-form { flex-direction: column; border-radius: 0; }
    .dc-newsletter-form input,
    .dc-newsletter-form button { border-radius: var(--dc-radius-sm); }
}

@media (max-width: 480px) {
    .dc-header-search { display: none; }
    :root { --dc-header-height: 56px; }
}

/* Print styles */
@media print {
    .dc-header, .dc-footer, .dc-sidebar-widget, .dc-card-actions { display: none; }
    .dc-deal-card { box-shadow: none; border: 1px solid #ddd; }
}

/* =====================================================
   SINGLE DEAL — SLICKDEALS STYLE (sd- prefix)
   ===================================================== */

.sd-breadcrumb { background:#f5f5f5; border-bottom:1px solid #e0e0e0; padding:.5rem 0; font-size:.8125rem; color:#666; }
.sd-breadcrumb a { color:#4a6fa5; }
.sd-breadcrumb a:hover { color:#e63946; }
.sd-breadcrumb span { margin:0 .375rem; color:#ccc; }

.sd-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    padding: 1.25rem 0 0;
    align-items: start; /* CRITICAL: start not stretch, prevents height matching */
}
@media (max-width:900px) { .sd-layout { grid-template-columns:1fr; } .sd-right-col { display:none !important; } }

.sd-deal-card { background:#fff; border:1px solid #ddd; border-radius:6px; overflow:hidden; margin-bottom:1.25rem; }

.sd-deal-top { display:grid; grid-template-columns:340px 1fr; min-height:320px; }
@media (max-width:700px) { .sd-deal-top { grid-template-columns:1fr; } }

.sd-img-panel { background:#f8f8f8; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:1.5rem; border-right:1px solid #eee; gap:.75rem; position:relative; }
.sd-img-main { max-width:260px; max-height:260px; object-fit:contain; border-radius:4px; }
.sd-img-badge { position:absolute; top:.75rem; left:.75rem; background:#e63946; color:#fff; padding:.25rem .625rem; border-radius:3px; font-size:.75rem; font-weight:800; }

.sd-info-panel { padding:1.5rem; display:flex; flex-direction:column; gap:.875rem; }

.sd-posted-by { font-size:.8125rem; color:#666; display:flex; align-items:center; gap:.5rem; }
.sd-posted-by img { width:24px; height:24px; border-radius:50%; }
.sd-posted-by a { color:#4a6fa5; font-weight:600; }

.sd-vendor-name { font-size:.8125rem; font-weight:700; color:#4a6fa5; text-transform:uppercase; letter-spacing:.06em; }
.sd-vendor-name a { color:inherit; }

.sd-deal-title { font-size:1.375rem; font-weight:800; color:#1a1a2e; line-height:1.25; margin:0; }

.sd-pricing { display:flex; align-items:baseline; gap:.875rem; flex-wrap:wrap; }
.sd-price-deal { font-size:2rem; font-weight:900; color:#e63946; font-family:var(--dc-font-display); line-height:1; }
.sd-price-reg { font-size:1.125rem; color:#999; text-decoration:line-through; }
.sd-price-off { font-size:.875rem; font-weight:700; color:#2a9d8f; background:#e8f5f2; padding:.2rem .625rem; border-radius:3px; }

.sd-coupon-box { background:#fffbf0; border:2px dashed #f4c542; border-radius:6px; padding:.75rem 1rem; display:flex; align-items:center; gap:1rem; flex-wrap:wrap; }
.sd-coupon-label { font-size:.6875rem; font-weight:700; text-transform:uppercase; color:#888; display:block; margin-bottom:.2rem; }
.sd-coupon-code { font-family:var(--dc-font-mono); font-size:1.25rem; font-weight:900; color:#1a1a2e; letter-spacing:.08em; }
.sd-coupon-btn { background:#e63946; color:#fff; border:none; border-radius:4px; padding:.45rem .875rem; font-weight:700; font-size:.8125rem; cursor:pointer; transition:background .15s; white-space:nowrap; }
.sd-coupon-btn:hover { background:#c1121f; }

.sd-expiry { font-size:.8125rem; color:#888; display:flex; align-items:center; gap:.375rem; flex-wrap:wrap; }
.sd-expiry.exp-soon { color:#e9a84c; font-weight:600; }
.sd-expiry.expired  { color:#e63946; font-weight:600; }

.sd-cta-row { display:flex; gap:.75rem; flex-wrap:wrap; align-items:center; }
.sd-btn-get-deal { background:#e63946; color:#fff !important; padding:.75rem 2rem; border-radius:4px; font-size:1rem; font-weight:800; display:inline-flex; align-items:center; gap:.5rem; transition:background .15s; text-decoration:none; }
.sd-btn-get-deal:hover { background:#c1121f; }
.sd-btn-save, .sd-btn-share { background:#fff; border:1px solid #ddd; color:#444; padding:.6rem 1rem; border-radius:4px; font-size:.875rem; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:.375rem; transition:all .15s; }
.sd-btn-save:hover, .sd-btn-share:hover { background:#f5f5f5; border-color:#aaa; }

.sd-stats-row { display:flex; align-items:center; gap:1.25rem; padding-top:.625rem; border-top:1px solid #f0f0f0; flex-wrap:wrap; }
.sd-stat { display:flex; align-items:center; gap:.375rem; font-size:.8125rem; color:#666; }
.sd-stat strong { color:#333; }

/* ── Deal Meta Grid ── */
.sd-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .75rem;
    padding: 1.25rem 1.5rem;
    background: #f8f9fb;
    border-top: 1px solid #e8e8ed;
    border-bottom: 1px solid #e8e8ed;
}
.sd-meta-item {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .75rem;
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 10px;
    transition: border-color .15s, box-shadow .15s;
}
.sd-meta-item:hover { border-color: #d0d0d8; box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.sd-meta-item-full { grid-column: 1 / -1; }
.sd-meta-label {
    font-size: .65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #8e8e93;
    display: flex;
    align-items: center;
    gap: .25rem;
}
.sd-meta-value {
    font-size: .9375rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}
/* Clickable meta value link */
.sd-meta-link {
    color: #4a6fa5;
    text-decoration: none;
    font-weight: 700;
    transition: color .12s;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}
.sd-meta-link:hover { color: #e63946; text-decoration: underline; }
.sd-meta-link::after { content: ' →'; font-size: .75rem; opacity: .5; }
/* In stock green highlight */
.sd-meta-avail.sd-in-stock { color: #16a34a; }
/* Mobile: single column */
@media (max-width: 480px) {
    .sd-meta-grid {
        grid-template-columns: 1fr 1fr;
        padding: 1rem;
        gap: .5rem;
    }
    .sd-meta-item { padding: .625rem .75rem; }
    .sd-meta-value { font-size: .875rem; }
}

.sd-tabs { background:#fff; border:1px solid #ddd; border-radius:6px; overflow:hidden; margin-bottom:1.25rem; }
.sd-tab-bar { display:flex; border-bottom:2px solid #e0e0e0; background:#fafafa; flex-wrap:wrap; }
.sd-tab-btn { padding:.75rem 1.25rem; font-size:.875rem; font-weight:600; color:#666; cursor:pointer; border-bottom:3px solid transparent; margin-bottom:-2px; transition:all .15s; background:none; border-top:none; border-left:none; border-right:none; }
.sd-tab-btn:hover { color:#e63946; }
.sd-tab-btn.active { color:#e63946; border-bottom-color:#e63946; }
.sd-tab-content { display:none; padding:1.25rem 1.5rem; }
.sd-tab-content.active { display:block; }
.sd-tab-content p { color:#444; line-height:1.75; margin-bottom:.875rem; }
.sd-tab-content ul { padding-left:1.25rem; list-style:disc; color:#444; line-height:2; }
.sd-tab-content h4 { font-size:.9375rem; font-weight:700; color:#1a1a2e; margin:1rem 0 .5rem; }

.sd-poster-card { background:#f8f8f8; border:1px solid #e0e0e0; border-radius:6px; padding:1rem; display:flex; gap:.875rem; align-items:flex-start; margin-top:1rem; }
.sd-poster-avatar { width:48px; height:48px; border-radius:50%; border:2px solid #ddd; flex-shrink:0; }
.sd-poster-info h4 { font-size:.875rem; font-weight:700; color:#1a1a2e; margin:0 0 .25rem; }
.sd-poster-info span { font-size:.75rem; color:#888; }

/* Community Voting */
.sd-voting-section { background:#fff; border:1px solid #ddd; border-radius:6px; padding:1.5rem; margin-bottom:1.25rem; }
.sd-voting-section h3 { font-size:1rem; font-weight:800; color:#1a1a2e; margin:0 0 1rem; padding-bottom:.625rem; border-bottom:2px solid #f0f0f0; display:flex; align-items:center; gap:.5rem; }
.sd-vote-inner { display:flex; align-items:center; gap:2rem; flex-wrap:wrap; }
.sd-deal-score-box { display:flex; flex-direction:column; align-items:center; gap:.25rem; }
.sd-deal-score-label { font-size:.75rem; font-weight:600; color:#888; text-transform:uppercase; }
.sd-deal-score-value { font-size:3rem; font-weight:900; color:#e63946; line-height:1; font-family:var(--dc-font-display); }
.sd-deal-score-value.positive { color:#2a9d8f; }
.sd-vote-buttons { display:flex; flex-direction:column; gap:.75rem; }
.sd-vote-good, .sd-vote-bad { display:flex; align-items:center; gap:.625rem; padding:.65rem 1.5rem; border-radius:4px; font-size:.9375rem; font-weight:700; cursor:pointer; border:2px solid transparent; transition:all .15s; min-width:160px; justify-content:center; text-decoration:none; }
.sd-vote-good { background:#2a9d8f; color:#fff !important; }
.sd-vote-good:hover, .sd-vote-good.active { background:#1e7b70; }
.sd-vote-bad  { background:#fff; border-color:#ddd; color:#666 !important; }
.sd-vote-bad:hover { background:#fef2f2; border-color:#e63946; color:#e63946 !important; }
.sd-vote-bad.active { background:#e63946; color:#fff !important; border-color:#e63946; }
.sd-vote-help { font-size:.8125rem; color:#888; font-style:italic; max-width:300px; line-height:1.5; }
.sd-vote-bar { flex:1; min-width:200px; }
.sd-vote-bar-label { font-size:.75rem; color:#888; margin-bottom:.375rem; display:flex; justify-content:space-between; }
.sd-vote-track { background:#f0f0f0; border-radius:4px; height:10px; overflow:hidden; margin-bottom:.5rem; }
.sd-vote-fill  { background:#2a9d8f; height:100%; border-radius:4px; transition:width .4s ease; }
.sd-vote-deal-link { display:block; text-align:center; background:#e63946; color:#fff !important; padding:.65rem 1.5rem; border-radius:4px; font-weight:800; font-size:.9375rem; margin-top:1rem; transition:background .15s; text-decoration:none; }
.sd-vote-deal-link:hover { background:#c1121f; }

/* Related Searches */
.sd-related-searches { background:#fff; border:1px solid #ddd; border-radius:6px; padding:1.25rem 1.5rem; margin-bottom:1.25rem; }
.sd-related-searches h3 { font-size:.875rem; font-weight:800; color:#1a1a2e; text-transform:uppercase; letter-spacing:.05em; margin:0 0 .875rem; }
.sd-search-tags { display:flex; flex-wrap:wrap; gap:.5rem; }
.sd-search-tag { background:#f0f5ff; border:1px solid #c5d5f7; color:#2c5aa0; padding:.35rem .875rem; border-radius:20px; font-size:.8125rem; font-weight:600; transition:all .15s; text-decoration:none; display:inline-flex; align-items:center; gap:.25rem; }
.sd-search-tag:hover { background:#e63946; border-color:#e63946; color:#fff; }

/* Horizontal scroll deal sections */
.sd-deals-section {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    overflow: visible;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.sd-deals-section-head {
    background: #4a6fa5;
    padding: .75rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px 12px 0 0;
}
.sd-deals-section-head h3 {
    font-size: .875rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .05em;
}
.sd-deals-section-head a {
    font-size: .8125rem;
    color: rgba(255,255,255,.85);
    font-weight: 700;
    text-decoration: none;
    background: rgba(255,255,255,.15);
    padding: .25rem .75rem;
    border-radius: 20px;
    white-space: nowrap;
}
.sd-deals-section-head a:hover { background: rgba(255,255,255,.3); color: #fff; }

/* Grid inside deal sections — padding + overflow-visible for shadows */
.sd-deals-section .dc-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    padding: 1rem;
}
@media(max-width:1200px) { .sd-deals-section .dc-grid-5 { grid-template-columns: repeat(4,1fr); } }
@media(max-width:900px)  { .sd-deals-section .dc-grid-5 { grid-template-columns: repeat(3,1fr); } }
@media(max-width:600px)  { .sd-deals-section .dc-grid-5 { grid-template-columns: repeat(2,1fr); } }

/* Cards inside sections — remove rounded bottom to flow better */
.sd-deals-section .dc-deal-card {
    border-radius: 8px;
    height: 100%;
}
.sd-deals-scroll { display:flex; gap:0; overflow-x:auto; scrollbar-width:thin; scroll-snap-type:x mandatory; }
.sd-deals-scroll::-webkit-scrollbar { height:4px; }
.sd-deals-scroll::-webkit-scrollbar-track { background:#f0f0f0; }
.sd-deals-scroll::-webkit-scrollbar-thumb { background:#ccc; border-radius:2px; }

.sd-mini-card { flex:0 0 200px; width:200px; border-right:1px solid #eee; padding:.875rem; display:flex; flex-direction:column; gap:.375rem; scroll-snap-align:start; transition:background .15s; text-decoration:none; color:inherit; }
.sd-mini-card:last-child { border-right:none; }
.sd-mini-card:hover { background:#f8faff; }
.sd-mini-img { width:100%; height:110px; object-fit:contain; background:#f8f8f8; border-radius:4px; padding:.5rem; border:1px solid #eee; display:block; }
.sd-mini-vendor { font-size:.6rem; font-weight:700; color:#4a6fa5; text-transform:uppercase; letter-spacing:.05em; }
.sd-mini-title { font-size:.78rem; font-weight:600; color:#1a1a2e; line-height:1.35; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sd-mini-pricing { display:flex; align-items:baseline; gap:.375rem; flex-wrap:wrap; }
.sd-mini-price { font-size:.9375rem; font-weight:800; color:#e63946; }
.sd-mini-reg   { font-size:.7rem; color:#aaa; text-decoration:line-through; }
.sd-mini-off   { font-size:.65rem; font-weight:700; color:#2a9d8f; background:#e8f5f2; padding:.1rem .35rem; border-radius:2px; }
.sd-mini-meta  { display:flex; align-items:center; justify-content:space-between; font-size:.7rem; color:#888; margin-top:.2rem; }
.sd-mini-votes { color:#e63946; font-weight:700; }

/* Recently Viewed — matches other sd-deals-section blocks */
.sd-recently-viewed {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
/* Spinner animation */
@keyframes spin { to { transform: rotate(360deg); } }
/* #sd-rv-items — see .sd-recently-viewed section below */

/* Discussion */
.sd-discussion { background:#fff; border:1px solid #ddd; border-radius:6px; overflow:hidden; margin-bottom:1.25rem; }
.sd-discussion-head { background:#4a6fa5; padding:.75rem 1.25rem; display:flex; align-items:center; justify-content:space-between; }
.sd-discussion-head h3 { font-size:.9375rem; font-weight:700; color:#fff; margin:0; }
.sd-discussion-head span { font-size:.8125rem; color:rgba(255,255,255,.7); }
.sd-discussion-body { padding:1.25rem 1.5rem; }
.sd-login-prompt { background:#f0f5ff; border:1px solid #c5d5f7; border-radius:4px; padding:.75rem 1rem; font-size:.875rem; color:#2c5aa0; margin-bottom:1rem; }
.sd-login-prompt a { font-weight:700; color:#e63946; }

/* CRITICAL: Force bbPress login form inside discussion to be static/inline
   prevents it from locking page scroll for logged-out users */
.sd-discussion-body #bbpress-forums,
.sd-discussion-body #bbpress-forums *,
.sd-discussion-body .bbp-login-form,
.sd-discussion-body .bbp-login-form * {
    position: static !important;
    overflow: visible !important;
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    transform: none !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    z-index: auto !important;
}

/* Right sidebar — sticky but NEVER trap page scroll */
.sd-right-col {
    display: flex;
    flex-direction: column;
    gap: .875rem;
    position: sticky;
    top: calc(var(--dc-header-height) + 1rem);
    align-self: start;
}

/* On mobile never show sidebar at all */
@media (max-width: 900px) {
    .sd-right-col { display: none !important; }
}
/* ═══════════════════════════════════════
   SIDEBAR WIDGETS — Clean redesign
   ═══════════════════════════════════════ */

/* Widget container */
.sd-sidebar-widget {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    margin-bottom: .875rem;
}

/* Widget header */
.sd-sidebar-widget-head {
    background: linear-gradient(135deg, #4a6fa5 0%, #3a5f8f 100%);
    color: #fff;
    padding: .625rem 1rem;
    font-size: .6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    display: flex;
    align-items: center;
    gap: .375rem;
}

/* Widget body */
.sd-sidebar-widget-body { padding: 0; }

/* Each deal row */
.sd-sidebar-deal {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid #f0f0f6;
    text-decoration: none;
    color: inherit;
    transition: background .12s;
}
.sd-sidebar-deal:last-child { border-bottom: none; }
.sd-sidebar-deal:hover { background: #f8f9ff; }

/* Image */
.sd-sidebar-deal img,
.sd-sidebar-deal .sd-sidebar-deal-img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    max-width: 56px !important;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #ebebf0;
    background: #f8f8fc;
    padding: 4px;
    flex-shrink: 0;
}

/* Info block */
.sd-sidebar-deal-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

/* Title — 2 line clamp */
.sd-sidebar-deal-title {
    font-size: .8125rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta row: price + votes */
.sd-sidebar-deal-meta {
    display: flex;
    align-items: center;
    gap: .375rem;
    flex-wrap: wrap;
}

/* Price */
.sd-sidebar-deal-price {
    color: #e63946;
    font-weight: 900;
    font-size: .9375rem;
    letter-spacing: -.02em;
    line-height: 1;
}

/* Votes */
.sd-sidebar-deal-votes {
    font-size: .7rem;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: .2rem;
    line-height: 1;
}
.sd-vote-fire {
    font-size: .65rem;
    line-height: 1;
    display: inline-block;
    vertical-align: middle;
}
/* duplicate sidebar rules removed */

.sd-report-btn { font-size:.75rem; color:#888; border:1px solid #ddd; background:#fff; padding:.3rem .625rem; border-radius:3px; cursor:pointer; transition:all .15s; display:inline-flex; align-items:center; gap:.25rem; }
.sd-report-btn:hover { color:#e63946; border-color:#e63946; }
.sd-disclosure { background:#fffbf0; border:1px solid #f4c542; border-radius:4px; padding:.625rem 1rem; font-size:.8rem; color:#666; margin-bottom:1rem; display:flex; gap:.5rem; align-items:flex-start; }


/* =====================================================
   SINGLE DEAL — COMMENT LIST (fallback renderer)
   ===================================================== */
.sd-comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.sd-comment-item {
    display: flex;
    gap: .875rem;
    align-items: flex-start;
    padding: .875rem 0;
    border-bottom: 1px solid var(--dc-border-light);
}
.sd-comment-item:last-child { border-bottom: none; }
.sd-comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--dc-border-light);
    flex-shrink: 0;
    object-fit: cover;
}
.sd-comment-body { flex: 1; min-width: 0; }
.sd-comment-meta {
    display: flex;
    align-items: center;
    gap: .625rem;
    margin-bottom: .35rem;
    flex-wrap: wrap;
}
.sd-comment-author {
    font-size: .875rem;
    font-weight: 700;
    color: var(--dc-dark);
}
.sd-comment-time {
    font-size: .75rem;
    color: var(--dc-gray-500);
}
.sd-comment-content {
    font-size: .9rem;
    color: var(--dc-gray-800);
    line-height: 1.6;
}
.sd-comment-content p { margin: 0 0 .5rem; }
.sd-comment-content p:last-child { margin-bottom: 0; }

/* =====================================================
   HIDE BBPRESS "Author / Posts" COLUMN HEADER
   The bbPress loop-replies template outputs an <li class="bbp-header">
   containing "Author" and "Posts" text — hide it completely
   ===================================================== */
.sd-discussion-body #bbpress-forums ul.bbp-replies > li.bbp-header,
.sd-discussion-body #bbpress-forums ul.bbp-topics > li.bbp-header,
.sd-discussion-body #bbpress-forums li.bbp-header,
.sd-discussion-body .bbp-reply-header,
.sd-discussion-body li.bbp-header {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

/* ── Save button saved state ── */
.dc-save-deal.saved,
.sd-btn-save.saved {
    background: #f0fdf4 !important;
    color: #166534 !important;
    border-color: #86efac !important;
}

/* ── Context-aware filter sidebar ── */
.dc-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: .375rem;
}
.dc-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    padding: .25rem .625rem;
    background: #f4f5f9;
    border: 1.5px solid #e0e0e8;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: all .15s;
    cursor: pointer;
}
.dc-tag-pill:hover { border-color: var(--dc-primary); color: var(--dc-primary); background: #fff1f2; }
.dc-tag-pill.active { background: var(--dc-primary); color: #fff; border-color: var(--dc-primary); }
.dc-tag-count { font-size: .65rem; opacity: .75; }

.dc-price-presets {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem;
    margin-top: .5rem;
}
.dc-price-preset {
    padding: .2rem .5rem;
    background: #f4f5f9;
    border: 1px solid #e0e0e8;
    border-radius: 4px;
    font-size: .7rem;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    white-space: nowrap;
    transition: all .12s;
}
.dc-price-preset:hover { background: var(--dc-primary); color: #fff; border-color: var(--dc-primary); }

.dc-filter-chk { accent-color: var(--dc-primary); }

/* ── Filter option label alignment ── */
.dc-filter-option { display:flex; align-items:center; gap:.5rem; }
.dc-filter-name   { flex:1; }

/* ── Active filter pills on archive pages ── */
.dc-active-pill {
    display: inline-flex;
    align-items: center;
    padding: .25rem .625rem;
    background: #fff1f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .12s;
    cursor: pointer;
}
.dc-active-pill:hover { background: #e63946; color: #fff; border-color: #e63946; }


/* ── Categories list in meta grid ── */

.sd-cat-list, .sd-tag-list { display: flex; flex-wrap: wrap; gap: .375rem; align-items: center; }
.sd-cat-link {
    display: inline-block;
    background: #f0f5fb;
    color: #4a6fa5;
    border: 1px solid #aed6f1;
    border-radius: 5px;
    padding: .15rem .5rem;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .12s;
}
.sd-cat-link:hover { background: #4a6fa5; color: #fff; }
.sd-cat-sep { color: #aaa; }
.sd-tag-link {
    display: inline-block;
    background: #f8f0ff;
    color: #7c3aed;
    border: 1px solid #ddd6fe;
    border-radius: 20px;
    padding: .15rem .5rem;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .12s;
}
.sd-tag-link:hover { background: #7c3aed; color: #fff; }

/* ── Comment card improvements ── */
.sd-comment-item { display: flex; gap: .875rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid #f2f2f7; }
.sd-comment-item:last-child { border-bottom: none; }
.sd-comment-avatar-wrap { flex-shrink: 0; }
.sd-comment-avatar { width: 44px; height: 44px; border-radius: 50%; border: 2px solid #e8e8ed; object-fit: cover; display: block; }
.sd-comment-body { flex: 1; min-width: 0; }
.sd-comment-meta { margin-bottom: .375rem; }
.sd-comment-author-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin-bottom: .15rem; }
.sd-comment-author { font-size: .9rem; font-weight: 700; color: #1a1a2e; text-decoration: none; }
.sd-comment-author:hover { color: #e63946; }
.sd-comment-handle { font-size: .75rem; color: #8e8e93; }
.sd-comment-rep { font-size: .7rem; color: #f59e0b; font-weight: 600; background: #fffbeb; border: 1px solid #fde68a; padding: .1rem .35rem; border-radius: 10px; }
.sd-comment-time-row { display: flex; gap: .625rem; font-size: .75rem; color: #aaa; }
.sd-comment-content { font-size: .9rem; line-height: 1.65; color: #333; }
.sd-comment-content p { margin: 0 0 .5rem; }
.sd-comment-content p:last-child { margin-bottom: 0; }
.sd-no-comments { color: #8e8e93; font-size: .9rem; padding: 1rem 0; text-align: center; }

/* ══════════════════════════════════════════════════════
   FORUM-STYLE DEAL LIST (dc-fl-*)
   ══════════════════════════════════════════════════════ */

/* Thread header row */
.dc-fl-header {
    display:grid;
    grid-template-columns:52px 64px 1fr 90px 80px 140px;
    gap:0;
    background:var(--dc-dark);
    color:#fff;
    font-size:.6875rem;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.07em;
    border-radius:8px 8px 0 0;
    padding:0;
    margin-bottom:0;
}
.dc-fl-header-cell {
    padding:.625rem .75rem;
    display:flex;
    align-items:center;
}
.dc-fl-header-cell.main { flex:1; }

/* Deal row */
.dc-fl-row {
    display:grid;
    grid-template-columns:52px 64px 1fr 90px 80px 140px;
    gap:0;
    background:#fff;
    border:1px solid #e8e8ed;
    border-top:none;
    align-items:center;
    transition:background .1s;
    position:relative;
}
.dc-fl-row:first-of-type { border-top:1px solid #e8e8ed; }
.dc-fl-row:hover { background:#fafbff; }
.dc-fl-row.is-expired {
    opacity: .5;
    filter: grayscale(35%);
}
.dc-fl-row.is-expired .dc-fl-price { text-decoration: line-through; color: #8e8e93 !important; }
.dc-fl-row.is-hot { border-left:3px solid #e63946; }

/* Vote column */
.dc-fl-vote {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    padding:.75rem .25rem;
    border-right:1px solid #f0f0f5;
}
.dc-fl-vote .dc-vote-btn {
    background:transparent;
    border:none;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:.1rem;
    padding:.25rem;
    border-radius:6px;
    transition:background .1s;
}
.dc-fl-vote .dc-vote-btn:hover { background:#fff1f2; }
.dc-fl-fire { font-size:1.125rem;line-height:1; }
.dc-fl-score {
    font-size:.75rem;
    font-weight:800;
    color:#e63946;
    line-height:1;
}

/* Thumbnail */
.dc-fl-thumb {
    padding:.5rem;
    border-right:1px solid #f0f0f5;
    display:flex;
    align-items:center;
    justify-content:center;
}
.dc-fl-thumb img {
    width:52px;
    height:52px;
    object-fit:contain;
    border-radius:5px;
    border:1px solid #f0f0f5;
    background:#f8f8fc;
    padding:.2rem;
    display:block;
}
.dc-fl-thumb-ph {
    width:52px;
    height:52px;
    background:#f8f8fc;
    border-radius:5px;
    border:1px solid #f0f0f5;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.5rem;
}

/* Main body */
.dc-fl-body {
    padding:.625rem .875rem;
    border-right:1px solid #f0f0f5;
    display:flex;
    flex-direction:column;
    gap:.3rem;
    min-width:0;
}

/* Title row */
.dc-fl-title-row {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:.375rem;
}
.dc-fl-badge {
    display:inline-flex;
    align-items:center;
    padding:.1rem .45rem;
    border-radius:4px;
    font-size:.65rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.05em;
    flex-shrink:0;
}
.dc-fl-badge-new     { background:#22c55e;color:#fff; }
.dc-fl-badge-expired { background:#8e8e93;color:#fff; }

.dc-fl-title {
    margin:0;
    font-size:.9375rem;
    font-weight:700;
    letter-spacing:-.01em;
    line-height:1.25;
}
.dc-fl-title a { color:var(--dc-dark);text-decoration:none; }
.dc-fl-title a:hover { color:var(--dc-primary); }

.dc-fl-price {
    font-size:1rem;
    font-weight:900;
    color:#e63946;
    letter-spacing:-.03em;
    flex-shrink:0;
}
.dc-fl-reg {
    font-size:.8125rem;
    color:#aaa;
    text-decoration:line-through;
    flex-shrink:0;
}
.dc-fl-coupon {
    display:inline-flex;
    align-items:center;
    padding:.15rem .5rem;
    background:#fffbeb;
    border:1px dashed #f59e0b;
    color:#92400e;
    border-radius:4px;
    font-size:.7rem;
    font-weight:700;
    font-family:monospace;
    cursor:pointer;
    letter-spacing:.05em;
    flex-shrink:0;
}
.dc-fl-coupon:hover { background:#fef3c7; }

/* Meta row */
.dc-fl-meta {
    display:flex;
    flex-wrap:wrap;
    gap:.5rem;
    align-items:center;
    font-size:.78rem;
}
.dc-fl-store {
    font-weight:800;
    color:#1a1a2e;
    text-decoration:none;
    font-size:.7rem;
    letter-spacing:.06em;
    text-transform:uppercase;
    background:#f0f5fb;
    padding:.1rem .4rem;
    border-radius:3px;
    border:1px solid #aed6f1;
    color:#1a5276;
}
.dc-fl-store:hover { background:#aed6f1; }
.dc-fl-cat {
    color:#4a6fa5;
    text-decoration:none;
    font-size:.78rem;
    font-weight:600;
}
.dc-fl-cat:hover { color:#e63946; }
.dc-fl-date,.dc-fl-by { color:#8e8e93;font-size:.75rem; }

/* CTA button */
.dc-fl-cta-row { margin-top:.2rem; }
.dc-fl-cta-btn {
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    background:#fff;
    color:#1a1a2e !important;
    border:1.5px solid #e0e0e8;
    border-radius:6px;
    padding:.3rem .875rem;
    font-size:.8rem;
    font-weight:700;
    text-decoration:none;
    transition:all .12s;
}
.dc-fl-cta-btn:hover { border-color:#e63946;color:#e63946 !important;background:#fff1f2; }

/* Stat columns */
.dc-fl-stat {
    padding:.5rem;
    text-align:center;
    border-right:1px solid #f0f0f5;
}
.dc-fl-stat-val { font-size:.9375rem;font-weight:800;color:#1a1a2e; }
.dc-fl-stat-lbl { font-size:.65rem;color:#aaa;font-weight:600;text-transform:uppercase;letter-spacing:.05em; }

/* Last post column */
.dc-fl-last {
    padding:.625rem .75rem;
    display:flex;
    align-items:center;
    gap:.5rem;
}
.dc-fl-last-avatar {
    width:28px;
    height:28px;
    border-radius:50%;
    border:1px solid #e8e8ed;
    flex-shrink:0;
    object-fit:cover;
}
.dc-fl-last-info {
    display:flex;
    flex-direction:column;
    min-width:0;
}
.dc-fl-last-time { font-size:.7rem;color:#8e8e93; }
.dc-fl-last-who  { font-size:.7rem;color:#4a6fa5;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }

/* List container + header wrapper */
.dc-deals-list.dc-fl-list-wrap {
    border-radius:8px;
    overflow:hidden;
    border:1px solid #e8e8ed;
}
.dc-deals-list.dc-fl-list-wrap .dc-fl-row {
    border:none;
    border-top:1px solid #f0f0f5;
}
.dc-deals-list.dc-fl-list-wrap .dc-fl-row:first-child { border-top:none; }

@media(max-width:860px) {
    .dc-fl-header  { grid-template-columns:52px 56px 1fr; }
    .dc-fl-row     { grid-template-columns:52px 56px 1fr; }
    .dc-fl-stat,
    .dc-fl-last,
    .dc-fl-header-cell:nth-child(n+4) { display:none; }
}
@media(max-width:560px) {
    .dc-fl-thumb,.dc-fl-header-cell:nth-child(2) { display:none; }
    .dc-fl-row    { grid-template-columns:52px 1fr; }
    .dc-fl-header { grid-template-columns:52px 1fr; }
}

/* =====================================================
   ARCHIVE HERO — Category / Vendor pages
   ===================================================== */
.dc-archive-hero {
    background: linear-gradient(135deg, #0d1117 0%, #1a1a3e 50%, #0d1117 100%);
    padding: 2.5rem 0 2rem;
    margin-bottom: 0;
}

.dc-vendor-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.8);
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 20px;
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.dc-stats-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: 1rem;
}

.dc-stats-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.8);
    padding: .3rem .75rem;
    border-radius: 20px;
    font-size: .8125rem;
    font-weight: 500;
}

.dc-stats-pill strong {
    color: #fff;
    font-weight: 800;
}

.dc-related-terms {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .375rem;
    margin-top: .5rem;
}

.dc-related-term-link {
    color: rgba(255,255,255,.6);
    font-size: .8125rem;
    text-decoration: none;
    padding: .2rem .625rem;
    background: rgba(255,255,255,.08);
    border-radius: 20px;
    transition: all .15s;
}

.dc-related-term-link:hover {
    background: var(--dc-primary);
    color: #fff;
}

/* =====================================================
   TOP RATED DEALS STRIP
   ===================================================== */
.dc-top-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: .5rem;
}

@media (max-width: 768px) {
    .dc-top-strip { grid-template-columns: 1fr; }
}

.dc-top-strip-item {
    display: flex;
    align-items: center;
    gap: .875rem;
    background: #fff;
    border: 1px solid var(--dc-border);
    border-radius: var(--dc-radius-md);
    padding: .875rem 1rem;
    text-decoration: none;
    color: inherit;
    transition: all .18s;
    box-shadow: var(--dc-shadow-sm);
    position: relative;
    overflow: hidden;
}

.dc-top-strip-item:hover {
    border-color: var(--dc-primary);
    box-shadow: 0 4px 16px rgba(230,57,70,.12);
    transform: translateY(-2px);
}

.dc-top-strip-rank {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dc-primary);
    color: #fff;
    font-size: .875rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dc-top-strip-item:nth-child(1) .dc-top-strip-rank { background: #f59e0b; }
.dc-top-strip-item:nth-child(2) .dc-top-strip-rank { background: #9ca3af; }
.dc-top-strip-item:nth-child(3) .dc-top-strip-rank { background: #cd7c3c; }

.dc-top-strip-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8f8fc;
    border: 1px solid #f0f0f5;
    padding: .25rem;
    flex-shrink: 0;
}

.dc-top-strip-info {
    flex: 1;
    min-width: 0;
}

.dc-top-strip-title {
    font-size: .875rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: .25rem;
}

.dc-top-strip-price {
    font-size: 1rem;
    font-weight: 900;
    color: var(--dc-primary);
    letter-spacing: -.02em;
}

/* =====================================================
   ACTIVE FILTER PILLS
   ===================================================== */
.dc-active-pill {
    display: inline-flex;
    align-items: center;
    padding: .25rem .625rem;
    background: #fff1f2;
    border: 1px solid #fca5a5;
    color: #991b1b;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .12s;
    cursor: pointer;
}

.dc-active-pill:hover {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

/* ── Threaded reply indent ── */
.sdc-item-reply { position: relative; }
.sdc-item-reply::before {
    content: '↳';
    position: absolute;
    left: -1.5rem;
    top: .75rem;
    color: #aaa;
    font-size: 1rem;
}

/* ── No-image placeholder with discount badge ── */
.dc-card-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b69 50%, #1a1a3e 100%);
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}
.dc-card-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        rgba(255,255,255,.03) 0px,
        rgba(255,255,255,.03) 1px,
        transparent 1px,
        transparent 12px
    );
}
.dc-img-discount-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}
.dc-img-discount-pct {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -.04em;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}
.dc-img-discount-off {
    font-size: .875rem;
    font-weight: 800;
    color: rgba(255,255,255,.7);
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-top: .25rem;
}
.dc-img-no-image {
    font-size: 3rem;
    z-index: 1;
    opacity: .4;
}
.dc-img-vendor-name {
    position: absolute;
    bottom: .625rem;
    left: 0; right: 0;
    text-align: center;
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .1em;
    z-index: 1;
}

/* ── Content Egg & Custom Code Sections ── */
.sd-section-block {
    border-radius: 14px;
    overflow: hidden;
    border: 1.5px solid #e8e8ed;
    margin-bottom: 1.25rem;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,.05);
}
.sd-section-header {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .875rem 1.25rem;
    background: #f8f8fc;
    border-bottom: 1.5px solid #e8e8ed;
}
.sd-section-icon  { font-size: 1.25rem; flex-shrink: 0; }
.sd-section-title { font-size: .9375rem; font-weight: 800; color: #1a1a2e; margin: 0; flex: 1; letter-spacing: -.02em; }
.sd-section-badge {
    font-size: .65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .07em; padding: .15rem .5rem;
    border-radius: 4px; border: 1px solid;
}
.sd-section-content-egg .sd-section-badge { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.sd-section-custom-code .sd-section-badge { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }
.sd-section-content-egg .sd-section-header { background: linear-gradient(to right, #fffbeb, #fefce8); }
.sd-section-custom-code .sd-section-header { background: linear-gradient(to right, #f5f3ff, #ede9fe); }
.sd-section-body {
    padding: 1.25rem;
    font-size: .9375rem;
    line-height: 1.65;
    color: #444;
}
/* Content Egg widget overrides */
.sd-content-egg-body table { width: 100%; border-collapse: collapse; font-size: .875rem; }
.sd-content-egg-body table th,
.sd-content-egg-body table td { padding: .5rem .75rem; border: 1px solid #e8e8ed; text-align: left; }
.sd-content-egg-body table th { background: #f8f8fc; font-weight: 700; color: #1a1a2e; }
.sd-content-egg-body a { color: #e63946; text-decoration: none; font-weight: 600; }
.sd-content-egg-body a:hover { text-decoration: underline; }
.sd-content-egg-body img { max-width: 100%; height: auto; border-radius: 8px; }

/* ── Content Egg & Custom Code — Standalone Sections ── */
.sd-standalone-section {
    background: #fff;
    border: 1.5px solid #e8e8ed;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.sd-standalone-header {
    display: flex;
    align-items: center;
    gap: .875rem;
    padding: 1rem 1.25rem;
    border-bottom: 1.5px solid #e8e8ed;
}
.sd-ce-section .sd-standalone-header     { background: linear-gradient(to right, #fffbeb, #fefce8); }
.sd-custom-section .sd-standalone-header { background: linear-gradient(to right, #f5f3ff, #ede9fe); }
.sd-standalone-ico   { font-size: 1.75rem; flex-shrink: 0; }
.sd-standalone-title { font-size: .9375rem; font-weight: 800; color: #1a1a2e; margin: 0 0 .15rem; letter-spacing: -.02em; }
.sd-standalone-sub   { font-size: .78rem; color: #8e8e93; margin: 0; }
.sd-standalone-badge {
    margin-left: auto;
    font-size: .65rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    padding: .2rem .5rem; border-radius: 4px; border: 1px solid;
    flex-shrink: 0;
}
.sd-badge-yellow { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.sd-badge-purple { background: #ede9fe; color: #5b21b6; border-color: #c4b5fd; }
.sd-standalone-body { padding: 1.25rem; }

/* Content Egg rendered content */
.sd-content-egg-body table { width: 100%; border-collapse: collapse; font-size: .875rem; margin-bottom: 1rem; }
.sd-content-egg-body table th,
.sd-content-egg-body table td { padding: .5rem .75rem; border: 1px solid #e8e8ed; text-align: left; }
.sd-content-egg-body table th { background: #f8f8fc; font-weight: 700; color: #1a1a2e; }
.sd-content-egg-body a { color: #e63946; text-decoration: none; font-weight: 600; }
.sd-content-egg-body a:hover { text-decoration: underline; }
.sd-content-egg-body img { max-width: 100%; height: auto; border-radius: 8px; }
.sd-content-egg-body .price { font-size: 1.125rem; font-weight: 900; color: #e63946; }

/* Custom code rendered content */
.sd-custom-code-body { font-size: .9375rem; line-height: 1.7; color: #444; }
.sd-custom-code-body img { max-width: 100%; border-radius: 8px; }
.sd-custom-code-body a { color: #e63946; font-weight: 600; text-decoration: none; }
.sd-custom-code-body a:hover { text-decoration: underline; }
.sd-custom-code-body pre { background: #f8f8fc; border: 1px solid #e0e0e8; border-radius: 8px; padding: 1rem; font-family: 'JetBrains Mono', monospace; font-size: .8125rem; overflow-x: auto; }

/* =====================================================
   MOBILE — SINGLE DEAL PAGE IMPROVEMENTS
   ===================================================== */

@media (max-width: 768px) {

    /* ── Layout ── */
    .sd-layout { gap: 0; padding: .75rem 0 0; }
    .sd-deal-card { border-radius: 0; border-left: none; border-right: none; margin-bottom: .75rem; }

    /* ── Deal top (image + info) ── */
    .sd-deal-top { grid-template-columns: 1fr; }
    .sd-img-panel {
        padding: 1rem;
        border-right: none;
        border-bottom: 1px solid #f0f0f0;
        min-height: 200px;
    }
    .sd-img-main { max-width: 180px; max-height: 180px; }

    /* ── Info panel ── */
    .sd-info-panel { padding: 1rem; gap: .625rem; }

    /* ── Title ── */
    .sd-deal-title { font-size: 1.0625rem !important; line-height: 1.35; }

    /* ── Price ── */
    .sd-price-row { flex-wrap: wrap; gap: .375rem; align-items: baseline; }
    .sd-price-deal { font-size: 1.75rem !important; }
    .sd-price-reg  { font-size: 1rem !important; }

    /* ── Action buttons ── */
    .sd-actions { flex-direction: column; gap: .5rem; }
    .sd-get-deal-btn, .sd-save-btn, .sd-share-btn {
        width: 100%;
        justify-content: center;
        padding: .75rem 1rem;
    }
    .sd-save-btn, .sd-share-btn { flex: 1; }

    /* ── Stats row ── */
    .sd-stats-row { gap: .875rem; padding-top: .5rem; }
    .sd-stat { font-size: .75rem; }

    /* ── Meta grid ── */
    .sd-meta-grid { grid-template-columns: 1fr 1fr; gap: .5rem; padding: .75rem; }
    .sd-meta-item { padding: .625rem .75rem; }
    .sd-meta-label { font-size: .65rem; }
    .sd-meta-value { font-size: .8125rem; }

    /* ── Tabs ── */
    .sd-tab-bar { overflow-x: auto; -webkit-overflow-scrolling: touch; flex-wrap: nowrap; scrollbar-width: none; }
    .sd-tab-bar::-webkit-scrollbar { display: none; }
    .sd-tab-btn { padding: .625rem .875rem; font-size: .8125rem; white-space: nowrap; flex-shrink: 0; }
    .sd-tab-content { padding: .875rem; }

    /* ── Coupon box ── */
    .sd-coupon-box { flex-direction: column; gap: .5rem; }
    .sd-coupon-btn { width: 100%; justify-content: center; }

    /* ── Voting section ── */
    .sd-voting-section { padding: 1rem; border-radius: 0; border-left: none; border-right: none; }
    .sd-vote-grid { grid-template-columns: 1fr 1fr; gap: .625rem; }
    .sd-vote-good, .sd-vote-bad { padding: .875rem .5rem; font-size: .875rem; }

    /* ── Related searches ── */
    .sd-related-searches { padding: .875rem; border-radius: 0; border-left: none; border-right: none; }

    /* ── Discussion ── */
    .sd-discussion { padding: 1rem; border-radius: 0; border-left: none; border-right: none; }
    .sd-discussion-head { flex-wrap: wrap; gap: .375rem; }

    /* ── Poster card ── */
    .sd-poster-card { flex-direction: column; align-items: flex-start; gap: .75rem; }
    .sd-poster-avatar { width: 48px; height: 48px; }

    /* ── Recently viewed ── */
    #sd-rv-items { grid-template-columns: repeat(2, 1fr) !important; }

    /* ── Standalone code sections ── */
    .sd-standalone-section { border-radius: 0; border-left: none; border-right: none; }
}

@media (max-width: 480px) {
    .sd-meta-grid { grid-template-columns: 1fr; }
    #sd-rv-items { grid-template-columns: 1fr 1fr !important; }
    .sd-price-deal { font-size: 1.5rem !important; }
    .sd-tab-btn { padding: .5rem .75rem; font-size: .75rem; }
}

/* =====================================================
   FOOTER — SPACING & MOBILE FIXES
   ===================================================== */

/* Base footer overrides */
.dc-footer { padding: 2rem 0 0; }
.dc-footer-grid { gap: 1.5rem; margin-bottom: 1.5rem; }
.dc-footer-brand { max-width: 100%; }
.dc-footer-desc { font-size: .875rem; line-height: 1.65; color: rgba(255,255,255,.55); margin-top: .375rem; }
.dc-footer-title { font-size: .6875rem; letter-spacing: .09em; margin-bottom: .625rem; color: rgba(255,255,255,.4); }
.dc-footer-links { gap: .3rem; }
.dc-footer-links a { font-size: .875rem; color: rgba(255,255,255,.6); line-height: 1.4; display: block; padding: .125rem 0; transition: color .15s; }
.dc-footer-links a:hover { color: #e63946; }
.dc-footer-bottom { padding: .875rem 0; font-size: .8125rem; color: rgba(255,255,255,.35); gap: .5rem; }

/* Tablet */
@media (max-width: 900px) {
    .dc-footer { padding: 1.75rem 0 0; }
    .dc-footer-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.25rem; }
}

/* Mobile */
@media (max-width: 560px) {
    .dc-footer { padding: 1.25rem 0 0; }
    .dc-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: .875rem 1.25rem;
        margin-bottom: 1rem;
    }
    /* Brand spans full width on mobile */
    .dc-footer-grid > div:first-child { grid-column: 1 / -1; }
    .dc-footer-desc { font-size: .8125rem; margin-top: .25rem; }
    .dc-footer-logo { font-size: 1rem; margin-bottom: .375rem; }
    .dc-footer-title { font-size: .6rem; margin-bottom: .375rem; letter-spacing: .1em; }
    .dc-footer-links a { font-size: .8125rem; }
    .dc-footer-links { gap: .25rem; }
    .dc-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
        padding: .75rem 0;
        font-size: .75rem;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .dc-footer-bottom > div { gap: .75rem !important; }
    .dc-footer-bottom a { font-size: .75rem !important; }
}

/* ── Recently Viewed — 4 fixed slots, same as archive grid ── */
.sd-recently-viewed { overflow: hidden; }

/* #sd-rv-items: same grid as .dc-grid-4 */
.sd-recently-viewed #sd-rv-items {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: .75rem !important;
    padding: 1rem !important;
}
@media (max-width: 1100px) { .sd-recently-viewed #sd-rv-items { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 900px)  { .sd-recently-viewed #sd-rv-items { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 600px)  { .sd-recently-viewed #sd-rv-items { grid-template-columns: repeat(2, 1fr) !important; } }

/* Filled slot — card takes full height */
.rv-slot { display: flex; flex-direction: column; }
.rv-slot .dc-deal-card { flex: 1; height: 100%; border-radius: 8px; }

/* Empty slot — dashed placeholder matching card height */
.rv-slot-empty {
    background: repeating-linear-gradient(-45deg, #f8f8fc, #f8f8fc 8px, #f2f2f6 8px, #f2f2f6 16px);
    border: 1.5px dashed #e0e0e8;
    border-radius: 12px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rv-slot-empty::after {
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    border: 2.5px dashed #d8d8e0;
    border-radius: 50%;
    opacity: .6;
}

/* ── Homepage — full width (no sidebar) ── */
.dc-row-full { grid-template-columns: 1fr !important; }
.dc-col-full { max-width: 100% !important; }

/* ── Pagination buttons ── */
.dc-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 .75rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid #e0e0e8;
    background: #fff;
    color: #444;
    transition: all .12s;
}
.dc-page-btn:hover { border-color: #e63946; color: #e63946; }
.dc-page-btn--active { background: #e63946; border-color: #e63946; color: #fff !important; }

/* ── Deal CTA layout: 2 rows ── */
.sd-deal-cta-row {
    display: flex;
    flex-direction: column;
    gap: .625rem;
    margin: .875rem 0;
}

/* Row 1: Coupon + Get Deal button */
.sd-deal-cta-row .sd-cta-row-1 {
    display: flex;
    align-items: center;
    gap: .625rem;
    flex-wrap: wrap;
}

/* Row 2 removed — Save/Share now in stats row */

/* Gap between coupon and Get Deal button */
.sd-deal-cta-row .sd-cta-row-1 {
    gap: .875rem;
}

/* Separator dot between stats and save/share */
.sd-stat-sep {
    display: inline-block;
    width: 1px;
    height: 16px;
    background: #e0e0e8;
    margin: 0 .25rem;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Save/Share inline with stats — pill style */
.sd-stat-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .25rem .75rem;
    border-radius: 20px;
    border: 1.5px solid #e0e0e8;
    background: #fff;
    color: #636366;
    font-size: .8125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all .15s;
    line-height: 1;
}
.sd-stat-btn:hover { border-color: #4a6fa5; color: #4a6fa5; }
.sd-stat-btn.active { border-color: #e63946; color: #e63946; background: #fff5f5; }

/* ── Coupon inline box ── */
.sd-coupon-inline {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .875rem;
    border: 2px dashed #22c55e;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    transition: all .15s;
    user-select: none;
    flex-shrink: 0;
    height: 44px;
}
.sd-coupon-inline:hover { background: #f0fdf4; border-color: #16a34a; }
.sd-coupon-inline.copied { border-color: #16a34a; background: #f0fdf4; }
.sd-coupon-code-text {
    font-size: .9375rem;
    font-weight: 900;
    color: #1a1a2e;
    letter-spacing: .1em;
    font-family: 'Courier New', Courier, monospace;
}
.sd-coupon-scissors-icon { color: #16a34a; display: flex; align-items: center; }
.sd-coupon-copy-msg {
    font-size: .7rem;
    font-weight: 800;
    color: #16a34a;
    letter-spacing: .04em;
}

/* ── Get Deal button ── */
.sd-btn-get-deal {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #e63946;
    color: #fff;
    padding: 0 1.375rem;
    height: 44px;
    border-radius: 8px;
    font-weight: 800;
    font-size: .9375rem;
    text-decoration: none;
    transition: background .15s, transform .1s;
    white-space: nowrap;
    flex: 1;
    justify-content: center;
}
.sd-btn-get-deal:hover { background: #c1121f; transform: translateY(-1px); color: #fff; }
.sd-btn-get-deal:active { transform: translateY(0); }

/* ── Save & Share icon buttons ── */
.sd-icon-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .2rem;
    width: 56px;
    height: 44px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e8;
    background: #fff;
    color: #636366;
    cursor: pointer;
    font-size: .6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: all .15s;
    flex-shrink: 0;
}
.sd-icon-btn:hover { border-color: #4a6fa5; color: #4a6fa5; background: #f0f4ff; }
.sd-icon-btn.active { border-color: #e63946; color: #e63946; background: #fff5f5; }
.sd-icon-btn svg { flex-shrink: 0; }

/* Mobile — stack coupon below if needed */
@media (max-width: 520px) {
    .sd-deal-cta-row { gap: .5rem; }
    .sd-btn-get-deal { font-size: .875rem; padding: 0 1rem; }
    .sd-icon-btn { width: 48px; }
    .sd-coupon-inline { height: 40px; }
    .sd-btn-get-deal { height: 40px; }
}

/* ── User Account Dropdown ── */
.dc-user-menu {
    position: relative;
    flex-shrink: 0;
}
.dc-user-trigger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 8px;
    padding: .375rem .75rem;
    color: #fff;
    cursor: pointer;
    font-size: .875rem;
    font-weight: 600;
    transition: background .15s;
}
.dc-user-trigger:hover { background: rgba(255,255,255,.2); }
.dc-user-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid rgba(255,255,255,.4);
    flex-shrink: 0;
}
.dc-user-name {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 600px) { .dc-user-name { display: none; } }

/* Dropdown panel */
.dc-user-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + .5rem);
    right: 0;
    width: 240px;
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    z-index: 9999;
    overflow: hidden;
    animation: dcDropIn .15s ease;
}
.dc-user-dropdown.open { display: block; }
@keyframes dcDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown header */
.dc-udrop-head {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem;
    background: #f8f9ff;
}
.dc-udrop-divider {
    height: 1px;
    background: #f0f0f6;
    margin: .25rem 0;
}

/* Dropdown items */
.dc-udrop-item {
    display: flex;
    align-items: center;
    gap: .625rem;
    padding: .625rem 1rem;
    font-size: .875rem;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: background .1s;
}
.dc-udrop-item:hover { background: #f8f9ff; color: #4a6fa5; }
.dc-udrop-item svg { flex-shrink: 0; color: #8e8e93; }
.dc-udrop-item:hover svg { color: #4a6fa5; }
.dc-udrop-logout { color: #e63946; }
.dc-udrop-logout:hover { background: #fff5f5; color: #e63946; }
.dc-udrop-logout svg { color: #e63946; }

/* ═══════════════════════════════════════════════════
   MODERN BBPRESS REPLY FORM
   ═══════════════════════════════════════════════════ */

/* Reply form container */
#bbpress-forums #new-reply,
#bbpress-forums .bbp-reply-form {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,.05);
}

/* Form header — "Leave a Comment" */
#bbpress-forums #new-reply h2,
#bbpress-forums .bbp-reply-form h2,
#bbpress-forums #new-reply > h2 {
    font-size: .9375rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    background: linear-gradient(135deg, #4a6fa5, #3a5f8f) !important;
    padding: .875rem 1.25rem !important;
    margin: 0 !important;
    border-radius: 0 !important;
    letter-spacing: .01em;
}

/* User info row (avatar + name) */
#bbpress-forums .bbp-logged-in {
    display: flex !important;
    align-items: center !important;
    gap: .75rem !important;
    padding: 1rem 1.25rem !important;
    border-bottom: 1px solid #f0f0f6 !important;
    background: #fafbff !important;
}
#bbpress-forums .bbp-logged-in img {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    border: 2px solid #e8e8ed !important;
    flex-shrink: 0;
}
#bbpress-forums .bbp-logged-in a {
    font-weight: 700 !important;
    color: #1a1a2e !important;
    font-size: .875rem !important;
    text-decoration: none !important;
}

/* Unrestricted HTML notice — hide it */
#bbpress-forums .bbp-template-notice,
#bbpress-forums p.bbp-template-notice {
    display: none !important;
}

/* Quick tags toolbar — modernise */
#bbpress-forums #quicktags-toolbar,
#bbpress-forums .quicktags-toolbar,
#qt_bbp_reply_content_toolbar,
div[id^="qt_"][id$="_toolbar"] {
    background: #f4f4f8 !important;
    border: none !important;
    border-bottom: 1px solid #e8e8ed !important;
    padding: .5rem .875rem !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: .3rem !important;
    margin: 0 !important;
}
#bbpress-forums .quicktags-toolbar input[type="button"],
#bbpress-forums .quicktags-toolbar button,
div[id^="qt_"][id$="_toolbar"] input[type="button"],
div[id^="qt_"][id$="_toolbar"] button {
    background: #fff !important;
    border: 1.5px solid #e0e0e8 !important;
    border-radius: 5px !important;
    color: #555 !important;
    font-size: .7rem !important;
    font-weight: 700 !important;
    padding: .2rem .5rem !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: .03em !important;
    transition: all .12s !important;
    height: auto !important;
    min-height: 0 !important;
}
#bbpress-forums .quicktags-toolbar input[type="button"]:hover,
div[id^="qt_"][id$="_toolbar"] input[type="button"]:hover {
    background: #4a6fa5 !important;
    border-color: #4a6fa5 !important;
    color: #fff !important;
}

/* Main textarea */
#bbpress-forums #bbp_reply_content,
#bbpress-forums textarea[name="bbp_reply_content"],
#bbpress-forums .bbp-the-content {
    width: 100% !important;
    min-height: 120px !important;
    padding: 1rem !important;
    border: none !important;
    border-bottom: 1px solid #e8e8ed !important;
    border-radius: 0 !important;
    font-size: .9375rem !important;
    font-family: inherit !important;
    color: #1a1a2e !important;
    background: #fff !important;
    resize: vertical !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: background .15s !important;
}
#bbpress-forums #bbp_reply_content:focus,
#bbpress-forums textarea[name="bbp_reply_content"]:focus {
    background: #fafbff !important;
}

/* Form fields area */
#bbpress-forums .bbp-form {
    padding: 1rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: .75rem !important;
}

/* Tags field — hide it (not needed for deals) */
#bbpress-forums .bbp-form > p:has(label[for*="tag"]),
#bbpress-forums .bbp-form > fieldset:has([name*="tag"]),
#bbpress-forums label[for="bbp_topic_tags"],
#bbpress-forums #bbp_topic_tags,
#bbpress-forums .bbp-form p:nth-child(2),
.bbp-topic-form .bbp-form p:nth-of-type(2) {
    display: none !important;
}

/* Notify checkbox */
#bbpress-forums .bbp-form input[type="checkbox"] {
    accent-color: #e63946 !important;
    width: 15px !important;
    height: 15px !important;
}
#bbpress-forums .bbp-form label {
    font-size: .8125rem !important;
    color: #636366 !important;
    display: flex !important;
    align-items: center !important;
    gap: .375rem !important;
    cursor: pointer !important;
}

/* Submit button — full width, red */
#bbpress-forums #bbp_reply_submit,
#bbpress-forums input[name="bbp_reply_submit"],
#bbpress-forums .bbp-submit-wrapper input[type="submit"],
#bbpress-forums .bbp-submit-wrapper button[type="submit"] {
    width: 100% !important;
    background: #e63946 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    padding: .75rem 1.5rem !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: background .15s, transform .1s !important;
    letter-spacing: .01em !important;
}
#bbpress-forums #bbp_reply_submit:hover,
#bbpress-forums input[name="bbp_reply_submit"]:hover {
    background: #c1121f !important;
    transform: translateY(-1px) !important;
}
#bbpress-forums #bbp_reply_submit:active {
    transform: translateY(0) !important;
}

/* Submit wrapper padding */
#bbpress-forums .bbp-submit-wrapper {
    padding: 0 1.25rem 1.25rem !important;
    margin: 0 !important;
}

/* Mobile */
@media (max-width: 600px) {
    #bbpress-forums .bbp-form { padding: .875rem !important; }
    #bbpress-forums .bbp-submit-wrapper { padding: 0 .875rem .875rem !important; }
}

/* Ensure coupon copy message is always hidden until JS fires */
.sd-coupon-copy-msg {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    font-size: 0 !important;
}
.sd-coupon-inline.copied .sd-coupon-copy-msg {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: .7rem !important;
    font-weight: 800 !important;
    color: #16a34a !important;
    margin-left: .375rem !important;
}

/* ── Sidebar vote fire emoji — force small size ── */
.sd-sidebar-deal-votes { font-size: .7rem !important; line-height: 1.2 !important; }
.sd-sidebar-deal-votes,
.sd-sidebar-deal-votes * { font-size: .7rem !important; }

/* ═══════════════════════════════════════════════════
   HOMEPAGE — STORES ROW (1 row only)
   ═══════════════════════════════════════════════════ */
.dc-hp-stores-row {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
}
.dc-hp-stores-row::-webkit-scrollbar { display: none; }
.dc-hp-store-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem 1rem;
    background: #fff;
    border: 1.5px solid #e8e8ed;
    border-radius: 30px;
    text-decoration: none;
    color: #1a1a2e;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all .15s;
}
.dc-hp-store-pill:hover {
    border-color: #4a6fa5;
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74,111,165,.15);
}
.dc-hp-store-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .6875rem;
    font-weight: 900;
    flex-shrink: 0;
}
.dc-hp-store-name {
    font-size: .875rem;
    font-weight: 700;
}
.dc-hp-store-count {
    font-size: .7rem;
    color: #8e8e93;
    background: #f4f4f8;
    padding: .1rem .375rem;
    border-radius: 10px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════
   HOMEPAGE — CATEGORIES (2 rows only)
   ═══════════════════════════════════════════════════ */
.dc-cat-grid-2rows {
    grid-template-rows: repeat(2, auto) !important;
    max-height: none !important;
}

/* ═══════════════════════════════════════════════════
   COMMUNITY CTA SECTION
   ═══════════════════════════════════════════════════ */
.dc-community-cta-section {
    overflow: hidden;
}
.dc-community-cta {
    background: linear-gradient(135deg, #060912 0%, #1a1a2e 50%, #0f172a 100%);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}
.dc-community-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(230,57,70,.15) 0%, transparent 70%);
    pointer-events: none;
}
.dc-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    background: rgba(230,57,70,.2);
    color: #ff6b7a;
    border: 1px solid rgba(230,57,70,.3);
    border-radius: 20px;
    padding: .3rem .875rem;
    font-size: .8125rem;
    font-weight: 700;
    margin-bottom: .875rem;
    animation: dcPulseText 2s ease-in-out infinite;
}
@keyframes dcPulseText { 0%,100%{opacity:1} 50%{opacity:.7} }
.dc-cta-text h2 {
    font-size: 1.75rem;
    font-weight: 900;
    color: #fff;
    margin: 0 0 .625rem;
    letter-spacing: -.04em;
    line-height: 1.2;
}
.dc-cta-text p {
    color: rgba(255,255,255,.6);
    font-size: .9375rem;
    margin: 0;
    max-width: 440px;
    line-height: 1.6;
}
.dc-cta-buttons {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.dc-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    padding: .75rem 1.375rem;
    border-radius: 10px;
    font-size: .9375rem;
    font-weight: 800;
    text-decoration: none;
    transition: all .15s;
    white-space: nowrap;
}
.dc-cta-fb {
    background: #1877f2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(24,119,242,.4);
}
.dc-cta-fb:hover {
    background: #1464d6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(24,119,242,.5);
    color: #fff;
}
.dc-cta-wa {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 15px rgba(37,211,102,.4);
}
.dc-cta-wa:hover {
    background: #1fb857;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,.5);
    color: #fff;
}

/* Floating animated icons */
.dc-cta-anim {
    position: absolute;
    right: 0;
    top: 0;
    width: 200px;
    height: 100%;
    pointer-events: none;
    display: none;
}
@media (min-width: 900px) { .dc-cta-anim { display: block; } }
.dc-cta-pulse {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(230,57,70,.1);
    animation: dcRingPulse 2s ease-out infinite;
}
@keyframes dcRingPulse {
    0% { transform:translateY(-50%) scale(1); opacity:.6; }
    100% { transform:translateY(-50%) scale(2.5); opacity:0; }
}
.dc-cta-deal-float {
    position: absolute;
    font-size: 1.5rem;
    animation: dcFloat 3s ease-in-out infinite;
}
.dc-cta-deal-float { right:80px; top:20%; }
.dc-f2 { right:40px; top:50%; animation-delay:.8s; font-size:1.25rem; }
.dc-f3 { right:110px; top:65%; animation-delay:1.6s; font-size:1.75rem; }
@keyframes dcFloat {
    0%,100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-12px) rotate(5deg); }
}

@media (max-width: 600px) {
    .dc-community-cta { padding: 1.75rem 1.25rem; }
    .dc-cta-text h2 { font-size: 1.375rem; }
    .dc-cta-buttons { width: 100%; }
    .dc-cta-btn { flex: 1; justify-content: center; }
}

/* ═══════════════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════════════ */
.dc-faq-section .dc-faq-list {
    display: flex;
    flex-direction: column;
    gap: .625rem;
}
.dc-faq-item {
    background: #fff;
    border: 1.5px solid #e8e8ed;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s;
}
.dc-faq-item:hover { border-color: #4a6fa5; }
.dc-faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    font-size: .9375rem;
    font-weight: 700;
    color: #1a1a2e;
    gap: 1rem;
    user-select: none;
}
.dc-faq-icon {
    font-size: 1.25rem;
    font-weight: 400;
    color: #e63946;
    flex-shrink: 0;
    line-height: 1;
    transition: transform .2s;
}
.dc-faq-a {
    padding: 0 1.25rem 1rem;
    animation: dcFaqOpen .2s ease;
}
.dc-faq-a p {
    font-size: .9rem;
    color: #555;
    line-height: 1.7;
    margin: 0;
    border-top: 1px solid #f0f0f6;
    padding-top: .875rem;
}
@keyframes dcFaqOpen {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ═══════════════════════════════════════════════════
   SUBCATEGORY ICON CIRCLES — Archive pages
   ═══════════════════════════════════════════════════ */

.dc-subcat-row-wrap {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.dc-subcat-row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .25rem;
}
.dc-subcat-row::-webkit-scrollbar { display: none; }

/* Individual subcategory circle */
.dc-subcat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .625rem;
    text-decoration: none;
    flex-shrink: 0;
    width: 80px;
    transition: transform .15s;
}
.dc-subcat-circle:hover { transform: translateY(-3px); }
.dc-subcat-circle:hover .dc-subcat-circle-icon {
    background: #dbeafe;
    border-color: #93c5fd;
}
.dc-subcat-circle.active .dc-subcat-circle-icon {
    background: #1e40af;
    color: #fff !important;
}
.dc-subcat-circle.active .dc-subcat-circle-name {
    color: #1e40af;
    font-weight: 800;
}

/* The circle itself */
.dc-subcat-circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #eef2ff;
    border: 1.5px solid #e0e8ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e40af;
    transition: all .15s;
    flex-shrink: 0;
}
.dc-subcat-circle-icon svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* Label below circle */
.dc-subcat-circle-name {
    font-size: .6875rem;
    font-weight: 700;
    color: #374151;
    text-align: center;
    line-height: 1.3;
    max-width: 76px;
    word-break: break-word;
}

@media (max-width: 600px) {
    .dc-subcat-circle-icon { width: 52px; height: 52px; }
    .dc-subcat-circle-icon svg { width: 22px; height: 22px; }
    .dc-subcat-circle { width: 68px; gap: .5rem; }
    .dc-subcat-row { gap: 1rem; }
}

/* ═══════════════════════════════════════════════════
   DEAL CARD — Hot badge
   ═══════════════════════════════════════════════════ */
.dc-badge-hot {
    background: linear-gradient(135deg, #f97316, #e63946);
    color: #fff;
    font-size: .65rem;
    font-weight: 800;
    padding: .2rem .5rem;
    border-radius: 5px;
    letter-spacing: .03em;
}

/* ═══════════════════════════════════════════════════
   SINGLE DEAL — Compare Price row + SKU
   ═══════════════════════════════════════════════════ */
.sd-compare-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .75rem 0;
    border-top: 1px solid #f0f0f6;
    margin-top: .5rem;
}
.sd-compare-label {
    font-size: .8125rem;
    font-weight: 700;
    color: #636366;
    white-space: nowrap;
    margin-right: .25rem;
}
.sd-compare-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .75rem;
    border-radius: 6px;
    font-size: .8125rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--rc, #4a6fa5);
    border: 1.5px solid currentColor;
    background: transparent;
    transition: all .15s;
    white-space: nowrap;
}
.sd-compare-btn:hover {
    background: var(--rc, #4a6fa5);
    color: #fff !important;
}

/* ═══════════════════════════════════════════════════
   ARCHIVE — Items per page selector
   ═══════════════════════════════════════════════════ */
.dc-per-page-wrap {
    display: flex;
    align-items: center;
    gap: .375rem;
    margin: .625rem 0 .875rem;
    flex-wrap: wrap;
}
.dc-per-page-label {
    font-size: .8rem;
    color: #8e8e93;
    font-weight: 600;
}
.dc-per-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    padding: .25rem .5rem;
    border: 1.5px solid #e0e0e8;
    border-radius: 6px;
    font-size: .8rem;
    font-weight: 700;
    color: #555;
    text-decoration: none;
    background: #fff;
    transition: all .12s;
}
.dc-per-page-btn:hover { border-color: #4a6fa5; color: #4a6fa5; }
.dc-per-page-btn.active {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}

/* ═══════════════════════════════════════════════════
   LOCKADEAL-STYLE SINGLE DEAL PAGE
   ═══════════════════════════════════════════════════ */

/* Outer wrap */
.ld-deal-wrap {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

/* ── Two-column top layout ── */
.ld-deal-top {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 0;
}
@media (max-width: 860px) {
    .ld-deal-top { grid-template-columns: 1fr; }
}

/* ── Left: Image column ── */
.ld-img-col {
    position: relative;
    background: #f8f9fb;
    border-right: 1px solid #f0f0f6;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    min-height: 360px;
}
.ld-discount-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #e63946;
    color: #fff;
    font-size: .875rem;
    font-weight: 900;
    padding: .3rem .7rem;
    border-radius: 8px;
    letter-spacing: .03em;
}
.ld-img-box {
    width: 100%;
    max-width: 340px;
}
.ld-product-img {
    width: 100%;
    height: auto;
    max-height: 340px;
    object-fit: contain;
    display: block;
    border-radius: 8px;
}

/* ── Right: Info column ── */
.ld-info-col {
    padding: 1.75rem 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .875rem;
}

/* Category pills */
.ld-cats { display: flex; flex-wrap: wrap; gap: .375rem; }
.ld-cat-pill {
    display: inline-block;
    padding: .2rem .625rem;
    background: #f0f4ff;
    color: #4a6fa5;
    border-radius: 20px;
    font-size: .7rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .12s;
}
.ld-cat-pill:hover { background: #dbeafe; }

/* Title */
.ld-title {
    font-size: 1.375rem;
    font-weight: 900;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -.02em;
}

/* Store + posted by */
.ld-meta-row {
    display: flex;
    align-items: center;
    gap: .875rem;
    flex-wrap: wrap;
}
.ld-store-link {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    font-size: .875rem;
    font-weight: 800;
    color: #4a6fa5;
    text-decoration: none;
    background: #f0f4ff;
    padding: .25rem .75rem;
    border-radius: 6px;
}
.ld-store-link:hover { background: #dbeafe; }
.ld-posted-by {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .8125rem;
    color: #8e8e93;
}
.ld-poster-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #e8e8ed;
}
.ld-posted-by a { color: #4a6fa5; font-weight: 700; text-decoration: none; }

/* Pricing */
.ld-price-block {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    flex-wrap: wrap;
    background: #f8f9ff;
    border-radius: 10px;
    padding: .875rem 1rem;
    border: 1px solid #e8eeff;
}
.ld-price-deal {
    font-size: 2.125rem;
    font-weight: 900;
    color: #e63946;
    letter-spacing: -.04em;
    line-height: 1;
}
.ld-price-reg {
    font-size: 1.125rem;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 600;
}
.ld-price-save {
    display: inline-block;
    background: #16a34a;
    color: #fff;
    font-size: .75rem;
    font-weight: 800;
    padding: .2rem .6rem;
    border-radius: 6px;
    letter-spacing: .03em;
}

/* SKU */
.ld-sku {
    font-size: .8rem;
    color: #8e8e93;
    display: flex;
    align-items: center;
    gap: .375rem;
}
.ld-sku code {
    background: #f4f4f8;
    padding: .1rem .4rem;
    border-radius: 4px;
    font-size: .8rem;
    color: #1a1a2e;
    font-family: monospace;
}

/* Expiry */
.ld-expiry {
    font-size: .8125rem;
    font-weight: 700;
    padding: .4rem .75rem;
    border-radius: 7px;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
    display: inline-block;
}
.ld-expiry.expired { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.ld-expiry.soon    { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* Coupon */
.ld-coupon-wrap { display: flex; flex-direction: column; gap: .375rem; }
.ld-coupon-label { font-size: .75rem; font-weight: 700; color: #636366; text-transform: uppercase; letter-spacing: .06em; }
.ld-coupon-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 2px dashed #16a34a;
    border-radius: 8px;
    padding: .625rem 1rem;
    cursor: pointer;
    background: #f0fdf4;
    transition: background .15s;
    gap: 1rem;
}
.ld-coupon-box:hover { background: #dcfce7; }
.ld-coupon-code {
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 900;
    color: #166534;
    letter-spacing: .1em;
}
.ld-coupon-copy-btn {
    display: flex;
    align-items: center;
    gap: .3rem;
    font-size: .75rem;
    font-weight: 700;
    color: #16a34a;
    flex-shrink: 0;
}

/* Primary CTA */
.ld-btn-get-deal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .625rem;
    width: 100%;
    padding: .9375rem 1.5rem;
    background: #1a1a2e;
    color: #fff;
    border-radius: 10px;
    font-size: 1.0625rem;
    font-weight: 900;
    text-decoration: none;
    letter-spacing: .01em;
    transition: background .15s, transform .1s;
}
.ld-btn-get-deal:hover {
    background: #e63946;
    color: #fff;
    transform: translateY(-1px);
}
.ld-btn-get-deal:active { transform: translateY(0); }

/* Compare buttons */
.ld-compare-wrap { display: flex; flex-direction: column; gap: .5rem; }
.ld-compare-label { font-size: .75rem; font-weight: 700; color: #636366; }
.ld-compare-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.ld-compare-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .875rem;
    border-radius: 7px;
    font-size: .8125rem;
    font-weight: 800;
    text-decoration: none;
    transition: opacity .15s, transform .1s;
    white-space: nowrap;
}
.ld-compare-btn:hover { opacity: .88; transform: translateY(-1px); }

/* Stats row */
.ld-stats-row {
    display: flex;
    align-items: center;
    gap: .75rem;
    flex-wrap: wrap;
    padding: .75rem 0;
    border-top: 1px solid #f0f0f6;
}
.ld-stat {
    font-size: .8rem;
    color: #8e8e93;
    font-weight: 600;
}
.ld-stat-sep {
    flex: 1;
    height: 1px;
    background: #f0f0f6;
    min-width: 10px;
}
.ld-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .35rem .75rem;
    border: 1.5px solid #e0e0e8;
    border-radius: 7px;
    background: #fff;
    color: #555;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .12s;
}
.ld-action-btn:hover { border-color: #4a6fa5; color: #4a6fa5; }
.ld-action-btn.active { color: #e63946; border-color: #e63946; }
.ld-btn-report:hover { border-color: #e63946; color: #e63946; }
.ld-pending-badge {
    font-size: .6rem;
    background: #fff3cd;
    color: #856404;
    padding: .1rem .3rem;
    border-radius: 3px;
}

/* Follow button */
.ld-follow-btn {
    padding: .4rem 1rem;
    border-radius: 8px;
    font-size: .8125rem;
    font-weight: 800;
    cursor: pointer;
    border: 2px solid #e63946;
    background: #e63946;
    color: #fff;
    transition: all .15s;
}
.ld-follow-btn.following {
    background: #f4f4f8;
    border-color: #e0e0e8;
    color: #444;
}

/* Affiliate note */
.ld-affiliate-note {
    font-size: .7rem;
    color: #aaa;
    line-height: 1.5;
    padding-top: .5rem;
    border-top: 1px solid #f4f4f8;
}

/* Deal meta pills row */
.ld-deal-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: .875rem 1.5rem;
    border-top: 1px solid #f0f0f6;
    background: #fafbff;
}
.ld-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .75rem;
    background: #fff;
    border: 1.5px solid #e8e8ed;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 600;
    color: #555;
}

/* ── Responsive ── */
@media (max-width: 600px) {
    .ld-info-col { padding: 1.25rem; gap: .75rem; }
    .ld-title { font-size: 1.125rem; }
    .ld-price-deal { font-size: 1.75rem; }
    .ld-btn-get-deal { padding: .8125rem 1rem; font-size: .9375rem; }
    .ld-img-col { min-height: 240px; padding: 1.25rem; }
}

/* ═══════════════════════════════════════════════════
   LOCKADEAL-STYLE SINGLE DEAL PAGE — v2
   ═══════════════════════════════════════════════════ */

/* ── Hero Banner ── */
.ld-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e2d4a 60%, #1a2540 100%);
    padding: 2rem 0 1.75rem;
    position: relative;
    overflow: hidden;
}
.ld-hero-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='800' height='200' viewBox='0 0 800 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q200 20 400 100 T800 100' stroke='rgba(255,255,255,.04)' stroke-width='2' fill='none'/%3E%3Cpath d='M0 130 Q200 50 400 130 T800 130' stroke='rgba(255,255,255,.03)' stroke-width='2' fill='none'/%3E%3C/svg%3E") repeat-x center;
    pointer-events: none;
}
.ld-hero-inner { position: relative; z-index: 1; }
.ld-hero-left { max-width: 900px; }

.ld-breadcrumb {
    display: flex;
    align-items: center;
    gap: .375rem;
    font-size: .75rem;
    color: rgba(255,255,255,.5);
    margin-bottom: .875rem;
    flex-wrap: wrap;
}
.ld-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.ld-breadcrumb a:hover { color: #fff; }
.ld-breadcrumb span { color: rgba(255,255,255,.35); }

.ld-hero-title {
    font-size: 1.625rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.25;
    margin: 0 0 .875rem;
    letter-spacing: -.025em;
}

.ld-disclaimer {
    font-size: .7rem;
    color: rgba(255,255,255,.45);
    line-height: 1.5;
    margin-bottom: .75rem;
    font-style: italic;
}

.ld-hero-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: .8125rem;
    color: rgba(255,255,255,.65);
    margin-bottom: .875rem;
    flex-wrap: wrap;
}
.ld-poster-link { color: rgba(255,255,255,.85); font-weight: 700; text-decoration: none; }
.ld-poster-link:hover { color: #fff; }
.ld-hero-views {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    color: rgba(255,255,255,.5);
}

.ld-hero-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-wrap: wrap;
}
.ld-vote-btn {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    padding: .4rem .9rem;
    background: rgba(230,57,70,.2);
    border: 1.5px solid rgba(230,57,70,.5);
    color: #ff8c96;
    border-radius: 7px;
    font-size: .8125rem;
    font-weight: 800;
    cursor: pointer;
    transition: all .15s;
}
.ld-vote-btn:hover, .ld-vote-btn.voted {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
}
.ld-hero-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .4rem .875rem;
    background: rgba(255,255,255,.1);
    border: 1.5px solid rgba(255,255,255,.2);
    color: rgba(255,255,255,.8);
    border-radius: 7px;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
}
.ld-hero-action-btn:hover { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.35); }
.ld-hero-action-btn.active { color: #fbbf24; border-color: #fbbf24; background: rgba(251,191,36,.1); }
.ld-btn-report:hover { border-color: #f87171; color: #f87171; background: rgba(248,113,113,.1); }
.ld-pending { font-size: .6rem; background: #fbbf24; color: #1a1a2e; padding: .1rem .3rem; border-radius: 3px; }

/* ── Body layout ── */
.ld-body-wrap {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 1.5rem;
    padding-top: 1.5rem;
    align-items: start;
}
@media (max-width: 900px) {
    .ld-body-wrap { grid-template-columns: 1fr; }
    .ld-sidebar-col { order: -1; }
}

/* ── Left content column ── */
.ld-content-col { min-width: 0; }

.ld-expiry-bar {
    padding: .625rem 1rem;
    border-radius: 8px;
    font-size: .875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}
.ld-expiry-bar.expired { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.ld-expiry-bar.soon    { background: #fffbeb; color: #92400e; border-color: #fde68a; }

/* ── Right sidebar ── */
.ld-sidebar-col { position: sticky; top: 1.5rem; }

/* Product panel card */
.ld-product-panel {
    background: #fff;
    border: 1px solid #e8e8ed;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    margin-bottom: 1.25rem;
}

/* Image area */
.ld-panel-img-wrap {
    position: relative;
    background: #f8f9fb;
    padding: 1.25rem;
    text-align: center;
    border-bottom: 1px solid #f0f0f6;
}
.ld-panel-img {
    width: 100%;
    max-height: 260px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.ld-panel-discount-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    background: #e63946;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
    padding: .25rem .6rem;
    border-radius: 6px;
}
.ld-panel-expand {
    position: absolute;
    top: .75rem;
    right: .75rem;
    width: 28px;
    height: 28px;
    background: rgba(0,0,0,.5);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: .875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .12s;
}
.ld-panel-expand:hover { background: rgba(0,0,0,.75); }

/* Price row */
.ld-panel-price-row {
    display: flex;
    align-items: baseline;
    gap: .625rem;
    padding: .875rem 1rem .5rem;
    flex-wrap: wrap;
}
.ld-panel-price-deal {
    font-size: 1.75rem;
    font-weight: 900;
    color: #2563eb;
    letter-spacing: -.04em;
    line-height: 1;
}
.ld-panel-price-reg {
    font-size: 1rem;
    color: #aaa;
    text-decoration: line-through;
    font-weight: 500;
}
.ld-panel-badge-pct {
    background: #e63946;
    color: #fff;
    font-size: .75rem;
    font-weight: 900;
    padding: .2rem .5rem;
    border-radius: 5px;
    margin-left: auto;
}

/* SKU */
.ld-panel-sku {
    padding: 0 1rem .5rem;
    font-size: .75rem;
    color: #8e8e93;
}
.ld-panel-sku code {
    font-family: monospace;
    color: #1a1a2e;
    background: #f4f4f8;
    padding: .1rem .3rem;
    border-radius: 3px;
}

/* Coupon button */
.ld-panel-coupon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 1rem .75rem;
    padding: .625rem .875rem;
    border: 2px dashed #16a34a;
    border-radius: 8px;
    background: #f0fdf4;
    cursor: pointer;
    transition: background .15s;
    gap: .5rem;
}
.ld-panel-coupon:hover { background: #dcfce7; }
.ld-panel-coupon-code {
    font-family: monospace;
    font-size: 1rem;
    font-weight: 900;
    color: #166534;
    letter-spacing: .08em;
}
.ld-panel-coupon-scissors {
    display: flex;
    align-items: center;
    color: #16a34a;
    flex-shrink: 0;
}

/* CHECK NOW button */
.ld-panel-cta-btn {
    display: block;
    width: calc(100% - 2rem);
    margin: 0 1rem .875rem;
    padding: .875rem 1rem;
    background: #1e2d4a;
    color: #fff;
    text-align: center;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: .08em;
    border-radius: 8px;
    text-decoration: none;
    transition: background .15s;
}
.ld-panel-cta-btn:hover { background: #e63946; color: #fff; }

/* Compare price in panel */
.ld-panel-compare {
    padding: 0 1rem .875rem;
    display: flex;
    flex-direction: column;
    gap: .375rem;
}
.ld-panel-compare-label {
    font-size: .7rem;
    font-weight: 700;
    color: #8e8e93;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .125rem;
}
.ld-panel-compare-btn {
    display: block;
    padding: .4375rem .75rem;
    border-radius: 6px;
    font-size: .8125rem;
    font-weight: 800;
    text-decoration: none;
    text-align: center;
    transition: opacity .15s;
}
.ld-panel-compare-btn:hover { opacity: .85; }

/* Divider */
.ld-panel-divider { border: none; border-top: 1px solid #f0f0f6; margin: .25rem 0; }

/* Brand + meta */
.ld-panel-brand {
    padding: .75rem 1rem .375rem;
}
.ld-panel-vendor-link {
    font-size: .875rem;
    font-weight: 800;
    color: #4a6fa5;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}
.ld-panel-vendor-link:hover { color: #e63946; }
.ld-panel-meta {
    padding: .25rem 1rem;
    font-size: .75rem;
    color: #8e8e93;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem;
}
.ld-panel-meta-label { font-weight: 700; color: #555; }
.ld-panel-meta-link { color: #4a6fa5; text-decoration: none; }
.ld-panel-meta-link:hover { text-decoration: underline; }
.ld-panel-meta-link::after { content: ','; margin-right: .15rem; }
.ld-panel-meta-link:last-child::after { content: ''; }

/* Follow button */
.ld-panel-follow-btn {
    display: block;
    width: calc(100% - 2rem);
    margin: .5rem 1rem .875rem;
    padding: .5rem 1rem;
    border: 2px solid #e63946;
    background: #e63946;
    color: #fff;
    font-size: .875rem;
    font-weight: 800;
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
    text-align: center;
}
.ld-panel-follow-btn.following {
    background: #f4f4f8;
    border-color: #e0e0e8;
    color: #555;
}

/* Mobile */
@media (max-width: 600px) {
    .ld-hero-title { font-size: 1.25rem; }
    .ld-hero-banner { padding: 1.25rem 0 1rem; }
    .ld-body-wrap { padding-top: 1rem; gap: 1rem; }
    .ld-panel-price-deal { font-size: 1.5rem; }
}

/* ── Hero two-column: title left + image right ── */
.ld-hero-cols {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 1.5rem;
    align-items: center;
}
@media (max-width: 860px) {
    .ld-hero-cols { grid-template-columns: 1fr; }
    .ld-hero-img-col { display: none; }
}
.ld-hero-img-col { flex-shrink: 0; }
.ld-hero-img-wrap {
    position: relative;
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.1);
    text-align: center;
}
.ld-hero-img {
    width: 100%;
    max-height: 220px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
}

/* ── Vote button — force inline pill, never stacked ── */
.ld-vote-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: .375rem !important;
    padding: .4rem .9rem !important;
    background: rgba(230,57,70,.2) !important;
    border: 1.5px solid rgba(230,57,70,.5) !important;
    color: #ff8c96 !important;
    border-radius: 7px !important;
    font-size: .8125rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all .15s !important;
    white-space: nowrap !important;
    width: auto !important;
    height: auto !important;
    text-align: left !important;
}
.ld-vote-btn:hover, .ld-vote-btn.voted {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
}
/* Kill any inherited bbPress vote box styles */
.ld-hero-actions .dc-vote-btn,
.ld-hero-actions .sd-vote-good,
.ld-hero-actions .sd-vote-btn {
    display: inline-flex !important;
    flex-direction: row !important;
    width: auto !important;
    min-width: 0 !important;
    padding: .4rem .9rem !important;
}

/* ═══════════════════════════════════════════════════
   STICKY DEAL BAR — lockadeal style
   ═══════════════════════════════════════════════════ */
#dc-sticky-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #1e2d4a;
    border-bottom: 3px solid #e63946;
    box-shadow: 0 2px 16px rgba(0,0,0,.25);
    transform: translateY(-100%);
    transition: transform .3s ease;
}
#dc-sticky-bar.visible { transform: translateY(0); }

.dc-sticky-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: .625rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Product thumbnail */
.dc-sticky-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: rgba(255,255,255,.1);
    padding: 3px;
    flex-shrink: 0;
}

/* Title + vendor */
.dc-sticky-info {
    flex: 1;
    min-width: 0;
}
.dc-sticky-title {
    font-size: .875rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}
.dc-sticky-vendor {
    font-size: .7rem;
    color: rgba(255,255,255,.5);
    margin-top: .1rem;
}

/* Price block */
.dc-sticky-price-block {
    display: flex;
    align-items: baseline;
    gap: .5rem;
    flex-shrink: 0;
}
.dc-sticky-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #60a5fa;
    letter-spacing: -.03em;
    line-height: 1;
}
.dc-sticky-reg {
    font-size: .875rem;
    color: rgba(255,255,255,.4);
    text-decoration: line-through;
    font-weight: 500;
}
.dc-sticky-disc {
    background: #e63946;
    color: #fff;
    font-size: .7rem;
    font-weight: 900;
    padding: .15rem .45rem;
    border-radius: 4px;
}

/* Coupon + CTA wrapper */
.dc-sticky-cta-wrap {
    display: flex;
    align-items: center;
    gap: .625rem;
    flex-shrink: 0;
}

/* Coupon code in sticky */
.dc-sticky-coupon {
    display: inline-flex;
    align-items: center;
    gap: .375rem;
    border: 1.5px dashed #16a34a;
    border-radius: 6px;
    padding: .35rem .75rem;
    background: rgba(22,163,74,.1);
    cursor: pointer;
    transition: background .12s;
    white-space: nowrap;
}
.dc-sticky-coupon:hover { background: rgba(22,163,74,.2); }
.dc-sticky-coupon-code {
    font-family: monospace;
    font-size: .875rem;
    font-weight: 900;
    color: #4ade80;
    letter-spacing: .05em;
}
.dc-sticky-coupon svg { color: #4ade80; flex-shrink: 0; }

/* CHECK NOW button */
.dc-sticky-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.375rem;
    background: #1e2d4a;
    border: 2px solid #fff;
    color: #fff;
    font-size: .875rem;
    font-weight: 900;
    letter-spacing: .06em;
    border-radius: 7px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s;
}
.dc-sticky-cta:hover {
    background: #fff;
    color: #1e2d4a;
}

@media (max-width: 640px) {
    .dc-sticky-inner { padding: .5rem 1rem; gap: .625rem; }
    .dc-sticky-img { width: 36px; height: 36px; }
    .dc-sticky-info { display: none; }
    .dc-sticky-price { font-size: 1.0625rem; }
    .dc-sticky-coupon { display: none; }
}

/* ── Hero vote button — red pill ── */
.ld-hero-actions .ld-vote-btn,
.ld-hero-actions .dc-vote-btn {
    background: rgba(230,57,70,.15) !important;
    border: 1.5px solid rgba(230,57,70,.5) !important;
    color: #ff8c96 !important;
}
.ld-hero-actions .ld-vote-btn:hover,
.ld-hero-actions .dc-vote-btn:hover,
.ld-hero-actions .ld-vote-btn.voted,
.ld-hero-actions .dc-vote-btn.voted {
    background: #e63946 !important;
    border-color: #e63946 !important;
    color: #fff !important;
}
.ld-hero-actions .dc-vote-btn .vote-count { display: inline !important; }

/* Remove dc-hero-cols styles that caused image overlap */
.ld-hero-cols { display: block !important; }
.ld-hero-img-col { display: none !important; }

/* ═══════════════════════════════════════════════════
   PRODUCT PANEL — overlaps hero banner (lockadeal style)
   ═══════════════════════════════════════════════════ */

/* Hero must allow overflow so card can float above */
.ld-hero-banner {
    overflow: visible !important;
    position: relative !important;
    z-index: 1 !important;
}

/* Body wrap pulls up to overlap hero — aligned with breadcrumb (hero padding-top = 2rem) */
.ld-body-wrap {
    margin-top: -2rem !important;
    position: relative !important;
    z-index: 2 !important;
    align-items: start !important;
}

/* Left content column has top padding so text isn't hidden under panel */
.ld-content-col {
    padding-top: 2.5rem !important;
}

/* Sidebar stays below the fixed header */
.ld-sidebar-col {
    position: sticky !important;
    top: 5rem !important;
}

/* Product panel — white card floating over hero */
.ld-product-panel {
    background: #fff !important;
    border: 1px solid #e0e0e8 !important;
    border-radius: 14px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.18) !important;
    overflow: hidden !important;
    margin-right: .5rem !important;
}

/* Image wrap — tighter on top to align with hero title */
.ld-panel-img-wrap {
    border-radius: 13px 13px 0 0 !important;
    padding: 1rem !important;
}

/* Hero needs right padding on desktop so title text
   doesn't go under the floating card */
@media (min-width: 901px) {
    .ld-hero-left {
        max-width: calc(100% - 340px) !important;
    }
}

/* Mobile — no overlap, stack normally */
@media (max-width: 900px) {
    .ld-body-wrap { margin-top: 0 !important; }
    .ld-content-col { padding-top: 0 !important; }
}
