/* =========================================================
   COD Home Builder - Product Page Builder CSS V4
   Mobile-first | Styling controlled from Product Page Builder
   Does not touch COD Forum internals
   ========================================================= */

:root {
    --codhb-primary: #111827;
    --codhb-accent: #e11d48;
    --codhb-topbar-bg: #111827;
    --codhb-topbar-text: #ffffff;

    --codhb-product-page-bg: #f5f6f8;
    --codhb-product-card-bg: #ffffff;
    --codhb-product-title-color: #111827;
    --codhb-product-price-color: #2563eb;
    --codhb-product-old-price-color: #9ca3af;
    --codhb-product-text-color: #374151;
    --codhb-product-muted-color: #6b7280;
    --codhb-product-accent-color: #16a34a;
    --codhb-product-border-color: #e5e7eb;

    --codhb-shadow-soft: 0 7px 20px rgba(15, 23, 42, 0.07);
    --codhb-shadow-card: 0 12px 34px rgba(15, 23, 42, 0.10);

    --codhb-container: 1080px;
}

html {
    scroll-behavior: smooth;
}

body.codhb-product-body-page {
    margin: 0;
    padding: 0 !important;
    background: var(--codhb-product-page-bg);
    color: var(--codhb-product-text-color);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.codhb-product-page,
.codhb-product-page * {
    box-sizing: border-box;
}

.codhb-product-page {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--codhb-product-page-bg);
    color: var(--codhb-product-text-color);
}

.codhb-product-container {
    width: min(var(--codhb-container), calc(100% - 18px));
    margin: 0 auto;
}

.codhb-product-page a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.codhb-product-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.codhb-product-page h1,
.codhb-product-page h2,
.codhb-product-page h3,
.codhb-product-page h4,
.codhb-product-page p {
    margin-top: 0;
}

.codhb-dir-rtl {
    direction: rtl;
    text-align: right;
}

/* Topbar */
.codhb-product-topbar {
    background: var(--codhb-topbar-bg);
    color: var(--codhb-topbar-text);
    font-size: 11px;
}

.codhb-product-topbar-inner {
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    white-space: nowrap;
}

.codhb-product-topbar-inner span {
    font-weight: 850;
}

/* Header */
.codhb-product-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--codhb-product-border-color);
}

.admin-bar .codhb-product-header {
    top: 46px;
}

