.sc-ShopBasket{
  display:none;
}

.cart-mode{
  .sc-ShopBasket{
    display:block;
  }

} 
.ct-itemcount{
  min-width:75px;
  font-size:22px;
}
.order-info{
  margin-bottom:16px;
}
.ms-next-btn{
  display:flex;
  gap:6px;
}
.article-row{
  border-bottom:1px solid rgba(0,0,0,0.1);
  padding:6px 0;
  
  &:last-child{
    border-bottom:none;
  }
  
  .article-column{
    flex:0.55;
    @media (max-width: 1024px) {
      flex:0.70;
    }
  }


  .quantity-column {
    flex:0.20;

   
    
    a{
      cursor:pointer;
      opacity:0.7;
      transition:all 0.2s;
      &:hover{
        opacity:1;
      }
      
      &.disabled{
        opacity:0.2;
        cursor:not-allowed;
        &:hover{
          opacity:0.2;
        }
      }
    }

     .material-icons{
      font-size:24px;
    }
    @media (max-width: 1024px) {
      flex:0.1;
      min-width:75px;

      .material-icons{
        font-size:20px;
      }
    }
  }

  .price-column{
    flex:0.25;
    @media (max-width: 1024px) {
      flex:0.2;

      min-width:125px;


    }
    .price{

      @media (max-width: 1024px) {

      }

    }
  }
}

 

