.product.product-2 {
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-media {
    height: 220px;              /* choose a suitable height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-media img {
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
.product-body {
    flex: 1;                    /* fills remaining space */
    display: flex;
    flex-direction: column;
}

.product-price {
    margin-top: auto;           /* sticks price to bottom */
}

.product-title {
    min-height: 48px;           /* ~2 lines */
    line-height: 1.2;
    overflow: hidden;
}

.product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title a:hover {
color: #6D277D !important;
}

/**********************  MEGA MENU STYLES ****************************

.main-mega {
    margin: 0;
    background: #008fc59e;
    position: relative;
}

.main-mega .navbar-collapse {
    padding: 0 !important;
}

.main-mega .navbar-default {
    border: medium none !important;
    background: #008fc5;
    margin: 0px;
    border-radius: 0 !important;
    position: inherit;
}

.main-mega .navbar-nav>li>.dropdown-menu {
    margin-top: 0;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

.main-mega .navbar-default .navbar-nav>li>a,
.main-mega .navbar-default .navbar-nav>li>a:focus {
    width: auto;
    font-weight: normal;
    padding: 0 5px 0;
    color: #ffffff;
    text-align: center;
    font-size: 13px;
    height: auto;
    -webkit-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    display: block;
    background: transparent;
    font-weight: bold;
}

.mega-dropdown {
    position: static !important;
    vertical-align: middle;
    height: 70px;
    width: 100%;
    display: table-cell !important;
}

.mega-dropdown-menu {
    padding: 20px 0px;
    width: 100%;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.main-mega li.mega-dropdown>a:before {
    display: block;
    position: absolute;
    width: 1px;
    right: 0px;
    top: 0;
    height: 100%;
    content: "";
    border-left: 1px solid #E6E6E6;
}

.main-mega li:last-of-type>a::after {
    display: block;
    position: absolute;
    width: 1px;
    right: 0px;
    top: -0.6rem;
    height: 5rem;
    content: "";
    border-left: 1px solid #E6E6E6;
}

.mega-dropdown-menu>li>ul {
    padding: 0;
    margin: 0;
}

.mega-dropdown-menu>li>ul>li {
    list-style: none;
}

.mega-dropdown-menu>a {
    display: block;
    padding: 3px 10px;
    clear: both;
    font-weight: normal;
    white-space: normal;
}

.mega-dropdown-menu>li ul>li>a:hover,
.mega-dropdown-menu>li ul>li>a:focus {
    text-decoration: none;
    color: #EF6624;
}

.main-mega .navbar-default .navbar-nav>li>a:hover {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    -webkit-transition: all ease-in-out .3s;
    transition: all ease-in-out .3s;
}

.mega-dropdown-menu .dropdown-header {
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.mega-dropdown-menu form {
    margin: 3px 20px;
}

.mega-dropdown-menu .form-group {
    margin-bottom: 3px;
}

.main-mega .navbar-nav>li {
    float: none !important;
}

.mega-wrap {
    display: table;
    width: 100%;
    float: none !important;
    table-layout: fixed;
    position: relative;
}

.main-mega .slide {
    margin-bottom: 0;
}

.main-mega .navbar-default .navbar-nav>.open>a,
.main-mega .navbar-default .navbar-nav>.open>a:hover,
.main-mega .navbar-default .navbar-nav>.open>a:focus {
    background: transparent !important;
    color: #EF6624;
}

.dropdown.mega-dropdown:hover .dropdown-menu.mega-dropdown-menu {
    display: block;
    margin-top: 0;
}

.mega-dropdown-menu {
    border: 1px solid #dedede;
}

.mega-dropdown-menu>li>a {
    color: #121758;
    font-size: 12px;
    padding: 7px 10px;
    line-height: 120%;
}

.badge.cat {
    background: rgba(223, 223, 231, 0.8) none repeat scroll 0% 0%;
    color: #9096B1;
    min-width: 40px;
    position: absolute;
    right: 10px;
}

ul.seperate-links li a {
    color: #EF6624;
}

ul.seperate-links li a:hover {
    color: #0073C6;
}

.main-mega ul li ul>li::before {
    display: block;
    position: absolute;
    width: 1px;
    right: 0px;
    top: 0;
    height: 100%;
    content: "";
    border-left: 1px solid #E6E6E6;
}

.toggle {
    display: block !important;
    margin: 2px 0 0 0;
    text-align: center;
    width: auto;
}

.main-mega li.mega-dropdown:last-child a:before,
.main-mega li.mega-dropdown:last-child a:after {
    display: none !important;
}

.mega-dropdown-menu {
    background: #ffffff;
    border-radius: 0 !important;
    width: 100%;
    border: none;
    -webkit-box-shadow: 2px 2px 6px 1px #00000024;
    box-shadow: 2px 2px 6px 1px #00000024;
}

.mega-dropdown-menu li.col-sm-3 ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.mega-dropdown-menu li.col-sm-3 ul li a {
    padding: 5px 10px;
    color: #000000;
    display: block;
    font-size: 13px;
}

.mega-dropdown-menu li.col-sm-3 ul li a:hover {
    text-decoration: none;
    background: #ffffff;
    color: #7c8389;
}

.main-mega .navbar-default .navbar-nav>li:hover>a {
    font-weight: bold;
    color: #000000;
}

.mega-dropdown-menu .row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.top_adv_search.top_adv_search_normal .navbar-right {
    float: none !important;
    margin-right: 0 !important;
    margin-top: 15px;
}

span.vat {
    float: left;
    font-weight: bold !important;
}

.mega-dropdown-menu li.col-sm-3 ul li a:hover {
    background: #ededed;
    color: #000000;
}


/********************** /// MEGA MENU STYLES END *****************************/


/* =====================================================
   MEGA MENU BASE
===================================================== */
.main-mega {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    z-index: 1000;
}

.main-mega .container {
    width: 100%;
}

/* Reset navbar */
.main-mega .navbar {
    margin: 0;
    border: 0;
    background: transparent;
    min-height: auto;
}

/* =====================================================
   TOP LEVEL MENU (HORIZONTAL)
===================================================== */
.mega-wrap {
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 2px;
}

/* Top-level items */
.mega-wrap > li {
    list-style: none;
    position: relative;
    float: none;
}

/* Top-level links */
.mega-wrap > li > a {   
    align-items: center;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Hover */
.mega-wrap > li > a:hover,
.mega-wrap > li.open > a {
    color:#6D277D;
    background: transparent;
}

/* Dropdown arrow */
.mega-wrap > li > a .toggle {
    margin-left: 6px;
    font-size: 12px;
}

/* Optional divider */
.mega-wrap > li:not(:last-child)::after {
    content: "";
    width: 1px;
    height: 16px;
    background: #e6e6e6;
    margin-left: 6px;
}

/* =====================================================
   MEGA DROPDOWN
===================================================== */
.mega-dropdown {
    position: static !important;
}

.mega-dropdown-menu {
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    padding: 25px 0;
    border: none;
    margin-top: 0;
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    display: none;
    background: #ffffff;
}

/* Show dropdown on hover (desktop) */
.mega-dropdown:hover > .mega-dropdown-menu {
    display: block;
}

/* Inner container */
.mega-dropdown-menu .container {
    max-width: 1200px;
}

/* =====================================================
   DROPDOWN COLUMNS
===================================================== */
.mega-dropdown-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-dropdown-menu .col-sm-3 {
    padding: 0 15px;
}

/* Category links */
.mega-dropdown-menu a {
    display: block;
	font-weight: 450;
    font-size: 14px;
    color: #444;
    padding: 4px 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.mega-dropdown-menu a:hover {
    color: #6D277D;
}

/* Badge */
.mega-dropdown-menu .badge.cat {
    background: #f1f1f1;
    color: #666;
    font-weight: 400;
    font-size: 11px;
}

/* =====================================================
   VISUAL POLISH
===================================================== */
.mega-dropdown-menu li ul li {
    margin-bottom: 8px;
}

/* Optional section title (if added later) */
.mega-dropdown-menu h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

/* =====================================================
   RESPONSIVE SAFETY
===================================================== */
@media (max-width: 991px) {
    .main-mega {
        display: none;
    }
}


/* =====================================================
   KEEP MEGA MENU OVERLAYED (NO LAYOUT SHIFT)
===================================================== */

/* Navbar wrapper */
.main-mega {
    position: relative;
    z-index: 2000;
}

/* Each dropdown anchor */
.mega-wrap > li {
    position: relative;
}

/* Force dropdown out of normal flow */
.mega-dropdown-menu {
    position: absolute !important;
    top: 100%;
    left: 0;
    width: 100%;
    margin: 0;
    display: none;
    z-index: 3000;
}

/* Show on hover */
.mega-dropdown:hover > .mega-dropdown-menu {
    display: block;
}


span.vat {
    color: #666;
    font-weight: 300;
    font-size: 1.4rem;
    margin: 0 0 1.1rem;
}

.btn.btn-outline-dark-2.btn-block.mb-3.btn-continue-shopping {
    border-color: #6D277D !important;
}

nav.mobile-cats-nav{
    font-weight: 500;
}

.header-search-no-radius .header-search-wrapper,.header-search-no-radius .form-control,.header-search-no-radius .btn {   
    border-radius: 1rem !important;
}

.header-top {
    margin-left: 10px;
    margin-right: 10px;
    display: flex;
    justify-content: flex-end;
    height: 37px;
}

.top-menu span {
    font-weight: 600;
    color: #6D277D;
}

.mobile-menu {
    font-weight: 500 !important;
}

aside.col-lg-3.order-lg-first.adv_filter_panel{
    position: sticky;
    top: 20px;
    align-self: flex-start; 
    max-height: calc(100vh - 40px); 
    overflow-y: auto; 
}

.footer{
    color: #333 !important;
    font-weight: 400 !important;
}

p.footer-copyright {
    color: #333;
    font-weight: 400;
}

.footer a {
    color: #333 !important;
    font-weight: 400;
}

/* 
.footer .widget-about-info a{
    color:#6D277D !important;
    font-weight:600;
}*/

/* Mobile: 4 icon boxes in one row, icon left, text right */
@media (max-width: 767px) {
    .icon-boxes-one-row {
        display: flex !important;
        flex-wrap: nowrap !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .icon-boxes-one-row > [class*="col-"] {
        float: none !important;
        width: 25% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .icon-box-side {
        flex-direction: column !important;
        text-align: center;
        padding: 1.2rem 0.8rem;
    }

    .icon-box-side .icon-box-icon {
        min-width: auto;
        margin-right: 0.6rem;
    }

    .icon-box-side .icon-box-title {
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .icon-box-side p {
        font-size: 1.05rem;
        line-height: 1.2;
    }

    .cart-bottom{
    flex-direction: row !important;
    }

    .logo img
   {
    max-width: 80% !important;
    }

    .wishlist-link {
    margin-left: 1.4rem !important;
   }

   .header.header-10.header-intro-clearance .cart-dropdown{
    padding-left: 1.4rem !important;
    }

    .product_sepcs h5 {
    width: 185px !important;
    }
}

@media (max-width: 360px) {
    .icon-box-side p {
        display: none;
    }
}

.prod_logo {
    display: flex;
    justify-content: center;
}

.cart-bottom{
    justify-content: space-between !important;
}

.btn-continue-shopping{
    width: auto !important;
}

.cart-bottom .btn{
    margin-left: 0 !important;
}

a.btn.btn-outline-primary-2.btn-order.btn-block{
    margin-bottom: 2rem ;;
}

.summary {
    padding: 1.5rem !important;
}

.btn-grid-view .btn-product:hover,.product.product-list .btn-product:focus {
    color: #6D277D
}

.btn-grid-view .btn-product.btn-cart {
    border-color: #6D277D;
    background: #6D277D;
    color: #FFF;
    transition: color .3s;
    border-radius: 10px;
}

.btn-grid-view .btn-product.btn-cart:hover,.product.product-list .btn-product.btn-cart:focus {
    border-color: #6D277D;
    background-color: #6D277D;
    opacity: 0.9
}

figure.product-media-new {
    max-width: 100px;
}

.adjustors.qtyincdec
 {
    margin-top: -34px;
    margin-left: 30px;
}

.top-menu>li>a {
    display: block !important;
}

ul.top-menu {
    display: flex;
    align-items: center;
}

.product-label.label-promo {
    color: #333333;
    background-color: #ffcc43;
	font-weight: 600 !important;
}

@media screen and (min-width: 1200px){
    .intro-col{
        padding-left: 4rem !important;       
        padding-top: 20rem !important;
    }
}

.icon-boxes-container{
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom:  3rem !important;
}

.icon-box-side .icon-box-icon{
    font-size: 2rem !important;
}

.header .container, .header .container-fluid {  
    margin-top: 10px;
}

input.sbmit_btn.Rechercher_dans_submit.btn.btn-success {
    color: #fff;
    background: #6D277D;
    border: none !important;
}

.adv_search.adv_search_container h3 {
    color: #333 !important;
    background: transparent;
    border-bottom: 2px solid #e0e0e0;
}

.breadcrumb {
    padding: 8px 15px;
    margin-bottom: 20px;
    list-style: none;
    border-radius: 4px;   
}

.breadcrumb>li+li:before {
    padding: 0 12px;
    color: #538ec2;
    content: ">";
    font-family: 'FontAwesome';
}

.breadcrumb>.active {
    color: #777
}

@media (min-width: 768px) {
    .d-md-flex {
        display: flex !important;
    }
}

.mobile-search-container {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

.mobile-search-container .btn{
    min-width: auto !important;
}

.brdr_rdux {
    border-radius: 10px !important;
}

.intro-slider .owl-dots {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 3 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center!important;
    margin-left: 0px !important;
}

/* Responsive image inside slide */
.intro-slide-picture {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.intro-slide-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.header.header-10.header-intro-clearance .cart-dropdown{
    font-size: 2.8rem !important;
}

.product_sepcs_container {
    width: 100%;
    margin-bottom: 25px;
}

.product_attibute_container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px 0;
    border-bottom: 1px solid #e8e8e8;
    align-items: start;
    gap: 16px;
}

span.product_attibute_key {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1.4;
}

span.product_attibute_value {
    font-size: 14px;
    font-weight: 300;
    color: #555;
    line-height: 1.4;
}

input#aj_search {
    color: #000 !important;
    font-weight: 500 !important;
}

/* PayPal Payment Gateway Styles */


/* FORM LAYOUT */
#card-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  width: 100%;
  padding: 1.5rem;
}

/* LABELS */
#card-form label {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 1.5rem;
  font-weight: 500;
}

/* BRAINTREE FIELD CONTAINERS */
.card_field {
  height: 48px;
  padding: 0.75rem;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background: #fff;
  transition: border 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

/* Hover border only (clean interaction) */
.card_field:hover {
  border-color: #01338A;
}

/* Remove float clearing visual impact */
.card_field iframe {
  width: 100% !important;
  height: 100% !important;
  float: none !important;
}

/* Expiry + CVV Row */
.exp_paypal {
  display: flex;
  gap: 1rem;
}

.exp_paypal > div {
  flex: 1;
}

#card-holder-name {
  padding: 0 0.75rem;
  border: 1px solid #dcdcdc;
  width: 100%;
  transition: border 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}

/* Custom focus state */
#card-holder-name:focus {
  outline: none;
  border-color: #01338A;
  box-shadow: none;
}

#card-holder-name:hover {
  border-color: #01338A;
}

/* Pay Button */
.btn_paypal {
  height: 50px;
  border: none;
  border-radius: 8px;
  background: #01338A;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.2s ease;
  width: 100%;
  margin-top:1.2rem;
}

.btn_paypal:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  background-color: #01338A;
}

/* Responsive */
@media (max-width: 600px) {
  .exp_paypal {
    flex-direction: column;
  }
}

.paypal_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem 0;
}

.paypal_logo img {
  height: auto;
}

.card_container {
  position: relative;
}