.codhb-product-header-inner {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.codhb-product-logo {
    min-width: 0;
    max-width: calc(100% - 54px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--codhb-product-title-color);
}

.codhb-product-logo-img {
    max-height: 34px;
    width: auto;
    object-fit: contain;
}

.codhb-product-logo-mark {
    width: 37px;
    height: 37px;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--codhb-product-title-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 950;
}

.codhb-product-logo-text {
    max-width: 135px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14.5px;
    line-height: 1.1;
    font-weight: 950;
}

.codhb-product-nav {
    display: none;
}

.codhb-product-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.codhb-product-whatsapp-head {
    display: none;
}

.codhb-product-cart {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f3f4f6;
    color: var(--codhb-product-title-color);
    border: 1px solid var(--codhb-product-border-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.codhb-product-cart span {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--codhb-product-accent-color);
    color: #fff;
    border: 2px solid #fff;
    font-size: 10px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Builder layout */
.codhb-product-main-section {
    padding: 10px 0 20px;
}

.codhb-product-card-shell,
.codhb-builder-controlled-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.codhb-builder-section,
.codhb-product-image-box,
.codhb-product-info-box,
.codhb-inline-form-card,
.codhb-product-details-card,
.codhb-product-receive-builder,
.codhb-product-receive-card,
.codhb-section-trust-badges {
    background: var(--codhb-product-card-bg);
    border: 1px solid var(--codhb-product-border-color);
    border-radius: 17px;
    box-shadow: var(--codhb-shadow-soft);
}

.codhb-builder-section {
    width: 100%;
    min-width: 0;
}

/* Remove old top badges completely */
.codhb-product-badges,
.codhb-product-mini-trust {
    display: none !important;
}

/* Product media */
.codhb-product-image-box,
.codhb-section-product-media {
    overflow: hidden;
}

.codhb-product-main-image {
    overflow: hidden;
    background: #f1f2f4;
    aspect-ratio: 1 / 1;
}

.codhb-product-main-img,
.codhb-product-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.codhb-product-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9fafb, #eef2ff);
    font-size: 58px;
}

.codhb-product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    padding: 8px;
}

.codhb-product-gallery-item {
    overflow: hidden;
    border-radius: 11px;
    background: #f3f4f6;
    aspect-ratio: 1 / 1;
}

.codhb-product-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product summary */
.codhb-product-info-box,
.codhb-section-product-summary {
    padding: 15px 16px;
}

.codhb-clean-product-title,
.codhb-product-info-box h1,
.codhb-section-product-summary h1 {
    color: var(--codhb-product-title-color);
    font-size: 21.5px;
    line-height: 1.18;
    letter-spacing: -0.45px;
    font-weight: 950;
    margin-bottom: 9px;
    word-break: normal;
    overflow-wrap: anywhere;
}

.codhb-product-short-line {
    color: var(--codhb-product-muted-color);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 10px;
}

/* Clean price */
.codhb-product-price-box {
    margin: 0 !important;
    padding-top: 4px !important;
}

.codhb-clean-price-wrap {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.12 !important;
}

.codhb-clean-current-price {
    color: var(--codhb-product-price-color) !important;
    font-size: 23px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: -0.35px !important;
}

.codhb-clean-current-price .amount,
.codhb-clean-current-price bdi {
    color: var(--codhb-product-price-color) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
}

.codhb-clean-old-price {
    color: var(--codhb-product-old-price-color) !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    text-decoration: line-through !important;
}

.codhb-clean-old-price .amount,
.codhb-clean-old-price bdi {
    color: var(--codhb-product-old-price-color) !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

.codhb-product-price-box .screen-reader-text {
    display: none !important;
}

/* Order form wrapper only */
.codhb-inline-form-card,
.codhb-section-order-form {
    padding: 0 !important;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.codhb-inline-form-head {
    display: none !important;
}

.codhb-product-form-wrap,
.codhb-product-form-wrap * {
    max-width: 100%;
}

/* Do not style COD Forum deeply */
.codhb-product-form-wrap > * {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Section head */
.codhb-product-section-head {
    text-align: center;
    margin-bottom: 12px;
}

.codhb-product-section-head span {
    display: inline-flex;
    width: fit-content;
    margin: 0 auto 7px;
    padding: 6px 10px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--codhb-product-accent-color) 12%, white);
    color: var(--codhb-product-accent-color);
    font-size: 10.8px;
    line-height: 1;
    font-weight: 950;
}

.codhb-product-section-head h2 {
    color: var(--codhb-product-title-color);
    font-size: 20px;
    line-height: 1.18;
    letter-spacing: -0.4px;
    font-weight: 950;
    margin-bottom: 5px;
}

/* Product description */
.codhb-product-details-card,
.codhb-section-product-description {
    padding: 14px;
    overflow: hidden;
}

.codhb-product-description-content {
    color: var(--codhb-product-text-color);
    font-size: 13.6px;
    line-height: 1.7;
}

.codhb-product-description-content > *:first-child {
    margin-top: 0;
}

.codhb-product-description-content > *:last-child {
    margin-bottom: 0;
}

.codhb-product-description-content h1,
.codhb-product-description-content h2,
.codhb-product-description-content h3,
.codhb-product-description-content h4 {
    color: var(--codhb-product-title-color);
    font-weight: 950;
    line-height: 1.25;
    margin: 20px 0 9px;
}

.codhb-product-description-content h1 {
    font-size: 22px;
}

.codhb-product-description-content h2 {
    font-size: 20px;
}

.codhb-product-description-content h3 {
    font-size: 17px;
}

.codhb-product-description-content h4 {
    font-size: 15px;
}

.codhb-product-description-content p {
    color: var(--codhb-product-text-color);
    font-size: 13.6px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.codhb-product-description-content ul,
.codhb-product-description-content ol {
    margin: 0 0 15px;
    padding-inline-start: 20px;
}

.codhb-product-description-content li {
    color: var(--codhb-product-text-color);
    font-size: 13.6px;
    line-height: 1.65;
    margin-bottom: 6px;
}

.codhb-product-description-content img {
    width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 12px 0;
    box-shadow: 0 7px 18px rgba(15, 23, 42, 0.07);
}

.codhb-product-description-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    overflow: hidden;
    border-radius: 12px;
    font-size: 12.8px;
}

.codhb-product-description-content table th,
.codhb-product-description-content table td {
    border: 1px solid var(--codhb-product-border-color);
    padding: 9px;
    text-align: start;
}

.codhb-product-description-content table th {
    background: #f8fafc;
    color: var(--codhb-product-title-color);
    font-weight: 950;
}

/* Trust badges */
.codhb-section-trust-badges {
    padding: 14px;
}

.codhb-product-trust-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.codhb-product-trust-card {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 8px 10px;
    align-items: start;
    padding: 13px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid var(--codhb-product-border-color);
}

.codhb-product-trust-card .codhb-trust-dot {
    width: 10px;
    height: 10px;
    margin-top: 5px;
    border-radius: 999px;
    background: var(--codhb-product-accent-color);
    display: block;
}

.codhb-product-trust-card strong {
    color: var(--codhb-product-title-color);
    font-size: 13.2px;
    line-height: 1.25;
    font-weight: 950;
}

.codhb-product-trust-card p {
    grid-column: 2;
    color: var(--codhb-product-muted-color);
    font-size: 12.3px;
    line-height: 1.5;
    margin: -3px 0 0;
}

/* Delivery steps */
.codhb-product-receive-builder,
.codhb-section-delivery-steps {
    padding: 14px;
}

.codhb-product-receive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.codhb-product-receive-card {
    padding: 14px;
}

.codhb-product-receive-card > span {
    width: 36px;
    height: 36px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: var(--codhb-product-accent-color);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 950;
}

.codhb-product-receive-card h3 {
    color: var(--codhb-product-title-color);
    font-size: 14.5px;
    line-height: 1.35;
    font-weight: 950;
    margin-bottom: 4px;
}

.codhb-product-receive-card p {
    color: var(--codhb-product-muted-color);
    font-size: 12.6px;
    line-height: 1.5;
    margin-bottom: 0;
}

/* Footer */
.codhb-product-footer {
    background: #090f1d;
    color: #fff;
    padding: 26px 0 18px;
}

.codhb-product-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 12px;
}

.codhb-product-footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 11px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.codhb-product-footer-brand h3,
.codhb-product-footer h4 {
    color: #fff;
    font-weight: 950;
    margin-bottom: 6px;
}

.codhb-product-footer-brand h3 {
    font-size: 16.5px;
}

.codhb-product-footer-brand p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 0;
}

