/* DigitalMall end-customer light theme — presentation only */

/* ---------- Light header shell ---------- */
.home_header.light_header,
.home_header.black_bg.light_header {
  background-color: var(--white_color) !important;
  border-bottom: 1px solid var(--border_color);
  box-shadow: 0 1px 0 rgba(26, 43, 60, 0.04);
}

.home_header.light_header .logo_text,
.home_header.light_header .logo_text a,
.home_header.light_header .logo_text a:hover {
  color: var(--primary_color) !important;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.home_header.light_header .menu > li > a,
.home_header.light_header .menu a.font_14 {
  color: var(--text_bla_color) !important;
}

.home_header.light_header .menu > li > a:hover {
  color: var(--primary_color) !important;
}

.home_header.light_header .sign_in_link {
  color: var(--white_color) !important;
  background: var(--primary_color);
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.home_header.light_header .sign_in_link:hover {
  background: var(--primary_hover);
  color: var(--white_color) !important;
}

.home_header.light_header .side_menu span {
  background-color: var(--text_bla_color);
}

.home_header.light_header .search_form form {
  background: var(--gray_color);
  border: 1px solid var(--border_color);
  border-radius: 999px;
  overflow: hidden;
}

.home_header.light_header .search_form input {
  background: transparent !important;
  color: var(--text_bla_color);
}

.home_header.light_header .all_cat_sel {
  background: transparent;
  color: var(--text_bla_color);
  border-right: 1px solid var(--border_color);
}

.home_header.light_header .shop_cart svg,
.home_header.light_header .wishlist_blk svg,
.home_header.light_header .notifi_dv svg {
  stroke: var(--text_bla_color);
}

.home_header.light_header .notifi_dv svg path,
.home_header.light_header .notifi_dv svg [fill="#fff"],
.home_header.light_header .notifi_dv svg [fill="#FFF"] {
  fill: var(--text_bla_color) !important;
}

.home_header.light_header .menu a.text_white,
.home_header.light_header .profile_name.text_white {
  color: var(--text_bla_color) !important;
}

.home_header.light_header .shop_cart .count,
.home_header.light_header .wishlist_blk .count {
  background: var(--primary_color);
  color: var(--white_color);
}

.home_header.light_header.header_menu_blk {
  background-color: var(--white_color) !important;
  border-bottom: 1px solid var(--border_color);
}

.home_header.light_header .sub_menu {
  background: var(--white_color);
  border: 1px solid var(--border_color);
  border-radius: var(--radius_sm);
  box-shadow: var(--card_shadow);
}

/* ---------- Buttons ---------- */
.exp_all_crse_btn,
button.exp_all_crse_btn,
a .exp_all_crse_btn {
  background-color: var(--primary_color) !important;
  color: var(--white_color) !important;
  border-radius: var(--radius_sm) !important;
  font-weight: 600 !important;
  padding: 12px 28px !important;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.exp_all_crse_btn:hover,
button.exp_all_crse_btn:hover {
  background-color: var(--primary_hover) !important;
  color: var(--white_color) !important;
}

body .red_text,
.text_red {
  color: var(--primary_color) !important;
}

.red_bg {
  background-color: var(--primary_color) !important;
}

/* ---------- Homepage hero ---------- */
.banner_sec {
  height: auto;
  min-height: 420px;
  background: linear-gradient(135deg, #e8f6f1 0%, #f8faf9 45%, #eef6f3 100%);
}

.banner_sec .carousel-item {
  min-height: 420px;
  padding: 48px 0;
}

.banner_sec .ebook_bg,
.banner_sec .audio_bg,
.banner_sec .video_bg,
.banner_sec .magazine_bg,
.banner_sec .hero_banner_bg {
  background: transparent !important;
}

.left_ban_blk h1 {
  font-size: 40px;
  line-height: 1.2;
  margin-bottom: 16px !important;
  letter-spacing: -0.02em;
}

.left_ban_blk h3 {
  font-size: 16px;
  font-weight: 400;
  color: var(--default_color);
  margin-bottom: 28px;
}

.left_ban_blk h6.red_text {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin-bottom: 12px;
}

.rgt_ban_blk img {
  border-radius: var(--radius_lg);
  max-height: 340px;
  object-fit: cover;
}

.banner_sec .carousel-control-prev,
.banner_sec .carousel-control-next {
  opacity: 0.85;
  width: 48px;
}

/* ---------- Category / product cards ---------- */
.get_cer_category_blk,
.get_cer_crse_blk {
  padding: 48px 0;
}

.get_cer_category_blk h3,
.get_cer_crse_blk h3 {
  margin-bottom: 28px;
}

.category_col .categ_item,
.crse_det {
  background: var(--white_color);
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  box-shadow: var(--card_shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  height: 100%;
}

.category_col .categ_item:hover,
.crse_det:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26, 43, 60, 0.1);
}

.category_img {
  background: var(--gray_color);
  border-radius: var(--radius_md) var(--radius_md) 0 0;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.category_img img {
  max-height: 88px;
  object-fit: contain;
}

.categ_item h6 {
  padding: 12px 8px 16px;
  margin: 0;
}

.crse_img {
  background: var(--gray_color);
  padding: 16px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crse_img img {
  max-height: 160px;
  object-fit: contain;
  border: none !important;
  background: transparent;
}

.crse_content {
  padding: 16px;
}

.crse_content h5 a {
  color: var(--text_bla_color);
  text-decoration: none;
}

.crse_content h5 a:hover {
  color: var(--primary_color);
}

.auth_amut del {
  color: var(--default_color);
  font-size: 13px;
}

.product_bor_top {
  border-top: none !important;
}

/* Quick category circular row helpers */
.dm_quick_cats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin: 8px 0 8px;
}

.dm_quick_cat {
  width: 100px;
  text-align: center;
  text-decoration: none;
  color: var(--text_bla_color);
}

.dm_quick_cat .dm_quick_cat_img {
  width: 72px;
  height: 72px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--primary_soft);
  border: 1px solid var(--border_color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.dm_quick_cat .dm_quick_cat_img img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.dm_quick_cat span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text_bla_color);
}

/* ---------- Listing / filters ---------- */
.browse_header,
.product_list_blk,
.page_inner_container,
.catalogue_page,
.basket_page,
.checkout_page,
.home_list_blk,
.search_results_product {
  background: var(--page_bg);
}

.dm_listing_header.pro_list_ban {
  background: linear-gradient(135deg, #e8f6f1 0%, #ffffff 100%) !important;
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  padding: 20px 24px !important;
  margin-bottom: 24px;
  min-height: auto !important;
}

.dm_listing_header .ban_img,
.dm_listing_header .all_cat_div {
  display: none !important;
}

.dm_listing_header .content h3 {
  margin-bottom: 6px;
}

.filter_blk,
.custom_filter_blk_ovrflw,
.sidebar_filters,
.facet_block,
.side_categories {
  background: var(--white_color) !important;
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  padding: 20px;
  box-shadow: var(--card_shadow);
}

.addto_cart_div .add_cart {
  background: var(--primary_color) !important;
  border-radius: var(--radius_sm);
  border: none;
  padding: 8px 12px;
}

.addto_cart_div .add_cart svg {
  stroke: #fff !important;
}

.addto_cart_div.disabled .add_cart {
  background: #c5ccc9 !important;
}

.product_card,
.product_pod,
.product-card {
  background: var(--white_color);
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  box-shadow: var(--card_shadow);
  overflow: hidden;
}

.add_to_cart_btn,
.btn-add-to-basket,
.btn_add_cart,
button[name="add_to_basket"],
.buy_form button[type="submit"] {
  background-color: var(--primary_color) !important;
  border-color: var(--primary_color) !important;
  color: #fff !important;
  border-radius: var(--radius_sm) !important;
  font-weight: 600;
}

.add_to_cart_btn:hover,
.btn-add-to-basket:hover,
.buy_form button[type="submit"]:hover {
  background-color: var(--primary_hover) !important;
}

/* ---------- PDP ---------- */
.product_detail_blk,
.product_detail_page,
#product_detail {
  background: var(--page_bg);
}

.product_gallery,
.product_images_blk {
  background: var(--white_color);
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  padding: 20px;
}

.product_info_blk,
.product_summary {
  background: var(--white_color);
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  padding: 24px;
}

.pack_size_btn.active,
.pack-size.selected {
  border-color: var(--primary_color) !important;
  background: var(--primary_soft) !important;
  color: var(--primary_color) !important;
}

/* ---------- Wishlist / cart / checkout ---------- */
.wishlist_list_item,
.basket-items,
.basket_summary,
.checkout_step_blk,
.shipping_address_card,
.order_card {
  background: var(--white_color);
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  box-shadow: var(--card_shadow);
}

.basket_summary {
  padding: 24px;
}

.checkout_progress,
.checkout-progress {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.checkout_progress .step,
.checkout-step {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--gray_color);
  color: var(--default_color);
  font-size: 13px;
  font-weight: 600;
}

.checkout_progress .step.active,
.checkout-step.active {
  background: var(--primary_soft);
  color: var(--primary_color);
}

.checkout_progress .step.done,
.checkout-step.done {
  background: var(--primary_color);
  color: #fff;
}

.status_badge,
.order-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary_soft);
  color: var(--primary_color);
}

.status_badge.delivered {
  background: #e8f8ef;
  color: #0d7a3e;
}

.status_badge.out_for_delivery {
  background: #fff7e6;
  color: #b36b00;
}

/* ---------- Account sidebar ---------- */
.profile_side_menu,
.customer_profile_nav {
  background: var(--white_color);
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  padding: 12px;
  box-shadow: var(--card_shadow);
}

.account_sidebar a,
.profile_side_menu a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius_sm);
  color: var(--text_bla_color);
  text-decoration: none;
  font-weight: 500;
}

.account_sidebar a:hover,
.profile_side_menu a:hover,
.account_sidebar a.active,
.profile_side_menu a.active {
  background: var(--primary_soft);
  color: var(--primary_color);
}

/* ---------- Footer lighten slightly ---------- */
/* footer.footer_bg {
  background: linear-gradient(180deg, #1a2b3c 0%, #152433 100%) !important;
  margin-top: 48px;
} */
footer.footer_bg {
  background: linear-gradient(180deg, #0b332b 0%, #06221c 100%) !important;
  margin-top: 24px;
}
/* Subtle matching divider above the copyright line */
footer.footer_bg .footer_bottom_site {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
}
footer.footer_bg a:hover {
  color: var(--primary_soft) !important;
}

/* ---------- Forms ---------- */
.form-control:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary_color) !important;
  box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.15) !important;
}

/* ---------- Checkout stepper (light) ---------- */
.dm_checkout_nav.nav-checkout {
  background: transparent !important;
  margin: 16px 0 28px;
  padding: 0;
  box-shadow: none;
}

.dm_checkout_steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.dm_checkout_steps .checkout-step {
  background: var(--gray_color);
  border-radius: 999px;
  padding: 8px 16px;
}

.dm_checkout_steps .checkout-step .nav-link,
.dm_checkout_steps .checkout-step .navbar-text {
  color: var(--default_color) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 0;
}

.dm_checkout_steps .checkout-step.active {
  background: var(--primary_soft);
}

.dm_checkout_steps .checkout-step.active .nav-link,
.dm_checkout_steps .checkout-step.active .navbar-text {
  color: var(--primary_color) !important;
}

.dm_checkout_steps .checkout-step.done {
  background: var(--primary_color);
}

