/* =========================================================
   COD Home Builder - Frontend CSS VFinal
   Mobile-first | Speed optimized | Clean prices | 2 products per row
   ========================================================= */

:root {
    --codhb-primary: #111827;
    --codhb-accent: #e11d48;
    --codhb-topbar-bg: #111827;
    --codhb-topbar-text: #ffffff;
    --codhb-banner-bg: #111827;
    --codhb-banner-text: #ffffff;
    --codhb-banner-button: #e11d48;

    --codhb-bg: #f5f6f8;
    --codhb-card: #ffffff;
    --codhb-text: #111827;
    --codhb-muted: #6b7280;
    --codhb-border: #e5e7eb;
    --codhb-soft: #f3f4f6;
    --codhb-green: #16a34a;
    --codhb-yellow: #f59e0b;
    --codhb-price: #2563eb;
    --codhb-old-price: #9ca3af;

    --codhb-shadow-soft: 0 4px 12px rgba(15, 23, 42, 0.045);
    --codhb-shadow-card: 0 8px 22px rgba(15, 23, 42, 0.075);

    --codhb-container: 1180px;
}

/* =========================================================
   Base
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body.codhb-body {
    margin: 0;
    padding: 0 !important;
    background: var(--codhb-bg);
    color: var(--codhb-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.codhb-page,
.codhb-page * {
    box-sizing: border-box;
}

.codhb-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--codhb-bg);
    color: var(--codhb-text);
}

.codhb-container {
    width: calc(100% - 14px);
    max-width: var(--codhb-container);
    margin: 0 auto;
}

.codhb-page a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.codhb-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.codhb-page h1,
.codhb-page h2,
.codhb-page h3,
.codhb-page h4,
.codhb-page p {
    margin-top: 0;
}

.codhb-dir-rtl {
    direction: rtl;
    text-align: right;
}

.codhb-mobile-sticky,
.codhb-hero-visual,
.codhb-hero-proof-card,
.codhb-hero-placeholder {
    display: none !important;
}

/* =========================================================
   Topbar
   ========================================================= */

.codhb-topbar {
    min-height: 28px;
    background: var(--codhb-topbar-bg);
    color: var(--codhb-topbar-text);
    font-size: 10.4px;
}

.codhb-topbar-inner {
    min-height: 28px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
}

.codhb-topbar span {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    line-height: 1.1;
    font-weight: 850;
}

.codhb-topbar a {
    display: none;
}

/* =========================================================
   Header
   ========================================================= */

.codhb-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.95);
}

.admin-bar .codhb-header {
    top: 46px;
}

.codhb-header-inner {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.codhb-logo {
    min-width: 0;
    max-width: calc(100% - 54px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--codhb-primary);
}

.codhb-logo-img {
    max-height: 31px;
    width: auto;
    object-fit: contain;
}

.codhb-logo-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 11px;
    background: var(--codhb-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 950;
}

.codhb-logo-text {
    max-width: 125px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 13.8px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.25px;
}

.codhb-menu {
    display: none;
}

.codhb-header-actions {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.codhb-header-whatsapp {
    display: none;
}

.codhb-cart {
    position: relative;
    width: 35px;
    height: 35px;
    border-radius: 11px;
    background: #f3f4f6;
    color: var(--codhb-primary);
    border: 1px solid rgba(229, 231, 235, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.codhb-cart-count {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--codhb-accent);
    color: #fff;
    border: 2px solid #fff;
    font-size: 10px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   Buttons
   ========================================================= */

.codhb-btn,
.codhb-product-btn,
.codhb-load-more {
    min-height: 39px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    font-size: 11.7px;
    font-weight: 950;
    text-align: center;
    transition: 0.16s ease;
}

.codhb-btn-primary,
.codhb-product-btn {
    background: var(--codhb-banner-button);
    color: #fff !important;
    box-shadow: none;
}

.codhb-btn-secondary {
    background: rgba(255, 255, 255, 0.13);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.codhb-btn:hover,
.codhb-product-btn:hover,
.codhb-load-more:hover {
    transform: translateY(-1px);
}

/* =========================================================
   Hero
   ========================================================= */

.codhb-hero {
    padding: 8px 0 6px;
}

.codhb-hero-shell {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 10px;
}

.codhb-hero-content {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 18px;
    padding: 18px 13px 15px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.18), transparent 150px),
        radial-gradient(circle at bottom left, rgba(225, 29, 72, 0.22), transparent 190px),
        linear-gradient(135deg, var(--codhb-banner-bg), #020617);
    color: var(--codhb-banner-text);
    box-shadow: var(--codhb-shadow-soft);
}

.codhb-hero-content::before {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    left: -72px;
    bottom: -76px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.09);
}

.codhb-hero-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 5px 9px;
    margin-bottom: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
}

.codhb-hero-content h1 {
    position: relative;
    z-index: 2;
    color: var(--codhb-banner-text);
    font-size: 22px;
    line-height: 1.12;
    letter-spacing: -0.45px;
    font-weight: 950;
    margin-bottom: 7px;
}

.codhb-hero-content p {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.86);
    font-size: 12.5px;
    line-height: 1.45;
    margin-bottom: 12px;
}

.codhb-hero-actions {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.codhb-hero-trust {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 9px;
}

.codhb-hero-trust span {
    min-height: 25px;
    padding: 4px 3px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.94);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9.2px;
    line-height: 1.15;
    font-weight: 850;
    text-align: center;
}

/* =========================================================
   Proof
   ========================================================= */

.codhb-proof-section {
    padding: 8px 0 2px;
}

.codhb-proof-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.codhb-proof-item {
    min-height: 68px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.96);
    box-shadow: var(--codhb-shadow-soft);
    padding: 8px;
}

