/* DewWow Brand CSS - Complete Design System */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* Fix content clearing fixed header - spacer div handles this now */
/* Pages with our custom hero/header already have their own padding */
#wrap > .dw-hero:first-child,
#wrap > .dw-page-header:first-child {
    margin-top: -90px;
    padding-top: calc(90px + 4rem);
}
.dw-page-header:first-child {
    padding-top: calc(90px + 2rem) !important;
}

/* Fix Odoo body height constraint */
html, body {
    height: auto !important;
    min-height: 100vh !important;
    overflow-y: auto !important;
}
html[data-website-id] {
    height: auto !important;
}


:root {
    --green-primary: #419C5F;
    --green-dark: #2E7043;
    --green-darker: #1D4A2D;
    --green-light: #D4EDDB;
    --purple: #714B67;
    --purple-dark: #5A3D52;
    --cream: #f7fafc;
    --text-heading: #1A202C;
    --text-body: #2D3748;
    --text-muted: #718096;
    --text-sub: #4a5568;
}

/* === GLOBAL === */
body {
    font-family: 'Nunito', sans-serif !important;
    color: var(--text-body);
    line-height: 1.6;
}
h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
    font-family: 'Nunito', sans-serif !important;
    color: var(--text-heading);
}
h1,.h1 { font-weight: 800; }
h2,.h2 { font-weight: 800; }
h3,.h3 { font-weight: 700; }

/* === HIDE DEFAULT ODOO HEADER & FOOTER === */
header#top { display: none !important; }
footer#bottom { display: none !important; }
/* Remove extra padding from hidden header */
main { padding-top: 0 !important; margin-top: 0 !important; }