.dm_checkout_steps .checkout-step.done .nav-link,
.dm_checkout_steps .checkout-step.done .navbar-text {
  color: #fff !important;
}

.checkout_tab .number_blk,
.checkout_tab .active .number_blk {
  background: var(--primary_color) !important;
  border-color: var(--primary_color) !important;
}

.checkout_left_blk,
.view_part_left,
.view_cart {
  border-radius: var(--radius_md);
}

.view_cart {
  border: 1px solid var(--border_color);
  padding: 16px;
  margin-bottom: 12px;
  background: var(--white_color);
}

/* Hide legacy digital-media category icons across storefront */
.wish_list_icon .ebook_image,
.wish_list_icon .video_image,
.wish_list_icon .audio_image,
.wish_list_icon .mag_image,
.wish_list_icon .phy_image,
.order_list_icon .ebook_image,
.order_list_icon .video_image,
.order_list_icon .audio_image,
.order_list_icon .mag_image,
.order_list_icon .phy_image,
.pro_list_ban .ebook_image,
.pro_list_ban .video_image,
.pro_list_ban .audio_image,
.pro_list_ban .mag_image,
.pro_list_ban .phy_image,
.pro_image_blk .ebook_image,
.pro_image_blk .video_image,
.pro_image_blk .audio_image,
.pro_image_blk .mag_image,
.pro_image_blk .phy_image {
  display: none !important;
}

.account_sidebar_wrap .account_sidebar {
  margin: 0;
}

.account_sidebar .dash_nav {
  border: none;
  gap: 6px;
  flex-wrap: wrap;
}

.account_sidebar .dash_nav .nav-link {
  border: none !important;
  border-radius: var(--radius_sm) !important;
  color: var(--text_bla_color) !important;
  font-weight: 500;
  padding: 10px 16px !important;
}

.account_sidebar .dash_nav .nav-link.active,
.account_sidebar .dash_nav .nav-link:hover {
  background: var(--primary_soft) !important;
  color: var(--primary_color) !important;
}

.order_pla_detail.order_card,
.wishlist_page .view_order .order_pla_detail {
  border: 1px solid var(--border_color);
  border-radius: var(--radius_md);
  padding: 16px;
  margin-bottom: 12px;
  background: var(--white_color);
  box-shadow: var(--card_shadow);
}

.move_to_cart.category_btn,
.product_rev_btn {
  background: var(--primary_color) !important;
  color: #fff !important;
  border-radius: var(--radius_sm) !important;
  border: none !important;
  padding: 10px 18px !important;
}

.breadcrumb_blk .breadcrumb {
  background: transparent;
  padding: 16px 0 8px;
}

.breadcrumb_blk .breadcrumb a {
  color: var(--primary_color);
}

.home_header.light_header .product_wish_icon {
  filter: invert(0.55) sepia(0.2) saturate(0.5);
}

.product_det_blk .pro_image_blk {
  border-radius: var(--radius_md);
  border: 1px solid var(--border_color);
}

.product_det_rgt,
.product_summary_blk {
  background: var(--white_color);
  border-radius: var(--radius_md);
  border: 1px solid var(--border_color);
  padding: 24px;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 767px) {
  .banner_sec,
  .banner_sec .carousel-item {
    min-height: 0;
  }

  .left_ban_blk h1 {
    font-size: 28px;
  }

  .dm_quick_cats {
    justify-content: space-between;
  }

  .home_header.light_header .search_form {
    margin-left: 0 !important;
  }
}

/* =========================================================
   Homepage redesign (dm-home) — isolated from legacy layout.css
   ========================================================= */

.dm-home {
  background: var(--page_bg);
  overflow-x: hidden;
}

.dm-home img.dm-thumb {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}

.dm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary_color) !important;
  color: #fff !important;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 28px;
  text-decoration: none !important;
  transition: background 0.2s ease;
}

.dm-btn:hover {
  background: var(--primary_hover) !important;
  color: #fff !important;
}

.dm-btn--block {
  width: 100%;
  margin-top: 12px;
}

.dm-link {
  color: var(--primary_color);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.dm-link:hover {
  text-decoration: underline;
  color: var(--primary_hover);
}

.dm-empty {
  color: var(--default_color);
  font-size: 14px;
  margin: 8px 0 0;
}

/* ----- Hero ----- */
.dm-hero {
  background: linear-gradient(120deg, #e7f6f1 0%, #f7faf8 48%, #eef5f2 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border_color);
}

.dm-hero__row {
  min-height: 380px;
  padding: 40px 0;
}

.dm-hero__eyebrow {
  color: var(--primary_color) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px !important;
}

.dm-hero__title {
  font-size: 40px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  color: var(--text_bla_color) !important;
  margin: 0 0 14px !important;
  letter-spacing: -0.02em;
}

.dm-hero__subtitle {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--default_color) !important;
  margin: 0 0 28px !important;
  max-width: 480px;
  font-weight: 400 !important;
}

.dm-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.dm-hero__media .dm-thumb,
.dm-hero__img {
  width: 100% !important;
  max-width: 480px !important;
  max-height: 320px !important;
  border-radius: 16px;
  object-fit: cover !important;
  background: #e8f0ed !important;
}

.dm-hero__arrow {
  display: inline-block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border_color);
  box-shadow: var(--card_shadow);
  position: relative;
}

.dm-hero__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--text_bla_color);
  border-right: 2px solid var(--text_bla_color);
}

.dm-hero__arrow--prev::before {
  transform: translate(-40%, -50%) rotate(-135deg);
}

.dm-hero__arrow--next::before {
  transform: translate(-60%, -50%) rotate(45deg);
}

/* ----- Sections ----- */
.dm-section {
  padding: 48px 0;
  background: #fff;
}

.dm-section--muted {
  background: var(--gray_color);
}

.dm-section__title {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--text_bla_color) !important;
  margin: 0 0 24px !important;
  line-height: 1.3 !important;
}

.dm-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

/* ----- Quick circular categories ----- */
.dm-quick-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 36px;
  align-items: flex-start;
}

.dm-quick-item {
  width: 110px;
  text-align: center;
  text-decoration: none !important;
  color: var(--text_bla_color);
}

.dm-quick-item:hover .dm-quick-item__icon {
  border-color: var(--primary_color);
  box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.12);
}

.dm-quick-item__icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--primary_soft);
  border: 1px solid var(--border_color);
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden !important;
  padding: 14px;
  box-sizing: border-box;
}

.dm-quick-item__icon .dm-thumb {
  width: 52px !important;
  height: 52px !important;
  max-width: 52px !important;
  max-height: 52px !important;
  object-fit: contain !important;
}

.dm-quick-item__label {
  display: block;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  color: var(--text_bla_color) !important;
  word-break: break-word;
}

/* ----- Popular category cards ----- */
.dm-cat-grid > [class*="col-"] {
  margin-bottom: 20px;
}

.dm-cat-card {
  display: block;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  box-shadow: var(--card_shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dm-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 43, 60, 0.1);
}

.dm-cat-card__media {
  height: 120px;
  background: #f0f5f3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.dm-cat-card__media .dm-thumb {
  width: 100% !important;
  height: 100% !important;
  max-height: 88px !important;
  object-fit: contain !important;
}

.dm-cat-card__title {
  margin: 0 !important;
  padding: 12px 10px 16px;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-align: center;
  color: var(--text_bla_color) !important;
}

/* ----- Product cards ----- */
.dm-product-grid > [class*="col-"] {
  margin-bottom: 24px;
}

.dm-product-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card_shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dm-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(26, 43, 60, 0.1);
}

.dm-product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  background: #f4f7f6;
  padding: 16px;
  overflow: hidden;
  text-decoration: none;
}

.dm-product-card__media .dm-thumb {
  width: 100% !important;
  height: 100% !important;
  max-height: 148px !important;
  object-fit: contain !important;
}

.dm-product-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.dm-product-card__title {
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  margin: 0 0 6px !important;
}

.dm-product-card__title a {
  color: var(--text_bla_color) !important;
  text-decoration: none !important;
}

.dm-product-card__title a:hover {
  color: var(--primary_color) !important;
}

.dm-product-card__meta {
  font-size: 12px !important;
  color: var(--default_color) !important;
  margin: 0 0 10px !important;
}

