/*
 Theme Name:   Crest Child
 Theme URI:    https://wdtcrest.wpengine.com/
 Description:  Crest Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     crest
 Text Domain:  crest-child
 Version:      1.0.0
 Tested up to: 6.8
 Requires PHP: 7.4
 Tags:  E-Commerce, Blog, portfolio
 License: GNU General Public License v2 or later
 License URI: https://www.gnu.org/licenses/gpl-2.0.html
 This theme, like WordPress, is licensed under the GPL.
 Use it to make something cool, have fun, and share what you've learned with others.
 Copyright (C) 2025 venusweb. All rights reserved.
*/


* {
    font-family: "Plus Jakarta Sans", Sans-serif !important;
    text-transform: none !important;
}

#faq_home {
    padding: 0;
}

.wdt-button-holder.wdt-button-style-underline:before,
.wdt-button-holder.wdt-button-style-overline:before {
    background: none !important;
}

#header-wrapper {
    margin: 0px !important;
}

#footer .wdt-header-menu .wdt-primary-nav > li > a {
    margin: 11px 0px !important;
    height: 15px;
}

.wdt-listings-contactform{
    box-shadow: none !important;
}

.dcg-variation-wrap input {
    height: 40px !important;
    min-height: 40px !important;
    padding: 10px;
}

a.ti-header.ti-header-grid.source-Google {
    padding: 0 !important;
}

.wdt-header-social-icon a {
    background: var(--wdtAccentTxtColor) !important;
}
.wdt-header-social-icon a:hover {
    background: var(--wdt-elementor-color-primary, #3E7C85) !important;
}

.elementor-1969 .elementor-element.elementor-element-b4b78ff .elementor-icon-list-icon svg{
    fill: var(--wdt-elementor-color-text, #101826) !important;
}


.dcg_legal_nav {
    /* Layout */
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    list-style-type: none;
    margin: 0;
}

.dcg_legal_nav a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

/* The element in its fixed/scrolling state */
#dcg_sticky.is-sticky {
    position: fixed !important;
    top: 20px; 
    right: 19px;
    padding: 10px;
    z-index: 9999;
    margin: 0px !important;
    transition: none !important; 
    /* Set a specific width to match your sidebar */
    width: 300px; 
    box-sizing: border-box;
}

#dcg_ndasa{
    width: 100px !important;
}

footer span.elementor-icon-list-icon {
    display: block !important;
}
footer span.elementor-icon-list-icon svg {
    fill: var(--wdtAccentTxtColor) !important;
}

