/* ---- "Coming soon" placeholder for CMS pages with no content yet ---- */
.dh-soon { padding: 60px 0; }
.dh-soon-box {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: #FBFBF7;
    border: 1px solid #E4E1D6;
    border-radius: 8px;
    padding: 44px 32px;
}
.dh-soon-logo { height: 48px; width: auto; margin-bottom: 18px; }
.dh-soon-box h2 {
    font-family: 'Fraunces', 'Roboto', sans-serif;
    font-size: 21px;
    color: var(--brand-ink);
    margin-bottom: 12px;
}
.dh-soon-box h2 .bn {
    display: block;
    font-family: 'Noto Serif Bengali', serif;
    font-size: 0.68em;
    color: var(--main-color);
    margin-top: 6px;
}
.dh-soon-box p { font-size: 13.5px; color: #666; line-height: 1.6; margin-bottom: 20px; }
.dh-soon-box p .bn { display: block; margin-top: 6px; }
.dh-soon-box .gradient-btn { display: inline-block; padding: 11px 26px; color: #fff; font-weight: 600; font-size: 13.5px; text-decoration: none; border-radius: 5px; }

/* ---- Sticky header — logo/home link and search stay reachable on every page,
   even after a long scroll (no more "how do I get back to home?"). ---- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

/* ---- Floating back-to-home button (small screens / very long pages) ---- */
.dh-back-home {
    position: fixed;
    right: 18px;
    bottom: 90px;
    z-index: 998;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--main-color, #EF4D40);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    text-decoration: none;
}
.dh-back-home svg { width: 22px; height: 22px; }
@media (min-width: 992px) {
    .dh-back-home { bottom: 24px; }
}

/* Deshihut brand refinement layer — loaded after existing theme CSS.
   Scoped, additive overrides only: does not touch admin, dashboards, or layout structure. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600;9..144,700&family=Noto+Serif+Bengali:wght@700&family=Noto+Sans+Bengali:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

.bn {
    font-family: 'Noto Sans Bengali', 'Roboto', sans-serif;
}
.zh {
    font-family: 'Noto Sans SC', 'Roboto', sans-serif;
}

/* Scoped EN/BN/中文 switch — Alibaba invite block only, independent of the rest of the site */
.dh-invite-lang-switch {
    display: inline-flex;
    border: 1px solid #E4E1D6;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 16px;
}
.dh-invite-lang-switch button {
    background: none;
    border: none;
    color: #777;
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
}
.dh-invite-lang-switch button.active {
    background: var(--main-color);
    color: #fff;
}
.dh-alibaba-invite [data-alibaba-el] { display: none !important; }
.dh-alibaba-invite[data-alibaba-lang="en"] [data-alibaba-el="en"] { display: inline !important; }
.dh-alibaba-invite[data-alibaba-lang="bn"] [data-alibaba-el="bn"] { display: inline !important; }
.dh-alibaba-invite[data-alibaba-lang="zh"] [data-alibaba-el="zh"] { display: inline !important; }
.dh-alibaba-invite h3 span[data-alibaba-el] { display: none !important; }
.dh-alibaba-invite[data-alibaba-lang="en"] h3 span[data-alibaba-el="en"] { display: inline !important; }
.dh-alibaba-invite[data-alibaba-lang="bn"] h3 span[data-alibaba-el="bn"] { display: block !important; }
.dh-alibaba-invite[data-alibaba-lang="zh"] h3 span[data-alibaba-el="zh"] { display: block !important; }
.dh-alibaba-invite p[data-alibaba-el] { display: none !important; }
.dh-alibaba-invite[data-alibaba-lang="en"] p[data-alibaba-el="en"] { display: block !important; }
.dh-alibaba-invite[data-alibaba-lang="bn"] p[data-alibaba-el="bn"] { display: block !important; }
.dh-alibaba-invite[data-alibaba-lang="zh"] p[data-alibaba-el="zh"] { display: block !important; }
.dh-alibaba-invite li[data-alibaba-el] { display: none !important; }
.dh-alibaba-invite[data-alibaba-lang="en"] li[data-alibaba-el="en"] { display: flex !important; }
.dh-alibaba-invite[data-alibaba-lang="bn"] li[data-alibaba-el="bn"] { display: flex !important; }
.dh-alibaba-invite[data-alibaba-lang="zh"] li[data-alibaba-el="zh"] { display: flex !important; }
.dh-alibaba-invite a[data-alibaba-el] { display: none !important; }
.dh-alibaba-invite[data-alibaba-lang="en"] a[data-alibaba-el="en"] { display: inline-block !important; }
.dh-alibaba-invite[data-alibaba-lang="bn"] a[data-alibaba-el="bn"] { display: inline-block !important; }
.dh-alibaba-invite[data-alibaba-lang="zh"] a[data-alibaba-el="zh"] { display: inline-block !important; }
h1 .bn, h2 .bn, h3 .bn, .dh-membership-banner .bn {
    font-family: 'Noto Serif Bengali', serif;
}

:root {
    /* Matched to the current Deshihut logo (navy shield, navy-to-teal "dh" mark, green check badge) */
    --main-color: #0F6E6A;
    --main-color-hover: #0A5450;
    --main-gradient: linear-gradient(to right, #16324A, #0F6E6A);
    --hover-gradient: linear-gradient(to right, #0F2436, #0A5450);
    --brand-gold: #16A34A;
    --brand-ink: #101B33;
}

/* Distinctive display type for headings only — body copy stays on the existing font for stability */
h1, h2, .touch-heading, .categories-header h4, .section-title, .cat-item-title {
    font-family: 'Fraunces', 'Roboto', sans-serif;
    letter-spacing: -0.01em;
}

/* ---- Free membership banner ---- */
.dh-membership-banner {
    background: var(--brand-ink);
    color: #EFEDE6;
    border-radius: 6px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin: 20px 0;
}
.dh-membership-banner .dh-stamp {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid var(--brand-gold);
    color: var(--brand-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    font-size: 16px;
    transform: rotate(-6deg);
    flex-shrink: 0;
}
.dh-membership-banner h3 {
    font-family: 'Fraunces', 'Roboto', sans-serif;
    color: #fff;
    font-size: 20px;
    margin-bottom: 6px;
}
.dh-membership-banner p {
    font-size: 13.5px;
    opacity: 0.85;
    max-width: 62ch;
    margin: 0;
    line-height: 1.55;
}
.dh-membership-banner .bn {
    display: block;
    font-family: 'Noto Serif Bengali', serif;
    color: var(--brand-gold);
    font-size: 0.62em;
    margin-top: 4px;
}

/* ---- Alibaba seller invite ---- */
.dh-invite {
    background: #FBFBF7;
    border: 1px solid #E4E1D6;
    border-radius: 6px;
    padding: 28px;
    margin: 24px 0;
}
.dh-invite h3 {
    font-family: 'Fraunces', 'Roboto', sans-serif;
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--brand-ink);
}
.dh-invite p {
    font-size: 14px;
    color: #555;
    max-width: 60ch;
    line-height: 1.6;
    margin-bottom: 16px;
}
.dh-invite ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
}
.dh-invite ul li {
    font-size: 13px;
    color: var(--brand-ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.dh-invite ul li::before {
    content: "✓";
    color: var(--main-color);
    font-weight: 700;
}

/* Buttons using .gradient-btn need explicit box styling in new contexts —
   the base class only supplies the gradient pseudo-element, not padding/color. */
.dh-invite .gradient-btn,
.dh-membership-banner .gradient-btn {
    display: inline-block;
    padding: 11px 22px;
    color: #fff;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    border-radius: 5px;
}

/* ---- Verified / demo badges for supplier cards ---- */
.dh-demo-tag {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #888;
    border: 1px dashed #ccc;
    border-radius: 3px;
    padding: 2px 6px;
}

@media (max-width: 767px) {
    .dh-membership-banner { flex-direction: column; align-items: flex-start; }
}

/* ---- Trade-manifest hero (homepage) ---- */
.dh-trade-hero {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 26px;
    align-items: start;
    padding: 22px 0;
}
.dh-hero-eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--main-color);
    margin-bottom: 10px;
}
.dh-hero-copy h1 {
    font-family: 'Fraunces', 'Roboto', sans-serif;
    font-size: 28px;
    line-height: 1.2;
    color: var(--brand-ink);
    margin-bottom: 10px;
}
.dh-hero-copy h1 .bn {
    display: block;
    font-family: 'Noto Serif Bengali', serif;
    color: var(--main-color);
    font-size: 0.6em;
    margin-top: 8px;
}
.dh-hero-lede {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    max-width: 56ch;
    margin-bottom: 6px;
}
.dh-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0;
}
.dh-hero-ctas .gradient-btn {
    display: inline-block;
    padding: 12px 24px;
    color: #fff;
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    border-radius: 5px;
}
.dh-btn-outline {
    display: inline-block;
    padding: 11px 23px;
    border: 1.5px solid var(--brand-ink);
    color: var(--brand-ink);
    font-weight: 600;
    font-size: 13.5px;
    text-decoration: none;
    border-radius: 5px;
}
.dh-hero-trust {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #777;
    max-width: 50ch;
}
.dh-hero-trust svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--main-color);
}
.dh-hero-trust .bn {
    display: block;
    margin-top: 2px;
}