.codhb-proof-item span {
    width: 27px;
    height: 27px;
    margin-bottom: 5px;
    border-radius: 9px;
    background: rgba(225, 29, 72, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.codhb-proof-item strong {
    display: block;
    color: var(--codhb-primary);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 950;
    margin-bottom: 2px;
}

.codhb-proof-item small {
    display: block;
    color: var(--codhb-muted);
    font-size: 9.2px;
    line-height: 1.2;
    font-weight: 750;
}

/* =========================================================
   Sections
   ========================================================= */

.codhb-section {
    padding: 23px 0;
}

.codhb-section-heading {
    margin-bottom: 12px;
    text-align: center;
}

.codhb-section-heading > span,
.codhb-mini-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 auto 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(225, 29, 72, 0.10);
    color: var(--codhb-accent);
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
}

.codhb-section-heading h2 {
    color: var(--codhb-primary);
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.4px;
    font-weight: 950;
    margin-bottom: 4px;
}

.codhb-section-heading p {
    color: var(--codhb-muted);
    font-size: 12.2px;
    line-height: 1.42;
    margin: 0 auto;
    max-width: 640px;
}

/* =========================================================
   Products
   ========================================================= */

.codhb-products {
    padding-top: 22px;
}

.codhb-products-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.codhb-product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.96);
    border-radius: 13px;
    box-shadow: var(--codhb-shadow-soft);
}

.codhb-product-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f1f2f4;
}

.codhb-product-img,
.codhb-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.codhb-product-badge {
    position: absolute;
    z-index: 2;
    top: 5px;
    left: 5px;
    max-width: calc(100% - 10px);
    padding: 3px 5px;
    border-radius: 999px;
    background: var(--codhb-accent);
    color: #fff;
    font-size: 8.3px;
    line-height: 1;
    font-weight: 950;
    box-shadow: none;
}

.codhb-dir-rtl .codhb-product-badge {
    left: auto;
    right: 5px;
}

.codhb-product-body {
    padding: 7px;
}