/* === DEWWOW HEADER === */
.dw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
}
.dw-header-inner {
    max-width: 1100px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-radius: 100px;
    padding: 0.5rem 1rem 0.5rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 2px solid #419C5F;
}
.dw-logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    font-family: 'Nunito', sans-serif;
}
.dw-logo-dew { color: #2A2A2A; }
.dw-logo-wow { color: var(--green-primary); }
.dw-nav { display: flex; gap: 2rem; align-items: center; }
.dw-nav a {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.dw-nav a:hover { color: var(--green-primary); }
.dw-header .dw-btn-contact {
    background: var(--green-primary);
    color: #fff !important;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}
.dw-header .dw-btn-contact:hover { background: var(--purple); }

/* === DEWWOW FOOTER === */
.dw-footer {
    background: var(--purple-dark);
    color: #fff;
    padding: 3rem 2rem 1.5rem;
    font-family: 'Nunito', sans-serif;
}
.dw-footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.dw-footer-main {
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 2rem;
}
.dw-footer-brand .dw-footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
}
.dw-footer-brand .dw-footer-tagline {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.dw-footer-brand .dw-footer-location,
.dw-footer-brand .dw-footer-email {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    line-height: 1.6;
}
.dw-footer-brand .dw-footer-email a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
}
.dw-footer-links { display: flex; gap: 4rem; }
.dw-footer-col h4 {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.dw-footer-col a {
    display: block;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}
.dw-footer-col a:hover { color: #fff; }
.dw-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.dw-footer-copyright {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
}
.dw-footer-legal a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.8rem;
}
.dw-footer-legal a:hover { color: #fff; }
.dw-footer-badges span {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

/* === BUTTONS === */
.dw-btn-primary {
    background: var(--green-primary);
    color: #fff !important;
    padding: 1rem 2rem 0.85rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.2s;
    font-family: 'Nunito', sans-serif;
    border: none;
    cursor: pointer;
    line-height: 1;
    vertical-align: middle;
    box-sizing: border-box;
}
.dw-btn-primary:hover {
    background: var(--purple);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(65,156,95,0.3);
    color: #fff !important;
}
.dw-btn-primary.dw-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}
.dw-btn-secondary {
    background: #fff;
    color: var(--green-dark) !important;
    padding: 1rem 2rem 0.85rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none !important;
    border: 2px solid var(--green-primary);
    display: inline-block;
    transition: all 0.2s;
    font-family: 'Nunito', sans-serif;
    line-height: 1;
    vertical-align: middle;
    box-sizing: border-box;
}
.dw-btn-secondary:hover {
    background: var(--green-light);
    color: var(--green-dark) !important;
}

/* === SECTION PATTERNS === */
.dw-section-tag {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.dw-section-tag-light {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.dw-section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-heading);
}
.dw-section-title-light { color: #fff; }

/* === HERO === */
.dw-hero {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #EDF7F0 0%, #ffffff 50%, #EDF7F0 100%);
}
.dw-hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--green-primary);
    opacity: 0.08;
}
.dw-hero-shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.dw-hero-shape-2 { width: 400px; height: 400px; bottom: -100px; left: -100px; }
.dw-hero-content {
    max-width: 800px;
    text-align: center;
    position: relative;
    z-index: 1;
}
.dw-hero-badge {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}
.dw-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-heading);
}
.dw-hero .dw-highlight { color: var(--green-primary); }
.dw-hero-text {
    font-size: 1.25rem;
    color: var(--text-sub);
    max-width: 600px;
    margin: 0 auto 2rem;
}
.dw-hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}
.dw-hero-stats {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}
.dw-stat-card {
    background: #fff;
    padding: 1.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    min-width: 140px;
}
.dw-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--green-primary);
}
.dw-stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* === MARQUEE === */
.dw-marquee {
    background: var(--purple);
    padding: 1rem 0;
    overflow: hidden;
}
.dw-marquee-track {
    display: flex;
    width: fit-content;
    animation: dw-scroll 60s linear infinite;
}
.dw-marquee-content {
    display: flex;
    gap: 3rem;
    padding-right: 3rem;
}
.dw-marquee-item {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0.9;
}
@keyframes dw-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === EVENT BANNER === */
.dw-event-banner {
    padding: 4rem 2rem;
    background: var(--purple-dark);
    text-align: center;
}
.dw-event-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.dw-event-tag {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--green-light);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}
.dw-event-banner h2 { font-size: 2.25rem; font-weight: 800; color: #fff; margin-bottom: 0.5rem; }
.dw-event-banner p { color: rgba(255,255,255,0.9); font-size: 1.1rem; font-weight: 600; }
.dw-event-location { font-weight: 400 !important; font-size: 1rem !important; opacity: 0.8; margin-bottom: 0.5rem; }
.dw-event-desc { font-weight: 400 !important; font-size: 0.95rem !important; opacity: 0.75; max-width: 500px; margin: 0 auto 1.5rem; }
.dw-qr-code { width: 160px; height: 160px; border-radius: 12px; background: #fff; padding: 8px; }
.dw-qr-label { display: block; color: rgba(255,255,255,0.7); font-size: 0.8rem; font-weight: 600; margin-top: 0.5rem; }

/* === SERVICES CARDS === */
.dw-services { padding: 5rem 2rem; background: var(--cream); }
.dw-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}
.dw-service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 24px;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.dw-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.dw-service-icon {
    width: 56px;
    height: 56px;
    background: var(--green-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.5rem;
}
.dw-service-content h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-heading); }
.dw-service-content p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* === DIFFERENCE SECTION === */
.dw-difference {
    padding: 5rem 2rem;
    background: var(--purple);
}
.dw-diff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.dw-diff-item { text-align: center; color: #fff; }
.dw-diff-number { font-size: 3.5rem; font-weight: 800; color: var(--green-light); line-height: 1; margin-bottom: 0.5rem; }
.dw-diff-item h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; color: #fff; }
.dw-diff-item p { font-size: 0.9rem; opacity: 0.8; color: #fff; margin: 0; }

/* === CTA SECTION === */
.dw-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--green-light) 0%, #F0EDF0 100%);
}
.dw-cta-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.dw-cta h2 { font-size: 2.25rem; font-weight: 800; color: var(--green-darker); margin-bottom: 1rem; }
.dw-cta p { font-size: 1.1rem; color: var(--text-sub); margin-bottom: 2rem; }

