/* ==========================================================================
   Drive Dental Incorporation Co., Ltd. (ddi) — Official CI Stylesheet
   Reference Layout: Medical Equipment Elementor Demo 5 (Kamlesh Yadav)
   Brand Identity: Drive Dental Incorporation Official Brand Guidelines (01–08)
   ========================================================================== */

:root {
    /* ----------------------------------------------------------------------
       06 BRAND COLORS — OUR SIGNATURE PALETTE (Exact CI Hex & RGB Values)
       ---------------------------------------------------------------------- */
    --ddi-drive-blue: #1A194D;      /* Primary: RGB 26 25 77 | PANTONE 2766 C */
    --ddi-drive-red: #ED3F23;       /* Accent: RGB 237 63 35 | PANTONE 485 C */
    --ddi-deep-blue: #064789;       /* Secondary: RGB 6 71 137 | PANTONE 7686 C */
    --ddi-dental-blue: #5A7D9A;     /* Sub-Accent: RGB 90 125 154 | PANTONE 7544 C */
    --ddi-neutral-gray: #E5E7EB;    /* Support: RGB 229 231 235 | PANTONE 663 C */
    --ddi-white: #FFFFFF;           /* Background: RGB 255 255 255 */

    /* Demo 5 Theme Variable Mapping (--mlf-*) */
    --mlf-primary: var(--ddi-drive-red);
    --mlf-title-color: var(--ddi-drive-blue);
    --mlf-txt-color: #4B5563;
    --mlf-second-color: var(--ddi-deep-blue);
    --mlf-sub-accent: var(--ddi-dental-blue);
    --mlf-bg-light: #F4F6F9;
    --mlf-border: var(--ddi-neutral-gray);

    /* Elevation & Radii (Demo 5 10px–16px rounded aesthetic) */
    --shadow-card: 0 0 30px 0 rgba(26, 25, 77, 0.06);
    --shadow-hover: 0 14px 36px 0 rgba(26, 25, 77, 0.13);
    --shadow-lg: 0 22px 50px rgba(26, 25, 77, 0.18);
    --radius-sm: 8px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-pill: 50px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

/* --------------------------------------------------------------------------
   08 TYPOGRAPHY — Montserrat (EN) + IBM Plex Sans Thai (TH)
   Clean | Modern | Professional | Readable
   -------------------------------------------------------------------------- */
body {
    font-family: 'Montserrat', 'IBM Plex Sans Thai', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.66;
    color: var(--mlf-txt-color);
    background-color: var(--ddi-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Montserrat', 'IBM Plex Sans Thai', sans-serif;
    color: var(--mlf-title-color);
    font-weight: 700;
    line-height: 1.3;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    outline: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 18px;
}

.spacer-top {
    padding-top: 80px;
}

.spacer-top-less {
    padding-top: 72px;
}

.spacer-bottom {
    padding-bottom: 80px;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

/* ==========================================================================
   02, 03, 04, 05 LOGO SYSTEM — Official `ddi` Primary & Secondary Logos
   - Primary Logo min-width: 95px (25mm)
   - Secondary Horizontal Logo min-width: 190px (50mm)
   - Symbol/Icon min-width: 70px (20mm)
   - Clear space = width of lowercase "d" around logo
   ========================================================================== */
.cv_logo {
    display: flex;
    align-items: center;
}

.cv_logo a {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.cv_logo img.img-fluid {
    height: 44px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.ddi-logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    user-select: none;
    min-width: 190px; /* CI 03: Secondary Logo minimum width 190px for digital */
    padding: 8px 4px; /* CI 04: Clear space protection */
}

.ddi-logo-lockup.primary-vertical {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    min-width: 95px; /* CI 03: Primary Logo minimum width 95px for digital */
}

.ddi-symbol {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 70px; /* CI 03: Icon minimum width 70px for digital */
}

.ddi-symbol svg.ddi-mark-svg {
    width: 78px;
    height: 48px;
    display: block;
    overflow: visible;
}

.ddi-wordmark {
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1.5px solid var(--ddi-neutral-gray);
    padding-left: 14px;
}

.ddi-logo-lockup.primary-vertical .ddi-wordmark {
    border-left: none;
    padding-left: 0;
    align-items: center;
}

.ddi-wordmark .brand-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1.6px;
    color: var(--ddi-drive-blue);
    line-height: 1.15;
    white-space: nowrap;
}

.ddi-wordmark .brand-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 9.5px;
    letter-spacing: 3.6px;
    color: var(--ddi-drive-blue);
    margin-top: 3px;
    white-space: nowrap;
}

/* CI 05: On Dark Background (#1A194D) */
.ddi-logo-lockup.on-dark .ddi-wordmark {
    border-left-color: rgba(255, 255, 255, 0.22);
}

.ddi-logo-lockup.on-dark .ddi-wordmark .brand-main {
    color: var(--ddi-white);
}

.ddi-logo-lockup.on-dark .ddi-wordmark .brand-sub {
    color: var(--ddi-neutral-gray);
}

/* ==========================================================================
   Demo 5 Buttons (`.cv-btn`) Mapped to CI Colors
   ========================================================================== */
.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    height: 50px;
    padding: 0 26px;
    background: var(--ddi-drive-red);
    color: var(--ddi-white);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(237, 63, 35, 0.25);
}

.cv-btn:hover {
    background: var(--ddi-drive-blue);
    color: var(--ddi-white);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(26, 25, 77, 0.28);
}

.cv-btn.cv-btn-blue {
    background: var(--ddi-drive-blue);
    box-shadow: 0 8px 20px rgba(26, 25, 77, 0.22);
}

.cv-btn.cv-btn-blue:hover {
    background: var(--ddi-deep-blue);
}

.cv-btn.cv-btn-outline {
    background: transparent;
    color: var(--ddi-drive-blue);
    border: 1.5px solid var(--ddi-drive-blue);
    box-shadow: none;
}

.cv-btn.cv-btn-outline:hover {
    background: var(--ddi-drive-blue);
    color: var(--ddi-white);
}

.cv-btn.cv-btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--ddi-white);
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    box-shadow: none;
}