.codhb-product-footer h4 {
    font-size: 12.5px;
}

.codhb-product-footer a {
    min-height: 24px;
    color: rgba(255, 255, 255, 0.74);
    display: flex;
    align-items: center;
    font-size: 11.7px;
    font-weight: 750;
}

.codhb-product-footer-bottom {
    margin-top: 14px;
    padding-top: 11px;
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.60);
    font-size: 10.8px;
    text-align: center;
}

/* Very small phones */
@media (max-width: 380px) {
    .codhb-product-container {
        width: calc(100% - 16px);
    }

    .codhb-clean-product-title,
    .codhb-product-info-box h1,
    .codhb-section-product-summary h1 {
        font-size: 20px;
    }

    .codhb-clean-current-price {
        font-size: 21px !important;
    }

    .codhb-clean-old-price {
        font-size: 13px !important;
    }

    .codhb-product-description-content,
    .codhb-product-description-content p,
    .codhb-product-description-content li {
        font-size: 13px;
    }

    .codhb-product-topbar-inner {
        gap: 8px;
        font-size: 10.5px;
    }
}

/* Tablet and desktop */
@media (min-width: 641px) {
    .codhb-product-container {
        width: min(var(--codhb-container), calc(100% - 40px));
    }

    .codhb-product-topbar-inner {
        justify-content: center;
        gap: 22px;
        font-size: 12.5px;
    }

    .codhb-product-header-inner {
        min-height: 74px;
    }

    .codhb-product-logo-img {
        max-height: 52px;
    }

    .codhb-product-logo-mark {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }

    .codhb-product-logo-text {
        max-width: 260px;
        font-size: 20px;
    }

    .codhb-product-whatsapp-head {
        min-height: 44px;
        padding: 0 16px;
        border-radius: 999px;
        background: var(--codhb-product-accent-color);
        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-product-main-section {
        padding: 28px 0 34px;
    }

    .codhb-product-card-shell,
    .codhb-builder-controlled-layout {
        grid-template-columns: minmax(0, 1fr) 430px;
        align-items: start;
        gap: 18px;
    }

    .codhb-section-product-media {
        grid-column: 1;
    }

    .codhb-section-product-summary,
    .codhb-section-order-form {
        grid-column: 2;
    }

    .codhb-section-product-summary {
        position: sticky;
        top: 92px;
        z-index: 3;
    }

    .admin-bar .codhb-section-product-summary {
        top: 124px;
    }

    .codhb-section-product-description,
    .codhb-section-trust-badges,
    .codhb-section-delivery-steps {
        grid-column: 1 / -1;
    }

    .codhb-product-info-box,
    .codhb-section-product-summary {
        padding: 18px;
    }

    .codhb-clean-product-title,
    .codhb-product-info-box h1,
    .codhb-section-product-summary h1 {
        font-size: 30px;
    }

    .codhb-clean-current-price {
        font-size: 28px !important;
    }

    .codhb-clean-old-price {
        font-size: 15px !important;
    }

    .codhb-product-details-card,
    .codhb-section-product-description {
        padding: 28px;
    }

    .codhb-product-description-content {
        max-width: 920px;
        margin: 0 auto;
        font-size: 15px;
    }

    .codhb-product-description-content p,
    .codhb-product-description-content li {
        font-size: 15px;
    }

    .codhb-section-trust-badges {
        padding: 22px;
    }

    .codhb-product-trust-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .codhb-product-receive-builder,
    .codhb-section-delivery-steps {
        padding: 22px;
    }

    .codhb-product-receive-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }

    .codhb-product-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 28px;
    }

    .codhb-product-footer-brand {
        grid-column: auto;
        padding-bottom: 0;
        border-bottom: 0;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .admin-bar .codhb-product-header {
        top: 32px;
    }

    .codhb-product-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        flex: 1;
    }

    .codhb-product-nav a {
        min-height: 40px;
        padding: 0 13px;
        border-radius: 999px;
        color: var(--codhb-product-text-color);
        font-size: 14px;
        font-weight: 850;
        display: inline-flex;
        align-items: center;
    }

    .codhb-product-nav a:hover {
        background: #f3f4f6;
        color: var(--codhb-product-title-color);
    }

    .codhb-product-header-actions {
        min-width: 170px;
        justify-content: flex-end;
    }

    .codhb-product-main-img,
    .codhb-product-main-image img {
        transition: 0.25s ease;
    }

    .codhb-product-image-box:hover .codhb-product-main-img,
    .codhb-product-image-box:hover .codhb-product-main-image img {
        transform: scale(1.025);
    }
}