.dm-product-card__price {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.dm-price-now {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: var(--text_bla_color) !important;
}

.dm-price-was {
  font-size: 13px !important;
  color: var(--default_color) !important;
  text-decoration: line-through;
}

/* ----- Footer ----- */
.dm-footer {
  padding: 48px 0 24px;
  margin-top: 0;
}

.dm-footer__heading {
  color: #fff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  margin-bottom: 14px !important;
}

.dm-footer__links {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.dm-footer__links a,
.dm-footer__text {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 13px !important;
  line-height: 1.6;
  text-decoration: none;
}

.dm-footer__links a:hover {
  color: #fff !important;
}

.dm-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

@media (max-width: 991px) {
  .dm-hero__title {
    font-size: 30px !important;
  }
  .dm-hero__row {
    min-height: 0;
    padding: 28px 0;
  }
}

@media (max-width: 575px) {
  .dm-quick-grid {
    gap: 16px 12px;
    justify-content: space-between;
  }
  .dm-quick-item {
    width: calc(33.33% - 10px);
  }
  .dm-quick-item__icon {
    width: 72px;
    height: 72px;
  }
  .dm-section {
    padding: 32px 0;
  }
}

/* ---------- Light header defaults (no black_bg required) ---------- */
.home_header.light_header {
  background-color: #ffffff !important;
  border-bottom: 1px solid #e5ebe8;
}
.home_header.light_header .logo_text a {
  color: #008060 !important;
}
.home_header.light_header .menu > li > a,
.home_header.light_header .menu a {
  color: #1c2434 !important;
}
.home_header.light_header .header_menu_blk,
.home_header.light_header.header_menu_blk {
  background: #ffffff !important;
}

/* ---------- Auth pages (login / signup) ---------- */
.dm-auth {
  background: linear-gradient(160deg, #e8f6f1 0%, #f8faf9 40%, #ffffff 100%);
  min-height: 60vh;
  padding: 48px 0 64px;
}
.dm-auth__card {
  background: #fff !important;
  border: 1px solid #e5ebe8;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(26, 43, 60, 0.08);
  padding: 36px 28px !important;
}
.dm-auth h1,
.dm-auth h3 {
  color: #1c2434 !important;
  font-weight: 700 !important;
}
.dm-auth .exp_all_crse_btn,
.dm-auth button.sign_in,
.dm-auth .create_acnt {
  background: #008060 !important;
  border-color: #008060 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
.dm-auth .outline_border.exp_all_crse_btn,
.dm-auth .create_account_login_btn {
  background: #fff !important;
  color: #008060 !important;
  border: 2px solid #008060 !important;
}
.dm-auth .forget {
  color: #008060 !important;
}
.dm-auth .form-control:focus,
.dm-auth input:focus {
  border-color: #008060 !important;
  box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.15) !important;
}

/* Ensure legacy black_bg never wins on customer light headers */
body .home_header.light_header.black_bg,
body .home_header.black_bg.light_header {
  background-color: #ffffff !important;
}

/* =========================================================
   Marketplace polish — cards, ATC, hover, alignment
   ========================================================= */

/* Global hover: keep emerald, don't turn random links red */
body a:hover { color: var(--primary_color) !important; }
.home_header.light_header .logo_text a,
.home_header.light_header .logo_text a:hover {
  color: var(--primary_color) !important;
}
.dm-prod-card__title a:hover,
.dm-cat-card:hover .dm-cat-card__title,
.dm-quick-item:hover .dm-quick-item__label {
  color: var(--primary_color) !important;
}

/* Product listing grid alignment */
.list_blk .row,
.after_Search_catelog .row,
.get_product_blk .row,
.cer_crse_det .row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -10px;
  margin-right: -10px;
}
.dm-prod-col {
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}
/* Only product card columns are flex wrappers — not filter/content cols */
.cer_crse_det .row > .dm-prod-col {
  display: block;
}
.dm-prod-col .dm-prod-card,
.list_blk .crse_det,
.cer_crse_det .crse_det {
  width: 100%;
}

/* Product card (Flipkart/Amazon style) */
.dm-prod-card,
.product_card.crse_det {
  display: flex !important;
  flex-direction: column;
  background: #fff !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  height: 100%;
}
.dm-prod-card:hover,
.product_card.crse_det:hover {
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.12);
  transform: translateY(-2px);
}
.dm-prod-card__media,
.dm-prod-card .crse_img {
  position: relative;
  height: 200px !important;
  min-height: 200px;
  max-height: 200px;
  background: #f7faf9 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden !important;
}
.dm-prod-card__img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.dm-prod-card__media img,
.dm-prod-card .crse_img img,
.dm-prod-card .dm-thumb {
  max-width: 100% !important;
  max-height: 168px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto;
  border: none !important;
  background: transparent !important;
}
.dm-prod-card__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  z-index: 2;
}
.dm-wish-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #e5ebe8;
  background: #fff;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.dm-wish-btn:hover {
  color: #008060 !important;
  border-color: #008060;
  background: #e6f5f0;
}
.dm-prod-card__body,
.dm-prod-card .crse_content {
  padding: 14px 14px 16px !important;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dm-prod-card__title,
.dm-prod-card .crse_content h5 {
  height: auto !important;
  min-height: 40px;
  margin: 0 0 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dm-prod-card__title a {
  color: #1c2434 !important;
  text-decoration: none !important;
}
.dm-prod-card__brand,
.dm-prod-card .digital {
  color: #6b7280 !important;
  font-size: 12px !important;
  margin-bottom: 8px !important;
  display: block;
}
.dm-prod-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.dm-rating-pill {
  background: #008060;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  line-height: 1.4;
}
.dm-rating-count {
  color: #6b7280 !important;
  font-size: 12px !important;
}
.dm-prod-card__footer {
  margin-top: auto;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.dm-price {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.dm-price .amount,
.dm-price-now {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
  margin: 0 !important;
}
.dm-price-was,
.dm-price del,
.auth_amut del {
  font-size: 13px !important;
  color: #9ca3af !important;
  text-decoration: line-through;
}
.dm-price-off {
  font-size: 12px !important;
  font-weight: 600;
  color: #008060 !important;
}

/* Add to Cart button — full width marketplace style */
.dm-atc,
.addto_cart_div.dm-atc {
  width: 100%;
  margin: 0 !important;
}
.dm-atc form { margin: 0; width: 100%; }
.dm-atc form p { display: none !important; } /* hide qty fields from basket_form.as_p */
.dm-atc-btn,
.add_cart.dm-atc-btn {
  width: 100% !important;
  background: #008060 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 10px 12px !important;
  cursor: pointer;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  stroke: none !important;
}
.dm-atc-btn:hover,
.add_cart.dm-atc-btn:hover {
  background: #006b51 !important;
  color: #fff !important;
}
.dm-atc.disabled .dm-atc-btn,
.addto_cart_div.disabled .dm-atc-btn {
  background: #c5ccc9 !important;
  cursor: not-allowed;
}

/* Hide legacy icon-only cart glyph styles when text ATC is used */
.dm-atc .add_cart svg { display: none !important; }

/* Listing header / filters alignment */
.dm_listing_header {
  align-items: center !important;
  gap: 16px;
}
.filter_blk h5 { margin-bottom: 16px !important; }
.list_right_cont .cer_crse_det { margin-top: 8px; }

/* Wishlist row cleanup */
.wish_image img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  border-radius: 8px;
  background: #f4f7f6;
}
.wish_list_icon,
.order_list_icon,
.detail_image.vide_aud_det_img { display: none !important; }
.move_to_cart.category_btn,
.product_rev_btn {
  background: #008060 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  font-weight: 600 !important;
}
.move_to_cart.category_btn:hover {
  background: #006b51 !important;
  color: #fff !important;
}

/* Cart / checkout alignment */
.view_cart {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px !important;
}
.view_cart .image img {
  width: 80px !important;
  height: 80px !important;
  object-fit: contain !important;
  border-radius: 8px;
  background: #f4f7f6;
}
.basket_summary .exp_all_crse_btn,
.checkout_div .exp_all_crse_btn {
  width: 100%;
  text-align: center;
}

/* PDP purchase buttons */
.product_rgt_detail_blk .exp_all_crse_btn,
.product_rgt_detail_blk .buy_now,
.product_rgt_detail_blk .add_cart_btn {
  background: #008060 !important;
  border-color: #008060 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
}
.product_rgt_detail_blk .exp_all_crse_btn:hover,
.product_rgt_detail_blk .buy_now:hover {
  background: #006b51 !important;
  color: #fff !important;
}
.product_det_blk .pro_image_blk img {
  max-height: 420px;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* Nav hover on light header */
.home_header.light_header .menu > li > a:hover {
  color: #008060 !important;
  background: transparent !important;
}
.home_header.light_header .sign_in_link:hover {
  background: #006b51 !important;
  color: #fff !important;
}

/* Search / browse empty states */
.list_blk h5.font_16 {
  padding: 24px 8px;
  color: #6b7280;
}

@media (max-width: 767px) {
  .dm-prod-card__media,
  .dm-prod-card .crse_img {
    height: 160px !important;
    min-height: 160px;
    max-height: 160px;
  }
  .dm-prod-card__media img { max-height: 128px !important; }
  .dm-atc-btn { font-size: 12px !important; padding: 9px 10px !important; }
}

/* =========================================================
   Product card fix — always show title/price/ATC (v6)
   ========================================================= */
.dm-product-grid {
  display: flex !important;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}
.dm-prod-col {
  padding: 0 12px 24px !important;
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
}
@media (min-width: 1200px) {
  .dm-prod-col.col-xl-3,
  .dm-prod-col { flex: 0 0 25% !important; max-width: 25% !important; width: 25% !important; }
}
@media (min-width: 768px) and (max-width: 1199px) {
  .dm-prod-col.col-md-4,
  .dm-prod-col { flex: 0 0 33.333% !important; max-width: 33.333% !important; width: 33.333% !important; }
}
@media (max-width: 767px) {
  .dm-prod-col.col-6,
  .dm-prod-col { flex: 0 0 50% !important; max-width: 50% !important; width: 50% !important; }
}

.dm-prod-card {
  display: flex !important;
  flex-direction: column !important;
  background: #fff !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  overflow: visible !important;
  height: auto !important;
  min-height: 0 !important;
  box-shadow: 0 1px 3px rgba(16,24,40,.06);
  transition: box-shadow .2s ease, transform .2s ease;
}
.dm-prod-card:hover {
  box-shadow: 0 10px 28px rgba(16,24,40,.12);
  transform: translateY(-2px);
}
.dm-prod-card__media {
  position: relative;
  height: 190px !important;
  min-height: 190px !important;
  max-height: 190px !important;
  background: #f4f7f6 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden !important;
  border-radius: 12px 12px 0 0;
  flex: 0 0 auto !important;
}
.dm-prod-card__img-link {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
}
.dm-prod-card__media img {
  max-width: 100% !important;
  max-height: 160px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  border: 0 !important;
  background: transparent !important;
}
.dm-prod-card__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
  z-index: 3;
}
.dm-wish-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #e5ebe8;
  background: #fff;
  color: #6b7280;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0,0,0,.08);
}
.dm-wish-btn:hover { color: #008060; border-color: #008060; background: #e6f5f0; }

.dm-prod-card__body {
  display: flex !important;
  flex-direction: column !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 12px 12px 14px !important;
  background: #fff !important;
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
}
.dm-prod-card__brand {
  color: #008060 !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.dm-prod-card__title {
  margin: 0 0 6px !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  color: #1c2434 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dm-prod-card__title a {
  color: #1c2434 !important;
  text-decoration: none !important;
}
.dm-prod-card__title a:hover { color: #008060 !important; }
.dm-prod-card__meta {
  color: #6b7280 !important;
  font-size: 12px !important;
  margin-bottom: 6px !important;
}
.dm-prod-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.dm-rating-pill {
  background: #008060 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 2px 8px;
  border-radius: 4px;
}
.dm-rating-count { color: #6b7280 !important; font-size: 12px !important; }
.dm-price {
  display: flex !important;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: 8px;
  margin-bottom: 0 !important;
  width: auto !important;
}
.dm-price-now {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
.dm-price-was {
  font-size: 13px !important;
  color: #9ca3af !important;
  text-decoration: line-through;
}
.dm-prod-card__actions { margin-top: 4px; }
.dm-atc-form { margin: 0; }
.dm-atc-form p { display: none !important; }
.dm-atc-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  min-height: 40px;
  padding: 10px 12px !important;
  background: #008060 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  text-decoration: none !important;
  cursor: pointer;
  letter-spacing: .03em;
}
.dm-atc-btn:hover { background: #006b51 !important; color: #fff !important; }
.dm-atc-btn:disabled,
.dm-atc-btn[disabled] { background: #c5ccc9 !important; cursor: not-allowed; }

/* Neutralize legacy digital-media listing wrappers */
.dm-browse-page .audio_div,
.dm-product-list {
  display: block !important;
}
/* superseded by v8 grid rules — do not force width:auto */
.dm-browse-page .get_product_blk .crse_img {
  height: auto !important;
}

/* PDP highlights */
.dm-pdp-highlights {
  list-style: none;
  padding: 12px 0 0;
  margin: 12px 0 18px;
  border-top: 1px solid #e5ebe8;
}
.dm-pdp-highlights li {
  font-size: 13px;
  color: #1c2434;
  padding: 4px 0;
  line-height: 1.45;
}
.dm-pdp-highlights strong {
  color: #6b7280;
  font-weight: 600;
  margin-right: 6px;
}
.filter_blk .panel-title { margin-bottom: 8px; }

/* =========================================================
   v7 — listing polish, filters, header, auth compact
   ========================================================= */

/* Product card footer: price + icon ATC */
.dm-prod-card__footer {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
}
.dm-prod-card__footer .dm-price {
  margin-bottom: 0 !important;
  flex: 1;
  min-width: 0;
}
.dm-prod-card__actions {
  margin-top: 0 !important;
  flex-shrink: 0;
}
.dm-atc-form { margin: 0; display: inline-flex; }
.dm-atc-icon {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px;
  min-height: 40px;
  padding: 0 !important;
  border: none !important;
  border-radius: 50% !important;
  background: #008060 !important;
  color: #fff !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0, 128, 96, 0.25);
  transition: background .15s, transform .15s;
}
.dm-atc-icon:hover {
  background: #006b51 !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.dm-atc-icon:disabled,
.dm-atc-icon[disabled] {
  background: #c5ccc9 !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}
.dm-atc-icon i { font-size: 15px; line-height: 1; }
.dm-prod-card .dm-atc-btn { display: none !important; } /* listing uses icon ATC */

/* Hide delivery meta if any leftover */
.dm-prod-card__meta:empty { display: none; }

/* Browse toolbar (replaces big category banner) */
.dm-browse-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid #e5ebe8;
}
.dm-browse-toolbar__form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  margin: 0;
}
.dm-browse-count {
  font-size: 14px;
  font-weight: 600;
  color: #1c2434;
}
.dm-browse-sort { margin-left: auto; }
.dm-browse-sort .form-group,
.dm-browse-sort label { margin: 0; font-size: 13px; }
.pro_list_ban.dm_listing_header { display: none !important; }

/* Filters sidebar */
.dm-filter {
  background: #fff;
  border: 1px solid #e5ebe8;
  border-radius: 12px;
  padding: 16px 14px !important;
  box-shadow: 0 1px 4px rgba(26, 43, 60, 0.04);
}
.dm-filter__title {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #e5ebe8;
}
.dm-filter__heading,
.dm-filter__heading a {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
  text-transform: uppercase;
  letter-spacing: .04em;
  margin: 0 0 10px !important;
  text-decoration: none !important;
}
.dm-filter__section { margin-bottom: 4px; }
.dm-filter__section-head { margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef2f0; }
.dm-filter__list { list-style: none; margin: 0; padding: 0 !important; }
.dm-filter__item { margin: 0 0 8px !important; }
.dm-filter__link {
  display: flex !important;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #1c2434 !important;
  font-size: 14px !important;
  line-height: 1.35;
  padding: 4px 0;
}
.dm-filter__link.active .dm-filter__label,
.dm-filter__item.is-active .dm-filter__label {
  color: #008060 !important;
  font-weight: 600;
}
.dm-filter__label {
  font-size: 14px !important;
  color: #374151 !important;
  font-weight: 500;
  padding-left: 0 !important;
}
.dm-filter__body { padding: 0 !important; }
.dm-filter .filter_rev_blk .star {
  display: flex !important;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 4px 0;
}
.dm-filter .filter_rev_blk .star p {
  margin: 0 !important;
  font-size: 13px !important;
  color: #4b5563 !important;
  white-space: nowrap;
}
.dm-filter .rating-group { display: inline-flex; }
.dm-filter__price { margin-top: 8px; }
.dm-filter .price_text {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 10px;
}
.dm-filter .price_text input {
  border: none;
  background: transparent;
  width: auto;
  max-width: 120px;
  font-weight: 600;
  color: #1c2434 !important;
}

/* Main menu active category */
.home_header.light_header .menu > li.is-active > a,
.home_header.light_header .menu > li > a.is-active {
  color: #008060 !important;
  font-weight: 700 !important;
  position: relative;
}
.home_header.light_header .menu > li.is-active > a::after,
.home_header.light_header .menu > li > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  background: #008060;
  border-radius: 2px 2px 0 0;
}

/* Sign In alignment — stop wrapping "Sign / In" */
.home_header .right_header {
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px;
}
.home_header .after_rgt_head_wid {
  width: auto !important;
  min-width: 260px;
  max-width: none;
}
.home_header .left_header.after_left_head_wid {
  width: auto !important;
  flex: 1 1 auto;
  padding-right: 16px !important;
}
.home_header.light_header .sign_in_link.dm-sign-in,
.home_header.light_header a.dm-sign-in {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  white-space: nowrap !important;
  gap: 8px;
  padding: 8px 14px !important;
  margin-left: 12px !important;
  height: 40px;
  line-height: 1 !important;
  flex-shrink: 0;
  box-sizing: border-box;
}
.home_header.light_header .dm-sign-in span {
  display: inline !important;
  white-space: nowrap !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 1 !important;
}
.home_header.light_header .dm-sign-in img,
.home_header.light_header .dm-sign-in .sigin_image {
  width: 18px;
  height: 18px;
  margin: 0 !important;
  flex-shrink: 0;
  display: block;
}

/* Store category select */
.dm-store-select {
  position: absolute;
  right: 44px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}
.home_header.light_header .dm-store-select .all_cat_sel,
.home_header .dm-store-select .all_cat_sel {
  position: static !important;
  right: auto !important;
  top: auto !important;
  height: 32px !important;
  width: auto !important;
  min-width: 120px;
  max-width: 160px;
  padding: 0 28px 0 12px !important;
  margin: 0 8px 0 0;
  border: 1px solid #d7e0dc !important;
  border-radius: 999px !important;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%236b7280' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 10px center !important;
  background-size: 10px 6px !important;
  color: #1c2434 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  border-right: 1px solid #d7e0dc !important;
}
.home_header.light_header .dm-store-select .all_cat_sel:hover,
.home_header.light_header .dm-store-select .all_cat_sel:focus {
  border-color: #008060 !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 128, 96, 0.12);
}

/* Auth compact */
.dm-auth.dm-auth--compact {
  min-height: auto;
  padding: 28px 0 40px !important;
  background: #f5f7f6 !important;
}
.dm-auth--compact .dm-auth__card {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 20px !important;
  border-radius: 12px !important;
}
.dm-auth--compact .dm-auth__card--reg {
  max-width: 860px;
  padding: 24px 28px !important;
}
.dm-auth--compact h1,
.dm-auth--compact h3 {
  font-size: 22px !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}
.dm-auth__lead {
  font-size: 13px !important;
  color: #6b7280 !important;
  margin-bottom: 16px !important;
  line-height: 1.4 !important;
}
.dm-auth--compact .form-group {
  margin-bottom: 12px !important;
}
.dm-auth--compact .form-control,
.dm-auth--compact input[type="text"],
.dm-auth--compact input[type="password"],
.dm-auth--compact input[type="email"],
.dm-auth--compact select.form-control {
  height: 42px !important;
  padding: 8px 12px !important;
  font-size: 14px !important;
  border-radius: 8px !important;
  background: #fff !important;
}
.dm-auth--compact .exp_all_crse_btn,
.dm-auth--compact button.sign_in,
.dm-auth--compact .create_acnt {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  line-height: 1 !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  vertical-align: middle;
}
.dm-auth--compact .forget {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px !important;
  font-weight: 600;
}
.dm-auth__pane {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
}
.dm-auth__pane--side {
  display: flex;
  flex-direction: column;
  justify-content: flex-start !important;
}
.dm-auth--compact .border_right {
  border-right: 1px solid #e5ebe8 !important;
}
.dm-auth--compact .org_detail h4 {
  font-size: 15px !important;
  margin-bottom: 12px !important;
}
.dm-auth--compact .reg_container {
  width: 100% !important;
  max-width: 860px;
  margin: 0 auto;
}
.dm-auth--compact .loginVisitor_form_container {
  max-width: 720px;
}
@media (max-width: 767px) {
  .dm-auth--compact .border_right { border-right: none !important; border-bottom: 1px solid #e5ebe8 !important; padding-bottom: 20px !important; margin-bottom: 16px; }
  .dm-auth__pane--side { padding-top: 8px !important; }
  .home_header.light_header .menu > li.is-active > a::after,
  .home_header.light_header .menu > li > a.is-active::after { bottom: -4px; }
}

/* =========================================================
   v8 — fix grid collapse, cart row, menu clip
   ========================================================= */

/* Category menu: stop clipping */
.home_header.light_header.header_menu_blk {
  overflow: visible !important;
  min-height: 48px !important;
  padding: 0 !important;
}
.home_header.light_header.header_menu_blk .container {
  overflow: visible !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
.home_header.light_header .menu {
  align-items: stretch !important;
  min-height: 48px;
  margin-right: 0 !important;
  overflow: visible !important;
}
.home_header.light_header .menu > li {
  display: flex !important;
  align-items: center;
  margin-right: 28px !important;
  overflow: visible !important;
}
.home_header.light_header .menu > li > a {
  display: inline-flex !important;
  align-items: center;
  padding: 14px 2px 12px !important;
  line-height: 1.2 !important;
  position: relative;
  overflow: visible !important;
}
.home_header.light_header .menu > li.is-active > a::after,
.home_header.light_header .menu > li > a.is-active::after {
  bottom: 0 !important;
  height: 3px;
}

/* Kill legacy fixed 244px / width:auto that collapses cards */
.dm-browse-page .cer_crse_det .row > .col-md-4,
.dm-browse-page .cer_crse_det .row > .dm-prod-col,
.dm-browse-page .get_product_blk .row > .dm-prod-col,
.dm-product-grid > .dm-prod-col,
.dm-prod-col {
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50% !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
  margin-bottom: 20px !important;
}
@media (min-width: 768px) {
  .dm-browse-page .cer_crse_det .row > .col-md-4,
  .dm-browse-page .cer_crse_det .row > .dm-prod-col,
  .dm-browse-page .get_product_blk .row > .dm-prod-col,
  .dm-product-grid > .dm-prod-col,
  .dm-prod-col.col-md-4,
  .dm-prod-col {
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
  }
}
@media (min-width: 1200px) {
  .dm-browse-page .cer_crse_det .row > .col-md-4,
  .dm-browse-page .cer_crse_det .row > .dm-prod-col,
  .dm-browse-page .get_product_blk .row > .dm-prod-col,
  .dm-product-grid > .dm-prod-col,
  .dm-prod-col.col-xl-3,
  .dm-prod-col {
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
  }
}

.dm-product-grid,
.dm-browse-page .get_product_blk .row,
.dm-browse-page .list_cont .row.dm-product-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  margin-left: -12px !important;
  margin-right: -12px !important;
}

.dm-prod-card {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Equal media box so text lines up across cards */
.dm-prod-card__media {
  height: 180px !important;
  min-height: 180px !important;
  max-height: 180px !important;
  flex: 0 0 180px !important;
}
.dm-prod-card__media img {
  max-height: 150px !important;
  max-width: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

.dm-prod-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 12px 12px 14px !important;
}

/* Price + cart ALWAYS same row */
.dm-prod-card__footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: auto !important;
  width: 100% !important;
}
.dm-prod-card__footer .dm-price {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.dm-prod-card__actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}
.dm-atc-form {
  display: inline-flex !important;
  margin: 0 !important;
  width: auto !important;
}
.dm-atc-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  flex-shrink: 0 !important;
}

/* Filter sidebar shouldn't stretch oddly */
.dm-browse-page .filter_md {
  align-self: flex-start;
}
.dm-filter {
  position: sticky;
  top: 12px;
}
.dm-prod-card__brand {
  color: #008060 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .03em;
  margin-bottom: 4px !important;
}
.dm-prod-card__meta {
  font-size: 12px !important;
  color: #9ca3af !important;
  margin-bottom: 6px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dm-prod-card__title {
  min-height: 38px !important;
  margin-bottom: 6px !important;
}

/* Override legacy 244px product columns everywhere */
body .cer_crse_det .row > .col-md-4,
body .cer_crse_det .row > .dm-prod-col,
body .cer_crse_det .row > [class*="col-"] {
  width: 25% !important;
  max-width: 25% !important;
  flex: 0 0 25% !important;
}
@media (max-width: 1199px) {
  body .cer_crse_det .row > .col-md-4,
  body .cer_crse_det .row > .dm-prod-col,
  body .cer_crse_det .row > [class*="col-"] {
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
  }
}
@media (max-width: 767px) {
  body .cer_crse_det .row > .col-md-4,
  body .cer_crse_det .row > .dm-prod-col,
  body .cer_crse_det .row > [class*="col-"] {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}
/* pagination full width */
body .cer_crse_det .row > .col-12 {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

/* Menu underline must not clip text */
body .home_header.header_menu_blk {
  overflow: visible !important;
  height: auto !important;
  z-index: 20;
}
body .home_header.header_menu_blk .overlay_menu {
  display: none !important;
}
body .menu > li > a::after {
  bottom: 0 !important;
}

/* =========================================================
   v10 — duplicate Sign In, sticky Others menu, sparse grid
   ========================================================= */

/* Hide mobile-only Sign In / profile from desktop category bar */
.home_header .menu > li.mobile_link,
.home_header.light_header .menu > li.mobile_link,
.home_header .menu > li.mobile_link.d-md-none {
  display: none !important;
}
@media (max-width: 767px) {
  .header_menu_blk.active .menu > li.mobile_link {
    display: block !important;
  }
}

/* Submenus: hidden until hover (fix always-open Others) */
.home_header .menu .sub_menu,
.home_header .menu .sub_menu_wrapper,
.home_header.light_header .menu .sub_menu,
.home_header.light_header .menu .sub_menu_wrapper {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  z-index: -1 !important;
  display: block !important;
}
.home_header .menu > li:hover > .sub_menu,
.home_header .menu > li:hover > .sub_menu_wrapper,
.home_header .menu > li:hover > .sub_menu_wrapper > .sub_menu,
.home_header.light_header .menu > li:hover > .sub_menu,
.home_header.light_header .menu > li:hover > .sub_menu_wrapper,
.home_header.light_header .menu > li:hover > .sub_menu_wrapper > .sub_menu {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 50 !important;
}
.home_header .menu .side_sub_menu,
.home_header .menu .others_sub_menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.home_header .menu .list_menu:hover > .side_sub_menu,
.home_header .menu .list_menu:hover > .others_sub_menu,
.home_header .menu .others_sub_menu.ramesh {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 51 !important;
}
.home_header .menu > li.others-container .sub_menu {
  max-height: 360px;
  overflow-y: auto;
  width: 280px !important;
  right: 0;
  left: auto;
}

/* Product grid: auto-fill so 1–2 products don't become skinny columns */
.dm-product-grid,
.dm-browse-page .get_product_blk .row.dm-product-grid,
.dm-browse-page .list_cont .row.dm-product-grid,
body .cer_crse_det .row.dm-product-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  gap: 16px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}
.dm-product-grid > .dm-prod-col,
.dm-browse-page .dm-product-grid > .dm-prod-col,
body .cer_crse_det .row.dm-product-grid > .dm-prod-col,
body .cer_crse_det .row.dm-product-grid > [class*="col-"] {
  width: 100% !important;
  max-width: 100% !important;
  flex: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  display: block !important;
}
.dm-product-grid > .col-12,
.dm-product-grid > .dm-prod-pagination {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
}
.dm-prod-card {
  max-width: 100% !important;
}
.dm-prod-card__footer {
  flex-direction: row !important;
  flex-wrap: nowrap !important;
}
.dm-atc-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  border-radius: 50% !important;
  overflow: hidden;
}
.dm-atc-icon i {
  font-size: 14px !important;
  line-height: 1 !important;
  margin: 0 !important;
  width: auto !important;
}

/* Browse layout: filter + products side by side */
.dm-browse-page .list_blk > .container > .row {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start !important;
}
.dm-browse-page .filter_md {
  flex: 0 0 260px;
  max-width: 260px;
  width: 260px !important;
  margin-bottom: 24px;
}
.dm-browse-page .right_content,
.dm-browse-page .list_right_cont,
.dm-browse-page .after_Search_catelog {
  flex: 1 1 0;
  max-width: calc(100% - 280px);
  width: auto !important;
  min-width: 0;
}
@media (max-width: 991px) {
  .dm-browse-page .filter_md {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100% !important;
  }
  .dm-browse-page .right_content,
  .dm-browse-page .list_right_cont,
  .dm-browse-page .after_Search_catelog {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .dm-product-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)) !important;
  }
}

/* Filter panel polish */
.dm-filter {
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}
.dm-filter .filter_rev_blk a {
  display: block;
  text-decoration: none !important;
}
.dm-filter .filter_rev_blk .star {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
  margin: 0 0 6px !important;
}
.dm-filter .rating__label {
  margin: 0 !important;
  padding: 0 1px !important;
}
.dm-filter .dm-filter__heading a {
  pointer-events: none;
  color: #1c2434 !important;
}

/* Header icon alignment */
.home_header .right_header {
  display: flex !important;
  align-items: center !important;
  gap: 4px;
}
.home_header .shop_cart,
.home_header .wishlist_blk {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 40px;
  width: 40px;
  margin-left: 4px !important;
}
.home_header .shop_cart svg {
  display: block;
}
.home_header .shop_cart .count,
.home_header .wishlist_blk .count {
  top: 0 !important;
  right: 0 !important;
}

/* =========================================================
   v11 — restore multi-column grid + responsive browse
   ========================================================= */

/* Stop col wrappers from becoming shrink-wrap flex parents */
.dm-browse-page .list_blk > .container > .row > [class*="col-"] {
  display: block !important;
}
.dm-browse-page .col-md-9.right_content,
.dm-browse-page .right_content,
.dm-browse-page .list_right_cont,
.dm-browse-page .after_Search_catelog {
  display: block !important;
  flex: 0 0 calc(100% - 270px) !important;
  max-width: calc(100% - 270px) !important;
  width: calc(100% - 270px) !important;
  min-width: 0 !important;
  padding-left: 20px !important;
  box-sizing: border-box !important;
}
.dm-browse-page .filter_md {
  display: block !important;
  flex: 0 0 250px !important;
  max-width: 250px !important;
  width: 250px !important;
  box-sizing: border-box !important;
}
.dm-browse-page .col-md-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Product list wrappers must fill the right column */
.dm-browse-page .list_cont,
.dm-browse-page .get_product_blk,
.dm-browse-page .dm-product-list,
.dm-browse-page .cer_crse_det {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}

/* Real multi-column product grid (flex, not auto-fill shrink trap) */
.dm-browse-page .dm-product-grid,
.dm-product-grid,
body .cer_crse_det .row.dm-product-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: -8px !important;
  margin-right: -8px !important;
  grid-template-columns: none !important;
}
.dm-browse-page .dm-product-grid > .dm-prod-col,
.dm-product-grid > .dm-prod-col,
body .cer_crse_det .row.dm-product-grid > .dm-prod-col,
body .cer_crse_det .row.dm-product-grid > [class*="col-"] {
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
  padding: 0 8px 16px !important;
  margin: 0 !important;
  width: 50% !important;
  max-width: 50% !important;
  flex: 0 0 50% !important;
}
@media (min-width: 768px) {
  .dm-browse-page .dm-product-grid > .dm-prod-col,
  .dm-product-grid > .dm-prod-col,
  body .cer_crse_det .row.dm-product-grid > .dm-prod-col {
    width: 33.3333% !important;
    max-width: 33.3333% !important;
    flex: 0 0 33.3333% !important;
  }
}
@media (min-width: 1200px) {
  .dm-browse-page .dm-product-grid > .dm-prod-col,
  .dm-product-grid > .dm-prod-col,
  body .cer_crse_det .row.dm-product-grid > .dm-prod-col {
    width: 25% !important;
    max-width: 25% !important;
    flex: 0 0 25% !important;
  }
}
.dm-product-grid > .col-12,
.dm-product-grid > .dm-prod-pagination {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

.dm-prod-card {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
}

/* Compact card media on listing */
.dm-prod-card__media {
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  flex: 0 0 160px !important;
}
.dm-prod-card__media img {
  max-height: 130px !important;
}

@media (max-width: 991px) {
  .dm-browse-page .filter_md,
  .dm-browse-page .col-md-9.right_content,
  .dm-browse-page .right_content {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px !important;
  }
  .dm-browse-page .dm-product-grid > .dm-prod-col {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
  }
}
@media (max-width: 575px) {
  .dm-browse-page .dm-product-grid > .dm-prod-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
}

/* PDP highlights denser */
.dm-pdp-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  margin: 12px 0 18px;
  padding: 12px 0 0;
  border-top: 1px solid #e5ebe8;
}
.dm-pdp-highlights li {
  font-size: 13px;
  color: #1c2434;
  padding: 4px 0;
  list-style: none;
}
@media (max-width: 575px) {
  .dm-pdp-highlights { grid-template-columns: 1fr; }
}
.dm-pdp-section {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #eef2f0;
}
.dm-pdp-section h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #1c2434;
}
.dm-pdp-section p,
.dm-pdp-section .desc {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin: 0 0 8px;
}

/* =========================================================
   v12 — authoritative product grid + responsive browse
   Wins over earlier grid/flex conflicts (higher specificity)
   ========================================================= */

body .dm-browse-page .list_blk > .container > .row {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  margin-left: -15px !important;
  margin-right: -15px !important;
}

body .dm-browse-page .list_blk > .container > .row > .col-md-12 {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

body .dm-browse-page .filter_md.col-md-3,
body .dm-browse-page .col-md-3.filter_md {
  flex: 0 0 25% !important;
  max-width: 25% !important;
  width: 25% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

body .dm-browse-page .col-md-9.right_content,
body .dm-browse-page .right_content.col-md-9 {
  flex: 0 0 75% !important;
  max-width: 75% !important;
  width: 75% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

/* Kill CSS-grid path completely — use flex columns */
body .dm-browse-page .get_product_blk .row.dm-product-grid,
body .dm-browse-page .list_cont .row.dm-product-grid,
body .dm-browse-page .cer_crse_det .row.dm-product-grid,
body .cer_crse_det .row.dm-product-grid,
body .dm-product-grid.row,
body .dm-product-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-left: -10px !important;
  margin-right: -10px !important;
  grid-template-columns: none !important;
  gap: 0 !important;
}

body .dm-browse-page .dm-product-grid > .dm-prod-col,
body .dm-browse-page .cer_crse_det .row.dm-product-grid > .dm-prod-col,
body .cer_crse_det .row.dm-product-grid > .dm-prod-col,
body .dm-product-grid > .dm-prod-col,
body .dm-product-grid > .col-6,
body .dm-product-grid > .col-md-4,
body .dm-product-grid > .col-xl-3 {
  display: block !important;
  float: none !important;
  position: relative !important;
  box-sizing: border-box !important;
  padding: 0 10px 20px !important;
  margin: 0 !important;
  /* mobile default: 2-up */
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
  min-width: 0 !important;
}

@media (min-width: 768px) {
  body .dm-browse-page .dm-product-grid > .dm-prod-col,
  body .dm-browse-page .cer_crse_det .row.dm-product-grid > .dm-prod-col,
  body .cer_crse_det .row.dm-product-grid > .dm-prod-col,
  body .dm-product-grid > .dm-prod-col {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
    width: 33.3333% !important;
  }
}

@media (min-width: 1200px) {
  body .dm-browse-page .dm-product-grid > .dm-prod-col,
  body .dm-browse-page .cer_crse_det .row.dm-product-grid > .dm-prod-col,
  body .cer_crse_det .row.dm-product-grid > .dm-prod-col,
  body .dm-product-grid > .dm-prod-col {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

@media (max-width: 575px) {
  body .dm-browse-page .dm-product-grid > .dm-prod-col,
  body .dm-product-grid > .dm-prod-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

body .dm-product-grid > .col-12,
body .dm-product-grid > .dm-prod-pagination {
  flex: 0 0 100% !important;
  max-width: 100% !important;
  width: 100% !important;
}

body .dm-prod-card {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 100% !important;
}

body .dm-prod-card__footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}

/* Stack filter above products on tablet/phone */
@media (max-width: 991px) {
  body .dm-browse-page .filter_md.col-md-3,
  body .dm-browse-page .col-md-3.filter_md,
  body .dm-browse-page .col-md-9.right_content,
  body .dm-browse-page .right_content.col-md-9 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  body .dm-browse-page .dm-product-grid > .dm-prod-col,
  body .dm-product-grid > .dm-prod-col {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
  }
}

/* Filter card shouldn't force huge empty height */
body .dm-filter {
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 16px;
}
body .dm-filter .price_slider_div {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 4px;
}
body .dm-filter #priceSlider {
  width: 100% !important;
  margin: 8px 0 4px;
}

/* PDP info table look */
body .dm-pdp-highlights {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px 20px !important;
  list-style: none !important;
  padding: 14px 0 0 !important;
  margin: 14px 0 18px !important;
  border-top: 1px solid #e5ebe8 !important;
}
@media (max-width: 767px) {
  body .dm-pdp-highlights { grid-template-columns: 1fr !important; }
}
body .dm-pdp-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 12px;
}
body .dm-pdp-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e8f6f1;
  color: #006b51;
  font-size: 12px;
  font-weight: 600;
}

/* =========================================================
   v13 — Flipkart-style cards, sort, PDP price
   ========================================================= */
.dm-browse-toolbar {
  display: block !important;
  padding: 8px 0 12px !important;
  border-bottom: 1px solid #e5ebe8;
  margin-bottom: 14px;
}
.dm-browse-toolbar__top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin-bottom: 8px;
}
.dm-browse-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
  margin: 0 !important;
  line-height: 1.3;
}
.dm-browse-count {
  font-size: 13px !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}
.dm-sort {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 0;
  border-top: 1px solid #eef2f0;
  padding-top: 8px;
}
.dm-sort__label {
  font-size: 13px;
  font-weight: 600;
  color: #1c2434;
  margin-right: 12px;
}
.dm-sort__item {
  font-size: 13px !important;
  color: #4b5563 !important;
  text-decoration: none !important;
  padding: 4px 12px 6px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.dm-sort__item:hover { color: #008060 !important; }
.dm-sort__item.is-active {
  color: #008060 !important;
  font-weight: 700 !important;
  border-bottom-color: #008060;
}
.dm-filter__active {
  font-size: 13px;
  color: #4b5563;
  margin: 0 0 10px;
}
.dm-filter__active strong { color: #1c2434; }

/* Taller Flipkart-like product image */
body .dm-prod-card__media {
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  flex: 0 0 220px !important;
  background: #fff !important;
}
body .dm-prod-card__media img {
  max-height: 200px !important;
  object-fit: contain !important;
}
body .dm-prod-card__brand {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 2px !important;
}
body .dm-prod-card__title {
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  min-height: 34px !important;
  -webkit-line-clamp: 2;
}
body .dm-prod-card__title a { color: #6b7280 !important; }
body .dm-prod-card__title a:hover { color: #008060 !important; }
body .dm-prod-card__meta {
  font-size: 12px !important;
  color: #9ca3af !important;
  margin-bottom: 6px !important;
}
body .dm-price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px !important;
}
body .dm-price-now {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
}
body .dm-price-now--muted { font-size: 13px !important; color: #9ca3af !important; font-weight: 600 !important; }
body .dm-price-was {
  font-size: 12px !important;
  color: #9ca3af !important;
  text-decoration: line-through;
}
body .dm-price-off {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #008060 !important;
}

/* Force 4 columns on desktop listings */
@media (min-width: 1200px) {
  body .dm-browse-page .dm-product-grid > .dm-prod-col,
  body .dm-product-grid > .dm-prod-col {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}

/* PDP Flipkart-like price block */
.dm-pdp-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 0 12px;
}
.dm-pdp-reviews-link {
  font-size: 13px;
  color: #008060 !important;
  font-weight: 600;
}
.dm-pdp-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 16px;
}
.dm-pdp-price .dm-price-now {
  font-size: 28px !important;
  font-weight: 700 !important;
  order: 2;
}
.dm-pdp-price .dm-price-was { order: 3; font-size: 14px !important; }
.dm-pdp-price .dm-price-off { order: 1; font-size: 14px !important; }
.product_rgt_btn .add_cart.dm-pdp-atc,
.dm-pdp-atc {
  background: #fff !important;
  border: 1px solid #1c2434 !important;
  color: #1c2434 !important;
  min-width: 160px;
  height: 48px;
  border-radius: 4px !important;
  font-weight: 700 !important;
}
.product_rgt_btn .add_cart.dm-pdp-atc span { color: #1c2434 !important; }
.dm-pdp-buy,
.product_rgt_btn .buy_now.dm-pdp-buy {
  background: #008060 !important;
  border-color: #008060 !important;
  min-width: 160px;
  height: 48px;
  border-radius: 4px !important;
  font-weight: 700 !important;
}
@media (max-width: 767px) {
  .dm-sort { overflow-x: auto; flex-wrap: nowrap; }
  body .dm-prod-card__media {
    height: 160px !important;
    min-height: 160px !important;
    max-height: 160px !important;
    flex-basis: 160px !important;
  }
  .dm-pdp-price .dm-price-now { font-size: 22px !important; }
}

/* =========================================================
   v14 — home 4-col products, footer polish
   ========================================================= */

/* Home featured products: dedicated grid (don't reuse browse col-6 traps) */
.dm-home .dm-home-product-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  margin-left: -12px !important;
  margin-right: -12px !important;
  width: auto !important;
}
.dm-home .dm-home-prod-col {
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
  padding: 0 12px 20px !important;
  margin: 0 !important;
  flex: 0 0 50% !important;
  max-width: 50% !important;
  width: 50% !important;
}
@media (min-width: 768px) {
  .dm-home .dm-home-prod-col {
    flex: 0 0 33.3333% !important;
    max-width: 33.3333% !important;
    width: 33.3333% !important;
  }
}
@media (min-width: 1200px) {
  .dm-home .dm-home-prod-col {
    flex: 0 0 25% !important;
    max-width: 25% !important;
    width: 25% !important;
  }
}
.dm-home .dm-product-card__brand {
  font-size: 12px;
  font-weight: 700;
  color: #1c2434;
  margin: 0 0 4px;
}
.dm-home .dm-product-card__meta {
  margin-bottom: 8px !important;
}
.dm-home .dm-btn--block {
  margin-top: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 8px;
}

/* Footer: avoid empty punctuation when org missing */
.footer_bg .footer_links .text_white:empty,
.footer_bg .footer_links span:empty { display: none; }
.dm-home + .footer_bg,
.dm-home ~ .footer_bg {
  margin-top: 0;
}

/* Scope browse width rules away from plain Bootstrap cols on home */
body .dm-home .dm-product-grid > [class*="col-"],
body .dm-home .row > [class*="col-"] {
  /* allow Bootstrap / dm-home-prod-col rules to win */
}

/* =========================================================
   v15 — discount row no longer overlaps cart icon
   ========================================================= */
body .dm-product-grid > .dm-prod-col {
  display: flex !important;
  flex-direction: column !important;
}
body .dm-product-grid > .dm-prod-col > .dm-prod-card {
  flex: 1 1 auto !important;
  width: 100% !important;
}
body .dm-prod-card__footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: auto !important;
  width: 100% !important;
  min-height: 40px;
}
body .dm-prod-card__footer .dm-price {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 2px !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 44px) !important;
}
body .dm-prod-card__footer .dm-price__main {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px !important;
  width: 100%;
  line-height: 1.25;
}
body .dm-prod-card__footer .dm-price-off {
  display: block !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  line-height: 1.2;
}
body .dm-prod-card__actions {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: flex-start !important;
  align-self: flex-start !important;
  margin: 0 !important;
  padding-top: 0 !important;
}
body .dm-prod-card__footer .dm-atc-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  flex-shrink: 0 !important;
}

/* Home featured cards: keep price + optional off tidy */
.dm-home .dm-product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  min-height: 24px;
  margin-bottom: 4px;
}
.dm-home .dm-product-card__price .dm-price-off {
  flex: 0 0 100%;
}

/* =========================================================
   v16 — auth button vertical center + post-login polish
   ========================================================= */
body .dm-auth .exp_all_crse_btn.sign_in,
body .dm-auth button.sign_in,
body .dm-auth .dm-auth__submit,
body .dm-auth .create_acnt,
body .dm-auth .create_account_login_btn,
body .dm-auth .outline_border.exp_all_crse_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 18px !important;
  line-height: 1 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  box-sizing: border-box !important;
  border-radius: 8px !important;
  width: 100% !important;
}
body .dm-auth button.sign_in,
body .dm-auth .dm-auth__submit.sign_in,
body .dm-auth #id_login {
  background: #008060 !important;
  border: none !important;
  color: #fff !important;
}
body .dm-auth .create_acnt,
body .dm-auth .create_account_login_btn,
body .dm-auth .outline_border.exp_all_crse_btn {
  background: #fff !important;
  color: #008060 !important;
  border: 2px solid #008060 !important;
}
body .dm-auth .dm-auth__pane,
body .dm-auth .dm-auth__pane--side {
  justify-content: flex-start !important;
  align-items: stretch !important;
}
body .dm-auth .forget {
  text-align: center;
  display: inline-block;
  width: 100%;
}