/* === PAGE HEADER === */
.dw-page-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(135deg, #EDF7F0 0%, #fff 50%, #EDF7F0 100%);
}
.dw-page-header h1 { font-size: 3rem; font-weight: 800; color: var(--text-heading); margin-bottom: 1rem; }
.dw-page-header p { font-size: 1.15rem; color: var(--text-sub); max-width: 600px; margin: 0 auto; }

/* === GRID CARDS (for services, integrations, industries) === */
.dw-card-grid {
    display: grid;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}
.dw-card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.dw-card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.dw-card-grid-4 { grid-template-columns: repeat(4, 1fr); }
.dw-card {
    background: #fff;
    padding: 2rem;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}
.dw-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.dw-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.dw-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; }

/* === DARK SECTION (purple bg) === */
.dw-dark-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple) 100%);
    text-align: center;
}
.dw-dark-section h2,
.dw-dark-section h3,
.dw-dark-section h4 { color: #fff; }
.dw-dark-section p { color: rgba(255,255,255,0.85); }

/* === NAVY SECTION === */
.dw-navy-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1A365D 0%, #2A4365 50%, #1A365D 100%);
}

/* === TIMELINE === */
.dw-timeline {
    display: flex;
    justify-content: center;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}
.dw-timeline-item { text-align: center; }
.dw-timeline-year {
    font-size: 3rem;
    font-weight: 800;
    color: var(--green-light);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.dw-timeline-item h4 { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.dw-timeline-item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin: 0; }

/* === PROCESS STEPS === */
.dw-steps { display: flex; gap: 2rem; justify-content: center; max-width: 900px; margin: 0 auto; flex-wrap: wrap; }
.dw-step { text-align: center; flex: 1; min-width: 160px; }
.dw-step-num {
    width: 48px; height: 48px;
    background: var(--green-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
}
.dw-step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.dw-step p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* === TEAM CARDS === */
.dw-team-grid { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.dw-team-card { text-align: center; }
.dw-team-avatar {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: var(--green-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    margin: 0 auto 1rem;
}
.dw-team-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.25rem; }
.dw-team-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

/* === PILLS/TAGS === */
.dw-pill {
    display: inline-block;
    background: var(--green-light);
    color: var(--green-dark);
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin: 0.25rem;
}
.dw-pill-outline {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
}

/* === FEATURE TABLE === */
.dw-feature-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9rem;
}
.dw-feature-table th {
    padding: 0.75rem 1rem;
    font-weight: 700;
    color: var(--text-heading);
    border-bottom: 2px solid #E2E8F0;
    text-align: center;
}
.dw-feature-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #E2E8F0;
    text-align: center;
    color: var(--text-body);
}
.dw-feature-table td:first-child { text-align: left; font-weight: 600; }


/* Footer logo - Dew is white on purple bg */
.dw-footer .dw-logo-dew,
.dw-footer-logo .dw-logo-dew {
    color: #fff;
}

/* === RESPONSIVE === */

/* === MOBILE HAMBURGER MENU === */
.dw-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 0;
    margin-left: auto;
}
.dw-mobile-menu {
    display: none;
    flex-direction: column;
    background: #fff;
    padding: 1rem 2rem 1.5rem;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.dw-mobile-menu a {
    color: #2D3748;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #E2E8F0;
    font-family: 'Nunito', sans-serif;
    display: block;
}
.dw-mobile-menu a:last-child {
    border-bottom: none;
}
.dw-mobile-open {
    display: flex !important;
}

@media (max-width: 900px) {
    .dw-hero h1 { font-size: 2.5rem; }
    .dw-services-grid { grid-template-columns: 1fr; }
    .dw-diff-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .dw-card-grid-2, .dw-card-grid-3, .dw-card-grid-4 { grid-template-columns: 1fr; }
    .dw-footer-main { flex-direction: column; }
    .dw-footer-bottom { flex-direction: column; text-align: center; }
    .dw-timeline { flex-direction: column; gap: 2rem; }
    .dw-event-inner { flex-direction: column; }
    .dw-nav { display: none; }
    .dw-btn-contact { display: none !important; }
    .dw-mobile-toggle { display: block; }
    .dw-header-inner { padding: 0.5rem 1rem 0.5rem 1.5rem; }
    /* Push cart group right next to the hamburger */
    .dw-header-inner { justify-content: flex-start !important; }
    .dw-header-inner > div[style*="gap:0.75rem"] {
        margin-left: auto !important;
        margin-right: 0.25rem !important;
    }
    .dw-mobile-toggle { margin-left: 0 !important; }
}
@media (max-width: 600px) {
    .dw-hero { padding: 6rem 1rem 2rem; }
    .dw-hero h1 { font-size: 1.75rem; }
    .dw-hero-actions { flex-direction: column; padding: 0 1rem; }
    .dw-hero-stats { flex-direction: column; gap: 1rem; padding: 0 0.5rem; }
    .dw-section-title { font-size: 1.5rem; }
    .dw-page-header h1 { font-size: 2rem; }
    .dw-page-header { padding: 7rem 1rem 2rem; }
}

/* ========================================================
   COMPREHENSIVE MOBILE POLISH
   Overrides inline styles that don't respond to breakpoints
   ======================================================== */
@media (max-width: 768px) {
    /* Prevent horizontal scroll from any overflowing child */
    html, body { overflow-x: hidden !important; max-width: 100vw; }
    #wrapwrap { overflow-x: hidden !important; }

    /* Force all inline multi-column grids to stack */
    [style*="grid-template-columns:repeat(2"],
    [style*="grid-template-columns: repeat(2"],
    [style*="grid-template-columns:repeat(3"],
    [style*="grid-template-columns: repeat(3"],
    [style*="grid-template-columns:repeat(4"],
    [style*="grid-template-columns: repeat(4"],
    [style*="grid-template-columns:repeat(5"],
    [style*="grid-template-columns: repeat(5"],
    [style*="grid-template-columns:1fr 1fr"],
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Pricing cards (flex-wrap wrapper with 5 children + flex:1 + max-width:220px) */
    div[style*="flex-wrap:wrap"] > div[style*="flex:1"][style*="max-width:220px"],
    div[style*="flex-wrap: wrap"] > div[style*="flex: 1"][style*="max-width: 220px"] {
        flex: 0 1 100% !important;
        max-width: 340px !important;
        margin: 0 auto 1rem !important;
    }

    /* Tighten page section padding */
    .dw-services, .dw-difference, .dw-cta,
    .dw-dark-section, .dw-navy-section {
        padding: 3rem 1rem !important;
    }
    .dw-page-header { padding: 7rem 1rem 2rem !important; }
    .dw-footer { padding: 2.5rem 1rem 1rem !important; }

    /* Smaller headings */
    .dw-section-title { font-size: 1.65rem !important; line-height: 1.25; }
    .dw-page-header h1 { font-size: 1.9rem !important; line-height: 1.2; }
    .dw-cta h2 { font-size: 1.65rem !important; }
    .dw-event-banner h2 { font-size: 1.5rem !important; }

    /* Hero */
    .dw-hero { padding: 6rem 1rem 2rem !important; }
    .dw-hero h1 { font-size: 1.9rem !important; line-height: 1.2; }
    .dw-hero-text { font-size: 1rem !important; padding: 0 0.5rem; }
    .dw-hero-actions { flex-direction: column; padding: 0 1rem; }
    .dw-hero-stats { flex-direction: column !important; gap: 0.75rem !important; padding: 0 1rem !important; align-items: stretch !important; }
    .dw-stat-card { min-width: 0 !important; width: 100% !important; box-sizing: border-box; padding: 1rem 1.25rem !important; }

    /* Service / generic cards - smaller padding, stacked icon */
    .dw-service-card, .dw-card {
        padding: 1.25rem !important;
        border-radius: 18px !important;
    }
    .dw-service-card { gap: 0.75rem !important; }
    .dw-service-icon {
        width: 44px !important;
        height: 44px !important;
        border-radius: 12px !important;
        font-size: 1.1rem !important;
    }
    .dw-service-content h3 { font-size: 1.05rem !important; }
    .dw-service-content p { font-size: 0.9rem !important; }

    /* Event banner stacks */
    .dw-event-inner { flex-direction: column !important; gap: 1.5rem !important; }
    .dw-qr-code { width: 130px !important; height: 130px !important; }

    /* Difference numbers */
    .dw-diff-number { font-size: 2.75rem !important; }
    .dw-timeline { flex-direction: column !important; gap: 2rem !important; }
    .dw-timeline-year { font-size: 2.5rem !important; }

    /* Footer stacking */
    .dw-footer-main { flex-direction: column !important; gap: 2rem !important; }
    .dw-footer-links { flex-direction: column !important; gap: 2rem !important; }
    .dw-footer-bottom { flex-direction: column !important; text-align: center !important; gap: 0.75rem !important; }
    .dw-footer-badges { text-align: center; }

    /* Feature table - compact */
    .dw-feature-table { font-size: 0.72rem !important; }
    .dw-feature-table th, .dw-feature-table td {
        padding: 0.45rem 0.25rem !important;
    }

    /* Marquee - smaller text */
    .dw-marquee-item { font-size: 0.75rem !important; }
    .dw-marquee-content { gap: 2rem !important; padding-right: 2rem !important; }

    /* Marquee must stay as horizontal ticker - do NOT wrap */
    .dw-marquee-track, .dw-marquee-content {
        flex-wrap: nowrap !important;
    }

    /* Step flow */
    .dw-steps { flex-direction: column !important; gap: 1.5rem !important; }
    .dw-step { min-width: 0 !important; width: 100%; }

    /* Buttons */
    .dw-btn-primary, .dw-btn-secondary {
        padding: 0.85rem 1.5rem 0.7rem !important;
        font-size: 0.95rem !important;
    }

    /* Portal / agent pages: form grids to 1-col */
    form[method="POST"] div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    /* Agent deals stat cards grid to 2x2 */
    .container [style*="grid-template-columns:repeat(4"] {
        grid-template-columns: 1fr 1fr !important;
    }

    /* Tables - horizontal scroll if needed */
    .container table {
        display: block !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        font-size: 0.8rem !important;
    }
}

/* Product detail page on mobile */
@media (max-width: 768px) {
    #product_detail {
        padding: 0 1rem !important;
        margin-top: 1.5rem !important;
    }
    #product_detail .breadcrumb,
    #product_detail nav[aria-label="breadcrumb"] {
        padding: 0 !important;
        margin-bottom: 0.75rem !important;
    }
    #o_wsale_product_details_content h1 {
        font-size: 1.75rem !important;
        line-height: 1.2 !important;
    }
    #o_wsale_product_details_content .product_price .oe_price,
    #o_wsale_product_details_content .product_price .oe_currency_value {
        font-size: 1.85rem !important;
    }
    #o_wsale_cta_wrapper .a-submit,
    #o_wsale_cta_wrapper .btn-primary {
        padding: 0.85rem 2rem !important;
        font-size: 1rem !important;
        width: 100%;
    }
    /* Description section - add side padding */
    #product_full_description,
    .o_product_page_description,
    #product_detail .o_wsale_product_description,
    #product_detail [itemprop="description"] {
        padding: 0 1rem !important;
    }
    /* Any description wrapper */
    .oe_website_sale main > .container,
    .oe_website_sale main > .o_wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* Extra-tight for very small phones */
