/*
Theme Name: ZipDealFinder
Theme URI: https://zipdealfinder.com/
Author: ZipDealFinder
Author URI: https://zipdealfinder.com/
Description: Custom responsive WordPress theme for ZipDealFinder. Brand palette: dark blue (#163d5a), magenta (#ea2e7e), teal (#0c9b98) — matches the official logo.
Version: 1.1.0
Text Domain: zipdealfinder
*/

:root {
  --bg: #0a0b0f;
  --bg2: #12131a;
  --bg3: #1a1c26;
  --surface: #1e2030;
  --border: #2a2d42;
  --text: #e8e9f0;
  --text2: #9a9cb8;
  --accent: #0c9b98; /* Teal from Logo */
  --accent-2: #ea2e7e; /* Magenta from Logo */
  --accent-glow: rgba(12, 155, 152, 0.15);
  --dark-blue: #163d5a; /* Text from Logo */
  --red: #ea2e7e; /* Using magenta for red/alert accents */
  --orange: #ffa94d;
  --yellow: #ffd43b;
  --blue: #4dabf7;
  --purple: #9775fa;
  --pink: #f783ac;
  --green: #51cf66;
  --light-bg: #f9f9fb;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--light-bg); color: var(--dark-blue); line-height: 1.7; font-size: 15px; }

::selection { background: var(--accent); color: var(--white); }

/* HOMEPAGE LIGHT THEME STYLES */
.homepage-preview { background: var(--white); overflow: hidden; color: var(--dark-blue); }
.hp-nav { background: var(--white); border-bottom: 1px solid #eee; width: 100%; z-index: 1000; position: relative; }
.hp-nav-container { display: flex; align-items: center; max-width: 1300px; margin: 0 auto; padding: 0 2rem; height: 64px; justify-content: space-between; }

/* Responsive Nav */
.hp-mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px 10px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    margin-left: auto;
}
.hp-mobile-menu-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--dark-blue);
    border-radius: 2px;
    transition: all 0.3s;
}

/* HEADER SEARCH OVERLAY */
.header-search-overlay {
    background: #fff;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 2rem;
    border-bottom: none;
}
.header-search-overlay.is-open {
    max-height: 80px;
    padding: 0.75rem 2rem;
    border-bottom: 2px solid var(--accent);
}
.header-search-overlay form {
    display: flex;
    gap: 10px;
    max-width: 700px;
    margin: 0 auto;
    align-items: center;
}
.header-search-overlay input[name="s"] {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    font-family: 'DM Sans', sans-serif;
}
.header-search-overlay button[type="submit"] {
    background: var(--accent-2);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
.header-search-overlay button[type="button"] {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}
@media (max-width: 600px) {
    /* On mobile, search lives in the drawer — hide desktop overlay entirely */
    .header-search-overlay { display: none !important; }
}

/* ===========================
   MOBILE DRAWER SYSTEM
   =========================== */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: min(360px, 90vw);
    height: 100dvh;
    background: linear-gradient(160deg, #0f1923 0%, #0a1a1a 100%);
    z-index: 10000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
}
.mobile-drawer.is-open {
    transform: translateX(0);
}
.mobile-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    backdrop-filter: blur(4px);
}
.mobile-drawer-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    flex: 1;
}
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-drawer-header .hp-logo img {
    height: 40px;
    filter: brightness(1.2);
}
.mobile-close-btn {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.mobile-close-btn:hover { background: rgba(255,255,255,0.15); }

/* Mobile Search */
.mobile-search-form {
    display: flex;
    gap: 8px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 6px;
}
.mobile-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    padding: 6px 10px;
}
.mobile-search-form input::placeholder { color: rgba(255,255,255,0.4); }
.mobile-search-form button {
    background: var(--accent);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 16px;
    cursor: pointer;
}

/* Mobile Nav Links */
.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.mobile-nav-link:hover, .mobile-nav-link:active {
    background: rgba(12, 155, 152, 0.15);
    color: var(--accent);
}
.mobile-nav-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin: 8px 0;
}

