/* LibertyTrade Suite global CSS tweaks */
.ucp-grid .wd-product-footer .button { box-shadow: none; }

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp > .ai-wcas-row.ai-wcas-row{
  display:flex; align-items:flex-start; gap:10px;
  padding:8px 10px; border-bottom:1px solid #eee;
  flex-wrap:nowrap; width:auto; max-width:none;
  transition:background .2s ease;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row.ai-wcas-row:hover{
  background:rgba(0,0,0,0.04);
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row > a.dgwt-wcas-suggestion-product{
  display:flex; align-items:flex-start; gap:8px;
  flex:1 1 auto; min-width:0; text-decoration:none;
  width:auto; max-width:none;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row a.dgwt-wcas-suggestion-product .dgwt-wcas-si img{
  width:68px; height:auto; display:block; border-radius:4px; flex-shrink:0;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row .dgwt-wcas-st{ flex:1 1 auto; min-width:0; }
.dgwt-wcas-suggestions-wrapp .ai-wcas-row .dgwt-wcas-st-title{ display:block; font-weight:600; margin-bottom:2px; line-height:1.25; }
.dgwt-wcas-suggestions-wrapp .ai-wcas-row .dgwt-wcas-sd{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  line-height:1.25; word-break:break-word; overflow-wrap:anywhere;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row > .dgwt-wcas-meta{
  flex:0 0 auto; margin-left:auto; display:flex; align-items:center; gap:6px;
  white-space:nowrap; width:auto !important; max-width:none !important;
  float:none !important; clear:none !important;
}
.dgwt-wcas-suggestions-wrapp .ai-wcas-row .dgwt-wcas-meta .dgwt-wcas-sp{ display:none !important; }
.dgwt-wcas-suggestions-wrapp .ai-wcas-row .login-to-prices-msg{
  font-weight:500; text-decoration:underline; white-space:nowrap; line-height:1.1; padding:2px 0;
}

@media (max-width:360px){
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row .dgwt-wcas-st-title{ font-size:13.5px; }
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row{
  padding: 6px 10px;
  line-height: 1.2;
  position: relative;
}

@media (max-width: 480px){
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row{ padding: 6px 10px; gap: 8px; }
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row a.dgwt-wcas-suggestion-product .dgwt-wcas-si img{ width: 52px; }
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row .dgwt-wcas-sd{ -webkit-line-clamp: 1; }
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin: 0 !important;
  border-top: 0 !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row.is-hover{
  background: rgba(0,0,0,0.06) !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row > *{
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}


.dgwt-wcas-content-wrapp {
	height: auto !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion.dgwt-wcas-suggestion-selected,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-headline:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tax:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-tag:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-more:hover {
  background: transparent !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row {
  position: relative;
}
.dgwt-wcas-suggestions-wrapp .ai-wcas-row:hover {
  background: rgba(0,0,0,0.06) !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row a:hover {
  background: transparent !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row > * {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row{
  --ai-gap: 10px;
  --ai-meta-w: 120px;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row > a.dgwt-wcas-suggestion-product{
  flex: 1 1 calc(100% - var(--ai-meta-w) - var(--ai-gap)) !important;
  min-width: 0 !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row > .dgwt-wcas-meta{
  flex: 0 0 var(--ai-meta-w) !important;
  max-width: var(--ai-meta-w) !important;
  margin-left: var(--ai-gap) !important;
  justify-content: flex-start !important;
  align-items: center !important;
  white-space: normal !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row .login-to-prices-msg{
  display: inline-block !important;
  max-width: 9.5ch;
  white-space: normal !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  line-height: 1.18;
  text-align: left;
}

@media (max-width: 480px){
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row{ --ai-meta-w: 90px; }
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row .login-to-prices-msg{
    max-width: 8.5ch;
  }
}

@media (max-width: 360px){
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row{ --ai-meta-w: 82px; }
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row .login-to-prices-msg{ max-width: 8ch; }
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row > .dgwt-wcas-meta{
  align-self: center !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin-left: 10px !important;
  padding-right: 6px !important;
  white-space: normal !important;
}

.dgwt-wcas-suggestions-wrapp .ai-wcas-row .login-to-prices-msg{
  display: inline-block;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.2;
  text-align: left;
}

/*@media (max-width: 480px){*/
/*  .dgwt-wcas-suggestions-wrapp .ai-wcas-row > .dgwt-wcas-meta{*/
/*    max-width: 50px !important;*/
/*    flex: 0 1 100px !important;*/
/*  }*/
/*}*/


.dgwt-wcas-suggestions-wrapp .dgwt-wcas-meta .woocommerce-Price-amount.amount {
  margin-left: 10px !important;
}

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sd {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.25;
  max-height: 2.6em;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .dgwt-wcas-suggestions-wrapp .dgwt-wcas-sd {
    -webkit-line-clamp: 1;
    max-height: 1.4em;
  }
}

.product-images .product-share.under-gallery { margin-top:16px }

.price .ltc-weight-all{
  font-weight:900;
  white-space:nowrap;
  color:#1E2647 !important;
}
.price .ltc-weight-all .ltc-weight-price{ color:#1E2647 !important; }

.single-product .price .ltc-divider{
  display:inline-block;
  margin:0 .5rem;
  color:#1E2647;
}

.ltc-break + .ltc-weight-all{ margin-top:.35rem; display:inline-block; }


.ltc-price-block {
    font-size: 10px;
    font-weight: bold;
    color: rgba(11, 36, 64, 1) !important
}

.ltc-line-main, .ltc-line-sub {
    font-size: 15px !important;
    font-size: initial;
    font-weight: bold; 
    color: rgba(11, 36, 64, 1) !important
}

.wd-single-price .ltc-line-main,.wd-single-price  .ltc-line-sub {
    font-size: 22px;
    font-weight: bold; 
    color: rgba(11, 36, 64, 1) !important;
}

.login-to-prices-msg {
    font-size: 16px !important;
    color: rgba(140, 188, 103, 1); 
    text-decoration: underline;
    margin-top: 5px;
    display: inline-block;
    text-align: center;
}

.login-to-prices-msg:hover {
    color: #FF5733;
}

.ucp-units {
    font-size: initial;
    font-weight: bold; 
    color: rgba(11, 36, 64, 1) !important;
}

/* MOBILE FIX: login to see prices на новой строке */
@media (max-width: 480px){

.dgwt-wcas-search-input {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


.dgwt-wcas-search-wrapp {
    min-width: 100px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	padding: 6px 24px 6px 48px;
}

.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
	top: 13px;
}

  .dgwt-wcas-suggestions-wrapp .dgwt-wcas-content-wrapp > .ai-wcas-row.ai-wcas-row{
    flex-wrap: wrap !important;
    align-items: flex-start;
  }

  .dgwt-wcas-suggestions-wrapp .ai-wcas-row > a.dgwt-wcas-suggestion-product{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .dgwt-wcas-suggestions-wrapp .ai-wcas-row > .dgwt-wcas-meta{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 4px !important;
    padding-right: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row > .dgwt-wcas-meta{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-top: 4px !important;
    padding-right: 0 !important;
    justify-content: center !important;
    align-items: center !important;
  }

.dgwt-wcas-suggestions-wrapp .dgwt-wcas-meta:has(.login-to-prices-msg)
  > a.dgwt-wcas-suggestion-product {
  display: none !important;
}
 
  .dgwt-wcas-suggestions-wrapp .ai-wcas-row .login-to-prices-msg{
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: break-word;
    text-align: left;
  }
}

.wd-content-area .wd-shop-tools-breadcrumbs {
  margin-bottom: 10px;
}

/*.shop-loop-head {*/
/*  justify-content: end !important;*/
/*}*/

.shipping-details-title {
    display: block;
    margin-bottom: var(--wd-tags-mb, 20px);
    color: var(--wd-title-color);
    text-transform: var(--wd-title-transform);
    font-weight: var(--wd-title-font-weight);
    font-style: var(--wd-title-font-style);
    font-family: var(--wd-title-font);
    line-height: 1.4;
    font-size: 22px !important;
    text-transform: uppercase;
    margin-top: 30px;
}