@media (max-width: 420px) {
    .dw-hero h1 { font-size: 1.65rem !important; }
    .dw-page-header h1 { font-size: 1.65rem !important; }
    .dw-section-title { font-size: 1.45rem !important; }
    .dw-logo { font-size: 1.25rem !important; }
    .dw-header { padding: 0.75rem 1rem !important; }
    .dw-header-inner { padding: 0.4rem 0.75rem 0.4rem 1rem !important; }
}


/* === PRODUCT PAGE === */
/* Hide image column */
#product_detail .o_wsale_product_images {
    display: none !important;
}
/* Make product info full width */
#product_detail > .row > .col {
    flex: 0 0 100% !important;
    max-width: 100% !important;
}
/* Center product info */
#product_detail {
    max-width: 700px;
    margin: 0 auto;
}
#o_wsale_product_details_content {
    padding: 0 1rem;
}
/* Style product name */
#o_wsale_product_details_content h1 {
    font-size: 2.25rem !important;
    font-weight: 800 !important;
    color: #1A202C !important;
    margin-bottom: 0.5rem !important;
}
/* Style price - green and large */
#o_wsale_product_details_content .product_price {
    margin-bottom: 1.5rem;
}
#o_wsale_product_details_content .product_price .oe_price,
#o_wsale_product_details_content .product_price .oe_currency_value {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: #419C5F !important;
}
/* Hide clutter: small text (terms, shipping, money-back) */
#o_wsale_product_details_content small.text-muted {
    display: none !important;
}
/* Hide contact_us_wrapper and extra sections */
#contact_us_wrapper {
    display: none !important;
}
/* Hide quantity selector */
#o_wsale_cta_wrapper .css_quantity {
    display: none !important;
}
/* Hide wishlist */
#o_wsale_cta_wrapper .o_add_wishlist,
#o_wsale_cta_wrapper .o_add_wishlist_dyn,
#o_wsale_cta_wrapper .o_wsale_wishlist_btn {
    display: none !important;
}
/* Style Add to Cart button */
#o_wsale_cta_wrapper .a-submit,
#o_wsale_cta_wrapper .btn-primary {
    background: #419C5F !important;
    border-color: #419C5F !important;
    border-radius: 50px !important;
    padding: 1rem 3rem !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
}
/* Description styling */
#o_wsale_product_details_content .o_wsale_product_description,
#o_wsale_product_details_content [itemprop="description"] {
    font-family: 'Nunito', sans-serif;
    color: #2D3748;
    font-size: 1rem;
    line-height: 1.8;
    white-space: pre-line;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E2E8F0;
}
/* Reduce whitespace between product details and description */
#product_detail {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
#product_detail + *,
#product_full_description,
.o_product_page_description {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
#o_wsale_cta_wrapper {
    margin-bottom: 1rem !important;
}
/* Style bottom product description section */
#product_detail .oe_structure:not(#contact_us_wrapper) {
    display: none !important;
}
/* Breadcrumb */
#product_detail .breadcrumb {
    font-family: 'Nunito', sans-serif;
}
#product_detail .breadcrumb a { color: #419C5F; }
/* Hide top bar (pricelist, compare, etc) */
.o_wsale_product_top_bar_desktop { display: none !important; }