/* Mobile CTA */
.mobile-cta-btn {
    display: block;
    text-align: center;
    background: var(--accent-2);
    color: #fff;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 15px;
    margin-top: auto;
    transition: background 0.2s;
}
.mobile-cta-btn:hover { background: #d0206e; }

/* LOGO & BRANDING */
.hp-logo { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 20px; color: var(--accent); display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.hp-logo img { height: 55px; margin-right: 10px; object-fit: contain; }
.hp-logo .zip { color: var(--accent); }
.hp-logo span { color: var(--dark-blue); }
.hp-logo .finder { color: var(--accent-2); }

/* HEADER MENU & GENERAL */
.hp-menu { display: flex; align-items: center; gap: 1.5rem; justify-content: center; flex: 1; font-size: 14px; font-weight: 500; color: #555; }
.hp-nav-list { display: flex; gap: 1.5rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.hp-nav-list > li { margin: 0; padding: 0; position: relative; padding: 1.5rem 0; /* Expanded hit area */ }
.hp-menu a, .hp-nav-list a { text-decoration: none; color: inherit; transition: color 0.2s; }
.hp-menu a:hover, .hp-nav-list a:hover { color: var(--accent-2); }

/* Dropdown Mechanics */
.hp-nav-list .sub-menu, .hp-nav-list .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; padding: 1rem; min-width: 220px; z-index: 999; list-style: none; }
.hp-nav-list li:hover > .sub-menu, .hp-nav-list li:hover > .dropdown-menu { display: block; animation: fadeUp 0.2s ease forwards; text-align: left; }
.hp-nav-list .sub-menu li { padding: 0.5rem 0; border-bottom: 1px solid #f5f5f5; }
.hp-nav-list .sub-menu li:last-child { border-bottom: none; }

/* Mega Menu & Badge Enhancements */
.hp-nav-list li.mega-menu { position: static; }
.hp-nav-list li.mega-menu > .dropdown-menu { left: 50%; width: 90vw; max-width: 1000px; transform: translateX(-50%); display: none; grid-template-columns: repeat(4, 1fr); gap: 2rem; padding: 2rem; }
.hp-nav-list li.mega-menu:hover > .dropdown-menu { display: grid; }
.zdf-menu-badge { position: absolute; top: -5px; right: -15px; background: var(--accent-2); color: var(--white); font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; z-index: 10; animation: pulse 2s infinite; }
.hp-nav-list > li > a { position: relative; } /* Ensure anchor is context for badge */

@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(234,46,126, 0.4); } 70% { box-shadow: 0 0 0 4px rgba(234,46,126, 0); } 100% { box-shadow: 0 0 0 0 rgba(234,46,126, 0); } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.hp-actions { margin-left: auto; display: flex; align-items: center; gap: 1rem; }
.hp-search-btn { background: var(--light-bg); border: 1px solid #e0e0e0; border-radius: 8px; padding: 7px 14px; font-size: 13px; color: #888; cursor: pointer; }
.hp-join-btn { background: var(--accent-2); color: var(--white); border: none; padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.hp-join-btn:hover { background: #d0206e; }

/* STATIC PAGE CONTENT WRAPPER */
.page-content-wrap { max-width: 1300px; margin: 0 auto; padding: 2.5rem 2rem; }

/* ═══════════════════════════════════════════════════
   PREMIUM ZDF DESIGN SYSTEM — v2.0
   ═══════════════════════════════════════════════════ */

/* === TRUST BAR === */
.zdf-trust-bar { background: var(--dark-blue); padding: 8px 0; overflow: hidden; }
.zdf-trust-inner { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.trust-item { font-size: 12px; color: rgba(255,255,255,0.85); font-weight: 500; display: flex; align-items: center; gap: 5px; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px #4ade80; animation: pulse 1.8s infinite; display: inline-block; }
.trust-sep { color: rgba(255,255,255,0.2); font-size: 11px; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* === HERO === */
.zdf-hero { position: relative; background: var(--dark-blue); overflow: hidden; padding: 4.5rem 0 5rem; text-align: center; }
.zdf-hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0b1c3e 0%, #163d5a 40%, #0a2a1a 100%); }
.zdf-hero-overlay { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.zdf-hero-inner { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 0 2rem; }
.zdf-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 16px; border-radius: 30px; margin-bottom: 1.5rem; backdrop-filter: blur(8px); }
.zdf-hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5.5vw, 3.8rem); font-weight: 900; color: #fff; line-height: 1.15; margin-bottom: 1.25rem; text-shadow: 0 2px 30px rgba(0,0,0,0.3); }
.zdf-hero-highlight { color: var(--accent-2); position: relative; }
.zdf-hero-sub { color: rgba(255,255,255,0.8); font-size: clamp(1rem, 2vw, 1.2rem); max-width: 600px; margin: 0 auto 2.5rem; line-height: 1.7; }
.zdf-hero-search { width: 100%; max-width: 640px; margin: 0 auto 2rem; }
.zdf-search-wrap { display: flex; background: #fff; border-radius: 14px; padding: 7px 7px 7px 16px; align-items: center; gap: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.1); transition: box-shadow 0.3s; }
.zdf-search-wrap:focus-within { box-shadow: 0 20px 60px rgba(234,46,126,0.25), 0 0 0 2px var(--accent-2); }
.zdf-search-icon { font-size: 18px; flex-shrink: 0; color: #aaa; }
.zdf-search-wrap input { flex: 1; border: none; outline: none; font-size: 16px; font-family: 'DM Sans', sans-serif; color: var(--dark-blue); background: transparent; min-width: 0; }
.zdf-search-wrap input::placeholder { color: #bbb; }
.zdf-search-wrap button { background: var(--accent-2); color: #fff; border: none; padding: 12px 26px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; transition: background 0.25s, transform 0.15s; flex-shrink: 0; }
.zdf-search-wrap button:hover { background: #c82a6a; transform: translateY(-1px); }
.zdf-hero-pills { display: flex; align-items: center; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }
.zdf-pill-label { font-size: 13px; color: rgba(255,255,255,0.55); font-weight: 500; }
.zdf-hero-pill { background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); border: 1px solid rgba(255,255,255,0.15); border-radius: 30px; padding: 6px 16px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.zdf-hero-pill:hover { background: var(--accent-2); border-color: var(--accent-2); color: #fff; transform: translateY(-2px); }

/* === TICKER TAPE === */
.zdf-ticker { background: var(--accent-2); padding: 10px 0; overflow: hidden; display: flex; align-items: center; gap: 0; }
.zdf-ticker-label { background: rgba(0,0,0,0.25); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.1em; padding: 4px 16px; white-space: nowrap; flex-shrink: 0; z-index: 1; }
.zdf-ticker-track { flex: 1; overflow: hidden; position: relative; mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 60px), transparent 100%); }
.zdf-ticker-inner { display: inline-flex; animation: ticker-scroll 40s linear infinite; white-space: nowrap; gap: 0; }
.zdf-ticker-inner:hover { animation-play-state: paused; }
.zdf-ticker-item { color: #fff; font-size: 13px; font-weight: 500; padding: 0 20px; text-decoration: none; display: inline-block; }
.zdf-ticker-item strong { font-weight: 800; }
.zdf-ticker-item:hover { text-decoration: underline; }
.zdf-ticker-sep { color: rgba(255,255,255,0.4); padding: 0 8px; font-size: 10px; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* === LAYOUT UTILITIES === */
.zdf-section { padding: 5rem 0; }
.zdf-section--white { background: #fff; }
.zdf-section--light { background: #f7f8fa; }
.zdf-container { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.zdf-section-hdr { display: flex; align-items: baseline; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.zdf-section-label { font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); background: rgba(234,46,126,0.08); padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(234,46,126,0.15); white-space: nowrap; }
.zdf-section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 900; color: var(--dark-blue); line-height: 1.2; flex: 1; }
.zdf-see-all { margin-left: auto; font-size: 14px; font-weight: 700; color: var(--accent-2); text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.zdf-see-all:hover { color: #c82a6a; text-decoration: underline; }

/* === FEATURE CARD (Editor's Pick) === */
.zdf-feature-card { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid #eaeaea; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 30px rgba(0,0,0,0.04); transition: box-shadow 0.3s, transform 0.3s; }
.zdf-feature-card:hover { box-shadow: 0 16px 50px rgba(0,0,0,0.08); transform: translateY(-3px); }
.zdf-feature-img { flex: 0 0 380px; background: linear-gradient(135deg, #f7f3ff, #fff0f5); position: relative; min-height: 280px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #f0f0f0; }
.zdf-feature-img img { width: 100%; height: 100%; object-fit: cover; }
.zdf-feature-emoji { font-size: 7rem; opacity: 0.8; }
.zdf-feature-badge { position: absolute; top: 16px; left: 16px; background: var(--dark-blue); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: 6px; }
.zdf-feature-body { flex: 1; padding: 3rem; min-width: 280px; display: flex; flex-direction: column; justify-content: center; }
.zdf-feature-store { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); background: rgba(12,155,152,0.1); padding: 4px 10px; border-radius: 5px; margin-bottom: 0.75rem; }
.zdf-feature-title { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--dark-blue); line-height: 1.25; margin-bottom: 1rem; }
.zdf-feature-desc { color: #666; font-size: 15px; line-height: 1.65; margin-bottom: 1.5rem; }
.zdf-feature-price { display: flex; align-items: center; gap: 12px; margin-bottom: 2rem; flex-wrap: wrap; }
.zdf-price-now { font-size: 2.2rem; font-weight: 900; color: var(--accent-2); line-height: 1; }
.zdf-price-was { font-size: 1.1rem; color: #aaa; text-decoration: line-through; font-weight: 500; }
.zdf-price-save { background: #fff0f5; color: var(--accent-2); font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 20px; border: 1px solid rgba(234,46,126,0.2); }
.zdf-feature-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.zdf-btn-primary { background: var(--accent-2); color: #fff; text-decoration: none; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; transition: background 0.25s, transform 0.15s, box-shadow 0.25s; display: inline-block; }
.zdf-btn-primary:hover { background: #c82a6a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(234,46,126,0.3); }
.zdf-btn-ghost { background: transparent; color: var(--dark-blue); text-decoration: none; padding: 14px 28px; border-radius: 10px; font-size: 15px; font-weight: 600; border: 2px solid #eaeaea; transition: border-color 0.25s, background 0.25s; display: inline-block; }
.zdf-btn-ghost:hover { border-color: var(--dark-blue); background: #f7f8fa; }

/* === STORES STRIP === */
.zdf-stores-strip { background: #fff; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; padding: 1.25rem 0; overflow: hidden; }
.zdf-stores-strip .zdf-container { display: flex; align-items: center; gap: 1.5rem; overflow-x: auto; scrollbar-width: none; }
.zdf-stores-strip .zdf-container::-webkit-scrollbar { display: none; }
.zdf-stores-label { font-size: 12px; font-weight: 700; color: #999; white-space: nowrap; text-transform: uppercase; letter-spacing: 0.05em; flex-shrink: 0; }
.zdf-stores-logos { display: flex; gap: 0.75rem; align-items: center; flex-shrink: 0; }
.zdf-store-logo { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none; color: #666; font-size: 11px; font-weight: 600; flex-shrink: 0; transition: color 0.2s, transform 0.2s; }
.zdf-store-logo:hover { color: var(--accent-2); transform: translateY(-3px); }
.zdf-store-icon { width: 48px; height: 48px; border-radius: 12px; background: #f7f8fa; border: 1px solid #eaeaea; display: flex; align-items: center; justify-content: center; font-size: 20px; transition: border-color 0.2s, box-shadow 0.2s; }
.zdf-store-logo:hover .zdf-store-icon { border-color: var(--accent-2); box-shadow: 0 4px 12px rgba(234,46,126,0.15); }

/* === FILTER CHIPS === */
.zdf-filter-chips { display: flex; gap: 0.6rem; margin-bottom: 2rem; flex-wrap: wrap; }
.zdf-chip { display: inline-block; background: #fff; color: #444; border: 1.5px solid #e0e0e0; border-radius: 30px; padding: 7px 20px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; }
.zdf-chip:hover, .zdf-chip.active { background: var(--dark-blue); color: #fff; border-color: var(--dark-blue); }

/* === DEALS GRID === */
.zdf-deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.zdf-deal-card { background: #fff; border: 1.5px solid #eaeaea; border-radius: 14px; overflow: hidden; transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s; }
.zdf-deal-card:hover { box-shadow: 0 10px 35px rgba(0,0,0,0.07); transform: translateY(-5px); border-color: var(--accent-2); }
.zdf-card-link { display: block; text-decoration: none; color: inherit; height: 100%; }
.zdf-card-img { height: 175px; background: linear-gradient(135deg, #f3f4f8, #ecedf5); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.zdf-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.zdf-deal-card:hover .zdf-card-img img { transform: scale(1.04); }
.zdf-card-placeholder { font-size: 3.5rem; opacity: 0.25; }
.zdf-card-badge { position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px; text-transform: uppercase; letter-spacing: 0.05em; }
.zdf-card-badge { background: var(--accent-2); color: #fff; }
.badge-free { background: var(--accent) !important; }
.badge-clearance { background: var(--orange); color: var(--dark-blue); }
.zdf-card-pct { position: absolute; top: 10px; right: 10px; background: var(--dark-blue); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 6px; }
.zdf-card-body { padding: 1.25rem 1.25rem 1.5rem; display: flex; flex-direction: column; gap: 6px; }
.zdf-card-store { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.zdf-card-title { font-size: 14.5px; font-weight: 700; color: var(--dark-blue); line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.zdf-card-price { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.zdf-card-price .zdf-price-now { font-size: 1.3rem; font-weight: 900; color: var(--accent-2); }
.zdf-card-price .zdf-price-was { font-size: 12px; color: #bbb; text-decoration: line-through; }
.zdf-card-cta { font-size: 13px; font-weight: 700; color: var(--accent-2); margin-top: 8px; }
.zdf-deal-card:hover .zdf-card-cta { text-decoration: underline; }
.zdf-load-more-wrap { text-align: center; margin-top: 3rem; }
.zdf-btn-load-more { display: inline-block; background: #fff; color: var(--dark-blue); border: 2px solid #e0e0e0; padding: 14px 40px; border-radius: 12px; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.25s; }
.zdf-btn-load-more:hover { border-color: var(--dark-blue); background: #f7f8fa; transform: translateY(-2px); }

/* === CATEGORIES === */
.zdf-cats-section { border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; }
.zdf-cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.zdf-cat-card { background: #f7f8fa; border: 1.5px solid #eaeaea; border-radius: 14px; padding: 2rem 1rem; text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: all 0.25s; cursor: pointer; }
.zdf-cat-card:hover { background: #fff; border-color: var(--accent-2); transform: translateY(-4px); box-shadow: 0 10px 25px rgba(234,46,126,0.08); }
.zdf-cat-icon { font-size: 2.5rem; line-height: 1; transition: transform 0.25s; }
.zdf-cat-card:hover .zdf-cat-icon { transform: scale(1.15); }
.zdf-cat-name { font-size: 14px; font-weight: 800; color: var(--dark-blue); }
.zdf-cat-count { font-size: 12px; color: #999; font-weight: 500; }

/* === WHY US BAND === */
.zdf-whyus { background: var(--dark-blue); padding: 3.5rem 0; }
.zdf-whyus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.zdf-whyus-item { display: flex; align-items: flex-start; gap: 1rem; }
.zdf-whyus-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.zdf-whyus-txt { font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.zdf-whyus-txt strong { display: block; font-size: 15px; color: #fff; margin-bottom: 2px; }

/* === NEWSLETTER CTA === */
.zdf-newsletter { background: linear-gradient(135deg, var(--accent-2) 0%, #a0195a 100%); padding: 5.5rem 2rem; text-align: center; position: relative; overflow: hidden; }
.zdf-newsletter::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.zdf-newsletter-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; }
.zdf-nl-icon { font-size: 3rem; margin-bottom: 1rem; display: block; }
.zdf-nl-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: #fff; margin-bottom: 1rem; line-height: 1.2; }
.zdf-nl-sub { color: rgba(255,255,255,0.85); font-size: 16px; margin-bottom: 2rem; line-height: 1.65; }
.zdf-nl-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto 1.5rem; }
.zdf-nl-form input { flex: 1; padding: 15px 20px; border-radius: 10px; border: none; font-size: 15px; font-family: 'DM Sans', sans-serif; outline: none; background: rgba(255,255,255,0.95); color: var(--dark-blue); }
.zdf-nl-form input::placeholder { color: #aaa; }
.zdf-nl-form button { background: var(--dark-blue); color: #fff; border: none; padding: 15px 28px; border-radius: 10px; font-size: 15px; font-weight: 800; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; transition: background 0.25s, transform 0.15s; }
.zdf-nl-form button:hover { background: #0b2a45; transform: translateY(-2px); }
.zdf-nl-proof { color: rgba(255,255,255,0.75); font-size: 13px; display: flex; align-items: center; gap: 8px; justify-content: center; flex-wrap: wrap; }

/* === STATIC PAGE CONTENT WRAPPER === */
.page-content-wrap { max-width: 1300px; margin: 0 auto; padding: 2.5rem 2rem; }

/* === ARCHIVE COMPONENTS (keep existing) === */
.archive-hero { background: url('./assets/images/hero-bg.png') center/cover no-repeat; padding: 5rem 2rem; position: relative; text-align: center; overflow: hidden; margin-bottom: 2rem; }
.archive-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.7); pointer-events: none; z-index: 0; backdrop-filter: blur(4px); }
.archive-hero > * { position: relative; z-index: 1; }
.archive-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--white); text-shadow: 0 4px 20px rgba(0,0,0,0.5); margin: 0; }
.archive-hero p { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.archive-filter-bar { background: var(--white); border-bottom: 1px solid #eee; padding: 0.6rem 0; position: sticky; top: 64px; z-index: 100; overflow-x: auto; scrollbar-width: none; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.archive-filter-bar::-webkit-scrollbar { display: none; }
.archive-filter-inner { display: flex; gap: 0.6rem; white-space: nowrap; max-width: 1300px; margin: 0 auto; align-items: center; padding: 2px 2rem; }
.filter-chip { display: inline-block; background: #f5f5f7; color: #333; border: 1px solid #e0e0e0; border-radius: 22px; padding: 6px 18px; font-size: 13px; font-weight: 600; text-decoration: none; flex-shrink: 0; transition: all 0.25s; }
.filter-chip:hover, .filter-chip.active { background: var(--accent-2); color: var(--white); border-color: var(--accent-2); }
.hp-deals-section { padding: 3rem 2rem; max-width: 1300px; margin: 0 auto; }
.hp-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; }
.hp-section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem,3vw,2rem); font-weight: 900; color: var(--dark-blue); }
.hp-see-all { color: var(--accent-2); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 0.3s; }
.hp-see-all:hover { color: #c82a6a; text-decoration: underline; }
.hp-deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.hp-deal-card { background: var(--white); border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; cursor: pointer; position: relative; }
.hp-deal-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-5px); }
.hp-deal-img { height: 160px; background: linear-gradient(135deg, #f0f0f5, #e8e8f0); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hp-deal-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-deal-badge { position: absolute; top: 12px; left: 12px; background: var(--accent-2); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; }
.hp-deal-badge.freebie { background: var(--accent); }
.hp-deal-badge.clearance { background: var(--orange); color: var(--dark-blue); }
.hp-deal-img-placeholder { font-size: 3rem; opacity: 0.2; }
.hp-deal-body { padding: 1.25rem; }
.hp-deal-store { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; display: inline-block; background: rgba(12,155,152,0.1); padding: 3px 8px; border-radius: 4px; }
.hp-deal-title { font-size: 15px; font-weight: 600; color: var(--dark-blue); margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hp-deal-price { display: flex; align-items: center; gap: 8px; }
.hp-deal-now { font-size: 1.25rem; font-weight: 800; color: var(--accent-2); }
.hp-deal-was { font-size: 13px; color: #a0a0a0; text-decoration: line-through; }
.hp-join-btn { background: var(--accent-2); color: var(--white); border: none; padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background 0.3s; }
.hp-join-btn:hover { background: #c82a6a; }
.hp-newsletter { margin: 4rem auto; max-width: 1300px; background: url('./assets/images/newsletter.png') center/cover no-repeat; border-radius: 20px; padding: 4rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 3rem; box-shadow: 0 20px 40px rgba(0,0,0,0.4); position: relative; overflow: hidden; }
.hp-newsletter::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.6); pointer-events: none; }
.hp-nl-text { z-index: 1; position: relative; }
.hp-nl-text h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--white); margin-bottom: 0.75rem; }
.hp-nl-text p { color: rgba(255,255,255,0.8); font-size: 15px; }
.hp-nl-form { display: flex; gap: 10px; flex: 1; max-width: 500px; z-index: 1; }
.hp-nl-form input { flex: 1; padding: 12px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: var(--white); font-size: 15px; outline: none; font-family: 'DM Sans', sans-serif; }
.hp-nl-form input::placeholder { color: rgba(255,255,255,0.5); }
.hp-nl-form button { background: var(--accent); color: var(--white); border: none; padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; }
.hp-nl-form button:hover { background: #0aaa10; }

/* === FOOTER === */
.site-footer { background: #0b1828; border-top: none; padding: 4rem 2rem 2rem; }
.footer-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand img { height: 45px; filter: brightness(1.2); }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 14px; line-height: 1.6; margin-bottom: 1.5rem; max-width: 300px; }
.footer-col h4 { font-weight: 800; color: #fff; margin-bottom: 1.25rem; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.2s; font-weight: 500; }
.footer-col ul li a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 2rem; max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent-2); }

/* === SCROLL TO TOP === */
.zdf-scroll-top { position: fixed; bottom: 2rem; right: 2rem; width: 48px; height: 48px; background: var(--dark-blue); border: 1px solid rgba(255,255,255,0.1); color: #fff; border-radius: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s; z-index: 9000; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.zdf-scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.zdf-scroll-top:hover { background: var(--accent-2); transform: translateY(-3px); }

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .zdf-whyus-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .zdf-feature-img { flex: 0 0 300px; }
}

@media (max-width: 768px) {
  .zdf-hero { padding: 3.5rem 0 4rem; }
  .zdf-hero-title { font-size: 2rem; }
  .zdf-feature-card { flex-direction: column; }
  .zdf-feature-img { flex: none; width: 100%; min-height: 200px; border-right: none; border-bottom: 1px solid #f0f0f0; }
  .zdf-feature-body { padding: 2rem 1.5rem; }
  .hp-newsletter { flex-direction: column; text-align: center; margin: 3rem 1.5rem; padding: 2.5rem 2rem; }
  .hp-nl-form { flex-direction: column; width: 100%; max-width: 100%; }
  .archive-filter-bar { top: 0; }
  .parallax-bg { background-attachment: scroll !important; }
}

@media (max-width: 600px) {
  .hp-menu, .hp-actions { display: none !important; }
  .hp-mobile-menu-btn { display: flex; }
  .zdf-trust-bar { display: none; }
  .zdf-hero-badge { font-size: 11px; }
  .zdf-search-wrap { flex-direction: column; padding: 10px; gap: 8px; }
  .zdf-search-wrap input { width: 100%; }
  .zdf-search-wrap button { width: 100%; border-radius: 10px; }
  .zdf-deals-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .zdf-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .zdf-whyus-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .zdf-nl-form { flex-direction: column; }
  .zdf-nl-form button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .site-footer { padding: 3rem 1.25rem 2rem; }
  .zdf-section { padding: 3rem 0; }
  .hp-deals-section { padding: 2rem 1rem; }
  .hp-deals-grid { grid-template-columns: 1fr; }
  .hp-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .archive-hero { padding: 4rem 1.25rem 3rem; }
  .archive-hero h1 { font-size: 2rem; }
  .archive-filter-bar { padding: 0.75rem 1rem; top: 0; }
  body, .homepage-preview { overflow-x: hidden; max-width: 100vw; }
  img { max-width: 100%; height: auto; }
  * { box-sizing: border-box; }
}

@media (max-width: 400px) {
  .zdf-deals-grid { grid-template-columns: 1fr; }
  .zdf-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .zdf-whyus-grid { grid-template-columns: 1fr; }
}

.kcl-action-bar { background: var(--bg); padding: 1.5rem 0; text-align: center; border-bottom: 2px solid var(--accent); position: relative; }
.kcl-action-inner { max-width: 1300px; margin: 0 auto; padding: 0 2rem; display: flex; flex-direction: column; align-items: center; gap: 1.2rem; }
.hp-hero-search { display: flex; background: var(--white); border-radius: 12px; padding: 6px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); max-width: 600px; width: 100%; border: 2px solid transparent; transition: border-color 0.3s; gap: 6px; }
.hp-hero-search:focus-within { border-color: var(--accent-2); box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.hp-hero-search input { flex: 1; min-width: 0; border: none; outline: none; padding: 12px 18px; font-size: 16px; font-family: 'DM Sans', sans-serif; border-radius: 8px; color: var(--dark-blue); }
.hp-hero-search button { background: var(--accent-2); color: var(--white); border: none; padding: 10px 24px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background 0.3s; white-space: nowrap; }
.hp-hero-search button:hover { background: #d0206e; }

.kcl-pill-nav { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; justify-content: center; }
.kcl-pill { display: inline-flex; align-items: center; background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.15); border-radius: 30px; padding: 6px 18px; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.2s; backdrop-filter: blur(4px); }
.kcl-pill:hover, .kcl-pill.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

/* SERIF EDITORIAL HEADERS */
.section-title-serif { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; color: var(--dark-blue); margin-bottom: 2rem; position: relative; }

/* ARCHIVE PREMIUM HERO */
.archive-hero { background: url('./assets/images/hero-bg.png') center/cover no-repeat; padding: 5rem 2rem; position: relative; text-align: center; overflow: hidden; margin-bottom: 2rem; }
.archive-hero::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.7); pointer-events: none; z-index: 0; backdrop-filter: blur(4px); }
.archive-hero > * { position: relative; z-index: 1; }
.archive-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 900; color: var(--white); text-shadow: 0 4px 20px rgba(0,0,0,0.5); margin: 0; }
.archive-hero p { color: var(--accent); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }

.hp-stores { display: flex; align-items: center; gap: 2rem; padding: 1.25rem 2rem; background: var(--light-bg); border-bottom: 1px solid #eee; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; -ms-overflow-style: none; }
.hp-stores::-webkit-scrollbar { display: none; }
.hp-store { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: #888; font-weight: 500; cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.hp-store-icon { width: 50px; height: 50px; border-radius: 12px; background: var(--white); border: 1px solid #e8e8e8; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: var(--accent); transition: all 0.3s ease; box-shadow: 0 2px 5px rgba(0,0,0,0.02); }
.hp-store:hover .hp-store-icon { border-color: var(--accent-2); color: var(--accent-2); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(234, 46, 126, 0.15); }
.hp-store:hover { color: var(--accent-2); }

.hp-deals-section { padding: 3rem 2rem; max-width: 1300px; margin: 0 auto; }
.hp-section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; }
.hp-section-header h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 900; color: var(--dark-blue); }
.hp-see-all { color: var(--accent-2); font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; transition: color 0.3s; }
.hp-see-all:hover { color: #d0206e; text-decoration: underline; }

.hp-deals-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.hp-deal-card { background: var(--white); border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: box-shadow 0.3s, transform 0.3s; cursor: pointer; position: relative; }
.hp-deal-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.08); transform: translateY(-5px); border-color: var(--accent-glow); }
.hp-deal-img { height: 160px; background: linear-gradient(135deg, #f0f0f5, #e8e8f0); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hp-deal-img img { width: 100%; height: 100%; object-fit: cover; }
.hp-deal-badge { position: absolute; top: 12px; left: 12px; background: var(--accent-2); color: var(--white); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 6px; box-shadow: 0 2px 10px rgba(234, 46, 126, 0.3); }
.hp-deal-badge.freebie { background: var(--accent); box-shadow: 0 2px 10px rgba(12, 155, 152, 0.3); }
.hp-deal-badge.clearance { background: var(--orange); color: var(--dark-blue); }
.hp-deal-img-placeholder { font-size: 3rem; opacity: 0.2; }

.hp-deal-body { padding: 1.25rem; }
.hp-deal-store { font-size: 11px; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; display: inline-block; background: var(--accent-glow); padding: 3px 8px; border-radius: 4px; }
.hp-deal-title { font-size: 15px; font-weight: 600; color: var(--dark-blue); margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.hp-deal-price { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.hp-deal-now { font-size: 1.25rem; font-weight: 800; color: var(--accent-2); }
.hp-deal-was { font-size: 13px; color: #a0a0a0; text-decoration: line-through; font-weight: 500; }

.hp-categories { padding: 4rem 2rem; background: var(--light-bg); border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.hp-categories .hp-section-header { max-width: 1300px; margin: 0 auto 1.5rem auto; }
/* CATEGORY SECTION (CLEAN E-COM) */
.kcl-category-section { background: #f5f5f7; padding: 5rem 0; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; }
.kcl-category-inner { max-width: 1300px; margin: 0 auto; padding: 0 2rem; }
.cat-parallax-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; width: 100%; }
.kcl-cat-card { background: var(--white); border: 1px solid #eaeaea; border-radius: 12px; padding: 2rem 1rem; text-align: center; cursor: pointer; transition: all 0.25s; display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.kcl-cat-card:hover { transform: translateY(-4px); box-shadow: 0 10px 25px rgba(0,0,0,0.06); border-color: var(--accent); }
.kcl-cat-card .cat-name { font-weight: 800; color: var(--dark-blue); font-size: 1.1rem; }
.kcl-cat-card .cat-count { color: #888; font-size: 13px; font-weight: 500; }

/* EDITOR'S PICK HORIZONTAL CARD */
.editor-pick-card { display: flex; flex-wrap: wrap; background: var(--white); border: 1px solid #eaeaea; border-radius: 16px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: transform 0.3s, box-shadow 0.3s; }
.editor-pick-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.08); border-color: var(--accent); }
.editor-pick-img { flex: 0 0 350px; background: #f0f0f5; position: relative; min-height: 250px; display: flex; align-items: center; justify-content: center; border-right: 1px solid #eaeaea; }
.editor-pick-content { flex: 1; padding: 2.5rem; min-width: 300px; display: flex; flex-direction: column; justify-content: center; }
.editor-pick-title { font-family: 'Playfair Display', serif; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: var(--dark-blue); line-height: 1.3; margin: 12px 0; }
.editor-pick-desc { color: #666; font-size: 15px; margin-bottom: 1.5rem; line-height: 1.6; }
.editor-pick-price { display: flex; align-items: center; gap: 12px; margin-bottom: 1.5rem; }

/* GRID STYLE OVERRIDES */
.hp-deal-card.kcl-style { border-radius: 8px; box-shadow: none; border: 1px solid #e0e0e0; }
.hp-deal-card.kcl-style:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.06); transform: translateY(-4px); }
.hp-cat-name { font-size: 14px; font-weight: 700; color: var(--dark-blue); margin-bottom: 4px; }
.hp-cat-count { font-size: 12px; color: #888; }

/* ARCHIVE FILTER BAR (Desktop Baseline) */
.archive-filter-bar { background: var(--white); border-bottom: 1px solid #eee; padding: 0.6rem 0; position: sticky; top: 64px; z-index: 100; overflow-x: auto; scrollbar-width: none; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.archive-filter-bar::-webkit-scrollbar { display: none; }
.archive-filter-inner { display: flex; gap: 0.6rem; white-space: nowrap; max-width: 1300px; margin: 0 auto; align-items: center; padding: 2px 2rem; }
.filter-chip { display: inline-block; background: #f5f5f7; color: #333; border: 1px solid #e0e0e0; border-radius: 22px; padding: 6px 18px; font-size: 13px; font-weight: 600; text-decoration: none; flex-shrink: 0; transition: all 0.25s; }
.filter-chip:hover, .filter-chip.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

.hp-newsletter { margin: 4rem auto; max-width: 1300px; background: url('./assets/images/newsletter.png') center/cover no-repeat; border-radius: 20px; padding: 4rem 2rem; display: flex; align-items: center; justify-content: space-between; gap: 3rem; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); position: relative; overflow: hidden; }

.hp-nl-text { z-index: 1; position: relative; padding-left: 0; }
.hp-nl-text h3 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--white); margin-bottom: 0.75rem; }
.hp-nl-text p { color: rgba(255,255,255,0.8); font-size: 15px; }
.hp-nl-form { display: flex; gap: 10px; flex: 1; max-width: 500px; z-index: 1; padding-right: 0; }
.hp-nl-form input { flex: 1; padding: 12px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.1); color: var(--white); font-size: 15px; outline: none; font-family: 'DM Sans', sans-serif; transition: border-color 0.3s, background 0.3s; }
.hp-nl-form input::placeholder { color: rgba(255,255,255,0.5); }
.hp-nl-form input:focus { border-color: var(--accent); background: rgba(255,255,255,0.15); }
.hp-nl-form button { background: var(--accent); color: var(--white); border: none; padding: 12px 28px; border-radius: 10px; font-size: 15px; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; white-space: nowrap; transition: background 0.3s, transform 0.2s; }
.hp-nl-form button:hover { background: #0aaa10; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(12, 155, 152, 0.3); }

/* KCL NEWSLETTER OVERRIDES */
.hp-newsletter.kcl-style-nl { border-radius: 12px; background: #fff8eb; border: 1px solid #ffe2aa; box-shadow: none; padding: 3rem 2rem; }
.hp-newsletter.kcl-style-nl::before { display: none; }
.hp-newsletter.kcl-style-nl .hp-nl-text h3 { color: var(--dark-blue); }
.hp-newsletter.kcl-style-nl .hp-nl-text p { color: #555; }
.hp-newsletter.kcl-style-nl .hp-nl-form input { border-color: #ddd; background: var(--white); color: var(--dark-blue); }

/* Footer */
.site-footer { background: #fdfdfd; border-top: 1px solid #eaeaea; padding: 4rem 2rem 2rem; }
.footer-grid { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-brand img { height: 45px; }
.footer-desc { color: #666; font-size: 14px; line-height: 1.6; margin-bottom: 1.5rem; max-width: 300px; }
.footer-col h4 { font-weight: 800; color: var(--dark-blue); margin-bottom: 1.25rem; font-size: 15px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }
.footer-col ul li a { color: #444; text-decoration: none; font-size: 14px; transition: color 0.2s; font-weight: 500; }
.footer-col ul li a:hover { color: var(--accent-2); }
.footer-bottom { border-top: 1px solid #eee; padding-top: 2rem; max-width: 1300px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: #888; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: #888; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--accent-2); }

/* Responsive Adjustments */
@media (max-width: 900px) {
  .hp-newsletter { flex-direction: column; text-align: center; margin: 3rem 1.5rem; padding: 2.5rem 2rem; }
  .hp-nl-form { flex-direction: column; width: 100%; max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hp-hero h1 { font-size: 2.5rem; }
  .hp-nav-list li.mega-menu > .dropdown-menu { grid-template-columns: repeat(2, 1fr); }
  .page-content-wrap { grid-template-columns: 1fr; }
  .cf-row { grid-template-columns: 1fr; }
  .archive-trust-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Fix background-attachment:fixed which breaks on iOS Safari */
  .parallax-bg { background-attachment: scroll !important; }
  .archive-trust-grid { grid-template-columns: 1fr; }
  .archive-filter-bar { top: 0; }
  .glass-card { padding: 1.75rem 1.25rem; border-radius: 16px; }
  .glass-card-header { font-size: 1.8rem; }
  .parallax-segment { padding: 4rem 1.25rem; }
  .cat-parallax-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .glass-cat-card { padding: 1.25rem; }
}

@media (max-width: 600px) {
  /* NAV */
  .hp-menu, .hp-actions { display: none !important; }
  .hp-mobile-menu-btn { display: flex; }
  .hp-nav { justify-content: space-between; padding: 0 1rem; }

  /* HERO */
  .hp-hero { padding: 3.5rem 1.25rem 3rem; min-height: 420px; border-radius: 0; margin-bottom: 0; }
  .hp-hero h1 { font-size: 1.85rem; }
  .hp-hero p { font-size: 0.95rem; }
  .hp-hero-search { flex-direction: column; padding: 10px; gap: 8px; }
  .hp-hero-search input { width: 100%; border-radius: 8px; }
  .hp-hero-search button { width: 100%; border-radius: 8px; }

  /* DEALS GRID */
  .hp-deals-grid { grid-template-columns: 1fr; }
  .hp-deals-section { padding: 2rem 1rem; }
  .hp-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* CATEGORIES */
  .hp-cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-parallax-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .glass-cat-card { padding: 1rem 0.75rem; font-size: 0.9rem; }

  /* PARALLAX SECTIONS */
  .parallax-segment { padding: 3.5rem 1rem; }
  .glass-card { padding: 1.5rem 1rem; border-radius: 12px; }
  .glass-card-header { font-size: 1.5rem; flex-direction: column; gap: 8px; text-align: center; }

  /* FOOTER */
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .footer-legal { flex-wrap: wrap; justify-content: center; }
  .site-footer { padding: 3rem 1.25rem 2rem; }

  /* NEWSLETTER */
  .hp-newsletter { flex-direction: column; margin: 2rem 1rem; padding: 2rem 1.25rem; border-radius: 16px; }
  .hp-nl-form { flex-direction: column; width: 100%; }
  .hp-nl-form button { width: 100%; }

  /* MOBILE DROPDOWN & MEGA MENU */
  .hp-nav-list { flex-direction: column; gap: 0; }
  .hp-nav-list > li { padding: 1rem 0; border-bottom: 1px solid #f0f0f5; width: 100%; }
  .hp-nav-list .sub-menu, .hp-nav-list .dropdown-menu { position: static; box-shadow: none; display: none; width: 100%; transform: none; padding: 1rem 0 0 1rem; margin-top: 0.5rem; border-left: 2px solid var(--accent-glow); animation: none; background: transparent; }
  .hp-nav-list li:hover > .sub-menu { display: block; }
  .hp-nav-list li.mega-menu:hover > .dropdown-menu { display: grid; grid-template-columns: 1fr; padding: 1rem 0 0 1rem; gap: 1rem; }

  /* ARCHIVE */
  .archive-hero { padding: 4rem 1.25rem 3rem; }
  .archive-hero h1 { font-size: 2rem; }
  .archive-hero-sub { font-size: 0.95rem; }
  .archive-filter-bar { padding: 0.75rem 1rem; top: 0; }
  .archive-results-header { flex-direction: column; gap: 4px; }

  /* STATIC PAGES */
  .page-content-wrap { padding: 2rem 1rem; grid-template-columns: 1fr; }

  /* SCROLL TO TOP */
  .zdf-scroll-top { bottom: 1.2rem; right: 1.2rem; width: 44px; height: 44px; }

  /* PREVENT HORIZONTAL OVERFLOW */
  body, .homepage-preview { overflow-x: hidden; max-width: 100vw; }
  img { max-width: 100%; height: auto; }
  * { box-sizing: border-box; }
}

@media (max-width: 380px) {
  .hp-hero h1 { font-size: 1.6rem; }
  .cat-parallax-grid { grid-template-columns: 1fr; }
  .hp-cat-grid { grid-template-columns: 1fr; }
  .deal-card { font-size: 13px; }
}


/* === ARCHIVE PAGE STYLES === */
.zdf-archive-hero { position: relative; background: var(--dark-blue); overflow: hidden; padding: 3.5rem 0 4rem; text-align: center; }
.zdf-archive-hero-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; padding: 0 2rem; }
.zdf-archive-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 900; color: #fff; line-height: 1.2; margin-bottom: 0.75rem; }
.zdf-archive-sub { color: rgba(255,255,255,0.75); font-size: 15px; max-width: 560px; margin: 0 auto 1.75rem; line-height: 1.65; }
.zdf-archive-search { max-width: 520px !important; margin: 0 auto !important; }
.zdf-archive-results-hdr { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; border-bottom: 1px solid #eaeaea; padding-bottom: 1rem; }
.zdf-results-count { font-size: 15px; font-weight: 700; color: var(--dark-blue); white-space: nowrap; }
.zdf-results-count strong { color: var(--accent-2); font-size: 1.1rem; }
.zdf-results-desc { font-size: 13px; color: #888; flex: 1; }
.zdf-empty-state { grid-column: 1 / -1; text-align: center; padding: 5rem 2rem; }
.zdf-empty-icon { font-size: 4rem; margin-bottom: 1rem; }
.zdf-empty-state h3 { font-size: 1.5rem; color: #555; margin-bottom: 0.75rem; }
.zdf-empty-state p { color: #888; font-size: 15px; }
.zdf-pagination { margin-top: 3rem; text-align: center; }
.zdf-pagination .nav-links { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
.zdf-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid #e0e0e0; font-size: 14px; font-weight: 600; color: var(--dark-blue); text-decoration: none; transition: all 0.2s; background: #fff; }
.zdf-pagination .page-numbers:hover, .zdf-pagination .page-numbers.current { background: var(--accent-2); border-color: var(--accent-2); color: #fff; }
.zdf-pagination .prev.page-numbers, .zdf-pagination .next.page-numbers { width: auto; padding: 0 18px; }

/* === ZIP CODE HERO FORM === */
.zdf-hero-sub-title { display: block; font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 400; color: rgba(255,255,255,0.85); font-family: 'DM Sans', sans-serif; }
.zdf-zip-form { max-width: 650px; margin: 0 auto 1.5rem; }
.zdf-zip-wrap { display: flex; align-items: stretch; background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(0,0,0,0.25); overflow: hidden; border: 2px solid rgba(255,255,255,0.15); }
.zdf-zip-store-badge { display: flex; align-items: center; gap: 8px; padding: 0 18px; background: #f0f4ff; border-right: 2px solid #e8eaf6; white-space: nowrap; flex-shrink: 0; }
.zdf-walmart-icon { display: flex; align-items: center; }
.zdf-store-name { font-weight: 800; font-size: 15px; color: #0071ce; }
.zdf-store-check { font-size: 14px; color: #22c55e; font-weight: bold; }
.zdf-zip-input-wrap { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 16px; min-width: 0; }
.zdf-zip-pin { font-size: 20px; flex-shrink: 0; }
.zdf-zip-input-wrap input { flex: 1; border: none; outline: none; font-size: 17px; font-weight: 600; color: var(--dark-blue); background: transparent; padding: 18px 0; font-family: 'DM Sans', sans-serif; min-width: 0; }
.zdf-zip-input-wrap input::placeholder { color: #aaa; font-weight: 400; }
.zdf-zip-btn { display: flex; align-items: center; gap: 10px; background: var(--accent-2); color: #fff; border: none; padding: 0 28px; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.25s; white-space: nowrap; font-family: 'DM Sans', sans-serif; }
.zdf-zip-btn:hover { background: #c8005e; }
.zdf-zip-hint { text-align: center; font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 10px; }
@media (max-width: 600px) {
    .zdf-zip-wrap { flex-direction: column; border-radius: 14px; }
    .zdf-zip-store-badge { padding: 14px 18px; border-right: none; border-bottom: 1px solid #e0e0e0; }
    .zdf-zip-input-wrap { padding: 14px 18px; }
    .zdf-zip-btn { padding: 16px; justify-content: center; }
}

/* === FRESHNESS LABEL === */
.zdf-card-meta-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.zdf-freshness-label { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; white-space: nowrap; letter-spacing: 0.3px; text-transform: uppercase; }
.fresh-today     { background: #dcfce7; color: #16a34a; }
.fresh-yesterday { background: #fef9c3; color: #ca8a04; }
.fresh-recent    { background: #f3f4f6; color: #6b7280; }
.fresh-old       { background: #f3f4f6; color: #9ca3af; }

/* === ZIP RESULT BAR === */
.zdf-zip-result-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 10px; padding: 12px 18px; margin-bottom: 20px; font-size: 14px; }
.zdf-zip-result-found { color: #1d4ed8; }
.zdf-zip-result-none  { color: #92400e; }
.zdf-zip-result-clear { font-size: 12px; color: #6b7280; text-decoration: none; white-space: nowrap; padding: 4px 10px; border: 1px solid #d1d5db; border-radius: 6px; }
.zdf-zip-result-clear:hover { background: #f3f4f6; }

/* === CARD ZIP CODES === */
.zdf-card-zips { display: flex; align-items: center; gap: 5px; margin: 8px 0 10px; flex-wrap: wrap; }
.zdf-zip-icon { font-size: 13px; opacity: 0.8; }
.zdf-zip-pill { font-size: 10px; font-weight: 700; background: #eaedff; color: #4e60ff; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.2px; }
.zdf-zip-more { font-size: 10px; font-weight: 600; color: #888; background: #f3f4f6; padding: 2px 6px; border-radius: 4px; }

/* ==========================================================================
   --- PREMIUM STATIC PAGES (About, Contact, Guides) ---
   ========================================================================== */

.zdf-page-hero { 
    position: relative; 
    background: #0f172a; 
    padding: 5rem 1rem; 
    text-align: center; 
    overflow: hidden; 
}
.zdf-page-hero::before { 
    content: ""; 
    position: absolute; 
    inset: 0; 
    background: radial-gradient(circle at 70% 30%, rgba(234, 46, 126, 0.1) 0%, transparent 60%); 
    z-index: 1; 
}
.zdf-page-hero-inner { position: relative; z-index: 5; max-width: 800px; margin: 0 auto; }
.zdf-page-hero-label { color: var(--accent-2); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 13px; margin-bottom: 12px; display: block; }
.zdf-page-hero h1 { font-family: "Playfair Display", serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: #fff; line-height: 1.1; margin: 0; }

.zdf-page-container { 
    max-width: 1200px; 
    margin: -3.5rem auto 5rem; 
    padding: 0 2rem; 
    display: grid; 
    grid-template-columns: 1fr 340px; 
    gap: 3rem; 
    position: relative; 
    z-index: 10; 
}

.zdf-page-article { 
    background: #fff; 
    padding: 3.5rem; 
    border-radius: 20px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.06); 
    border: 1px solid rgba(0,0,0,0.05); 
}

.zdf-page-body { font-size: 17px; line-height: 1.8; color: #374151; }
.zdf-page-body h2 { font-size: 1.8rem; font-weight: 800; color: var(--dark-blue); margin: 2.5rem 0 1.25rem; }
.zdf-page-body h3 { font-size: 1.4rem; font-weight: 700; color: var(--dark-blue); margin: 2rem 0 1rem; }
.zdf-page-body p { margin-bottom: 1.5rem; }
.zdf-page-body ul, .zdf-page-body ol { margin-bottom: 2rem; padding-left: 1.25rem; }
.zdf-page-body li { margin-bottom: 0.75rem; position: relative; }
.zdf-page-body ul li::before { content: "�"; color: var(--accent-2); font-weight: bold; display: inline-block; width: 1.25em; margin-left: -1.25em; }

/* Quick Links Enhancement */
.zdf-quick-links-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); 
    gap: 12px; 
    margin: 2rem 0; 
}
.zdf-quick-link { 
    display: flex; 
    align-items: center; 
    gap: 10px; 
    padding: 12px 16px; 
    background: #f8fafc; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    text-decoration: none; 
    color: var(--dark-blue); 
    font-weight: 600; 
    font-size: 14px; 
    transition: all 0.2s; 
}
.zdf-quick-link:hover { background: #fff; border-color: var(--accent); color: var(--accent); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }

/* Sidebar Widgets */
.zdf-page-sidebar { display: flex; flex-direction: column; gap: 2rem; }
.zdf-sidebar-box { background: #fff; padding: 1.75rem; border-radius: 18px; border: 1px solid #f1f5f9; box-shadow: 0 10px 30px rgba(0,0,0,0.03); }
.zdf-sidebar-box h4 { font-size: 1.1rem; font-weight: 800; color: var(--dark-blue); margin-bottom: 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid #f1f5f9; position: relative; }
.zdf-sidebar-box h4::after { content: ""; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: var(--accent-2); }

.zdf-sidebar-nav { list-style: none; padding: 0; }
.zdf-sidebar-nav li { margin-bottom: 8px; }
.zdf-sidebar-nav a { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #555; font-size: 14px; padding: 10px 14px; border-radius: 8px; transition: all 0.2s; background: #f9fafb; border: 1px solid transparent; }
.zdf-sidebar-nav a:hover { background: var(--accent-glow); color: var(--accent); border-color: rgba(12, 155, 152, 0.2); }

/* Newsletter Sidebar Sidebar */
.zdf-sidebar-nl { background: var(--dark-blue); color: #fff; border: none; }
.zdf-sidebar-nl h4 { color: #fff; border-bottom-color: rgba(255,255,255,0.1); }
.zdf-sidebar-nl p { font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 1.25rem; }

@media (max-width: 991px) {
    .zdf-page-container { grid-template-columns: 1fr; margin-top: -2rem; }
    .zdf-page-article { padding: 2rem; }
    .zdf-page-sidebar { order: 2; }
}

/* ==========================================================================
   --- PREMIUM WORKFLOW SECTION (How It Works) ---
   ========================================================================== */
.zdf-workflow-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.zdf-workflow-section::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(12, 155, 152, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.zdf-workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.zdf-workflow-card {
    background: #ffffff;
    padding: 3.5rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zdf-workflow-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.05);
    border-color: rgba(12, 155, 152, 0.2);
}

.zdf-wf-icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.zdf-workflow-card:hover .zdf-wf-icon-wrap {
    transform: scale(1.1) rotate(5deg);
}

/* Brand Icon Colors */
.icon-teal { background: rgba(12, 155, 152, 0.1); color: #0c9b98; }
.icon-magenta { background: rgba(234, 46, 126, 0.1); color: #ea2e7e; }
.icon-blue { background: rgba(22, 61, 90, 0.08); color: #163d5a; }
.icon-gold { background: rgba(255, 212, 59, 0.15); color: #ca8a04; }

.zdf-wf-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-family: "DM Sans", sans-serif;
}

.zdf-wf-desc {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

@media (max-width: 1100px) {
    .zdf-workflow-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .zdf-workflow-grid { grid-template-columns: 1fr; }
    .zdf-workflow-section { padding: 4rem 0; }
}

/* ---------------------------------------------------------------
   ZDF CARD MULTI-IMAGE CAROUSEL (CSS SCROLL SNAP)
   --------------------------------------------------------------- */
.zdf-card-img-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
}
.zdf-card-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    height: 100%;
    scrollbar-width: none; /* Firefox */
}
.zdf-card-gallery-track::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}
.zdf-gallery-item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    scroll-snap-align: start;
    position: relative;
}
.zdf-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Navigation Arrows */
.zdf-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: rgba(255,255,255,0.85);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #333;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    user-select: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
}
.zdf-card-img:hover .zdf-gallery-nav {
    opacity: 1;
}
.zdf-gallery-nav.prev { left: 8px; }
.zdf-gallery-nav.next { right: 8px; }
.zdf-gallery-nav:hover { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.2); }