.dh-manifest {
    background: #FBFBF7;
    border: 1.5px solid var(--brand-ink);
    border-radius: 6px;
    padding: 18px 20px;
    box-shadow: 5px 5px 0 rgba(16,27,51,0.12);
}
.dh-manifest-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 12px;
}
.dh-manifest-label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888;
}
.dh-manifest-doc {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10px;
    color: #999;
    margin-top: 3px;
}
.dh-manifest-stamp {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    color: var(--main-color);
    border: 2px solid var(--main-color);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.15;
    transform: rotate(-6deg);
    flex-shrink: 0;
}
.dh-manifest-route {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    color: var(--brand-ink);
    margin-bottom: 14px;
}
.dh-manifest-dash {
    flex: 1;
    height: 1px;
    background: repeating-linear-gradient(to right, #999 0, #999 4px, transparent 4px, transparent 8px);
}
.dh-manifest-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.dh-manifest-swatch {
    width: 48px;
    height: 48px;
    border-radius: 5px;
    background: #fff;
    border: 1.5px solid var(--brand-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brand-ink);
}
.dh-manifest-swatch svg { width: 55%; height: 55%; }
.dh-manifest-name { font-weight: 700; font-size: 13px; color: var(--brand-ink); }
.dh-manifest-meta { font-size: 11px; color: #888; margin-top: 2px; }

/* ---- Supplier spotlight grid ---- */
.dh-suppliers-wrap { margin: 34px auto; }
.dh-section-head { margin-bottom: 4px; }
.dh-kicker {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--main-color);
    margin-bottom: 6px;
}
.dh-section-head h2 {
    font-family: 'Fraunces', 'Roboto', sans-serif;
    font-size: 22px;
    color: var(--brand-ink);
}
.dh-section-head h2 .bn {
    display: block;
    font-family: 'Noto Serif Bengali', serif;
    font-size: 0.62em;
    color: var(--main-color);
    margin-top: 4px;
}
.dh-demo-note {
    font-size: 11.5px;
    color: #999;
    border: 1px dashed #ddd;
    border-radius: 4px;
    padding: 6px 12px;
    display: inline-block;
    margin: 10px 0 20px 0;
}
.dh-sup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.dh-sup-card {
    background: #fff;
    border: 1px solid #E4E1D6;
    border-radius: 6px;
    padding: 16px 18px;
}
.dh-sup-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.dh-sup-badge {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #999;
    border: 1px dashed #ccc;
    border-radius: 3px;
    padding: 2px 6px;
}
.dh-sup-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 9.5px;
    font-weight: 700;
    color: #1a8a4a;
}
.dh-sup-verified svg { width: 12px; height: 12px; }
.dh-sup-name { font-family: 'Fraunces', 'Roboto', sans-serif; font-weight: 700; font-size: 15px; color: var(--brand-ink); }
.dh-sup-name.bn { font-family: 'Noto Serif Bengali', serif; font-size: 13px; color: #777; margin-bottom: 4px; }
.dh-sup-meta { font-size: 11.5px; color: #999; margin: 4px 0 8px 0; }
.dh-sup-desc { font-size: 12.5px; color: #555; line-height: 1.5; margin-bottom: 12px; }
.dh-sup-desc .bn { display: block; margin-top: 3px; color: #888; }
.dh-sup-cta {
    display: inline-block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.03em;
    color: var(--main-color);
    text-decoration: none;
    border-bottom: 1px solid var(--main-color);
    padding-bottom: 2px;
}
.dh-sup-cta .bn { display: block; font-family: 'Noto Serif Bengali', serif; font-size: 11px; margin-top: 2px; }

@media (max-width: 991px) {
    .dh-trade-hero { grid-template-columns: 1fr; }
    .dh-sup-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .dh-sup-grid { grid-template-columns: 1fr; }
}

/* ---- Get-in-touch banner: brand gradient instead of stock photo ---- */
.dh-get-in-touch {
    background: linear-gradient(120deg, #1B1B1B 0%, #3A2416 55%, var(--main-color, #EF4D40) 130%) !important;
}

/* ---- Floating side rail (Messenger / Feedback / Back to top) ---- */
.dh-side-rail {
    position: fixed;
    right: 18px;
    bottom: 160px;
    z-index: 997;
    display: none;
    flex-direction: column;
    background: #fff;
    border: 1px solid #E4E1D6;
    border-radius: 8px;
    box-shadow: 0 3px 14px rgba(0,0,0,0.14);
    overflow: hidden;
}
.dh-side-rail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    width: 64px;
    padding: 10px 4px;
    color: var(--brand-ink, #1B1B1B);
    text-decoration: none;
    border-bottom: 1px solid #EDEAE0;
    font-size: 10px;
    font-weight: 600;
}
.dh-side-rail-item:last-child { border-bottom: none; }
.dh-side-rail-item svg { width: 20px; height: 20px; }
.dh-side-rail-item:hover { background: #FBF6EF; color: var(--main-color, #EF4D40); }

@media (min-width: 992px) {
    .dh-side-rail { display: flex; }
}

/* ---- Brand banner boxes (homepage "Brand Product grid" section) ----
   Previously blank white when a brand had no featured_image, and the brand
   name was never printed at all. Now always shows a navy-to-teal card with
   the brand name + View all, and still uses the real image when one is set. */
.dh-brand-banner {
    min-height: 299px;
    background: linear-gradient(160deg, var(--brand-ink) 0%, var(--main-color) 140%);
    background-size: cover;
    background-position: center;
}
.dh-brand-banner .category-grid-left {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}
.dh-brand-banner .category-grid-left h3 {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    margin-bottom: 12px;
}

/* ---- Header: keep logo and search bar vertically centered on one line ---- */
.main-header.desktop .row {
    align-items: center;
}
.main-header.desktop .site_logo img {
    max-height: 50px;
    width: auto;
}
.main-header.desktop .search-nav-wrapper {
    margin: 0;
}

/* ---- Bangla text: force the real Bengali font everywhere, with a heavier
   weight — the generic sans fallback some elements inherited renders thin
   and blurry-looking at small sizes. ---- */
.bn, [lang="bn"] {
    font-family: 'Noto Sans Bengali', 'Noto Serif Bengali', sans-serif !important;
    font-weight: 500;
}
h1 .bn, h2 .bn, h3 .bn, h4 .bn {
    font-weight: 700;
}

/* ---- Category banners (Industrial / Consumer Electronics / Smart Light) and
   brand banners were oversized, and then left as a fixed 190px box inside a
   row stretched taller by the product grid next to it — text sat at the top
   with a dead gradient gap below. Fill the full stretched column height
   instead of a fixed height, and center the text/button in it. ---- */
.category-grid-left {
    height: 100% !important;
    min-height: 190px;
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 16px 18px !important;
}
.category-grid-left h3 {
    font-size: 15px !important;
    line-height: 1.25 !important;
    margin-bottom: 8px !important;
}
.category-grid-left .gradient-btn {
    padding: 7px 16px !important;
    font-size: 12px !important;
    align-self: flex-start;
}
.dh-brand-banner {
    min-height: 190px !important;
}

/* ---- Category/product grid icon tiles: fit the icon inside its tile
   instead of overscaling and cropping it, so every tile in a row lines up
   at the same visual size. ---- */
.category-grid-item {
    padding: 6px 6px !important;
}
.grid-item-img {
    height: 108px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden;
    box-sizing: border-box;
}
.grid-item-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    transform: none !important;
}
@media (min-width: 992px) {
    .col-lg-3:has(.category-grid-left) {
        max-width: 230px;
        flex: 0 0 230px;
    }
    .col-lg-3:has(.category-grid-left) + .col-lg-9 {
        max-width: calc(100% - 230px);
        flex: 0 0 calc(100% - 230px);
    }
}

/* ==== Homepage rows v2 (2026-10-02) ====================================
   Every row = banner + ONE line of 4 product cards, brand rows and
   category rows alike. All banners share one fixed height on desktop, and
   the cards fill that same height, so every row lines up identically.
   Phones: banner becomes a short strip (text left, art right), cards go
   2 per line. */
.dh-home-row { --dh-row-h: 340px; align-items: stretch; }
.dh-row-banner {
    position: relative;
    height: var(--dh-row-h);
    overflow: hidden;
    border-radius: 6px;
    background-color: var(--brand-ink);
    background-image: linear-gradient(160deg, #13294B 0%, #0B1B33 100%);
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
}
.dh-row-banner.has-art { background-image: linear-gradient(160deg, #13294B 0%, #0B1B33 100%); }
.dh-row-banner-text {
    position: relative;
    z-index: 2;
    padding: 22px 18px 0;
}
.dh-row-banner-text h3 {
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.3 !important;
    text-transform: uppercase;
    letter-spacing: .02em;
    margin: 0 0 12px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
}
.dh-row-banner-text .gradient-btn {
    display: inline-block;
    padding: 7px 18px;
    font-size: 13px;
    border-radius: 6px;
    color: #fff;
}
.dh-row-banner-art {
    position: absolute;
    z-index: 1;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    width: 94%;
    max-width: 300px;
    height: auto;
    pointer-events: none;
}
.dh-row-products { align-content: flex-start; }
.dh-row-products > .col { display: flex; }
.dh-row-products .product-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: var(--dh-row-h);
    margin-bottom: 0;
    overflow: hidden;
}
.dh-row-products .product--img { height: 150px; max-height: 150px; flex: 0 0 150px; }
.dh-row-products .product--img img { max-width: 100%; max-height: 140px; object-fit: contain; }
.dh-row-products .product-content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.dh-row-products .product--title { padding: 6px 0 2px; margin: 0; }
.dh-row-products .product--title h2 {
    font-size: 14px;
    line-height: 1.35;
    height: 2.7em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin: 0;
}
.dh-row-products .product--meta { margin-top: auto; }
.dh-row-products .product--meta .row { flex-wrap: nowrap; margin: 0; gap: 6px; align-items: center; }
.dh-row-products .product--meta .row > div { padding: 0; width: auto; }
.dh-row-products .product--meta .row > div:first-child { flex: 1 1 auto; }
.dh-row-products .product--meta .row > div:last-child { flex: 0 0 42px; }
.dh-row-products .contact--btn { margin-top: 0 !important; padding: 9px 6px; border-radius: 6px; white-space: nowrap; }
.dh-row-products .home-cart-btn { padding: 9px 0; text-align: center; }

@media (min-width: 992px) {
    .dh-home-row > .col-lg-3 { max-width: 230px; flex: 0 0 230px; padding-right: 4px; }
    .dh-home-row > .col-lg-9 { max-width: calc(100% - 230px); flex: 0 0 calc(100% - 230px); }
}

/* Tablet: banner on top as a strip, 4 cards below */
@media (max-width: 991.98px) {
    .dh-home-row { --dh-row-h: 320px; }
    .dh-row-banner { height: 150px; margin-bottom: 4px; justify-content: center; }
    .dh-row-banner-text { padding: 0 18px; max-width: 60%; }
    .dh-row-banner-art { left: auto; right: 10px; bottom: 50%; transform: translateY(50%); width: auto; height: 86%; max-width: 45%; }
}

/* Phone: 2 cards per line, compact cards */
@media (max-width: 767.98px) {
    .dh-home-row { --dh-row-h: 290px; }
    .dh-row-banner { height: 128px; }
    .dh-row-banner-text h3 { font-size: 15px !important; margin-bottom: 8px !important; }
    .dh-row-banner-text .gradient-btn { padding: 6px 14px; font-size: 12px; }
    .dh-row-products .product-item { padding: 8px; }
    .dh-row-products .product--img { height: 120px; max-height: 120px; flex-basis: 120px; }
    .dh-row-products .product--img img { max-height: 112px; }
    .dh-row-products .product--title h2 { font-size: 13px; }
    .dh-row-products .contact--btn { font-size: 12px; }
}