.cv-btn.cv-btn-outline-light:hover {
    background: var(--ddi-white);
    color: var(--ddi-drive-blue);
    border-color: var(--ddi-white);
}

/* ==========================================================================
   2 & 3. Exact Demo 5 Navbar (`header.cv_main_header.header-four-style`)
   From `medicalequipment-custom-style.css` — Mapped to Official ddi CI Colors
   ========================================================================== */

/* Bootstrap 4 Grid Helpers for Header (`container-fluid`, `row`, `col-*`) */
header.cv_main_header .container-fluid {
    width: 100%;
    max-width: 1690px;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

header.cv_main_header .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

header.cv_main_header .align-items-center {
    align-items: center !important;
}

header.cv_main_header [class*="col-"] {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 576px) {
    header.cv_main_header .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    header.cv_main_header .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
    header.cv_main_header .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
    header.cv_main_header .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 768px) {
    header.cv_main_header .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    header.cv_main_header .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
}

@media (min-width: 992px) {
    header.cv_main_header .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
    header.cv_main_header .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    header.cv_main_header .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    header.cv_main_header .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
}

@media (min-width: 1200px) {
    header.cv_main_header .col-xl-3 { flex: 0 0 25%; max-width: 25%; }
    header.cv_main_header .col-xl-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
    header.cv_main_header .col-xl-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
    header.cv_main_header .col-xl-9 { flex: 0 0 75%; max-width: 75%; }
}

/* Base `.cv_main_header` Rules (from `medicalequipment-custom-style.css`) */
header.cv_main_header p {
    display: block;
}

header.cv_main_header {
    background: var(--ddi-white);
    box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
    position: relative;
    z-index: 999;
    width: 100%;
    transition: all 0.3s ease;
}

header.cv_main_header.fixed_header {
    position: fixed;
    z-index: 1001;
    left: 0;
    right: 0;
    top: 0;
    box-shadow: 0 10px 30px rgba(26, 25, 77, 0.14);
}

header.cv_main_header ol li,
header.cv_main_header ul li {
    list-style: none;
}

.cv_header_top {
    border-bottom: 1px solid #e6e9f2;
    padding: 10px 0 8px;
}

.cv_header_icon {
    width: 40px;
    height: 40px;
    line-height: 38px;
    text-align: center;
    border: 2px solid #e6e9f2;
    display: inline-block;
    border-radius: 50%;
}

.cv_header_info ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 0;
    margin: 0;
}

.cv_header_wrapper ul {
    padding: 0;
    margin: 0;
}

.cv_header_icon svg {
    width: 15px;
    height: 15px;
    fill: var(--ddi-white);
}

.cv_cart_holder {
    background: var(--ddi-drive-red);
    height: 50px;
    position: relative;
    margin-left: 30px;
    display: inline-flex;
    align-items: center;
    border: none;
    border-radius: 10px;
    padding: 15px 20px;
    min-height: 50px;
    max-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cv_cart_holder:hover {
    background: var(--ddi-deep-blue);
}

.cv_cart_holder .cv_cart_count {
    display: inline-flex;
    align-items: center;
    border-right: 1px solid rgba(255, 255, 255, 0.24);
    padding-right: 6px;
    margin-right: 16px;
}

.cv_cart_holder .cv_cart_count span.cv-eco-cart {
    background: var(--ddi-drive-blue);
    width: 16px;
    height: 16px;
    position: relative;
    text-align: center;
    line-height: 16px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 100%;
    top: -5px;
    right: 6px;
    color: var(--ddi-white);
    cursor: pointer;
    display: inline-block;
}

.cv_cart_holder svg {
    height: 20px;
    width: 20px;
    fill: var(--ddi-white);
}

.cv_header_wooInfo ul li a span svg {
    height: 16px;
    width: 16px;
    fill: var(--ddi-white);
    transition: all 0.3s;
}

.cv_header_info ul li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-right: 50px;
}

.cv_header_info ul li:last-child {
    margin-right: 0;
}

.cv_header_info ul li .cv_head_contact p {
    margin: 0;
}