/* Menu CSS starts*/
.dcg-top-nav-wrapper {
    padding: 15px 30px;
    border: 1px solid #A5BBD7;
    border-radius: 20px;
    width: 95%;
    margin: 0 auto;
    position: relative;
    background: var(--wdt-elementor-color-primary, #3E7C85);
    color: var(--wdtAccentTxtColor) !important;
}

.woocommerce div.product form.cart .variations .reset_variations {
    position: absolute !important;
    top: 82px !important;
    color: var(--wdt-elementor-color-text, #101826);
}

.dcg-top-nav {
    display: flex;
    align-items: center;
    padding: 15px;
    position: relative;
    z-index: 10;
}

.dcg-nav-item {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.dcg-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    letter-spacing: -0.32px;
}

.dcg-subtitle {
    font-size: 12px;
}

.product-thumb-content{
    display: none !important;
}

.woocommerce-Tabs-panel--additional_information, .woocommerce-Tabs-panel--description{
    background-color: #f6f6f6 !important;
}

.dcg-has-dropdown .dcg-title::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 4px 0px 9px 6px;
    border-right: 1.5px solid var(--wdt-elementor-color-secondary, #4FBF9F);
    border-bottom: 1.5px solid var(--wdt-elementor-color-secondary, #4FBF9F);
    transform: rotate(45deg);
    vertical-align: middle;
}

.dcg-nav-divider {
    width: 1px;
    height: 36px;
    border:  1px solid var(--wdtAccentTxtColor);
}

.dcg_login_btn{
    display: none !important;
}

.ti-widget.ti-goog.ti-disable-animation .ti-widget-container{
    margin: 0 !important;
}

.ti-widget-container{
    margin: 0 !important;
    padding: 0 !important;
}

.ti-widget.ti-goog .ti-header{
    padding: 4px !important;
}

.wdt-header-menu ul li ul.children > li > a, .wdt-header-menu ul li ul.sub-menu > li > a, .wdt-header-menu ul li.has-mega-menu ul.menu > li > a {
    padding: 10px;
}

.main-title-section-wrapper{
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
}

#dcg-top-banner a:hover{
    color: var(--wdt-elementor-color-text, #101826);
}

.year-block label{
    display:block;
    padding: 10px;
    cursor: pointer;
    margin:0;
}

.wdt-button-reverse{
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    line-height: 16px;
    letter-spacing: 0.5px;
    padding: 12px;
    color: var(--wdtAccentTxtColor) !important;
    background-color:  var(--wdtSecondaryColor) !important;
}

input#ch_ndtp {
    position: absolute;
    top: 9999px;
}

.wdt-button-reverse:hover{
    background-color: var(--wdt-elementor-color-text, #101826) !important;
}

.dcg-multi-year-container {
    margin-bottom:20px;
    border-top: 1px solid #eee;
    padding-top: 15px;
}


/* Sub Menu */
.dcg-nav-item.dcg-has-dropdown {
    position: relative; /* Essential for absolute positioning of children */
}

/* Show menu on hover */
.dcg-nav-item.dcg-has-dropdown:hover > .dcg-sub-menu {
    display: block;
}

/* The class JS will toggle if there's no room at the bottom */
.dcg-sub-menu.open-top {
    bottom: 70%; /* Align bottom of menu with top of parent */
    top: auto;    /* Reset the default top: 100% */
    margin-bottom: 10px; /* Optional spacing */
}



.dcg-sub-menu {
    background: var(--wdt-elementor-color-primary, #3E7C85);
    color: var(--wdtAccentTxtColor) !important;
    position: absolute;
    top: 30px;
    left: 0;
    min-width: 220px;
    border-radius: 6px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    list-style: none;
    margin: 10px 0 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.2s ease;
    z-index: 99;
    display: none;
}

.dcg-sub-menu li a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--wdtAccentTxtColor) !important;
    text-decoration: none;
}


.dcg-nav-item.dcg-has-dropdown:hover .dcg-sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    display: block;
}

.quantity-with-plusminus{
    display: none !important;
}

.product-buy-now{
    display: none !important;
}

.dcg_usdot_wrapper {
  display: flex;
  gap: 10px;
  width: 100%;
  padding: 0px 15px 15px 0px !important;
  flex-direction: column;
}

.dcg_usdot_wrapper #usdot_number {
    flex-grow: 1;
}

div.dcg-training-participants-field {
    padding-right: 15px;
}

div.dcg-training-participants-field p.dcg-training-price-display {
    display: flex;
    flex-flow: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
}

div.dcg-training-participants-field p.dcg-training-price-display div.dcg-price-breackdown-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