.codhb-product-body h3 {
    min-height: 32px;
    color: var(--codhb-primary);
    font-size: 11.2px;
    line-height: 1.32;
    font-weight: 900;
    margin-bottom: 4px;
    letter-spacing: -0.1px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mini proof */
.codhb-product-mini-proof {
    display: flex;
    align-items: center;
    gap: 3px;
    min-height: 14px;
    margin-bottom: 4px;
    overflow: hidden;
}

.codhb-product-mini-proof span,
.codhb-stars {
    color: var(--codhb-yellow);
    font-size: 8.2px;
    letter-spacing: -1px;
    white-space: nowrap;
}

.codhb-product-mini-proof small {
    color: var(--codhb-muted);
    font-size: 8.3px;
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

/* Price */
.codhb-product-price {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 6px;
    line-height: 1.1;
}

.codhb-price-wrap {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.codhb-price-current,
.codhb-price-current .amount,
.codhb-price-current bdi,
.codhb-product-price ins,
.codhb-product-price ins .amount,
.codhb-product-price ins bdi,
.codhb-product-price > .amount {
    color: var(--codhb-price) !important;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: -0.2px;
    text-decoration: none !important;
}

.codhb-price-old,
.codhb-price-old .amount,
.codhb-price-old bdi,
.codhb-product-price del,
.codhb-product-price del .amount,
.codhb-product-price del bdi {
    color: var(--codhb-old-price) !important;
    font-size: 10.5px;
    line-height: 1.1;
    font-weight: 700;
    text-decoration: line-through !important;
    opacity: 1;
}

.codhb-product-price .screen-reader-text {
    display: none !important;
}

.codhb-product-price ins {
    text-decoration: none !important;
}

.codhb-product-btn {
    width: 100%;
    min-height: 33px;
    border-radius: 9px;
    padding: 0 5px;
    font-size: 10.6px;
    box-shadow: none;
}

.codhb-product-action-whatsapp {
    background: #22c55e;
}

.codhb-product-action-add_to_cart {
    background: var(--codhb-primary);
}

.codhb-load-more-wrap {
    margin-top: 11px;
}

.codhb-load-more {
    width: 100%;
    min-height: 39px;
    border-radius: 11px;
    background: var(--codhb-primary);
    color: #fff !important;
    font-size: 12px;
    box-shadow: none;
}

/* Empty products */
.codhb-empty {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 14px;
    padding: 18px 12px;
    display: grid;
    gap: 5px;
    text-align: center;
    color: var(--codhb-muted);
}

.codhb-empty strong {
    color: var(--codhb-primary);
    font-size: 15px;
}

/* =========================================================
   Why / Reviews / Steps / FAQ
   ========================================================= */

.codhb-why-grid,
.codhb-reviews-grid,
.codhb-steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.codhb-why-card,
.codhb-review-card,
.codhb-step-card,
.codhb-faq-item {
    background: #fff;
    border: 1px solid rgba(229, 231, 235, 0.96);
    border-radius: 14px;
    padding: 12px;
    box-shadow: var(--codhb-shadow-soft);
}

.codhb-why-card span,
.codhb-step-card > span {
    width: 32px;
    height: 32px;
    margin-bottom: 7px;
    border-radius: 10px;
    background: rgba(225, 29, 72, 0.10);
    color: var(--codhb-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.codhb-step-card > span {
    background: var(--codhb-accent);
    color: #fff;
    font-weight: 950;
}

.codhb-why-card h3,
.codhb-step-card h3,
.codhb-faq-item h3 {
    color: var(--codhb-primary);
    font-size: 13.2px;
    line-height: 1.3;
    font-weight: 950;
    margin-bottom: 3px;
}

.codhb-why-card p,
.codhb-step-card p,
.codhb-faq-item p,
.codhb-review-card p {
    color: var(--codhb-muted);
    font-size: 11.9px;
    line-height: 1.45;
    margin-bottom: 0;
}

.codhb-review-card p {
    color: #374151;
    margin: 6px 0 8px;
}

.codhb-review-card strong {
    color: var(--codhb-primary);
    font-size: 11.8px;
    font-weight: 950;
}

.codhb-stars {
    font-size: 9.6px;
    margin-bottom: 4px;
}

/* FAQ */
.codhb-faq-list {
    display: grid;
    gap: 8px;
}

/* =========================================================
   Guarantee
   ========================================================= */

.codhb-guarantee {
    padding-bottom: 25px;
}

.codhb-guarantee-box {
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 170px),
        linear-gradient(135deg, var(--codhb-primary), #020617);
    color: #fff;
    padding: 18px 13px;
    text-align: center;
    box-shadow: var(--codhb-shadow-soft);
}

.codhb-guarantee-box > span {
    display: inline-flex;
    width: fit-content;
    margin: 0 auto 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.13);
    color: #fff;
    font-size: 10px;
    line-height: 1;
    font-weight: 950;
}

.codhb-guarantee-box h2 {
    color: #fff;
    font-size: 20px;
    line-height: 1.15;
    letter-spacing: -0.4px;
    font-weight: 950;
    margin-bottom: 6px;
}

.codhb-guarantee-box p {
    color: rgba(255, 255, 255, 0.82);
    font-size: 12.2px;
    line-height: 1.45;
    margin: 0 auto 12px;
}

.codhb-guarantee-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

/* =========================================================
   Footer
   ========================================================= */

.codhb-footer {
    background: #090f1d;
    color: #fff;
    padding: 22px 0 15px;
}

.codhb-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 10px;
    align-items: start;
}

.codhb-footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.codhb-footer-brand h3,
.codhb-footer h4 {
    color: #fff;
    font-weight: 950;
    margin-bottom: 4px;
}

.codhb-footer-brand h3 {
    font-size: 15.5px;
}

.codhb-footer-logo img {
    max-height: 38px;
    width: auto;
    object-fit: contain;
    margin-bottom: 6px;
}

.codhb-footer-brand p {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.70);
    font-size: 11.4px;
    line-height: 1.38;
    margin-bottom: 0;
}

.codhb-footer h4 {
    font-size: 11.8px;
}

.codhb-footer a {
    min-height: 21px;
    color: rgba(255, 255, 255, 0.74);
    display: flex;
    align-items: center;
    margin-bottom: 1px;
    font-size: 11px;
    line-height: 1.25;
    font-weight: 750;
}

.codhb-footer a:hover {
    color: #fff;
}

.codhb-footer-bottom {
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.60);
    font-size: 10.2px;
    line-height: 1.35;
    text-align: center;
}

/* Floating WhatsApp */
.codhb-floating-whatsapp {
    display: none;
}

/* =========================================================
   Generated Store Pages
   ========================================================= */

.codhb-generated-page {
    padding: 28px 0;
    background: var(--codhb-bg);
}

.codhb-generated-page-inner {
    width: min(880px, calc(100% - 18px));
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 20px 14px;
    box-shadow: var(--codhb-shadow-soft);
}

.codhb-generated-page-inner h1 {
    color: var(--codhb-primary);
    font-size: 24px;
    line-height: 1.15;
    font-weight: 950;
    margin-bottom: 14px;
}

.codhb-generated-page-inner h3 {
    color: var(--codhb-primary);
    font-size: 17px;
    font-weight: 950;
    margin: 18px 0 7px;
}

.codhb-generated-page-inner p,
.codhb-generated-page-inner li {
    color: var(--codhb-muted);
    font-size: 14px;
    line-height: 1.65;
}

.codhb-generated-page-inner ul {
    padding-inline-start: 20px;
}

/* =========================================================
   RTL
   ========================================================= */

.codhb-dir-rtl .codhb-section-heading,
.codhb-dir-rtl .codhb-guarantee-box,
.codhb-dir-rtl .codhb-empty {
    text-align: center;
}

.codhb-dir-rtl .codhb-hero-content::before {
    left: auto;
    right: -72px;
}

/* =========================================================
   Very small phones
   ========================================================= */

@media (max-width: 380px) {
    .codhb-products-grid {
        gap: 7px;
    }

    .codhb-product-body {
        padding: 6px;
    }

    .codhb-product-body h3 {
        min-height: 30px;
        font-size: 10.8px;
    }

    .codhb-product-mini-proof small {
        display: none;
    }

    .codhb-price-current,
    .codhb-price-current .amount,
    .codhb-price-current bdi,
    .codhb-product-price ins,
    .codhb-product-price ins .amount,
    .codhb-product-price ins bdi,
    .codhb-product-price > .amount {
        font-size: 14px;
    }

    .codhb-price-old,
    .codhb-price-old .amount,
    .codhb-price-old bdi,
    .codhb-product-price del,
    .codhb-product-price del .amount,
    .codhb-product-price del bdi {
        font-size: 10px;
    }

    .codhb-product-btn {
        min-height: 32px;
        font-size: 10.2px;
    }

    .codhb-hero-content h1 {
        font-size: 20.8px;
    }
}

/* =========================================================
   Tablet
   ========================================================= */

@media (min-width: 641px) {
    .codhb-container {
        width: min(var(--codhb-container), calc(100% - 40px));
    }

    .codhb-topbar {
        font-size: 12px;
    }

    .codhb-topbar-inner {
        min-height: 34px;
        justify-content: space-between;
        text-align: start;
    }

    .codhb-topbar a {
        display: inline-flex;
        color: var(--codhb-topbar-text);
        font-weight: 900;
    }

    .codhb-header-inner {
        min-height: 74px;
    }

    .codhb-logo-img {
        max-height: 52px;
    }

    .codhb-logo-mark {
        width: 46px;
        height: 46px;
        border-radius: 14px;
        font-size: 21px;
    }

    .codhb-logo-text {
        max-width: 260px;
        font-size: 20px;
    }

    .codhb-header-whatsapp {
        min-height: 44px;
        padding: 0 16px;
        border-radius: 999px;
        background: #22c55e;
        color: #fff !important;
        font-weight: 950;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 22px rgba(34, 197, 94, 0.22);
    }

    .codhb-cart {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 18px;
    }

    .codhb-btn,
    .codhb-product-btn,
    .codhb-load-more {
        min-height: 46px;
        border-radius: 14px;
        padding: 0 16px;
        font-size: 14px;
    }

    .codhb-hero {
        padding: 28px 0 18px;
    }

    .codhb-hero-content {
        border-radius: 26px;
        padding: 44px;
        box-shadow: var(--codhb-shadow-card);
    }

    .codhb-hero-content h1 {
        font-size: 43px;
        max-width: 850px;
        letter-spacing: -1px;
    }

    .codhb-hero-content p {
        font-size: 16.5px;
        max-width: 760px;
    }

    .codhb-hero-actions,
    .codhb-guarantee-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .codhb-hero-actions .codhb-btn,
    .codhb-guarantee-actions .codhb-btn {
        min-width: 160px;
        border-radius: 999px;
    }

    .codhb-hero-trust {
        grid-template-columns: repeat(3, max-content);
        justify-content: flex-start;
        gap: 6px;
        margin-top: 12px;
    }

    .codhb-dir-rtl .codhb-hero-trust {
        justify-content: flex-end;
    }

    .codhb-hero-trust span {
        min-height: 30px;
        padding: 5px 8px;
        border-radius: 11px;
        font-size: 10.4px;
    }

    .codhb-proof-section {
        padding: 12px 0 4px;
    }

    .codhb-proof-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 9px;
    }

    .codhb-proof-item {
        min-height: 86px;
        border-radius: 18px;
        padding: 12px;
    }

    .codhb-proof-item span {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        font-size: 17px;
    }

    .codhb-proof-item strong {
        font-size: 12.6px;
    }

    .codhb-proof-item small {
        font-size: 10.8px;
    }

    .codhb-section {
        padding: 52px 0;
    }

    .codhb-section-heading {
        margin-bottom: 16px;
    }

    .codhb-section-heading h2 {
        font-size: 37px;
    }

    .codhb-section-heading p {
        font-size: 15.5px;
    }

    .codhb-products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .codhb-product-card {
        border-radius: 22px;
    }

    .codhb-product-body {
        padding: 14px;
    }

    .codhb-product-body h3 {
        min-height: 44px;
        font-size: 15px;
    }

    .codhb-product-mini-proof span {
        font-size: 11px;
    }

    .codhb-product-mini-proof small {
        font-size: 11px;
    }

    .codhb-price-current,
    .codhb-price-current .amount,
    .codhb-price-current bdi,
    .codhb-product-price ins,
    .codhb-product-price ins .amount,
    .codhb-product-price ins bdi,
    .codhb-product-price > .amount {
        font-size: 18px;
    }

    .codhb-price-old,
    .codhb-price-old .amount,
    .codhb-price-old bdi,
    .codhb-product-price del,
    .codhb-product-price del .amount,
    .codhb-product-price del bdi {
        font-size: 13px;
    }

    .codhb-product-btn {
        min-height: 46px;
        border-radius: 14px;
        font-size: 14px;
    }

    .codhb-why-grid,
    .codhb-reviews-grid,
    .codhb-steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .codhb-why-card,
    .codhb-review-card,
    .codhb-step-card,
    .codhb-faq-item {
        border-radius: 20px;
        padding: 16px;
    }

    .codhb-why-card span,
    .codhb-step-card > span {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .codhb-why-card h3,
    .codhb-step-card h3,
    .codhb-faq-item h3 {
        font-size: 16px;
    }

    .codhb-why-card p,
    .codhb-step-card p,
    .codhb-faq-item p,
    .codhb-review-card p {
        font-size: 13px;
        line-height: 1.55;
    }

    .codhb-review-card strong {
        font-size: 13px;
    }

    .codhb-guarantee {
        padding-bottom: 34px;
    }

    .codhb-guarantee-box {
        border-radius: 26px;
        padding: 42px;
        box-shadow: var(--codhb-shadow-card);
    }

    .codhb-guarantee-box h2 {
        font-size: 38px;
    }

    .codhb-guarantee-box p {
        font-size: 15.5px;
    }

    .codhb-faq-list {
        max-width: 860px;
        margin: 0 auto;
        gap: 10px;
    }

    .codhb-footer {
        padding: 32px 0 28px;
    }

    .codhb-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 28px;
    }

    .codhb-footer-brand {
        grid-column: auto;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .codhb-footer-brand h3 {
        font-size: 18px;
    }

    .codhb-footer-logo img {
        max-height: 52px;
        margin-bottom: 12px;
    }

    .codhb-footer-brand p {
        font-size: 12.8px;
        line-height: 1.55;
    }

    .codhb-footer h4 {
        font-size: 13.5px;
        margin-bottom: 8px;
    }

    .codhb-footer a {
        min-height: 28px;
        font-size: 12.8px;
    }

    .codhb-footer-bottom {
        margin-top: 16px;
        padding-top: 14px;
        font-size: 11.8px;
        text-align: start;
    }

    .codhb-floating-whatsapp {
        position: fixed;
        right: 22px;
        bottom: 22px;
        z-index: 80;
        min-height: 54px;
        padding: 0 18px;
        border-radius: 999px;
        background: #22c55e;
        color: #fff !important;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        box-shadow: 0 18px 40px rgba(34, 197, 94, 0.30);
        font-weight: 950;
    }

    .codhb-dir-rtl .codhb-floating-whatsapp {
        right: auto;
        left: 22px;
    }

    .codhb-generated-page {
        padding: 40px 0;
    }

    .codhb-generated-page-inner {
        width: min(880px, calc(100% - 24px));
        border-radius: 22px;
        padding: 38px;
    }

    .codhb-generated-page-inner h1 {
        font-size: 28px;
    }

    .codhb-generated-page-inner p,
    .codhb-generated-page-inner li {
        font-size: 15px;
    }
}

/* =========================================================
   Desktop
   ========================================================= */

@media (min-width: 1024px) {
    .admin-bar .codhb-header {
        top: 32px;
    }

    .codhb-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 1;
    }

    .codhb-menu a {
        min-height: 40px;
        padding: 0 13px;
        border-radius: 999px;
        color: #374151;
        font-size: 14px;
        font-weight: 850;
        display: inline-flex;
        align-items: center;
    }

    .codhb-menu a:hover {
        background: #f3f4f6;
        color: var(--codhb-primary);
    }

    .codhb-header-actions {
        min-width: 170px;
        justify-content: flex-end;
    }

    .codhb-hero-content {
        padding: 56px;
    }

    .codhb-hero-content h1 {
        font-size: 54px;
        letter-spacing: -1.6px;
        max-width: 900px;
    }

    .codhb-products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

    .codhb-product-card {
        transition: 0.2s ease;
    }

    .codhb-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
    }

    .codhb-product-img,
    .codhb-product-image img {
        transition: 0.25s ease;
    }

    .codhb-product-card:hover .codhb-product-img,
    .codhb-product-card:hover .codhb-product-image img {
        transform: scale(1.035);
    }
}
/* =========================================================
   HOME MOBILE FINAL POLISH V2
   Professional mobile finishing touches
   Add at the END of frontend.css
   ========================================================= */