.cv_header_info ul li .cv_head_contact {
    padding-left: 15px;
}

.cv_header_info ul li .cv_head_contact a {
    color: var(--ddi-white);
    font-weight: 600;
    display: inline-block;
    margin-left: 4px;
}

.cv_header_info,
.cv_header_cart {
    display: inline-block;
    margin: 10px 0;
}

.cv_header_wooInfo {
    padding: 10px 0;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.cv_header_wooInfo ul {
    display: flex;
    width: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cv_header_wooInfo ul li {
    margin-right: 40px;
}

.cv_header_wooInfo ul li:last-child {
    margin-right: 0px;
}

.cv_header_wooInfo ul li a {
    display: inline-flex;
    align-items: center;
    color: var(--ddi-white);
}

.cv_header_wooInfo ul li span {
    display: inline-block;
    margin-right: 10px;
}

.cv_header_wooInfo ul li span.woo-text {
    margin: 0;
}

/* Main Navigation Items (`.cv_nav_items`) */
.cv_nav_items > div > ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
}

.cv_nav_items > div > ul > li {
    position: relative;
    display: inline-block;
    padding: 19px 30px 18px 0;
    margin-right: 20px;
}

.cv_nav_items > div > ul > li > a {
    font-family: 'Montserrat', 'IBM Plex Sans Thai', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #586d8a;
    transition: all 0.3s;
}

.cv_nav_items > div > ul > li:hover > a,
.cv_nav_items > div > ul > li.current-menu-item > a {
    color: var(--ddi-drive-red);
}

/* Dropdown Sub-Menu (`ul.sub-menu` from Demo 5) */
@media screen and (min-width: 1200px) {
    .cv_nav_items > div > ul > li > ul.sub-menu {
        position: absolute;
        background: var(--ddi-white);
        min-width: 220px;
        left: -20px;
        top: 60px;
        padding: 20px 20px 12px;
        border: none;
        border-top: 3px solid var(--ddi-drive-red);
        border-radius: 0 0 10px 10px;
        box-shadow: 0px 10px 25px 0 rgb(26 25 77 / 10%);
        transform: translateY(20px);
        visibility: hidden;
        opacity: 0;
        text-align: left;
        z-index: 100;
        transition: all 0.3s ease;
    }

    .cv_nav_items > div > ul > li:hover > ul.sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }

    .cv_nav_items > div > ul > li > ul.sub-menu li {
        margin-bottom: 10px;
        position: relative;
        display: block;
    }

    .cv_nav_items > div > ul > li > ul.sub-menu li a {
        font-size: 14px;
        font-weight: 500;
        color: var(--ddi-drive-blue);
        display: block;
        padding: 3px 0;
        transition: all 0.25s;
    }

    .cv_nav_items > div > ul > li > ul.sub-menu li a:hover {
        color: var(--ddi-drive-red);
        transform: translateX(4px);
    }
}

/* ==========================================================================
   HEADER STYLE FOUR SPECIFIC RULES (`.header-four-style` from Demo 5)
   ========================================================================== */
.header-four-style {
    position: relative;
}

.header-four-style .cv_nav_items > div > ul {
    justify-content: flex-end;
}

/* Top Header in #1a194d with White Text */
.header-four-style .cv_header_top {
    background: #1a194d;
    color: #ffffff;
    position: relative;
    border-bottom: none;
    padding: 0;
}

.header-four-style .cv_header_icon {
    height: unset;
    width: unset;
    line-height: 1.5;
    border: none;
}

.header-four-style .cv_header_icon svg {
    fill: #ffffff;
}

.header-four-style .cv_header_info ul li .cv_head_contact p {
    color: #ffffff;
    font-size: 13px;
    letter-spacing: 0.2px;
    font-weight: 500;
}

.header-four-style .cv_header_info ul li .cv_head_contact p a {
    text-transform: lowercase;
    color: #ffffff;
    letter-spacing: 0;
    font-weight: 500;
}

.header-four-style .cv_header_info ul li .cv_head_contact p a:hover {
    color: var(--ddi-drive-red);
}

.header-four-style .cv_header_info ul li .cv_head_contact {
    padding-left: 6px;
}

.header-four-style .cv_header_top a {
    color: #ffffff;
}

.header-four-style .cv_header_top a:hover {
    color: var(--ddi-drive-red);
}

.header-four-style .cv_header_wooInfo ul li a span svg {
    fill: #ffffff;
}

.header-four-style .cv_header_wooInfo ul li:hover a,
.header-four-style .cv_header_wooInfo ul li:hover a span.woo-text {
    color: var(--ddi-drive-red);
}

.header-four-style .cv_header_wooInfo ul li:hover a span svg {
    fill: var(--ddi-drive-red);
}

.header-four-style .cv_main_menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.header-four-style .cv_cart_holder svg {
    fill: var(--ddi-white);
}

.header-four-style .cv_cart_holder .cv_cart_count span.cv-eco-cart {
    background: var(--ddi-drive-blue);
}