p.dcg-training-price-display span.dcg-tier-breakdown {
    font-size: 14px;
    color: var(--wdt-elementor-color-text, #101826);
}

p.dcg-training-price-display span.dcg-total-price {
    color: var(--wdt-elementor-color-primary);
    font-size: 20px;
    font-weight: normal;
}

.dcg_usdot_wrapper label, 
.dcg-multi-year-container label,
.dcg-training-participants-field label {
    color: var(--wdtHeadAltColor);
    text-transform: capitalize;
    font-weight: var(--wdtFontWeight_Alt);
    font-size: 14px !important;
    padding: 10px 0px !important;
}

.dcg_usdot_wrapper .single_add_to_cart_button {
  white-space: nowrap;
  padding: 20px !important;
  margin: 0px !important;
}

.dcg_usdot_wrapper .dcg_input_group{
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: stretch;
}
.year-selector{
    margin-left: 3px;
}

/* CTA */
.dcg-nav-cta {
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dcg-cta-title {
    font-size: 13px;
    font-weight: 600;
}

.dcg-cta-form {
    display: flex;
    gap: 8px;
}

.dcg-cta-form input {
    height: 34px;
    border-radius: 4px;
    border: 1px solid var(--wdt-elementor-color-primary, #3E7C85);
    font-size: 13px;
    color: var(--wdt-elementor-color-text, #101826) !important;
}

.dcg-mobile-filter {
    display: none;
    margin-bottom: 20px;
}

.dcg-filter-dropdown {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.dcg-cta-form button {
    height: 45px;
    padding: 9px;
    font-size: 13px;
    cursor: pointer;
    width: 225px;
    margin: 0;
    font-weight: 700;
    font-style: normal;
    line-height: 24px;
    letter-spacing: 0.5px;
}

.dcg-has-dropdown .dcg-title::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-left: 6px;
    border-right: 1.5px solid var(--wdt-elementor-color-secondary, #4FBF9F);
    border-bottom: 1.5px solid var(--wdt-elementor-color-secondary, #4FBF9F);
    transform: rotate(45deg);
    transition: transform 0.25s ease;
}

/* Rotate arrow when open */
.dcg-has-dropdown.is-open .dcg-title::after {
    transform: rotate(-135deg);
}

.select2-results{
    color: var(--wdt-elementor-color-text, #101826) !important;
}

.error404 > .wrapper{
    padding: 0 !important;
}

input#ch_ndt {
    position: absolute;
    z-index: -1;
    opacity: 0;
}


/* Container for the loader to ensure it spans the whole grid width */
.dcg-loader[hidden] {
    display: none !important;
}

.dcg-loader {
    grid-column: 1 / -1;
    /* Spans across all 4 columns */
    display: flex !important; /* Forces layout */
    min-height: 300px !important; /* Ensures height isn't 0 */
    opacity: 1 !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Gives enough space so it feels centered */
    width: 100%;
    margin: 40px 0;
    z-index: 10;
}

/* The Spinner Circle */
.dcg-loader::before {
    display: block !important;
    content: "" !important;
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #5d7285;
    border-radius: 50%;
    animation: dcg-spin 0.8s linear infinite;
    margin-bottom: 20px;
}

.dcg-loader::after {
    content: "Loading...";
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 1px;
}

#submit_button_container .dcg-loader {
    display: flex; /* overridden by [hidden] above when needed */
    justify-content: center;
    align-items: center;
}

/* Spinner Rotation */
@keyframes dcg-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#dcg_faq details {
    border-bottom: 1px solid #dfdfdf;
}

/* Smooth transition when products appear */
.dcg-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 25px;
    min-height: 400px;
    margin: 0;
    transition: opacity 0.3s ease;
}

ul.dcg-product-grid > li:last-child, ol > li:last-child{
    padding-bottom: 10px !important;
}

.wdt-testimonial-holder .wdt-content-item .wdt-content-separator{
    display: none !important;
}

.dcg-inline-error {
    color: #b81c23;
    font-size: 14px;
    margin-top: 6px;
    display: none;
}

/* --- Tabs --- */
.dcg-tabs-container {
    text-align: center;
    overflow: hidden;
}

.dcg_usdot_wrapper ~ .single_add_to_cart_button {
    display: none !important;
}


.dcg-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-flex;
    gap: 20px;
}

.dcg-tab-item {
    padding: 15px 5px;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
    font-size: 17px;
    font-style: normal;
    font-weight: 600;
    line-height: 33px;
    letter-spacing: -0.44px;
}


.dcg-tab-item.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    border-bottom: 4px solid var(--wdt-elementor-color-primary, #3E7C85);
}

.mobile-nav-container .menu-trigger{
    color: var(--wdtAccentTxtColor) !important;
}

/* --- Product Card --- */
.dcg-product-card {
    padding: 10px;
    background: var(--wdtAccentTxtColor) !important;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.dcg-product-card:hover {
    transform: translateY(-5px);
}


/* Card Header: Title + Stars */
.dcg-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    min-height: 28px;
}

.dcg-product-title {
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 0.5px;
}

.dcg-mini-title {
    font-weight: 700;
    margin: 0;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 150%;
    /* 30px */
    letter-spacing: -0.6px;
}

.dcg-star-rating {
    font-size: 14px;
}

/* Card Image */
.dcg-card-image {
    /* Placeholder bg */
    border-radius: 8px;
    height: 65px;
    width: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.dcg-card-image img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}

span.woo-selected-variation-item-name {
    display: none !important;
}

.widget_recent_entries li {
    padding: 10px 0px !important;
    color: var(--wdt-elementor-color-text, #101826);
    font-size: 16px;
    font-weight: 700;
}

/* Card Content */

.dcg-product-desc {
    line-height: 1.5;
    flex-grow: 1;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    color: var(--wdt-elementor-color-text, #101826);
    letter-spacing: 0.5px;
    min-height : auto;
}

.dcg-product-desc li {
    padding: 0 !important;
    line-height: 1.6 !important;
}

div.dcg-ucr-year-row {
    margin-bottom: 20px;
}

div.dcg-ucr-year-checkbox-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

p.dcg-ucr-year-heading,
label.dcg-ucr-fleet-label {
    color: var(--wdtHeadAltColor);
    text-transform: capitalize;
    font-weight: var(--wdtFontWeight_Alt);
    font-size: 14px !important;
    padding: 10px 0px !important;
    margin-bottom: 0 !important;
}
/* Card Footer: Price + Button */
.dcg-card-footer {
    display: flex;
    justify-content: right;
    align-items: center;
    margin-top: auto;
}

.dcg-price {
    font-size: 14px;
    font-weight: 700;
}

.elementor-4577 .elementor-element.elementor-element-3d18ff69 .wdt-button-holder .wdt-button {
    padding: 14px !important;
}

.dcg-add-btn {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}


/* Load More */
.dcg-pagination-container {
    text-align: center;
    margin: 25px 0px;
}

/* Search form CSS starts*/
.dcg-search-form {
    position: relative;
    max-width: 320px;
}

.dcg-search-wrapper {
    position: relative;
}

.dcg-search-form input {
    width: 100%;
    border: 1px solid var(--wdt-elementor-color-primary, #3E7C85);
    border-radius: 24px;
    font-size: 14px;
    height: 20px;
    color: var(--wdt-elementor-color-text, #101826) !important;
    padding: 18px !important;
}

ul.wdt-primary-nav .sub-menu li:hover, .dcg-sub-menu li:hover {
    background: var(--wdt-elementor-color-secondary, #4FBF9F) !important;
    border-bottom: 1px solid var(--wdt-elementor-color-primary, #3E7C85) !important;
}

.wdt-header-menu .menu-container .wdt-primary-nav > li > a{
    padding: 10px !important;
}
.wdt-header-menu .menu-container .wdt-primary-nav > li > a:hover {
    border-bottom: 1px solid var(--wdt-elementor-color-primary, #3E7C85) !important;
}


ul.wdt-primary-nav .sub-menu li:hover > a{
    color:  var(--wdtAccentTxtColor) !important;
}

li.dcg-tab-item.active {
    color: var(--wdt-elementor-color-text, #101826) !important;
}

.dcg-search-btn {
    position: absolute;
    right: 9px;
    border: none;
    top: 9px;
    transform: translateY(-50%);
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 15px;
    color: var(--wdt-elementor-color-primary, #3E7C85) !important;
    background: transparent !important;
}


/* Search form CSS ends*/
/* Elementor click safety */
.dcg-load-more a,
.dcg-load-more a * {
    pointer-events: auto !important;
}

.type-product .quantity-with-plusminus {
    display: none !important;
} 

.button-variable-items-wrapper li {
    width: 100% !important;
    padding: 18px 12px !important;
    font-size: 12px !important;
}

.woocommerce div.product .summary form.cart .single_variation_wrap .woocommerce-variation-add-to-cart {
    display: block !important;
}

.wdt-button{
    font-size: 18px !important;
    font-weight: 700 !important;
    font-style: normal;
    line-height: 16px !important;
    letter-spacing: 0.5px !important;
    padding: 12px !important;
    background-color: var( --e-global-color-secondary ) !important;
    color: var(--wdtAccentTxtColor) !important;
    border-style: none;
}

.wdt-button:hover{
    background-color: var( --e-global-color-primary ) !important;
}
.wdt-button-holder,
.wdt-button-holder a {
    display: block !important;
}

.woocommerce div.product .summary form.cart .variations .woo-variation-items-wrapper {
    display: block !important;
}

table.variations{
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-top: 45px !important;
}

.single_variation_wrap .woocommerce-variation-price {
    position: absolute;
    left: 0;
    top: -18px;
}
.woocommerce-variation-description{
    margin: 0px !important;
    padding: 15px 0px !important;
}



.select2-container {
    width: 100% !important;
}

.dcg-multi-year-container .select2-container{
    margin: 15px 0px !important;
}

.wdt-product-image-gallery{
    margin-top: 38px !important;
}

.swiper-autoheight, .swiper-autoheight .swiper-slide{
    height: 100% !important;
}

table.variations tr {
    margin: 0px !important;
    padding: 0px !important;
    display: flex !important;
    flex-direction: column !important; /* Label on top, Dropdown on bottom */
    width: 100% !important;
}

table.variations th,
table.variations td {
    display: block !important;
    width: 100% !important;
}
table.variations .select2-container {
    width: 100% !important;
}

table.variations li.selected {
    background-color: var(--wdt-elementor-color-secondary, #4FBF9F) !important;
    color: var(--wdtAccentTxtColor) !important;
}

table.variations tbody {
    margin: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0px 15px 15px 0px !important;
}

table.variations ul {
    padding-left: 12px !important;
}

table.variations tr th label {
    font-size: 14px !important;
    padding: 10px 0px !important;
}

.woocommerce-variation-add-to-cart{
    margin: 0px !important;
}

.wdt-product-summary{
    margin: 0px !important;
}

.price-button-container{
    display: flex;
}

/* Container holds price (left) and button (right) */
.price-button-wrapper {
    display: flex;
    justify-content: flex-start; 
    align-items: center;
    width: 100%;
    gap: 10px;
}

li.product-list-view .price-button-wrapper {
 margin-right: 8px !important;
}

li.product-grid-view .product-wrapper .product-title{
    min-height: 80px !important;
}

/* Style the Buy Now button */
.shop-item-actions .wdt-button {
    white-space: nowrap;
    display: inline-block;
    margin: 0px !important;
}

/* Stats CSS starts*/
.dcg-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin: 0 auto;
}

.dcg-stat-card {
    text-align: center;
}

.dcg-stat-badge {
    background-color:var(--e-global-color-53c34b0, #60D731) !important;
    color: var(--wdt-elementor-color-text, #101826);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 18px;
    margin-bottom: 18px;
    min-width: 110px;
    transition: transform 0.3s ease;
    font-size: 60px;
    font-style: normal;
    font-weight: 700;
    line-height: 76px;
    letter-spacing: 0.5px;
}

.dcg-stat-badge.is-animated {
    transform: scale(1.05);
}

.dcg-stat-title {
    margin-bottom: 8px;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    /* 36px */
    letter-spacing: -0.48px;
}

.dcg-stat-text {
    max-width: 260px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24.5px;
    letter-spacing: -0.28px;
}

/* Stats CSS ends*/


body.woo-variation-swatches{
    background-color: #F5F5F5 !important;
}



/* Contact CSS starts*/

#dcg-support-section h3 {
    margin: 0;
}

#dcg-support-section .elementor-shape-circle {
    padding: 0px 20px 20px 20px !important;
}

/* Contact CSS ends */

/* Thank You CSS starts */
div.dcg-ty-next-steps-header {
    color: #1a202c;
    font-size: 21px;
    font-weight: 500;
    line-height: 22px;
    letter-spacing: 0.15px;
    margin-bottom: 20px;
}

div.dcg-ty-next-steps-content {
    color: #262626;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

div.dcg-ty-upsell-wrapper {
    font-size: 16px;
    font-weight: 700px;
    color: var(--wdt-elementor-color-text, #101826);
    display: flex;
    flex-flow: row nowrap;
    align-items: stretch;
    justify-content: stretch;
}

div.dcg-ty-upsell-wrapper div.dcg-ty-upsell-header h3 {
    font-size: 20px;
    margin: auto 0;
}

div.dcg-ty-upsell-wrapper div.dcg-ty-upsell-header {
    border-right: 1px solid #90A3BF;
    flex: 1 1 50%;
    display: flex;
}

div.dcg-ty-upsell-wrapper div.dcg-ty-upsell-body {
    flex: 1 1 50%;
    align-items: center;
}

div.dcg-ty-upsell-wrapper div.dcg-ty-upsell-body ul {
    list-style-type: none;
    margin: auto;
}

h3.dcg-ty-header {
    font-size: 16px;
    color: var(--wdt-elementor-color-text, #101826);
    font-weight: 700;
    margin: 5px 0;
    padding: 0;
    line-height: 20px;
}

h4.dcg-ty-subheader {
    font-size: 12px;
    font-weight: 700;
    color: var(--wdt-elementor-color-text, #101826);
    margin: 5px 0;
    padding: 0;
    line-height: 20px;
}

div.dcg-ty-product-details {
    display: flex;
    flex-flow: row nowrap;
    gap: 10px;
    justify-content: space-between;
}

div.dcg-ty-product-icon {
    flex: 0 0 60px;
    height: 60px;
}

div.dcg-ty-product-description {
    flex: 1 1 250px;
}

p.dcg-ty-product-description-row {
    color: var(--wdt-elementor-color-text, #101826);
    padding: 0;
    margin: 0;
    line-height: 20px;
    font-size: 12px;
}

p.dcg-ty-billing-details-row {
    color: var(--wdt-elementor-color-text, #101826);
    font-size: 12px;
    font-weight: 400;
    line-height: 20px;
    margin: 0;
    padding: 0; 
}

span.dcg-ty-redirect-link {
    border-radius: 4px;
    padding: 12px 60px;
    font-size: 0.9em;
    font-weight: normal;
    color: var(--wdtAccentTxtColor);
    background-color:  var(--wdtSecondaryColor);
}

/* Thank You CSS ends */

.dcg_login_btn a {
    background-color: var(--wdt-elementor-color-secondary, #4FBF9F);
    color: var(--wdtAccentTxtColor,#FFFFFF) !important;
    margin: 8px !important;
    border-style: none;
    padding: 0px 20px !important;
    width: 100px;
    border: 1px solid var(--wdt-elementor-color-text, #101826) !important;
    border-radius: 19px;
}

input#ch_ndtp {
    position: absolute;
    top: 8888px;
}

.dcg_login_btn a:hover{
    background-color: var(--wdtAccentTxtColor,#FFFFFF) !important;
    color: var(--wdt-elementor-color-text, #101826) !important;
    border: 1px solid var(--wdt-elementor-color-text, #101826) !important;
    margin: 8px !important;
    border-style: none;
    padding: 0px 20px !important;
    width: 100px;
    border: 1px solid var(--wdt-elementor-color-text, #101826) !important;
    border-radius: 19px;
}

/* Are You In Compliance? CSS Starts */

.dcg-accreditation-card .ti-text,
.dcg-accreditation-card .ti-rating {
    color: var(--wdtAccentTxtColor,#FFFFFF) !important;
}

.dcg-ayic-signin .wdt-button-text {
    font-size: 14px;
    font-weight: 500;
}

/* Are You In Compliance? CSS Ends */


/* Shop page css starts*/

/* Make paragraph text black */
.woocommerce-loop-product__title, 
.woocommerce-product-details__short-description p,
.archive.woocommerce p {
    color: var(--wdt-elementor-color-text, #101826);
}

/* Add Global Padding to the main shop container */
.post-type-archive-product #main {
    padding-top: 60px;
    padding-bottom: 60px;
}


.products .product {
    position: relative;
}

.products .product .price {
    display: inline-block;
    width: 45%;
}

.buy-now-btn {
    float: right;
    padding: 10px 20px;
    font-size: 1em; /* Match pricing size */
    background-color: var(--wdt-elementor-color-text, #101826);
    color: var(--wdtAccentTxtColor,#FFFFFF) !important;
    text-transform: uppercase;
    border-radius: 0;
}

/* Shop page css ends*/


.wdt-header-menu .menu-container .wdt-primary-nav li[class*="has-children"] ul.sub-menu > li > a > span:after {
    top: auto !important;
    bottom: auto !important;
    right: 0 !important;
}


ul.sub-menu li.menu-item {
    border-bottom: 2px solid transparent !important;
}


.new_usdot_wrapper .flash-success, .success {
    color: green;
    font-weight: 800;
    text-align: left;
    margin: 15px 0px;
}

.new_usdot_wrapper .flash-error, .error{
    color:red;
    font-weight: 800;
    text-align: left;
    margin: 15px 0px;
}

.new_usdot_wrapper .error, .error{
    color:red;
}

.grecaptcha-badge {
    position: relative !important;
    top: 20px !important;
    left: 0px !important;
    box-shadow:none !important;
}



/*===============================
   Responsive CSS starts
   =============================== */

@media (max-width: 1024px) {

    #tab-description .elementor-widget-spacer {
        height: 0px;
    }

    .dcg-mobile-filter {
        display: block; /* Show the dropdown */
        color:var(--wdt-elementor-color-text, #101826) !important;
        width: 97% !important;
        margin: 15px auto !important;
    }

    .dcg-tabs {
        display: none; /* Hide the tabs */
    }

    .dcg-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
    .dcg_login_btn{
        display: block !important;
    }

    .dcg-stat-badge {
        font-size: 48px;
        line-height: 60px;
        padding: 12px 20px;
        min-width: 96px;
    }

    .dcg-stat-title {
        font-size: 20px;
        line-height: 140%;
        letter-spacing: -0.4px;
    }

    .dcg-stat-text {
        font-size: 13px;
        line-height: 22px;
    }

    .dcg-product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    

    .dcg-tab-item {
        font-size: 18px;
        line-height: 26px;
        padding: 12px 4px;
    }

    /* Navigation */
    .dcg-top-nav {
        flex-wrap: wrap;
        gap: 12px;
    }

    .dcg-nav-divider {
        display: none;
    }

    .dcg-nav-item {
        width: calc(50% - 6px);
        padding: 10px 14px;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
    }

    .dcg-subtitle {
        display: none;
    }


    .dcg-nav-item.is-open .dcg-sub-menu {
        max-height: 500px;
        padding: 8px 0;
    }

    .dcg-sub-menu li a {
        padding: 10px 14px;
        font-size: 13px;
    }

    /* CTA */
    .dcg-nav-cta {
        width: 100%;
        padding: 14px;
        border-radius: 10px;
        border: 1px solid #e5e7eb;
    }

    .dcg-cta-form {
        flex-direction: column;
    }

    .dcg-cta-form input,
    .dcg-cta-form button {
        width: 100%;
    }
}


@media (max-width: 768px) {
    
    .woocommerce div.product form.cart .variations .reset_variations {
        margin-left: 0px !important;
    }

    .woocommerce div.product .wdt-product-tabs .woocommerce-tabs .panel {
        padding: 0px !important;
    }

    .dcg_legal_nav{
        flex-direction: column;
        gap: 0px;
        padding: 0px;
    }

    .dcg-search-toggle {
        display: inline-flex;
        border: none;
        font-size: 20px;
        cursor: pointer;
    }
    
    .dcg_usdot_wrapper .dcg_input_group{
        flex-direction: column;
        align-items: stretch;
    }

    .woocommerce .product-loop-sorting .woocommerce-ordering{
        display: block !important;
    }

    .archive.woocommerce .sidebar, 
    #secondary {
        position: -webkit-sticky;
        position: sticky;
        top: 20px; /* Distance from top of screen */
        height: fit-content;
    }

    
    .dcg_login_btn{
        display: block !important;
    }
    .dcg-search-form {
        width: 220px;
    }

    .dcg-top-nav-wrapper {
        right: 0;
    }
    
    .dcg-sub-menu {
        top: 36px;
    }

    .dcg-search-wrapper.active .dcg-search-form {
        display: block;
    }

    .dcg-tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .dcg-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 12px;
        display: grid;
    }

    .dcg-tab-item {
        font-size: 16px;
        line-height: 22px;
        padding: 15px 0px;
    }

    .dcg-tab-item.active::after {
        height: 2px;
    }

    /* Hide scrollbar */
    .dcg-tabs-container::-webkit-scrollbar {
        display: none;
    }
}


@media (max-width: 600px) {

    .dcg-nav-item {
        width: 100%;
    }
    
    .dcg_usdot_wrapper {
        flex-direction: column;
        align-items: stretch;
    }
  
    .dcg_usdot_wrapper .single_add_to_cart_button {
        width: 100%;
    }

    .dcg_login_btn{
        display: block !important;
    }

    .dcg-top-nav-wrapper {
        right: 0;
    }
    
    .dcg-sub-menu {
        top: 36px;
    }

    .dcg-search-form {
        width: 120px;
    }
    
    .dcg-product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        display: grid;
        padding: 0 12px;
    }

    .dcg-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dcg-stat-badge {
        font-size: 36px;
        line-height: 46px;
        padding: 10px 18px;
        min-width: 84px;
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .dcg-stat-title {
        font-size: 18px;
        line-height: 135%;
        margin-bottom: 6px;
    }

    .dcg-stat-text {
        font-size: 13px;
        line-height: 21px;
        max-width: 100%;
    }
}

@media (max-width: 400px) {
    #dcg-ayic-header * {
        font-size: 55px;
    }
}

/*===============================
   Responsive CSS ends
=============================== */