/* Logged-in header: profile + icons alignment */
body.dashboard_class .home_header.light_header .right_header,
body .home_header.light_header .right_header {
  display: flex !important;
  align-items: center !important;
  gap: 8px;
}
body .home_header.light_header .pro_drop,
body .home_header.light_header .dropdown.pro_drop {
  display: flex !important;
  align-items: center !important;
}
body .home_header.light_header .pro_img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  object-fit: cover;
  border: 2px solid #e5ebe8;
}
body .home_header.light_header .dropdown-menu {
  border-radius: 10px !important;
  border: 1px solid #e5ebe8 !important;
  box-shadow: 0 10px 28px rgba(26, 43, 60, 0.12) !important;
  padding: 8px 0 !important;
  min-width: 200px;
}
body .home_header.light_header .dropdown-menu .dropdown-item {
  padding: 10px 16px !important;
  font-size: 14px !important;
  color: #1c2434 !important;
}
body .home_header.light_header .dropdown-menu .dropdown-item:hover {
  background: #f0f7f4 !important;
  color: #008060 !important;
}
body .home_header.light_header .dropdown-menu .profile_name {
  display: block;
  padding: 10px 16px 6px !important;
  color: #1c2434 !important;
}

/* Buyer mode pill shouldn't break light header */
body .home_header.light_header .buyer_mode_pill .text_white {
  color: #1c2434 !important;
  font-size: 12px !important;
  white-space: nowrap;
}