.header-four-style .cv_cart_holder .cv_cart_total .woocommerce-Price-amount.amount {
    color: var(--ddi-white);
    font-weight: 500;
    font-size: 13px;
}

.header-four-style .cv_cart_holder a.cv_cart_count {
    border-color: rgb(255 255 255 / 24%);
}

.header-four-style .cv_header_wooInfo a {
    text-transform: capitalize;
    letter-spacing: 0.3px;
    font-size: 13px;
    font-weight: 500;
}

/* Rotating Chevron Indicator on `menu-item-has-children` (Exact Demo 5 CSS) */
.header-four-style .cv_nav_items > div > ul > li.menu-item-has-children:before {
    content: "";
    background-image: none;
    position: absolute;
    right: 10px;
    top: -3px;
    bottom: 0;
    margin: auto;
    z-index: 1;
    width: 7px;
    height: 7px;
    border-bottom: 1.5px solid var(--ddi-drive-blue);
    border-right: 1.5px solid var(--ddi-drive-blue);
    transform: rotate(45deg);
    transition: all 0.3s;
}

.header-four-style .cv_nav_items > div > ul > li.menu-item-has-children:hover:before,
.header-four-style .cv_nav_items > div > ul > li.menu-item-has-children.current-menu-item:before {
    background-image: none;
    top: 3px;
    border-color: var(--ddi-drive-red);
    transform: rotate(220deg);
}

.header-four-style .cv_nav_items > div > ul > li > a {
    color: var(--ddi-drive-blue);
    font-weight: 600;
    position: relative;
}

.header-four-style .cv_nav_items > div > ul > li:hover > a,
.header-four-style .cv_nav_items > div > ul > li.current-menu-item > a {
    color: var(--ddi-drive-red);
}

.header-four-style .cv_nav_items > div > ul > li.current-menu-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 30px;
    height: 3px;
    background: var(--ddi-drive-red);
    border-radius: 2px 2px 0 0;
}

.header-four-style .cv_nav_items > div > ul > li:last-child.current-menu-item::after {
    right: 0;
}

.header-four-style .cv_nav_items > div > ul > li:last-child {
    margin-right: 0;
    padding-right: 0;
}

/* Mobile Hamburger Button (`.menu-toggle-btn`) */
.menu-toggle-btn {
    display: none;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ddi-drive-red);
    margin-bottom: 4px;
    transition: 0.3s;
}

.menu-toggle-btn span:nth-child(3) {
    margin-bottom: 0;
}

