/*
Theme Name: DBea - Child
Description: DBea - Cosmetics & Beauty Shop WordPress Theme
Author: snstheme
Theme URI: http://themeforest.net/collections/5409167-wordpress
Author URI: http://snstheme.com
Version: 1.0
Template: dbea
Text Domain: dbea-child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =========================================================
   MOBILE FIX – SEPARATE SHOP GRID & SPECIAL PRODUCTS SLIDER
   ========================================================= */
@media (max-width: 767px) {

  /*********************************************************
   1️⃣ SHOP / ALL PRODUCTS PAGE – 2 COLUMN GRID (NO SLIDER)
  **********************************************************/
/*   body.archive.woocommerce ul.products,
  body.post-type-archive-product ul.products {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: 0 -6px !important;
  } */

/*   body.archive.woocommerce ul.products > li.product,
  body.post-type-archive-product ul.products > li.product {
    width: 50% !important;
    padding: 6px !important;
    float: none !important;
    clear: none !important;
  } */

  /* Nykaa style divider line */
/*   body.archive.woocommerce ul.products > li.product {
    border-bottom: 1px solid #eee;
    border-right: 1px solid #eee;
  }
 */
/*   body.archive.woocommerce ul.products > li.product:nth-child(2n) {
    border-right: none;
  }
 */
  /* Image size */
/*   body.archive.woocommerce ul.products li.product img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }
 */
  /* Disable hover actions on SHOP mobile */
/*   body.archive.woocommerce .buttons-action,
  body.post-type-archive-product .buttons-action {
    display: none !important;
  } */


 
  /*********************************************************
   2️⃣ SPECIAL PRODUCTS – MOBILE SLIDER ONLY
  **********************************************************/
  .sns-products.owl-carousel {
    display: block !important;
    position: relative !important;
  }

  .sns-products .owl-stage {
    display: flex !important;
  }

  .sns-products .owl-item {
    width: 78% !important;   /* Nykaa-style swipe */
    margin-right: 12px;
  }

  .sns-products .owl-stage-outer {
    overflow: hidden !important;
    touch-action: pan-y;
  }

  /* Card look */
  .sns-products .block-product-inner {
    background: #fff;
    padding: 10px;
    border-radius: 6px;
  }

  .sns-products .item-img img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
  }


  /*********************************************************
   3️⃣ HOVER / TAP FIX (VERY IMPORTANT)
  **********************************************************/
  /* Mobile par hover bilkul OFF */
/*   .block-product-inner:hover .buttons-action {
    opacity: 0 !important;
    visibility: hidden !important;
  } */

  /* Buttons sirf desktop par */
  .buttons-action {
    pointer-events: none;
  }
}



.product-trust-badges{
display:flex;
gap:18px;
margin:12px 0;
flex-wrap:wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    /* gap: 6px; */
    font-size: 14px;
    color: #444;
    flex-direction: column;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 0 5px #ccc;
}

.trust-badge img{
width:100px;
/* height:26px; */
object-fit:contain;
}
/* MOBILE TRUST BADGES FIX */
@media(max-width:768px){

.product-trust-badges{
display:grid;
grid-template-columns:repeat(3,1fr); /* 3 icons in one row */
gap:10px;
text-align:center;
}

.trust-badge{
flex-direction:column; /* icon upar, text niche */
align-items:center;
}

.trust-badge img{
width:55px;   /* bigger but controlled */
height:55px;
}

.trust-badge span{
font-size:12px;
line-height:1.3;
}

}




.shipping-trust-global{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
padding:20px 0;
text-align:center;
}

.ship-item img{
width:44px;
height:44px;
}

.ship-item p{
font-size:14px;
margin-top:8px;
}


/* MOBILE */
@media(max-width:768px){

.shipping-trust-global{
grid-template-columns:repeat(2,1fr);
gap:18px;
}

.ship-item img{
width:34px;
}

}



.product_meta .share-text,
.woocommerce div.product .social-share span,
.woocommerce div.product .share-text{
display:none !important;
}
.woocommerce div.product .social-share a{
font-size:18px;
margin-right:10px;
transition:.3s;
}

.woocommerce div.product .social-share a:hover{
transform:scale(1.2);
}

.ssba-share-text,
.ssbp-text{
display:none !important;
}
.share-toggle-btn{
width:42px;
height:42px;
background:#2e7d7d;
color:#fff;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
font-size:18px;
margin-right:8px;
box-shadow:0 4px 10px rgba(0,0,0,.2);
}

.ssba a{
margin-right:6px;
}





.product .summary{
position:relative;
}

/* Floating Position */
/* .premium-share{
position:absolute;
right:-65px;
top:38%;
z-index:999;
}
 */

.premium-share {
    position: absolute;
    right: 0px;
    top: 28%;
    z-index: 999;
}

/* Main Button */
.share-main{
width:46px;
height:46px;
background:#fff;
border-radius:8px;
display:flex;
align-items:center;
justify-content:center;
cursor:pointer;
box-shadow:0 6px 18px rgba(0,0,0,.18);
}

/* Icons */
.share-icons{
display:none;
flex-direction:column;
gap:10px;
margin-top:10px;
}

.share-icons.active{
display:flex;
}

.share-icons a{
width:42px;
height:42px;
display:flex;
align-items:center;
justify-content:center;
border-radius:8px;
color:#fff;
font-weight:700;
text-decoration:none;
}

/* COLORS SAME */
.share-facebook{background:#1877F2;}
.share-messenger{background:#0084FF;}
.share-twitter{background:#1DA1F2;}
.share-pinterest{background:#E60023;}
.share-email{background:#EA4335;}

.share-icons i{
color:#fff;
font-size:18px;
}

.share-main i{
font-size:20px;
color:#000 !important;
}
#radio-control-wc-payment-method-options-razorpay__label::before {
    content: "";
    display: inline-block;
    width: 100px;
    height: 24px;
    background-image: url("https://pleysh.com/wp-content/uploads/2026/02/Razorpay_logo.svg");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin-right: 8px;
}
.wc-block-components-order-summary-item{
    border: 1px solid #ccc;
    margin-bottom: 10px;
    padding: 10px;
    box-shadow: 0 0 5px #ccc;
}
.wc-block-components-order-summary-item .wc-block-components-product-metadata,
.wc-block-components-order-summary-item .wc-block-components-product-badge.wc-block-components-product-low-stock-badge,
.single_variation_wrap #pincheck_wrapper{
	display:none;
}
.wc-block-components-form .wc-block-components-text-input input[type=email], .wc-block-components-form .wc-block-components-text-input input[type=number], .wc-block-components-form .wc-block-components-text-input input[type=password], .wc-block-components-form .wc-block-components-text-input input[type=tel], .wc-block-components-form .wc-block-components-text-input input[type=text], .wc-block-components-form .wc-block-components-text-input input[type=url], .wc-block-components-text-input input[type=email], .wc-block-components-text-input input[type=number], .wc-block-components-text-input input[type=password], .wc-block-components-text-input input[type=tel], .wc-block-components-text-input input[type=text], .wc-block-components-text-input input[type=url],.wc-blocks-components-select .wc-blocks-components-select__select{
    background-color: #ddd!important;
    border: 1px solid #ccc!important;
}


/* MOBILE */
@media(max-width:768px){

.premium-share{
right:10px;
top:0px !important;
}

}