/* Dashboard tabs after login */
body.dashboard_class .dashboard_blk.dashboard_menu {
  background: #fff;
  border-bottom: 1px solid #e5ebe8 !important;
  margin-bottom: 0 !important;
}
body.dashboard_class .dash_nav.nav-tabs .nav-link {
  color: #6b7280 !important;
  font-weight: 600 !important;
}
body.dashboard_class .dash_nav.nav-tabs li a.active,
body.dashboard_class .dash_nav.nav-tabs .nav-link.active {
  color: #008060 !important;
  font-weight: 700 !important;
}
body.dashboard_class .nav-tabs.dash_nav li a.active::after {
  background: #008060 !important;
}

/* Keep catalogue/browse pages light after login (dashboard_class only on non-catalogue) */
body.dashboard_class {
  background: #f5f7f6 !important;
}

/* =========================================================
   v17 — logged-in header + account nav polish
   ========================================================= */
/* Profile avatar always visible in light header (override mobile hide on desktop) */
@media (min-width: 768px) {
  body .home_header.light_header .header_one .profile_blk.log_profile_blk,
  body .home_header.light_header .profile_blk.log_profile_blk {
    display: flex !important;
    align-items: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 40px;
  }
}
body .home_header.light_header .pro_img,
body .home_header.light_header .profile_circle_img img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  padding: 0 !important;
}
body .home_header.light_header .profile_circle_img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
body .home_header.light_header .acc_blk {
  display: flex !important;
  align-items: center !important;
  cursor: pointer;
}
body .home_header.light_header .profile_blk .dropdown-toggle::after {
  border: 0 !important;
  border-left: 2px solid #1c2434 !important;
  border-bottom: 2px solid #1c2434 !important;
  width: 7px;
  height: 7px;
  transform: rotate(-45deg);
  transition: transform .15s ease;
}