/* Desktop & Laptop Header Layout */
@media screen and (min-width: 1200px) {
    .header-four-style .container-fluid {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 20px;
    }
    .header-four-style .cv_header_wrapper {
        padding: 4px 0;
    }
    .header-four-style .cv_header_wooInfo {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        align-items: center;
        padding: 0;
    }
    .header-four-style .cv_header_wooInfo ul {
        width: auto;
    }
    .header-four-style .cv_cart_holder {
        background: var(--ddi-drive-red);
        padding: 10px 16px;
        margin-left: 16px;
        height: 40px;
        display: inline-flex;
        align-items: center;
    }
    .header-four-style span.cv_cart_total {
        display: none;
    }
    .header-four-style .cv_cart_holder .cv_cart_count {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
    .header-four-style .cv_header_wooInfo .woo-text {
        display: inline-block;
    }
}

@media screen and (max-width: 1199.98px) {
    .header-four-style .cv_header_top,
    .header-four-style .cv_header_wrapper {
        padding-right: 15px;
        padding-left: 15px;
    }
    .header-four-style .cv_header_wooInfo {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
    .header-four-style .cv_cart_holder {
        background: var(--ddi-drive-red);
        padding: 8px 14px;
        margin-left: 12px;
    }
    .header-four-style span.cv_cart_total {
        display: none;
    }
    .header-four-style .cv_cart_holder .cv_cart_count {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
    }
}

@media screen and (max-width: 1199.98px) {
    .menu-toggle-btn {
        display: block;
        margin: 0 0 0 20px;
    }
    .header-four-style .cv_header_wrapper {
        padding: 15px 0;
    }
    .header-four-style .cv_header_wooInfo li a .woo-text {
        display: none;
    }
    .header-four-style .cv_header_wooInfo li {
        margin: 0 12px 0 0;
    }
    .header-four-style .cv_header_info {
        display: inline-block;
    }
    .header-four-style .cv_header_info .cv_header_icon {
        display: none;
    }
    .header-four-style .cv_header_info .cv_head_contact {
        padding: 0;
    }
    .header-four-style .cv_header_info ul li .cv_head_contact p {
        font-size: 0;
        letter-spacing: 0;
    }
    .header-four-style .cv_header_info ul li .cv_head_contact p a {
        font-size: 14px;
    }
    .header-four-style .cv_header_cart .cv_cart_holder {
        margin: 0;
        background: transparent;
        padding: 10px 0;
    }
    .header-four-style .cv_nav_items {
        position: fixed;
        top: 0;
        bottom: 0;
        left: -270px;
        width: 260px;
        background: var(--ddi-white);
        z-index: 9999;
        transition: 0.3s;
        overflow-y: auto;
        box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.12);
        padding: 20px 0;
    }
    .header-four-style .cv_nav_items.menu-open {
        left: 0;
    }
    .header-four-style .cv_nav_items > div > ul {
        display: block;
    }
    .header-four-style .cv_nav_items > div > ul > li {
        display: block;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #e6e9f2;
    }
    .header-four-style .cv_nav_items > div > ul > li > a {
        display: block;
        padding: 12px 20px;
    }
    .header-four-style .cv_nav_items > div > ul > li ul.sub-menu {
        padding: 0 0 10px 25px;
    }
    .header-four-style .cv_nav_items > div > ul > li ul.sub-menu li a {
        display: block;
        padding: 6px 15px;
        font-size: 13.5px;
    }
}

@media screen and (max-width: 575.98px) {
    .header-four-style .cv_header_info {
        margin: 0;
        width: 100%;
    }
    .header-four-style .cv_header_info ul {
        justify-content: center;
    }
    .header-four-style .cv_header_wooInfo .cv_header_cart {
        width: auto;
    }
    .header-four-style .cv_header_wooInfo {
        justify-content: center;
    }
}

/* Demo 5 Login Modal Split Layout (`.cv-login-box`) */
.cv-login-box {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    min-height: 380px;
}

.cv-login-wlcm-box {
    background: linear-gradient(135deg, var(--ddi-drive-blue) 0%, var(--ddi-deep-blue) 100%);
    color: var(--ddi-white);
    padding: 40px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cv-login-form {
    padding: 40px 34px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--ddi-white);
}


/* ==========================================================================
   4. Section 1: Slider Revolution Hero (`sr7-module#SR7_1_1` Demo 5 Light Ice-Blue Studio)
   ========================================================================== */
.sr7-hero-wrapper {
    position: relative;
    background: linear-gradient(115deg, #CDE6F3 0%, #E3F2F9 48%, #C4E0F0 100%);
    color: var(--ddi-drive-blue);
    overflow: hidden;
    min-height: 480px;
    display: flex;
    align-items: center;
    padding: 46px 0 54px;
}

.sr7-slide {
    display: none;
    animation: sr7FadeIn 0.5s ease;
}

.sr7-slide.active {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

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

.sr7-sub-txt {
    display: inline-block;
    background: #FFFFFF;
    color: var(--ddi-drive-blue);
    padding: 6px 18px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 18px;
    box-shadow: 0 4px 12px rgba(26, 25, 77, 0.06);
}

.sr7-main-title {
    font-size: 46px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    line-height: 1.18;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.sr7-desc-txt {
    font-size: 15.5px;
    color: #475569;
    margin-bottom: 26px;
    max-width: 520px;
    line-height: 1.65;
}

.sr7-btn-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sr7-shop-btn {
    background: var(--ddi-drive-red);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 0 34px;
    height: 46px;
    min-width: 148px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    border: none;
    box-shadow: 0 8px 20px rgba(237, 63, 35, 0.28);
}

.sr7-shop-btn:hover {
    background: var(--ddi-drive-blue);
    color: #FFFFFF;
}

/* Right Visual Circle Studio Showcase inside Hero */
.sr7-visual-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.sr7-circle-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.sr7-circle-decor.circle-1 {
    width: 380px;
    height: 380px;
    background: rgba(255, 255, 255, 0.45);
    right: 20px;
}

.sr7-circle-decor.circle-2 {
    width: 240px;
    height: 240px;
    background: rgba(186, 220, 240, 0.55);
    left: 10px;
    top: 20px;
}

.sr7-circle-decor.circle-3 {
    width: 90px;
    height: 90px;
    background: rgba(186, 220, 240, 0.7);
    left: 30px;
    bottom: 25px;
}

.sr7-hero-img-wrap {
    position: relative;
    z-index: 2;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.85);
    box-shadow: 0 18px 40px rgba(26, 25, 77, 0.12);
    background: #FFFFFF;
}

.sr7-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slider Dots */
.sr7-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    position: relative;
    z-index: 3;
}

.sr7-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sr7-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(26, 25, 77, 0.22);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.sr7-dot.active {
    width: 28px;
    background: var(--ddi-drive-red);
}

/* ==========================================================================
   5. Dual Promotional Offer Banners (`.cv_offer_wrapper` Pastel Cards)
   ========================================================================== */
.cv_offer_wrapper {
    padding: 38px 0 10px;
}

.cv-offer-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.cv_offer_sec {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 195px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: all 0.3s ease;
}

.cv_offer_sec:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(26, 25, 77, 0.1);
}

.cv_offer_sec.theme-pastel-sky {
    background: linear-gradient(135deg, #B5DCF2 0%, #D6EEF9 100%);
    color: var(--ddi-drive-blue);
}

.cv_offer_sec.theme-pastel-lavender {
    background: linear-gradient(135deg, #B4C6EE 0%, #D2DDF8 100%);
    color: var(--ddi-drive-blue);
}

.cv_offer_content {
    position: relative;
    z-index: 2;
    max-width: 58%;
}

.cv_offer_sec h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    margin-bottom: 8px;
    line-height: 1.25;
}

.cv_offer_sec p {
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 0;
    font-weight: 500;
}

.cv_offer_thumb {
    width: 185px;
    height: 140px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #FFFFFF;
    box-shadow: 0 8px 20px rgba(26, 25, 77, 0.08);
}

.cv_offer_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cv_offer_sec:hover .cv_offer_thumb img {
    transform: scale(1.06);
}

/* ==========================================================================
   6. Section 3: Statistics Counter Strip (`.cv_counter_wrapper`)
   ========================================================================== */
.cv_counter_wrapper {
    margin-top: 34px;
    padding: 36px 0;
    background: var(--ddi-drive-blue);
    color: var(--ddi-white);
    position: relative;
}

.counter_holder {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.counter_item {
    padding: 8px 20px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.counter_item:last-child {
    border-right: none;
}

.counter_item h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--ddi-white);
    margin-bottom: 4px;
    line-height: 1.1;
}

.counter_item h2 span {
    color: var(--ddi-white);
}

.counter_item p {
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   7. Section 4: "New Arrivals (สินค้ามาใหม่)" Product Grid (`.cv-arrival`)
   ========================================================================== */
.cv-arrival {
    padding: 48px 0 24px;
}

.cv-heading h1 {
    font-size: 26px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    margin-bottom: 0;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 24px;
}

.filter-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.product-filter-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.product-filter-menu button.filter {
    padding: 6px 2px;
    background: transparent;
    border: none;
    border-bottom: 2.5px solid transparent;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.product-filter-menu button.filter.open,
.product-filter-menu button.filter:hover {
    color: var(--ddi-drive-red);
    border-bottom-color: var(--ddi-drive-red);
}

/* Prev/Next Light Square Buttons */
.cv-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cv-arrow .cv-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: #FFFFFF;
    color: #475569;
    border: 1px solid #E2E8F0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.cv-arrow .cv-nav-btn:hover {
    background: var(--ddi-drive-red);
    color: #FFFFFF;
    border-color: var(--ddi-drive-red);
}

/* 4-Column Product Grid on Homepage (4 items per row) */
#home-products-grid.product-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* Clean White Product Card matching Design Mockup */
.cv-product-box {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 14px;
    padding: 16px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.cv-product-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(26, 25, 77, 0.08);
    border-color: #CBD5E1;
}

.cv-product-img {
    position: relative;
    height: 195px;
    background: #F4F6F9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 14px;
}

.cv-product-img a {
    display: block;
    width: 100%;
    height: 100%;
}

.cv-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.cv-product-box:hover .cv-product-img img {
    transform: scale(1.06);
}

/* Hover Action Overlay */
.cv-product-icon {
    position: absolute;
    inset: 0;
    background: rgba(26, 25, 77, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.25s ease;
    z-index: 3;
}

.cv-product-box:hover .cv-product-icon {
    opacity: 1;
}

.cv-product-icon ul {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-product-icon ul li button {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--ddi-drive-blue);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.cv-product-icon ul li button:hover {
    background: var(--ddi-drive-red);
    color: #FFFFFF;
}

.cv-product-icon svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.cv-product-data {
    padding: 2px 2px 10px;
    text-align: left;
}

.cv-price-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--ddi-drive-blue);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.cv-price-title:hover {
    color: var(--ddi-drive-red);
}

.star-rating-wrap {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.star-icons {
    color: #FBBF24;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.cv-product-data .price {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #ED3F20;
}

.medicaleq-compare-add {
    width: 100%;
    height: 36px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    color: var(--ddi-drive-blue);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
}

.medicaleq-compare-add:hover,
.medicaleq-compare-add.compared {
    background: var(--ddi-drive-blue);
    color: #FFFFFF;
    border-color: var(--ddi-drive-blue);
}

/* ==========================================================================
   8. Mid-Showcase Split Layout (Compact Promo Cards + Customer Feedback | Featured Dental Kit + 4 Service Icons)
   ========================================================================== */
.cv-mid-showcase {
    padding: 20px 0 36px;
}

.mockup-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.mockup-left-col,
.mockup-right-col {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.compact-offers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    height: 100%;
}

.compact-offer-card {
    border-radius: 14px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 220px;
    height: 100%;
}

.compact-offer-card.sky {
    background: linear-gradient(135deg, #B5DCF2 0%, #D6EEF9 100%);
}

.compact-offer-card.lavender {
    background: linear-gradient(135deg, #B4C6EE 0%, #D2DDF8 100%);
}

.compact-offer-text h4 {
    font-size: 17px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    line-height: 1.3;
    margin-bottom: 6px;
}

.compact-offer-text p {
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 14px;
}

.compact-btn {
    height: 34px !important;
    min-width: auto !important;
    padding: 0 18px !important;
    font-size: 12px !important;
    border-radius: 999px !important;
}

.compact-offer-card img {
    width: 104px;
    height: 104px;
    object-fit: cover;
    border-radius: 12px;
    background: #FFFFFF;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(26, 25, 77, 0.08);
}

/* Full-Width Customer Feedback Section (แสดงพอดีหน้าจอ) */
.cv-testimonial-fullwidth {
    width: 100%;
    background: #F1F5F9;
    padding: 56px 0 60px;
    margin: 12px 0 36px;
    border-top: 1px solid #E2E8F0;
    border-bottom: 1px solid #E2E8F0;
}

.cv-testimonial-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 32px;
}

.cv-testimonial-header .cv-heading h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    margin-bottom: 6px;
}

.cv-testimonial-header .cv-heading p {
    font-size: 14.5px;
    color: #64748B;
    margin: 0;
}

.testimonial-arrows {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.panel-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    margin-bottom: 16px;
}

.testimonial-slider-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.cv-testi-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 30px 26px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(26, 25, 77, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.cv-testi-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(26, 25, 77, 0.09);
    border-color: #CBD5E1;
}

.cv-testi-img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid #E2E8F0;
    box-shadow: 0 4px 12px rgba(26, 25, 77, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ddi-drive-blue);
    color: #FFFFFF;
    font-weight: 700;
}

.cv-testi-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cv-testi-data p {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 18px;
}

.cv-testi-name h1 {
    font-size: 16px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    margin-bottom: 3px;
}

.cv-testi-name p {
    font-size: 13px;
    color: var(--ddi-drive-red);
    font-weight: 600;
    margin: 0;
}

/* Featured Dental Kit Panel */
.featured-kit-panel {
    background: #F1F5F9;
    border-radius: 14px;
    padding: 22px;
    height: 100%;
}

.featured-kit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.kit-card-box {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.kit-card-img {
    height: 86px;
    background: #F8FAFC;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: pointer;
}

.kit-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kit-card-body h4 {
    font-size: 12.5px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    cursor: pointer;
    margin-bottom: 2px;
}

.kit-card-body p {
    font-size: 11px;
    color: #64748B;
    margin-bottom: 4px;
}

.kit-price {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    margin: 4px 0 6px;
}

.kit-compare-btn {
    background: transparent;
    border: none;
    color: var(--ddi-drive-blue);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
}

.kit-compare-btn:hover {
    color: var(--ddi-drive-red);
}

/* 4 Service Icon Boxes (Full-Width Strip) */
.cv-service-strip {
    padding: 12px 0 60px;
}

.cta-grid-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.cv_action_section {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 14px;
    padding: 22px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 25, 77, 0.03);
}

.cv_action_section:hover {
    transform: translateY(-3px);
    border-color: var(--ddi-drive-blue);
    box-shadow: 0 10px 22px rgba(26, 25, 77, 0.08);
}

.cv_action_icon_circle {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #F1F5F9;
    font-size: 22px;
    color: var(--ddi-drive-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.25s ease;
}

.cv_action_section:hover .cv_action_icon_circle {
    background: var(--ddi-drive-red);
    color: #FFFFFF;
}

.cv_action_content h3.cv_sub_title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    margin: 0 0 3px;
}

.cv_action_content p {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.4;
}

/* ==========================================================================
   9. Latest News Section (`.cv-blog`)
   ========================================================================== */
.cv-blog {
    padding: 20px 0 36px;
}

.blog-grid-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cv-blog-box {
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
    transition: all 0.25s ease;
}

.cv-blog-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(26, 25, 77, 0.08);
}

.cv-blog-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.cv-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-date {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--ddi-drive-red);
    color: #FFFFFF;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
}

.cv-blog-data {
    padding: 16px 18px;
}

.cv-blog-title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ddi-drive-blue);
    display: block;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cv-blog-title:hover {
    color: var(--ddi-drive-red);
}

.blog-author-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-author-row img {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
}

.blog-author-row span {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
}

/* Wholesale Quote & Partner Brands Styles for Subpages */
.medicaleq-quote-box {
    display: grid;
    grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.65fr);
    gap: 32px;
    margin: 40px 0 10px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
}