/* === CHECKOUT PAGE === */
.list-group { list-style: none !important; }
.list-group-item { list-style: none !important; }
/* Hide Stripe payment options (Card, ACH) on eCommerce checkout */
/* They remain visible in the portal for quotation Sign & Pay */
.oe_website_sale [data-provider-id="18"],
.oe_website_sale .o_payment_option_card[data-provider-id="18"],
.oe_website_sale [data-payment-option-id][data-provider="18"] {
    display: none !important;
}
/* Also hide by payment method code */
.oe_website_sale [data-payment-method-code="card"],
.oe_website_sale [data-payment-method-code="ach_direct_debit"] {
    display: none !important;
}
/* Hide the wire transfer icon on the remaining option */
.o_payment_option_card img[src*="custom"],
.o_payment_option_card img[src*="wire"] {
    display: none !important;
}

/* === ODOO OVERRIDES === */
.btn-primary, a.btn-primary {
    background-color: var(--green-primary) !important;
    border-color: var(--green-primary) !important;
    border-radius: 50px !important;
}
.btn-primary:hover, a.btn-primary:hover {
    background-color: var(--purple) !important;
    border-color: var(--purple) !important;
}
a:not(.btn):not(.nav-link):not(.dropdown-item):not(.dw-nav a) {
    color: var(--green-primary);
}
.o_portal .btn-primary {
    background-color: var(--green-primary) !important;
    border-color: var(--green-primary) !important;
    border-radius: 50px !important;
}