body .home_header.light_header .log_profile_blk.show .dropdown-toggle::after {
  transform: rotate(135deg);
}
/* Notification badge */
body .home_header.light_header .notifi_dv a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
body .home_header.light_header .notifi_dv svg path {
  fill: #1c2434 !important;
}
body .home_header.light_header .live_notify_badge,
body .home_header.light_header .notifi_dv .live_notify_badge {
  position: absolute !important;
  top: -6px !important;
  right: -8px !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background: #008060 !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 18px !important;
  text-align: center !important;
  display: inline-block !important;
}

/* Account dashboard tabs (orders/wishlist/RFQ pages) */
body .dashboard_blk.dashboard_menu {
  background: #fff !important;
  border-bottom: 1px solid #e5ebe8 !important;
  margin-bottom: 0 !important;
  padding: 0 !important;
}
body .dashboard_menu .dash_nav.nav-tabs {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0 !important;
  border-bottom: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body .dashboard_menu .dash_nav .nav-item {
  display: block !important;
  margin: 0 !important;
  float: none !important;
}
body .dashboard_menu .dash_nav .nav-link {
  display: inline-flex !important;
  align-items: center !important;
  padding: 14px 12px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  border: none !important;
  border-radius: 8px !important; 
  border-bottom: 2px solid transparent !important;
  white-space: nowrap;
  background: transparent !important;
}
body .dashboard_menu .dash_nav .nav-link:hover {
  color: #008060 !important;
  border-radius: 8px !important; 
}
body .dashboard_menu .dash_nav .nav-link.active {
  color: #008060 !important;
  font-weight: 700 !important;
  border-bottom-color: #008060 !important;
  border-radius: 8px !important;
}
body .dashboard_menu .dash_nav .nav-link.active::after {
  display: none !important;
}

/* Cart / wishlist icons on light header */
body .home_header.light_header .shop_cart svg {
  stroke: #1c2434 !important;
}
body .home_header.light_header .wallet_icon {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  opacity: 1 !important;
  filter: brightness(0) !important;   /* turns a white icon dark */
}

/* =========================================================
   v18 — account / cart / checkout / wishlist / address
   ========================================================= */

/* Hide legacy duplicate circle stepper + red progress bar */
body .checkout_tab,
body ul.checkout_tab,
body .tab_process {
  display: none !important;
}

/* Single Flipkart-like checkout stepper */
body .dm-checkout-nav,
body nav.dm_checkout_nav.checkout_progress {
  background: #fff !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  margin: 0 0 20px !important;
  box-shadow: none !important;
}
body .dm-checkout-steps,
body .dm_checkout_steps {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
}
body .dm-checkout-step,
body .dm_checkout_steps .checkout-step {
  flex: 1 1 auto !important;
  text-align: center !important;
  margin: 0 !important;
}
body .dm-checkout-step a,
body .dm-checkout-step span,
body .dm_checkout_steps .checkout-step a,
body .dm_checkout_steps .checkout-step .navbar-text,
body .dm_checkout_steps .checkout-step span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  background: #f3f4f6 !important;
  text-decoration: none !important;
  white-space: nowrap;
  border: none !important;
}
body .dm-checkout-step.is-active span,
body .dm-checkout-step.is-active a,
body .dm_checkout_steps .checkout-step.active .navbar-text,
body .dm_checkout_steps .checkout-step.active a {
  background: #e8f6f1 !important;
  color: #008060 !important;
  box-shadow: inset 0 0 0 1px #008060 !important;
}
body .dm-checkout-step.is-done a,
body .dm_checkout_steps .checkout-step.done a {
  background: #008060 !important;
  color: #fff !important;
}
body .dm-checkout-step.is-done a:hover {
  background: #006b51 !important;
  color: #fff !important;
}