.medicaleq-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.medicaleq-quote-grid label > span {
    display: block;
    margin-bottom: 5px;
    color: var(--ddi-drive-blue);
    font-size: 12.5px;
    font-weight: 700;
}

.medicaleq-quote-grid input,
.medicaleq-quote-grid select,
.medicaleq-quote-grid textarea {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 13.5px;
}

.medicaleq-quote-grid textarea {
    height: auto;
    padding: 12px 14px;
}

.medicaleq-quote-message {
    grid-column: 1 / -1;
}

.brands-showcase-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 14px;
}

.brand-card-item {
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

/* ==========================================================================
   13. Footer (`.cv-footer` Matching Demo 5 Design Mockup)
   ========================================================================== */
.cv-footer {
    background: var(--ddi-drive-blue);
    color: #E2E8F0;
    position: relative;
}

.cv-footer > .container {
    padding-top: 36px;
    padding-bottom: 42px;
}

/* Top Newsletter Bar inside Footer */
.cv-news-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 28px;
    margin-bottom: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.cv-foot-newsbox h2 {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
}

.cv-foot-newsletter-bar form {
    display: flex;
    align-items: center;
    background: #FFFFFF;
    border-radius: 999px;
    padding: 3px;
    width: 420px;
    max-width: 100%;
}

.cv-foot-newsletter-bar input {
    flex: 1;
    height: 38px;
    border: none;
    background: transparent;
    padding: 0 18px;
    font-size: 13px;
    color: var(--ddi-drive-blue);
    outline: none;
}

.cv-foot-newsletter-bar button.cv-btn {
    height: 38px;
    min-width: 130px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--ddi-drive-red);
    color: #FFFFFF;
    font-size: 12.5px;
    font-weight: 700;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1.3fr 0.85fr;
    gap: 32px;
}