@media (max-width: 640px) {

    /* General page rhythm */
    .codhb-section {
        padding: 21px 0 !important;
    }

    .codhb-section-heading {
        margin-bottom: 11px !important;
    }

    .codhb-section-heading > span,
    .codhb-mini-label {
        font-size: 9.8px !important;
        padding: 5px 9px !important;
        border-radius: 999px !important;
        margin-bottom: 6px !important;
        font-weight: 950 !important;
    }

    .codhb-section-heading h2 {
        font-size: 20.5px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.45px !important;
        margin-bottom: 4px !important;
    }

    .codhb-section-heading p {
        max-width: 92% !important;
        font-size: 12.3px !important;
        line-height: 1.45 !important;
    }

    /* Product cards - more premium */
    .codhb-products-grid {
        gap: 8px !important;
    }

    .codhb-product-card {
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 1px solid rgba(229, 231, 235, 0.95) !important;
        box-shadow: 0 4px 13px rgba(15, 23, 42, 0.055) !important;
    }

    .codhb-product-image {
        border-radius: 14px 14px 0 0 !important;
    }

    .codhb-product-body {
        padding: 8px !important;
    }

    .codhb-product-body h3 {
        min-height: 34px !important;
        font-size: 11.7px !important;
        line-height: 1.33 !important;
        letter-spacing: -0.12px !important;
        margin-bottom: 5px !important;
        color: var(--codhb-primary) !important;
    }

    .codhb-product-mini-proof {
        margin-bottom: 5px !important;
        gap: 4px !important;
    }

    .codhb-product-mini-proof span {
        font-size: 8.8px !important;
        color: #f59e0b !important;
    }

    .codhb-product-mini-proof small {
        font-size: 8.7px !important;
        color: #6b7280 !important;
        font-weight: 800 !important;
    }

    /* Product price - current clear, old small */
    .codhb-product-price {
        margin-bottom: 7px !important;
    }

    .codhb-price-wrap {
        gap: 5px !important;
        align-items: baseline !important;
    }

    .codhb-price-current,
    .codhb-price-current .amount,
    .codhb-price-current bdi,
    .codhb-product-price ins,
    .codhb-product-price ins .amount,
    .codhb-product-price ins bdi,
    .codhb-product-price > .amount {
        font-size: 15.4px !important;
        line-height: 1.08 !important;
        font-weight: 950 !important;
        color: #2563eb !important;
        letter-spacing: -0.25px !important;
    }

    .codhb-price-old,
    .codhb-price-old .amount,
    .codhb-price-old bdi,
    .codhb-product-price del,
    .codhb-product-price del .amount,
    .codhb-product-price del bdi {
        font-size: 10.2px !important;
        line-height: 1.05 !important;
        font-weight: 750 !important;
        color: #9ca3af !important;
        text-decoration: line-through !important;
    }

    .codhb-product-btn {
        min-height: 34px !important;
        border-radius: 10px !important;
        font-size: 10.8px !important;
        font-weight: 950 !important;
        letter-spacing: -0.05px !important;
    }

    /* View all button */
    .codhb-load-more {
        min-height: 40px !important;
        border-radius: 11px !important;
        font-size: 12px !important;
        font-weight: 950 !important;
    }

    /* Why cards */
    .codhb-why-card {
        padding: 12px !important;
        border-radius: 15px !important;
    }

    .codhb-why-card span {
        width: 31px !important;
        height: 31px !important;
        border-radius: 10px !important;
        font-size: 14px !important;
        margin-bottom: 7px !important;
    }

    .codhb-why-card h3 {
        font-size: 13.2px !important;
        line-height: 1.25 !important;
        margin-bottom: 3px !important;
    }

    .codhb-why-card p {
        font-size: 11.8px !important;
        line-height: 1.43 !important;
    }

    /* Reviews - cleaner stars and text */
    .codhb-reviews-grid {
        gap: 8px !important;
    }

    .codhb-review-card {
        padding: 12px !important;
        border-radius: 15px !important;
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.045) !important;
    }

    .codhb-review-card .codhb-stars,
    .codhb-stars {
        font-size: 11px !important;
        letter-spacing: 0 !important;
        color: #f59e0b !important;
        margin-bottom: 6px !important;
        line-height: 1 !important;
    }

    .codhb-review-card p {
        font-size: 12.1px !important;
        line-height: 1.48 !important;
        color: #374151 !important;
        margin: 6px 0 8px !important;
    }

    .codhb-review-card strong {
        font-size: 11.9px !important;
        color: #111827 !important;
        font-weight: 950 !important;
    }

    /* How it works - compact but premium */
    .codhb-steps-grid {
        gap: 8px !important;
    }

    .codhb-step-card {
        padding: 12px !important;
        border-radius: 15px !important;
        min-height: auto !important;
    }

    .codhb-step-card > span {
        width: 31px !important;
        height: 31px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        margin-bottom: 7px !important;
    }

    .codhb-step-card h3 {
        font-size: 13.2px !important;
        line-height: 1.25 !important;
        margin-bottom: 3px !important;
    }

    .codhb-step-card p {
        font-size: 11.8px !important;
        line-height: 1.43 !important;
    }

    /* Guarantee CTA */
    .codhb-guarantee {
        padding-bottom: 22px !important;
    }

    .codhb-guarantee-box {
        border-radius: 18px !important;
        padding: 18px 13px !important;
        box-shadow: 0 5px 16px rgba(15, 23, 42, 0.08) !important;
    }

    .codhb-guarantee-box > span {
        font-size: 9.8px !important;
        padding: 5px 8px !important;
    }

    .codhb-guarantee-box h2 {
        font-size: 20px !important;
        line-height: 1.15 !important;
        letter-spacing: -0.4px !important;
        margin-bottom: 6px !important;
    }

    .codhb-guarantee-box p {
        font-size: 12.1px !important;
        line-height: 1.43 !important;
        margin-bottom: 12px !important;
    }

    .codhb-guarantee-actions {
        gap: 7px !important;
    }

    .codhb-guarantee-actions .codhb-btn {
        min-height: 39px !important;
        border-radius: 11px !important;
        font-size: 11.7px !important;
    }

    /* FAQ - more readable */
    .codhb-faq-list {
        gap: 8px !important;
    }

    .codhb-faq-item {
        padding: 12px !important;
        border-radius: 15px !important;
    }

    .codhb-faq-item h3 {
        font-size: 12.9px !important;
        line-height: 1.28 !important;
        margin-bottom: 4px !important;
    }

    .codhb-faq-item p {
        font-size: 11.9px !important;
        line-height: 1.45 !important;
        color: #4b5563 !important;
    }

    /* Footer - more professional and compact */
    .codhb-footer {
        padding: 22px 0 15px !important;
    }

    .codhb-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 11px 12px !important;
    }

    .codhb-footer-brand {
        grid-column: 1 / -1 !important;
        padding-bottom: 10px !important;
        margin-bottom: 1px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
    }

    .codhb-footer-logo img {
        max-height: 40px !important;
        margin-bottom: 7px !important;
    }

    .codhb-footer-brand h3 {
        font-size: 15.8px !important;
        margin-bottom: 5px !important;
    }

    .codhb-footer-brand p {
        max-width: 96% !important;
        font-size: 11.5px !important;
        line-height: 1.42 !important;
    }

    .codhb-footer-col {
        min-width: 0 !important;
    }

    .codhb-footer h4 {
        font-size: 12px !important;
        margin-bottom: 5px !important;
        letter-spacing: 0 !important;
    }

    .codhb-footer a {
        min-height: 22px !important;
        font-size: 11.1px !important;
        line-height: 1.25 !important;
        margin-bottom: 1px !important;
    }

    .codhb-footer-bottom {
        margin-top: 11px !important;
        padding-top: 9px !important;
        font-size: 10.3px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 380px) {

    .codhb-product-body h3 {
        font-size: 11px !important;
        min-height: 31px !important;
    }

    .codhb-price-current,
    .codhb-price-current .amount,
    .codhb-price-current bdi,
    .codhb-product-price ins,
    .codhb-product-price ins .amount,
    .codhb-product-price ins bdi,
    .codhb-product-price > .amount {
        font-size: 14.2px !important;
    }

    .codhb-price-old,
    .codhb-price-old .amount,
    .codhb-price-old bdi,
    .codhb-product-price del,
    .codhb-product-price del .amount,
    .codhb-product-price del bdi {
        font-size: 9.8px !important;
    }

    .codhb-product-btn {
        font-size: 10.3px !important;
        min-height: 32px !important;
    }

    .codhb-review-card p,
    .codhb-step-card p,
    .codhb-faq-item p,
    .codhb-why-card p {
        font-size: 11.5px !important;
    }
}