/* Builder safety */
@media (max-width: 640px) {
    .codhb-builder-controlled-layout > * {
        grid-column: 1 / -1 !important;
    }

    .codhb-section-product-summary {
        position: static !important;
    }
}
/* =========================================================
   MOBILE SPEED MODE - Default ON
   Optimized for COD mobile traffic
   Does NOT touch COD Forum internals
   ========================================================= */

body.codhb-mobile-speed-mode .codhb-product-page {
    background: var(--codhb-product-page-bg) !important;
}

/* Reduce heavy shadows globally */
body.codhb-mobile-speed-mode .codhb-builder-section,
body.codhb-mobile-speed-mode .codhb-product-image-box,
body.codhb-mobile-speed-mode .codhb-product-info-box,
body.codhb-mobile-speed-mode .codhb-inline-form-card,
body.codhb-mobile-speed-mode .codhb-product-details-card,
body.codhb-mobile-speed-mode .codhb-product-receive-builder,
body.codhb-mobile-speed-mode .codhb-product-receive-card,
body.codhb-mobile-speed-mode .codhb-section-trust-badges {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.045) !important;
}

/* Mobile-first speed optimization */
@media (max-width: 640px) {

    body.codhb-mobile-speed-mode .codhb-product-container {
        width: calc(100% - 14px) !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-main-section {
        padding: 7px 0 14px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-card-shell,
    body.codhb-mobile-speed-mode .codhb-builder-controlled-layout {
        gap: 7px !important;
    }

    /* Header smaller */
    body.codhb-mobile-speed-mode .codhb-product-topbar-inner {
        min-height: 28px !important;
        font-size: 10.4px !important;
        gap: 8px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-header-inner {
        min-height: 52px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-logo-img {
        max-height: 31px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-logo-mark {
        width: 34px !important;
        height: 34px !important;
        border-radius: 11px !important;
        font-size: 15px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-logo-text {
        font-size: 13.8px !important;
        max-width: 125px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-cart {
        width: 35px !important;
        height: 35px !important;
        border-radius: 11px !important;
    }

    /* Product image lighter */
    body.codhb-mobile-speed-mode .codhb-product-main-image {
        aspect-ratio: 1 / 1 !important;
        background: #f2f3f5 !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-gallery {
        gap: 5px !important;
        padding: 6px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-gallery-item {
        border-radius: 9px !important;
    }

    /* Cards smaller */
    body.codhb-mobile-speed-mode .codhb-builder-section,
    body.codhb-mobile-speed-mode .codhb-product-image-box,
    body.codhb-mobile-speed-mode .codhb-product-info-box,
    body.codhb-mobile-speed-mode .codhb-inline-form-card,
    body.codhb-mobile-speed-mode .codhb-product-details-card,
    body.codhb-mobile-speed-mode .codhb-product-receive-builder,
    body.codhb-mobile-speed-mode .codhb-product-receive-card,
    body.codhb-mobile-speed-mode .codhb-section-trust-badges {
        border-radius: 14px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-info-box,
    body.codhb-mobile-speed-mode .codhb-section-product-summary {
        padding: 12px 13px !important;
    }

    /* Title cleaner */
    body.codhb-mobile-speed-mode .codhb-clean-product-title,
    body.codhb-mobile-speed-mode .codhb-product-info-box h1,
    body.codhb-mobile-speed-mode .codhb-section-product-summary h1 {
        font-size: 19.8px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.35px !important;
        margin-bottom: 7px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-short-line {
        font-size: 12.4px !important;
        line-height: 1.45 !important;
        margin-bottom: 8px !important;
    }

    /* Price faster/cleaner */
    body.codhb-mobile-speed-mode .codhb-product-price-box {
        padding-top: 2px !important;
    }

    body.codhb-mobile-speed-mode .codhb-clean-current-price {
        font-size: 21.5px !important;
        line-height: 1.05 !important;
    }

    body.codhb-mobile-speed-mode .codhb-clean-old-price {
        font-size: 12.5px !important;
    }

    /* Do not touch COD Forum deeply, only outer wrapper */
    body.codhb-mobile-speed-mode .codhb-inline-form-card,
    body.codhb-mobile-speed-mode .codhb-section-order-form {
        padding: 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-form-wrap > * {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Product details compact */
    body.codhb-mobile-speed-mode .codhb-product-details-card,
    body.codhb-mobile-speed-mode .codhb-section-product-description {
        padding: 12px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-section-head {
        margin-bottom: 9px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-section-head span {
        font-size: 10px !important;
        padding: 5px 8px !important;
        margin-bottom: 6px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-section-head h2 {
        font-size: 18px !important;
        line-height: 1.15 !important;
        margin-bottom: 3px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-description-content {
        font-size: 12.9px !important;
        line-height: 1.62 !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-description-content p,
    body.codhb-mobile-speed-mode .codhb-product-description-content li {
        font-size: 12.9px !important;
        line-height: 1.62 !important;
        margin-bottom: 9px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-description-content h1 {
        font-size: 20px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-description-content h2 {
        font-size: 18px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-description-content h3 {
        font-size: 16px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-description-content img {
        border-radius: 11px !important;
        margin: 9px 0 !important;
        box-shadow: none !important;
    }

    /* Trust badges compact */
    body.codhb-mobile-speed-mode .codhb-section-trust-badges {
        padding: 12px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-trust-grid {
        gap: 7px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-trust-card {
        padding: 10px !important;
        border-radius: 11px !important;
        gap: 6px 8px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-trust-card strong {
        font-size: 12.6px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-trust-card p {
        font-size: 11.8px !important;
        line-height: 1.42 !important;
    }

    /* Delivery steps compact */
    body.codhb-mobile-speed-mode .codhb-product-receive-builder,
    body.codhb-mobile-speed-mode .codhb-section-delivery-steps {
        padding: 12px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-receive-grid {
        gap: 7px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-receive-card {
        padding: 11px !important;
        border-radius: 12px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-receive-card > span {
        width: 31px !important;
        height: 31px !important;
        border-radius: 10px !important;
        margin-bottom: 6px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-receive-card h3 {
        font-size: 13.2px !important;
        margin-bottom: 3px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-receive-card p {
        font-size: 11.9px !important;
        line-height: 1.42 !important;
    }

    /* Footer smaller */
    body.codhb-mobile-speed-mode .codhb-product-footer {
        padding: 22px 0 15px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-footer-grid {
        gap: 10px 10px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-footer-brand {
        padding-bottom: 9px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-footer-brand h3 {
        font-size: 15.5px !important;
        margin-bottom: 4px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-footer-brand p {
        font-size: 11.4px !important;
        line-height: 1.38 !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-footer h4 {
        font-size: 11.8px !important;
        margin-bottom: 4px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-footer a {
        min-height: 21px !important;
        font-size: 11px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-footer-bottom {
        margin-top: 10px !important;
        padding-top: 9px !important;
        font-size: 10.2px !important;
    }
}

/* Extra speed for very small phones */
@media (max-width: 380px) {
    body.codhb-mobile-speed-mode .codhb-clean-product-title,
    body.codhb-mobile-speed-mode .codhb-product-info-box h1,
    body.codhb-mobile-speed-mode .codhb-section-product-summary h1 {
        font-size: 18.8px !important;
    }

    body.codhb-mobile-speed-mode .codhb-clean-current-price {
        font-size: 20px !important;
    }

    body.codhb-mobile-speed-mode .codhb-product-description-content,
    body.codhb-mobile-speed-mode .codhb-product-description-content p,
    body.codhb-mobile-speed-mode .codhb-product-description-content li {
        font-size: 12.4px !important;
    }
}