.cv-foot-box h2.widget-title {
    font-size: 15px;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 16px;
}

.cv-foot-links li {
    margin-bottom: 9px;
}

.cv-foot-links li a {
    color: rgba(226, 232, 240, 0.82);
    font-size: 13px;
    transition: all 0.2s;
}

.cv-foot-links li a:hover {
    color: #FFFFFF;
    padding-left: 4px;
}

/* Recent Post with Thumbnails inside Footer */
.foot-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.foot-recent-posts li {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.foot-recent-posts li img {
    width: 48px;
    height: 38px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.foot-recent-posts .foot_post_title {
    font-size: 12.5px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 2px;
}

.foot-recent-posts .foot_post_date {
    font-size: 11px;
    color: rgba(226, 232, 240, 0.65);
    display: block;
}

.cv-copyright {
    background: #14133D;
    padding: 16px 0;
    text-align: left;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ==========================================================================
   14. Demo 5 Scroll-to-Top (`#scroll`)
   ========================================================================== */
#scroll {
    position: fixed;
    right: 20px;
    bottom: 24px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background: var(--ddi-drive-red);
    color: var(--ddi-white);
    border-radius: var(--radius-md);
    border: none;
    box-shadow: 0 8px 20px rgba(237, 63, 35, 0.35);
    transition: all 0.3s ease;
}

#scroll:hover {
    background: var(--ddi-drive-blue);
    transform: translateY(-3px);
}

/* ==========================================================================
   15. Modals: Request a Quote, Quick View (`.cv-quick-view`), Compare & CI Guide
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(26, 25, 77, 0.68);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-backdrop.open {
    display: flex;
}

.modal-card {
    background: var(--ddi-white);
    border-radius: var(--radius-lg);
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 34px;
    position: relative;
    box-shadow: var(--shadow-lg);
    border-top: 6px solid var(--ddi-drive-red);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: #F4F8F9;
    color: var(--ddi-drive-blue);
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--ddi-drive-red);
    color: var(--ddi-white);
}

.quote-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0 24px;
}

.quote-table th,
.quote-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--ddi-neutral-gray);
    text-align: left;
    font-size: 14px;
}

.quote-table th {
    background: #F4F8F9;
    color: var(--ddi-drive-blue);
    font-weight: 700;
}

/* Page View Switcher */
.page-view {
    display: none;
}

.page-view.active {
    display: block;
}

/* Subpage Breadcrumb Banner (`.cv-breadcrumb` Demo 5) */
.cv-breadcrumb {
    background: linear-gradient(125deg, var(--ddi-drive-blue) 0%, var(--ddi-deep-blue) 100%);
    color: var(--ddi-white);
    padding: 48px 0;
    border-bottom: 4px solid var(--ddi-drive-red);
    margin-bottom: 50px;
}

.cv-breadcrumb h1 {
    color: var(--ddi-white);
    font-size: 34px;
    margin-bottom: 6px;
}

.cv-breadcrumb p {
    color: var(--ddi-neutral-gray);
    font-size: 14.5px;
}

/* ==========================================================================
   16. Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
    #home-products-grid.product-grid-row {
        grid-template-columns: repeat(4, 1fr);
    }
    .mockup-split-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .sr7-slide.active,
    .cv-offer-row,
    .medicaleq-quote-box {
        grid-template-columns: 1fr;
    }
    #home-products-grid.product-grid-row {
        grid-template-columns: repeat(3, 1fr);
    }
    .product-grid-row,
    .counter_holder,
    .cta-grid-row,
    .service-icons-row-4,
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .testimonial-slider-grid,
    .feedback-cards-row,
    .featured-kit-grid,
    .blog-grid-row {
        grid-template-columns: 1fr;
    }
    .cv-news-box {
        flex-direction: column;
        align-items: flex-start;
    }
    .cv-news-form {
        max-width: 100%;
    }
    .cv-nav-menu {
        display: none;
    }
}

@media (max-width: 576px) {
    #home-products-grid.product-grid-row {
        grid-template-columns: repeat(2, 1fr);
    }
    .product-grid-row,
    .counter_holder,
    .cta-grid-row,
    .compact-offers-grid,
    .service-icons-row-4,
    .footer-grid,
    .medicaleq-quote-grid,
    .brands-showcase-grid {
        grid-template-columns: 1fr;
    }
    .sr7-main-title {
        font-size: 30px;
    }
    .cv_offer_sec {
        flex-direction: column;
        align-items: flex-start;
    }
    .cv_offer_content {
        max-width: 100%;
    }
}