/* Checkout page cards */
body .checkout_page .checkout_left_blk,
body .checkout_div .checkout_left_blk,
body .checkout_div .view_part_rgt,
body .dm-order-summary {
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  padding: 20px !important;
  background: #fff !important;
}
body .checkout_div .padding_top_84px { padding-top: 0 !important; }
body .checkout_div .rgt_width_blk { margin-top: 0 !important; }
body .list_address_blk .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -8px !important;
}
body .list_address_blk .col-md-6 {
  padding: 8px !important;
  display: flex !important;
}
body .list_address_blk .address_blk,
body .list_address_blk .drag_add_address {
  width: 100% !important;
  min-height: 180px !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  background: #fff !important;
  display: flex !important;
  flex-direction: column !important;
}
body .list_address_blk .drag_add_address {
  align-items: center !important;
  justify-content: center !important;
  border-style: dashed !important;
  color: #008060 !important;
}
body .list_address_blk .drag_add_address .add {
  font-size: 32px !important;
  line-height: 1 !important;
  color: #008060 !important;
}
body .list_address_blk .address_blk .add_btm {
  margin-top: auto !important;
  padding-top: 12px !important;
}
body .list_address_blk .set_def,
body .list_address_blk .ship-address {
  background: transparent !important;
  border: none !important;
  color: #008060 !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 0 !important;
  text-align: left !important;
}
body .dm-checkout-select .form-control,
body .shipping_blk .form-control {
  height: 44px !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* Orders */
body .account_orders_page,
body .dash_my_order_blk {
  background: #f5f7f6 !important;
  padding: 16px 0 40px !important;
}
body .dash_order_filter {
  background: #fff !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-bottom: 16px !important;
}
body .dash_order_filter .form_container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items: flex-end !important;
}
body .dash_order_filter .order_filter {
  flex: 1 1 160px !important;
  margin: 0 !important;
  width: auto !important;
}
body .dash_order_filter .form-control {
  height: 42px !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
}
body .dash_order_filter .filter_btn,
body .dash_order_filter .exp_all_crse_btn {
  height: 42px !important;
  min-width: 110px !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}
body .view_order_blk,
body .dash_view_blk {
  background: #fff !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 16px 18px !important;
}
body .order_detail_table .table {
  margin: 0 !important;
}
body .order_detail_table th {
  border-top: none !important;
  font-size: 12px !important;
  color: #6b7280 !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
}
body .order_detail_table td {
  vertical-align: middle !important;
  font-size: 13px !important;
  color: #1c2434 !important;
  border-color: #eef2f0 !important;
}
body .order_thumbs {
  gap: 6px;
}
body .order_thumb {
  width: 44px;
  height: 44px;
  border: 1px solid #e5ebe8;
  border-radius: 8px;
  overflow: hidden;
  background: #f8faf9;
  flex-shrink: 0;
}
body .order_thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body .order_summary_name {
  font-weight: 600;
  color: #1c2434;
}
body .order_summary_items,
body .order_summary_more {
  font-size: 12px;
  color: #6b7280;
}
body .status_badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  background: #e8f6f1 !important;
  color: #008060 !important;
  white-space: nowrap;
}
body .dm-order-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  border: 1px solid #008060 !important;
  background: #fff !important;
  color: #008060 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}
body .dm-order-action:hover {
  background: #008060 !important;
  color: #fff !important;
}

/* Order detail */
body .order_detail_blk .order_card,
body .order_detail_blk .view_cart_list .order_pla_detail {
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin-bottom: 12px !important;
  background: #fff !important;
  min-height: 0 !important;
}
body .order_detail_blk .image img,
body .order_detail_blk .wish_image img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #f8faf9 !important;
  border: 1px solid #e5ebe8 !important;
}
body .order_detail_blk .view_part_rgt,
body .order_detail_blk .product_card {
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 18px !important;
}

/* Wishlist */
body .wishlist_page,
body .dash_my_wish_blk .dash_wish_blk {
  background: #fff !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 16px !important;
}
body .dm-wish-card,
body .wish_pla_detail.order_card {
  align-items: center !important;
  gap: 12px !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 14px !important;
  margin-bottom: 12px !important;
  background: #fff !important;
}
body .dm-wish-card .left,
body .wish_pla_detail .left {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  align-items: center !important;
}
body .dm-wish-card .wish_image img,
body .wish_pla_detail .wish_image img {
  width: 72px !important;
  height: 72px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #f8faf9 !important;
  border: 1px solid #e5ebe8 !important;
}
body .dm-wish-card .total_order,
body .dm-wish-card .right,
body .wish_pla_detail .total_order,
body .wish_pla_detail .right {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}
body .wish_pla_detail .move_to_cart,
body .wish_pla_detail .product_rev_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 36px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  background: #008060 !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border: none !important;
  white-space: nowrap;
}
body .wish_pla_detail .total_order .price {
  color: #b91c1c !important;
  font-weight: 700 !important;
}

/* Cart */
body .view_cart_blk .view_cart_list .order_pla_detail,
body .basket_summary .order_pla_detail,
body .view_cart_left .order_card {
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  background: #fff !important;
  align-items: center !important;
}
body .view_cart_blk .image img {
  width: 88px !important;
  height: 88px !important;
  object-fit: contain !important;
  border-radius: 8px !important;
  background: #f8faf9 !important;
  border: 1px solid #e5ebe8 !important;
}
body .view_cart_blk .view_part_rgt,
body .basket_summary .view_part_rgt {
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 18px !important;
  background: #fff !important;
}
body .view_cart_blk .exp_all_crse_btn,
body .checkout_div .exp_all_crse_btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 0 16px !important;
  line-height: 1 !important;
}
body .voucher_form .form-control,
body #voucher_form .form-control,
body .view_part_rgt input[type="text"] {
  height: 42px !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
}

/* Add / edit address */
body .add_address_blk .container.white_bg,
body .profile_con_blk.add_address_blk .container {
  border: 1px solid #e5ebe8 !important;
  border-radius: 12px !important;
  padding: 24px !important;
  max-width: 1100px;
}
body .add_address_blk h3 {
  font-size: 22px !important;
  font-weight: 700 !important;
  margin-bottom: 18px !important;
}
body .add_address_blk .form-group {
  margin-bottom: 14px !important;
}
body .add_address_blk label {
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #6b7280 !important;
  margin-bottom: 6px !important;
}
body .add_address_blk .form-control,
body .add_address_blk select.form-control,
body .add_address_blk textarea.form-control {
  height: 42px !important;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  font-size: 14px !important;
  padding: 8px 12px !important;
  background: #fff !important;
}
body .add_address_blk textarea.form-control {
  height: 84px !important;
  resize: vertical;
}
body .dm-map-search {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 10px !important;
}
body .dm-map-search .form-control {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 42px !important;
}
body .dm-map-gps,
body #btn_detect_gps.dm-map-gps {
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 8px !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}
body .dm-address-map,
body #google_address_map.dm-address-map {
  height: 420px !important;
  width: 100% !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 10px !important;
  overflow: hidden;
}
body .address_split {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 24px !important;
}
body .address_form_col,
body .address_map_col {
  flex: 1 1 320px !important;
  min-width: 0 !important;
}