.Checkout{
  
  .ms-btn-primary{
    span{
       white-space: nowrap;
    }
  }
  margin-top:100px;
  .checkout-table {
    margin-top:16px;
     @media (max-width: 1024px) {
    margin-top:0;

      }
  }
  .ms-error-text{
    margin-top:5px;
    color:red;
    transition:all 1.2;
    &.old{
      opacity:0.5;
      color:gray;
    }
  }
  .ms-form-actions{
    @media (max-width: 1024px) {
      display:flex;
      flex-direction:column;
      gap:6px;
      
      .ms-custom-buttons-left{
        .btn-wrap{
          flex:1;
          margin:0;
          
          button{
            margin:0;
            
          }
          
        }
      }
    }
  }


  .material-radio {

    input[type="radio"]{

      /* 1. Strip the native OS/browser styling entirely */
      appearance: none;
      -webkit-appearance: none;

      /* 2. Establish dimensions and layout */
      width: 24px;
      height: 24px;
      margin: 0;
      cursor: pointer;
      display: inline-grid;
      place-content: center; /* Perfectly centers the icon */

      /* 3. Base color */
      color: #555;
      transition: color 0.2s ease-in-out;
      border:none !important;
      
      /* 4. Default unchecked icon */
      &::before {
        border:1px solid red;
        text-decoration:none;
        content: 'radio_button_unchecked';
        font-family: "Material Icons";
        font-size: 24px;
        line-height: 1;
        /* Prevent text selection on rapid clicks */
        user-select: none; 
        border:none;
        color:#fff;
      }

      /* 5. Checked state */
      &:checked {
        color: #1976d2;

        &::before {
          content: 'radio_button_checked';
        }
      }

      /* 6. Keyboard accessibility (Native background hiding destroys focus rings) */
      &:focus-visible {
        outline: 2px solid #1976d2;
        outline-offset: 2px;
        border-radius: 4px;
      }

      /* 7. Disabled state handling */
      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
    }

  }
  

  .material-checkbox {

    input[type="checkbox"]{
      
      /* 1. Strip the native OS/browser styling entirely */
      appearance: none;
      -webkit-appearance: none;

      /* 2. Establish dimensions and layout */
      width: 24px;
      height: 24px;
      margin: 0;
      cursor: pointer;
      display: inline-grid;
      place-content: center; /* Perfectly centers the icon */

      /* 3. Base color */
      color: #555;
      transition: color 0.2s ease-in-out;
      border:none !important;
      
      /* 4. Default unchecked icon */
      &::before {
        border:1px solid red;
        text-decoration:none;
        content: 'check_box_outline_blank';
        font-family: "Material Icons";
        font-size: 24px;
        line-height: 1;
        /* Prevent text selection on rapid clicks */
        user-select: none; 
        border:none;
        color:#fff;
      }

      /* 5. Checked state */
      &:checked {
        color: #1976d2;

        &::before {
          content: 'check_box';
        }
      }

      /* 6. Keyboard accessibility (Native background hiding destroys focus rings) */
      &:focus-visible {
        outline: 2px solid #1976d2;
        outline-offset: 2px;
        border-radius: 4px;
      }

      /* 7. Disabled state handling */
      &:disabled {
        opacity: 0.5;
        cursor: not-allowed;
      }
    }

  }


  @media (max-width: 640px) {

    .H5APP_cartOverview  table.cart_table td>b
    { font-size:18px;


    }
  }

  .ms-form-actions{
    margin-top:32px;
  }

  @keyframes shake {
    0% {
      padding-left: 0rem ;
    }
    25% {
      padding-left: 0.5rem;
    }
    75% {
      padding-left: -0.5rem ;
    }
    100% {
      padding-left: 0rem ;
    }
  }


  .radio-input, 
  .checkbox-input {
    margin-bottom:20px;
    gap:16px;

    >div{
      display:flex;
      align-items:center;

    }
    .label{
      gap:16;
    }

  }
  header .c-ShopBasket
  { max-height:calc(100vh - 100px) !important;
    overflow:auto;
  }

  .quantity{
    .ajax-option{
      cursor:pointer;
    }
  }

  div.billing-target{
    cursor:pointer;
  }
  .section-content
  { padding:24px;
    line-height:22px;
  }
  .section-content button.button,
  .section-content button 
  {
    color: #000;
    border-color: #fff;
    padding: 10px;
    min-width: 150px;
    font-size: 20px;
    background: #fff;
    text-transform:uppercase;
    text-align:center;
    display:flex;
    justify-content:center;
    border:2px solid white;
    &:disabled{
      color: #999;

      &:hover{
        color: #000;
        border-color: #fff;
        background: #dadada;
      }
    }
  }

  .section-content button.button.admin,
  .section-content button.admin
  {
    background:#aa0000;
    color:#fff;
    border:2px solid black;
  }


  .vat-info
  { font-size:12px;
    line-height:16px;
    margin-top:5px;

  }

  .section-content button.button.white,
  .section-content button.white 
  {
    border:2px solid white;
    border-color: #000;



  }


  .section-content button.button:hover,
  .section-content button:hover 
  {
    background:#000;
    color:#fff;



  }


  .section-content    input.cart-input.white[type="text"] {
    color:#000;
    border-bottom:1px solid black;


  }

  .form-options
  { flex:1;
    display:flex;
    grid-gap:10px;
  }


  /***********************************************************************************************/
  /* H5APP_ProductGrid   */
  /***********************************************************************************************/
  .H5APP_TSGCartX  
  { background:#ffffff;
    color:#222222;
    position:relative;


    transition: max-height 0.2s ;
    margin:0;

  }




  .c-title
  { text-transform:uppercase;
    font-weight:normal;
    font-size: 24px;
  }



  .preturn
  {
  }
  .preturn .header
  { background:#000;
    color:#fff;
  }
  .preturn .p-section
  { font-size:24px; font-weight:bold;
    border-bottom:2px solid black;
    margin-bottom:24px;
  }
  .preturn .p-details
  { 
  }

  .preturn .p-details>div
  { margin-bottom:20px;
  }


  .payment-option
  { cursor:pointer;
    opacity:0.8;
  }
  .payment-option.selected,
  .payment-option:hover
  { opacity:1;
  }


  .H5APP_TSGCartX.checkout
  {
    margin-bottom:20px;
    background:#fff; 
    color:#333;  
    padding-top:20px;
    overflow:auto;

  }

  .H5APP_TSGCartX   .m-item-wrap a
  { color:#333;
  }
  .H5APP_TSGCartX   .m-item-wrap a>span
  { color:#333;
  }


  .H5APP_TSGCartX  .section-header h1{
    font-size:36px;

  }


  .c-col
  { border:0px solid green;

  }

  .c-col>div
  { border: 0px solid blue;
  }
  .c-col>div:first-child
  { flex:0.8;
  }

  .c-col>div:last-child
  { flex:0.2;
    text-align:right;
  }
  .article-row>div
  { border:0px solid red;
  }
  .article-row .amount
  { font-size: 24px;
    padding:0 24px;
    @media (max-width:992px)  { 
      font-size: 18px;
      padding:0 18px;

    }
  }


  .c-sep{
    width:100%; 
    margin:15px 0px;
    border-top:1px solid gray;
  }

  @media (max-width:992px)
  { 

    .H5APP_TSGCartX  .section-header h1{
      font-size:30px;

    }
  }

  .ct-table-header>div
  { text-transform:uppercase;
  }
  .ct-table-header .tart
  { text-align:left;
  }

  .ct-table-header .tprice
  { text-align:right;
  }


  .H5APP_TSGCartX .price
  { 
    font-size: 24px;
    text-transform: uppercase;
    text-align: right;

    white-space: nowrap;

  }



  .H5APP_TSGCartX .sprice
  { 
    font-size: 24px;
    text-transform: uppercase;
    text-align: right;
    font-weight:bold;
    white-space: nowrap;
  }

  .billing-block{
    display:none;
    &.active{
      display:flex;
    }
  }

  @media (max-width:992px)
  { 
    .H5APP_TSGCartX .price
    { 
      font-size: 18px;
      text-transform: uppercase;
      text-align: right;

    }
    .H5APP_TSGCartX .sprice
    { 
      font-size: 18px;
      text-transform: uppercase;
      text-align: right;
      font-weight:bold;
    }
  }

  .H5APP_TSGCartX .wrapper
  { max-width:1600px;
    margin:0 auto;
    position:relative;

    overflow:auto;
  }

  .H5APP_TSGCartX .side
  { padding:20px;
    float:none;
    width:100%;
    position:relative;
    display:block;
  }

  .H5APP_TSGCartX .article-opt {
    color:#000;
  }


  @media (max-width:992px)
  { 
    .H5APP_TSGCartX .side
    { width:100%;

    }
  }

  .H5APP_TSGCartX  h1
  { font-size:50px;
  }

  .H5APP_TSGCartX  .button
  { float:right;
  }

  .H5APP_TSGCartX  .button a
  { color:#222222;
    border-color:#222222;
    padding:10px;
    min-width:150px;
    font-size:20px;
  }

  .H5APP_TSGCartX  .button:hover a
  { color:#efeee8;
    background:#222222;

  }

  .H5APP_TSGCartX .article-row
  { gap:10px;
  }
  .H5APP_TSGCartX  .price-column {
    text-align:right;
  }
  .ct-article
  { padding:10px 0;
  }
  select,
  input,
  input[type=text]{


    font: 18px / 28px "Lato", Arial, sans-serif;
    color: #333;
    width: 100%;
    box-sizing: border-box;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #000;
    border: 0px solid transparent;
    background: #fff;
    margin-bottom: 0px;
    padding-left: 10px;
    border: 1px solid black;
  }
  input.radio{
    color: #333;
    width: auto;
  }
  select{
    margin:0;
    border:1px solid white;
    font-size:14px;
  }
  .section-dark{
    padding:24px; 
    flex:0.5; 
    background:#000; 
    color:#fff;

    .ms-field-wrapper{
      .ms-bool-field-container
      { display:flex;
        gap:16px;

      }
      .payment-label{
        h3{
          margin:0; 
          padding:0;
        }
      }
      margin-bottom:16px;
      select,
      input{
        font: 18px / 28px "Lato", Arial, sans-serif;
        color: #333;
        width: 100%;
        box-sizing: border-box;
        letter-spacing: 1px;
        margin-bottom: 10px;
        color: #fff;
        border: 0px solid transparent;
        background: transparent;
        margin-bottom: 0px;
        padding-left: 10px;
        border-bottom: 1px solid white;
      }
      input.radio{
        color: #333;
        width: auto;
      }
      select{
        margin:0;
        border:1px solid white;
        font-size:14px;
      }
    }
  }

  .ct-article .name,
  .ct-title
  { text-transform:uppercase;
    font-weight:bold;
    font-size: 24px;
  }


  @media (max-width: 1024px) {
    .ct-article .name,
    .ct-title
    { text-transform:uppercase;
      font-weight:bold;
      font-size: 18px;
    }

    .ct-table-header .qty
    { opacity:0;
    }

    .ct-article
    { padding:0 0;
    }

  }

  @media (max-width:960px) {
    .ct-article .name,
    .ct-title
    { text-transform:uppercase;
      font-weight:bold;
      font-size: 16px;
    }


  }


  .ct-article .model,
  .ct-article .size
  {
  } 


  .H5APP_TSGCartX .item-wrapper .product-panel
  { width:100%;
    height:100%;
    min-height:100%; 
    min-width:120px; 
  }

  .H5APP_TSGCartX .item-wrapper .product-panel .dom-image-bg{
    transition:all 0.2s;
    background-size: 80% 80%;
  }

  .H5APP_TSGCartX .item-wrapper .product-panel:hover .dom-image-bg{
    background-size: 60% 60%;
    transition:all 0.2s;
  }


  .H5APP_TSGCartX .item-wrapper .product-panel>.info
  { position:absolute;
    bottom:0;
    left:0px;
    z-index:10;

    opacity:0;


    box-sizing: border-box;
    padding:10px;
    margin:0px;
  }

  .H5APP_TSGCartX .item-wrapper .product-panel .info h1
  { 

    border-bottom:0px;
    font-size:1.2vw;
    line-height: 1.3vw;
    margin:0px;
    padding:0px;
    margin-bottom:3px;


  }
  .H5APP_TSGCartX .item-wrapper .product-panel .info .name
  { 
    font-family:trade-gothic-lt;
    font-weight:normal;
    text-transform:none;
    margin-bottom:8px;

  }


  .H5APP_TSGCartX .item-wrapper .product-panel .info .price
  { font-size:0.9vw;
    font-family:trade-gothic-lt;
    font-weight:bold;
    text-transform:none;
    margin-bottom:0px;

  }




  .H5APP_TSGCartX .item-wrapper .product-panel .info .price>span
  { 
    text-decoration: line-through;
    color:#807f7a;
    font-size:0.7vw;
  }




  .H5APP_TSGCartX .item-wrapper .product-panel:hover>.info
  { opacity:1;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
  }



  .H5APP_TSGCartX  .cart-input.border {
    border:2px solid gray;
    margin:0px;

  }
  .H5APP_TSGCartX  .cart-input.border .label,
  .H5APP_TSGCartX  .cart-input.border:focus .label
  {
    display:none;
  }




  .H5APP_TSGCartX  .cart-input~label {
    position: absolute;
    left: 0;
    width: 100%;
    top: 9px;
    color: #aaa;
    transition: 0.3s;
    z-index: auto;
    letter-spacing: 0.5px;
    opacity:0;
  }

  .H5APP_TSGCartX  .cart-input:focus~label,
  .H5APP_TSGCartX  .has-content.cart-input~label {
    top: 0px;
    font-size: 12px;
    color: #999999;
    transition: 0.3s;
    opacity:1;
  }

  .H5APP_cartOverviewX  .input_wrapper 
  { margin:0;
    padding:0;;
  }

  .H5APP_cartOverviewX  .input_wrapper .label
  { display:none !important; 
  }

  .H5APP_TSGCartX .input_wrapper>input.invalid {
    animation: shake 0.2s ease-in-out 0s 2 ;

  }

  .H5APP_TSGCartX  .input_wrapper
  { display:block;

  }
  .H5APP_TSGCartX  .input_wrapper>input,
  .H5APP_TSGCartX  .input_wrapper>select
  { width:100%;
    margin:0;
  }


  @media (max-width:992px)
  { 

    .H5APP_TSGCartX  .input_wrapper>input,
    .H5APP_TSGCartX  .input_wrapper>select
    { font-size:12px;
    }

    .input_wrapper
    { margin-bottom:10px;
    }
    .c-title
    { text-transform:uppercase;
      font-weight:normal;
      font-size: 18px;
    }


  }



  .H5APP_TSGCartX .input_wrapper
  { position:relative; 
  }

  .H5APP_TSGCartX  .cart-input~label.error,
  .H5APP_TSGCartX  .cart-input:focus~label.error,
  .H5APP_TSGCartX  .has-content.cart-input~label.error {
    position: absolute;
    font-size: 12px;
    right: 0;
    width: auto;
    top: 0px;
    color: #aaa;
    transition: 0.3s;
    z-index: auto;
    letter-spacing: 0.5px;
    opacity:1;
    text-align:right;
    font-weight:bold;
    color:#aa0000;
  }



  @media (max-width: 1024px) {

    .H5APP_TSGCartX .item-wrapper .product-panel>.info
    { 

      box-sizing: border-box;
      padding:20px;
      margin:0px;
    }

    .H5APP_TSGCartX .item-wrapper .product-panel .info h1
    { 

      border-bottom:0px;
      font-size:3.2vw;
      line-height:3.4vw;
      margin-bottom:10px;

    }
    .H5APP_TSGCartX .item-wrapper .product-panel .info .name
    { 

      margin-bottom:8px;

    }
    .H5APP_TSGCartX .item-wrapper .product-panel .info .price
    {  font-size:2.7vw; 



    }


    .H5APP_TSGCartX .item-wrapper .product-panel .info .price>span
    { 

      font-size:1.7vw;
    }



    .H5APP_TSGCartX .item-wrapper .product-panel:hover>.info
    { opacity:1;

    }

  }



  @media (max-width: 768px) {

    .H5APP_TSGCartX .item-wrapper .product-panel>.info
    { 

      box-sizing: border-box;
      padding:30px;
      margin:0px;
    }

    .H5APP_TSGCartX .item-wrapper .product-panel .info h1
    { 

      border-bottom:0px;
      font-size:7.2vw;
      line-height:7.4vw;
      margin-bottom:10px;

    }
    .H5APP_TSGCartX .item-wrapper .product-panel .info .name
    { 

      margin-bottom:8px;

    }
    .H5APP_TSGCartX .item-wrapper .product-panel .info .price
    {  font-size:4.7vw; 



    }


    .H5APP_TSGCartX .item-wrapper .product-panel .info .price>span
    { 

      font-size:3.7vw;
    }



    .H5APP_TSGCartX .item-wrapper .product-panel:hover>.info
    { opacity:1;

    }

  }



  .H5APP_TSGCartX .item-wrapper .product-panel>.blend
  {  position:absolute;
    width:100%;
    height:100%;
    background: url(/bd_xml_series/47/blend.png);
    opacity:0.8;
    background-size : 100% 100%;
    left:0px;
    top:0px;
    z-index:20;
    opacity: 0.6;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
    -o-transition: all 0.25s ease-in-out;
    transition: all 0.25s ease-in-out;
    display:none;
  }



  .H5APP_TSGCartX .item-wrapper .product-panel:hover .blend
  {
    opacity: 0.05;
    z-index:20;

  }


  .H5APP_TSGCartX .item-wrapper .product-panel:hover
  {
    background-size:60% 60%;


  }
  

  .H5APP_TSGCartX .square {
    aspect-ratio:1 / 1;
    width:100%;
    display:block;
  }

  .H5APP_TSGCartX .square::before {
    content: '';
    display: none;
    padding-top: 100%;
  }


  .H5APP_TSGCartX .promo-offer
  { position:absolute;
    width:20px;
    height:40px;
    background:#000;
    color:#fff;
    font-size:8px;
    text-align:center;
    box-sizing:border-box;
    padding-top:10px;
    z-index:10;
    right:0px;
    top:0px;
    -webkit-clip-path: polygon(0 0%, 100% 0, 100% 100%, 0 54%);
    clip-path: polygon(0 0%, 100% 0, 100% 100%, 0 54%);
    opacity:0.4;
  }


  .H5APP_TSGCartX .special-offer
  { position:absolute;
    width:20px;
    height:40px;
    background:#ca161d;
    color:#fff;
    font-size:8px;
    text-align:center;
    box-sizing:border-box;
    padding-top:10px;
    z-index:10;
    right:0px;
    top:0px;
    -webkit-clip-path: polygon(0 0%, 100% 0, 100% 100%, 0 54%);
    clip-path: polygon(0 0%, 100% 0, 100% 100%, 0 54%);
    opacity:0.4;
  }

  .prod_img
  { min-width:75px;
    width:100%;
    max-width:75px;
  }


  /********************************************************************************************/
  /* TSGFeatureDetails   */
  /********************************************************************************************/

  .H5APP_cartOverviewX 
  { overflow:auto;
    position:relative;
    margin-bottom:30px;
    font-family:trade-gothic-lt;
  }


  .H5APP_cartOverviewX  table.cart_table td,
  .H5APP_cartOverviewX  table.cart_table th
  { vertical-align:middle;

    padding:5px;
    margin:0x;
    font-weight:normal;
  }

  .H5APP_cartOverviewX  table.cart_table tr:first-child>th
  { font-size:16px;
  }


  .H5APP_cartOverviewX input.promocode
  {
  }

  .H5APP_cartOverviewX  table.cart_table td:nth-child(4n),
  .H5APP_cartOverviewX  table.cart_table td:nth-child(5n),
  .H5APP_cartOverviewX  table.cart_table td:nth-child(6n),
  .H5APP_cartOverviewX  table.cart_table td:nth-child(7n)
  { text-align:right;
  }

  .H5APP_cartOverviewX  table.cart_table tr
  { 
  }

  .H5APP_cartOverviewX  .promo_info
  { text-transform:none;
    font-size:16px;
    font-style:italic;
  }
  .H5APP_cartOverviewX  table.cart_table img
  { max-width:100px;
    width:100%;
    height:auto;
  }

  .H5APP_cartOverviewX  table.cart_table tr .price,
  .H5APP_cartOverviewX  table.cart_table tr .quantity
  { font-size:24px;
    text-transform:uppercase;
    text-align:right;
  }
  .H5APP_cartOverviewX  table.cart_table tr>th
  { font-size:24px;
    text-transform:uppercase;
  }
  .H5APP_cartOverviewX  table.cart_table tr>th:first-child
  { text-align:left;
  }
  .H5APP_cartOverviewX  table.cart_table tr.sep td
  { height:1px;
    border-bottom: 1px dotted black;
  }
  .H5APP_cartOverviewX  table.cart_table td.prod_img
  { min-width:75x;
    width:100%;
    max-width:75x;
  }

  .H5APP_cartOverviewX  table.cart_table td>b
  { font-size:24px;
    text-transform:uppercase;
  }

  .loading
  { opacity:0.8;
    transition:all 0.2s;
  }


  @media (max-width: 1024px){
    /* .dom-flex.flex-r>div
    { 
    margin-bottom:10px;

  }*/
  }
}