/* Header icon spacing polish */
body .home_header.light_header .right_header {
  gap: 14px !important;
}
body .home_header.light_header .shop_cart,
body .home_header.light_header .wishlist_blk,
body .home_header.light_header .wallet_blk,
body .home_header.light_header .notifi_dv {
  margin-left: 0 !important;
}

/* Account dashboard tabs active pill */
body .dashboard_menu .dash_nav .nav-link.active {
  background: #e8f6f1 !important;
  border-radius: 8px 8px 0 0 !important;
}


/* =========================================================
   v17 — equal product cards: fixed image box + aligned ATC
   ========================================================= */
body .dm-product-grid > .dm-prod-col {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
}
body .dm-product-grid > .dm-prod-col > .dm-prod-card,
body .dm-prod-card {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
}

/* Square media box — image shape never changes card height */
body .dm-prod-card__media {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  background: #f7faf9 !important;
  overflow: hidden !important;
  border-radius: 12px 12px 0 0 !important;
}
body .dm-prod-card__img-link {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  padding: 14px !important;
  box-sizing: border-box !important;
}
body .dm-prod-card__media img,
body .dm-prod-card__img-link img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  border: 0 !important;
  background: transparent !important;
}
body .dm-prod-card__wish {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 3 !important;
  margin: 0 !important;
}

body .dm-prod-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  padding: 12px 12px 14px !important;
}
body .dm-prod-card__brand {
  min-height: 18px !important;
  margin-bottom: 4px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body .dm-prod-card__title {
  min-height: 38px !important;
  max-height: 38px !important;
  margin: 0 0 6px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
body .dm-prod-card__meta {
  min-height: 18px !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
body .dm-prod-card__rating {
  min-height: 22px !important;
  margin-bottom: 8px !important;
}

/* Price + cart: one fixed row, always vertically centered */
body .dm-prod-card__footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  margin-top: auto !important;
  width: 100% !important;
  min-height: 40px !important;
  height: 40px !important;
  flex: 0 0 40px !important;
}
body .dm-prod-card__footer .dm-price {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: calc(100% - 44px) !important;
  overflow: hidden !important;
}
body .dm-prod-card__footer .dm-price__main {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: baseline !important;
  gap: 6px !important;
  width: auto !important;
  max-width: 100% !important;
}
body .dm-prod-card__footer .dm-price-off {
  display: inline !important;
  width: auto !important;
  flex: 0 0 auto !important;
  white-space: nowrap !important;
}
body .dm-prod-card__actions {
  display: flex !important;
  flex: 0 0 36px !important;
  align-items: center !important;
  align-self: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 36px !important;
  width: 36px !important;
}
body .dm-prod-card__footer .dm-atc-form {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
  width: auto !important;
}
body .dm-prod-card__footer .dm-atc-icon {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex-shrink: 0 !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  body .dm-prod-card__media {
    aspect-ratio: 1 / 1 !important;
  }
  body .dm-prod-card__footer {
    height: 40px !important;
    min-height: 40px !important;
  }
}

/* =========================================================
   v18 — Flipkart-compact cards + buyer header alignment
   ========================================================= */

/* Header: logo/search/icons on one aligned row */
body .home_header.light_header .container.header_one {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  flex-wrap: nowrap !important;
  min-height: 64px;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
body .home_header.light_header .left_header.after_left_head_wid {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  gap: 12px !important;
  padding-right: 12px !important;
}
body .home_header.light_header .search_form {
  flex: 1 1 auto !important;
  max-width: 560px !important;
  margin-left: 16px !important;
  margin-right: 0 !important;
  padding-right: 0 !important;
}
body .home_header.light_header .right_header.after_rgt_head_wid,
body .home_header.light_header .right_header {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  gap: 12px !important;
  margin-left: 8px !important;
  flex-wrap: nowrap !important;
}
body .home_header.light_header .right_header .margin_left_26px {
  margin-left: 0 !important;
}
body .home_header.light_header .right_header > .notifi_dv,
body .home_header.light_header .right_header > .wishlist_blk,
body .home_header.light_header .right_header > .wallet_blk,
body .home_header.light_header .right_header > .shop_cart,
body .home_header.light_header .right_header > .profile_blk,
body .home_header.light_header .right_header > .buyer_mode_pill,
body .home_header.light_header .right_header > .dm-sign-in {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  height: 40px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  flex-shrink: 0 !important;
}
body .home_header.light_header .buyer_mode_pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-left: 4px !important;
  padding: 0 10px !important;
  border-radius: 8px;
  background:#ffffff;
  flex-shrink: 0;
  height: 40px !important;
}
body .home_header.light_header .dm-admin-toggle-label,
body .home_header.light_header .buyer_mode_pill .font_14 {
  color: #374151 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  line-height: 1 !important;
}
body .home_header.light_header .buyer-toggle-switch {
  display: inline-flex !important;
  align-items: center !important;
  margin: 0 !important;
}
body .home_header.light_header.header_menu_blk .container {
  display: flex !important;
  align-items: center !important;
}
body .home_header.light_header.header_menu_blk .menu {
  flex-wrap: nowrap !important;
  overflow: visible !important;
  gap: 4px !important;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}
body .home_header.light_header.header_menu_blk .menu::-webkit-scrollbar {
  display: none;
  height: 0;
}
body .home_header.light_header.header_menu_blk .menu > li > a {
  white-space: nowrap !important;
  padding: 10px 12px !important;
}
body .home_header.light_header .profile_blk.log_profile_blk,
body .home_header.light_header .profile_blk .acc_blk,
body .home_header.light_header .profile_circle_img {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Compact Flipkart-style product cards — defeat v17 square media */
body .dm-product-grid > .dm-prod-col {
  align-items: stretch !important;
}
body .dm-product-grid > .dm-prod-col > .dm-prod-card,
body .dm-prod-card {
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 1 1 auto !important;
}
body .dm-prod-card__media {
  position: relative !important;
  aspect-ratio: unset !important;
  height: 148px !important;
  min-height: 148px !important;
  max-height: 148px !important;
  flex: 0 0 148px !important;
  background: #fff !important;
  border-bottom: 1px solid #f1f5f4 !important;
  overflow: hidden !important;
}
body .dm-prod-card__img-link {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
}
body .dm-prod-card__media img,
body .dm-prod-card__img-link img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
}
body .dm-prod-card__body {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 auto !important;
  padding: 10px 12px 12px !important;
  gap: 0 !important;
  min-height: 0 !important;
}
body .dm-prod-card__brand {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 2px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body .dm-prod-card__title {
  min-height: 34px !important;
  height: auto !important;
  max-height: 34px !important;
  margin: 0 0 2px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
  color: #6b7280 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}
body .dm-prod-card__title a {
  color: #6b7280 !important;
}
body .dm-prod-card__meta {
  min-height: 16px !important;
  height: 16px !important;
  margin: 0 0 2px !important;
  font-size: 12px !important;
  color: #9ca3af !important;
  line-height: 16px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
body .dm-prod-card__rating {
  min-height: 0 !important;
  height: auto !important;
  margin: 0 0 4px !important;
}
body .dm-prod-card__footer {
  margin-top: auto !important;
  min-height: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  padding-top: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
body .dm-prod-card__footer .dm-price-now {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1c2434 !important;
}
body .dm-prod-card__footer .dm-atc-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  min-height: 34px !important;
  border-radius: 50% !important;
  background: #008060 !important;
  color: #fff !important;
  border: none !important;
}

@media (max-width: 767px) {
  body .dm-prod-card__media {
    height: 132px !important;
    min-height: 132px !important;
    max-height: 132px !important;
    flex-basis: 132px !important;
  }
  body .home_header.light_header .container.header_one {
    flex-wrap: wrap !important;
  }
  body .home_header.light_header .search_form {
    max-width: none !important;
    order: 3;
    width: 100% !important;
    margin-left: 0 !important;
  }
  body .home_header.light_header .right_header > .notifi_dv,
  body .home_header.light_header .right_header > .wishlist_blk,
  body .home_header.light_header .right_header > .wallet_blk,
  body .home_header.light_header .right_header > .shop_cart,
  body .home_header.light_header .right_header > .profile_blk,
  body .home_header.light_header .right_header > .buyer_mode_pill {
    height: 36px !important;
  }
}

/* =========================================================
   v19 — RFQ teal actions + search suggestions above menu
   ========================================================= */
body .drag_drop_container.upload-doc {
  border: 1px dashed #008060 !important;
  background: #f3faf7 !important;
  border-radius: 10px !important;
}
body #add_product_to_rfq,
body .request_for_quatation_button,
body .print_btn,
body .confirm_order.print_btn,
body .print_final_report {
  background: #008060 !important;
  border: 1px solid #008060 !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  padding: 8px 16px !important;
  line-height: 1.3 !important;
}
body #add_product_to_rfq:hover,
body .request_for_quatation_button:hover,
body .print_btn:hover,
body .confirm_order.print_btn:hover {
  background: #006b50 !important;
  border-color: #006b50 !important;
  color: #fff !important;
}

/* Header search suggestions sit above the category bar */
body .ui-autocomplete.ui-front,
body .ui-autocomplete {
  z-index: 4000 !important;
  background: #fff !important;
  border: 1px solid #e5ebe8 !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 28px rgba(26, 43, 60, 0.14) !important;
  max-height: 280px;
  overflow-y: auto;
  padding: 6px 0 !important;
}
body .ui-autocomplete .ui-menu-item-wrapper {
  padding: 8px 14px !important;
  font-size: 14px !important;
  color: #1c2434 !important;
}
body .ui-autocomplete .ui-state-active,
body .ui-autocomplete .ui-menu-item-wrapper.ui-state-active {
  background: #e6f7f3 !important;
  border: none !important;
  color: #008060 !important;
  margin: 0 !important;
}


/* Checkout Step Connectors */
body .dm-checkout-steps {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

body .dm-checkout-step {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
}

body .dm-checkout-step:last-child {
  flex: 0 0 auto !important;
}

body .dm-checkout-step a,
body .dm-checkout-step span {
  flex-shrink: 0 !important;
}

/* Connecting line */
body .dm-checkout-step:not(:last-child)::after {
  content: "" !important;
  flex: 1 1 auto !important;
  height: 2px !important;
  background: #e5ebe8 !important;
  margin: 0 12px !important;
  min-width: 20px !important;
}

/* Completed step turns the line green */
body .dm-checkout-step.is-done::after {
  background: #008060 !important;
}


/* RFQ action buttons including Float in Bidding */
body #btn_goto_auction_platform {
  background: #008060 !important;
  border: 1px solid #008060 !important;
  color: #fff !important;
}

body #btn_goto_auction_platform:hover {
  background: #006b50 !important;
  border-color: #006b50 !important;
  color: #fff !important;
}
