.woocommerce-notices-wrapper{
    margin: 0 auto;
    width: fit-content;
}

.logged-in .woocommerce-notices-wrapper{
    margin: 0 0 15px 0;
}

.woocommerce-notices-wrapper ul,.woocommerce-notices-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
    outline: none;
    list-style: disc;
    margin-bottom: 20px;
}

.woocommerce-message,.woocommerce-notices-error, .woocommerce-notices-error strong, .woocommerce-error li{
    display: block;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    font-family: 'RocaOne-Th', sans-serif;
}

.woocommerce-message{
    color: darkgreen;
}

.woocommerce-notices-error, .woocommerce-error, .woocommerce-notices-error strong{
    color: red;
}

@media (max-width: 525px) {
    .woocommerce-notices-wrapper, .woocommerce-notices-wrapper ul > li {
        line-height: 18px;
        font-size: 14px;
    }
    .woocommerce-message,.woocommerce-notices-error, .woocommerce-notices-error strong{
        font-size: 16px;
    }
}
.woocommerce-cabinet-content{
    margin-top: 30px;

    background: rgba(255, 255, 255, 1);
    border-radius: 16px;
    padding: 25px 20px;
}
.woocommerce-cabinet-content p{
    font-size: 16px;
    line-height: 22px;
}
.woocommerce-cabinet-content p a{
    color: #1c3935 !important;
    font-weight: 600;

    display: inline-block;
    text-decoration: none;
    position: relative;
}

.woocommerce-cabinet-content p a::after{
    content: "";
    display: block;
    height: 1px;
    background: #1c3935;
    width: 0;
    transition: width 0.6s ease;
    position: absolute;
    left: 0;
    bottom: -1px;
}

.woocommerce-cabinet-content p a:hover::after{
    width: 100%;
}

.woocommerce-cabinet-content p:not(:last-child){
    margin-bottom: 16px;
}




 /* checkout page */
 .wc-block-checkout .wc-block-components-checkout-step__title {
    font-family: 'Helvetica-Neue-Roman' !important; 
}
.wc-block-checkout .wc-block-components-order-summary-item__individual-price,
.wc-block-checkout .wc-block-components-product-price__value {
    font-family: 'RocaOne-Rg' !important;
}
.wc-block-checkout  .wc-block-components-product-name {
    font-family: 'RocaOne-Th' !important;
}
.wc-block-components-checkout-step__heading h2 { 
    font-size: 25px !important;
    line-height: 32px;
    margin-bottom: 40px !important;
}
.wc-block-checkout .wc-block-components-totals-footer-item {
    align-items: center !important;
}
.wc-block-checkout .wc-block-components-address-card , .wc-block-checkout .wc-block-components-totals-shipping {
    font-size: 16px !important;
    line-height: 24px !important;
}
.wc-block-components-address-card address {
    margin-right: 10px !important;
}
.wc-block-components-radio-control__option {
    height: 50px !important;
    display: flex !important;
    align-items: center !important;
}

@media (max-width: 820px) {
    .wc-block-components-product-name {
        margin-bottom: 5px !important;
    }
    .wc-block-components-checkout-step__heading h2 { 
        font-size: 20px !important;
        line-height: 26px;
        margin-bottom: 25px !important;
    }
}

.wc-block-components-sidebar {
    width: calc(100% - 680px) !important;
    max-width: 480px !important;
}
.woocommerce-checkout .content-container {
    width: calc(100% - 40px) !important;
    max-width: 1200px !important;
}

.wc-block-components-sidebar-layout {
    justify-content: space-between;
}
.wc-block-components-sidebar-layout .wc-block-components-main {
    padding-right: 0 !important;
}


.wc-block-components-title.wc-block-components-title , 
.wc-block-components-order-summary-item {
    position: relative;
}
.wc-block-components-title.wc-block-components-title::before {
    position: absolute;
    content: ''; 
    width: 100%;
    height: 0.5px;
    background: #BCC5BA;
    bottom: -20px;

}
.wc-block-components-main {
    width: 620px !important;
}
.wp-block-woocommerce-checkout-order-summary-block {
    border-radius: 16px !important;
    background: white !important;
    border: none !important;
    padding: 5px 10px !important;
}

.wc-block-components-checkout-step__description ,
.wc-block-components-product-name  {
    font-size: 16px !important;
    line-height: 20px !important;
    color: #727270 !important;
}

 .wc-block-components-text-input input[type="text"] , 
 .wc-block-components-text-input input[type="email"], 
 .wc-block-components-text-input input[type="tel"],
 .wc-blocks-components-select__container select {
    padding-left: 20px !important;
    border-radius: 48px !important;
    background: transparent !important;

 }
 .wc-blocks-components-select__container {
    border-radius: 48px !important;
}
 
 .wc-block-components-text-input input[type="text"]:focus , 
 .wc-block-components-text-input input[type="email"]:focus,
 .wc-block-components-text-input input[type="tel"]:focus,
 .wc-blocks-components-select__select:focus {
        border: none !important;
        background: #ffffff !important;
        outline: none !important;
 }
 .wc-block-components-text-input label , .wc-blocks-components-select__container label {
    padding-left: 15px;
 }
.wc-blocks-components-select__select {
    padding-right: 50px;
    white-space: nowrap;
    overflow: hidden; 
    text-overflow: ellipsis;
}
.wc-block-components-radio-control .wc-block-components-radio-control__input:focus {
    outline: none !important;
    outline-offset:unset !important;
}
.wc-block-components-address-form__address_2-toggle {
    margin-left: 20px;
}

.wc-block-components-product-name,
.wc-block-components-product-metadata__description {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important; 
    -webkit-box-orient: vertical !important; 
    overflow: hidden !important; 
    text-overflow: ellipsis !important;
    color: #020304 !important;
 }

.wc-block-components-product-metadata * , 
.wc-block-components-product-badge {
    display: none !important;
}

.wc-block-components-order-summary .wc-block-components-order-summary-item__total-price {
    max-width: 100px !important;
    min-width: 75px !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__quantity {
    border: 1px solid #B6AFA5 !important;
}

.wc-block-formatted-money-amount ,
.wc-block-components-product-price, 
.wc-block-components-order-summary__button-text, 
.wc-block-components-panel__button , 
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value, 
.wc-block-checkout__shipping-option--free {
    color: #1C3935 !important;
}
.wc-block-components-totals-item__description {
    margin-top: 5px !important;
}

.wc-block-components-order-summary-item::after  {
    position: absolute;
    content: ''; 
    width: 100%;
    height: 0.5px;
    background: #BCC5BA;
    bottom: 5px;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__description {
    min-height: 85px !important;
}
.wc-block-components-order-summary .wc-block-components-order-summary-item:first-child {
    padding-top: 16px !important;
}
.wc-block-components-totals-item, 
.wc-block-components-totals-item__value {
    font-size: 14px !important;
}

.wc-block-components-order-summary__button-text, 
.wc-block-components-panel__button {
    font-weight: 700 !important;
}

.wc-block-checkout__shipping-option .wc-block-components-radio-control {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.wc-block-components-radio-control--highlight-checked:after {
    border: none !important;
}
.wc-block-components-radio-control__option {
    border-radius: 48px !important;
    border: 1px solid #727270 !important;
}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option:after {
    background: transparent !important;
}

.wc-block-components-checkout-step__content>* {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-blocks-components-select .wc-blocks-components-select__select:focus  {
    box-shadow:none !important;
}

.wc-block-components-radio-control-accordion-content {
    background: white;
    border-radius: 25px;
    padding: 20px;
    line-height: 24px;
    margin-top: 15px;
}

.wc-block-checkout__add-note .wc-block-components-textarea {
    border-radius: 25px !important;
}
.wc-block-components-textarea::-webkit-resizer  {
    bottom: 20px !important;
}
.wc-block-components-textarea {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
}

.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:checked {
    background: #1C3935 !important;
    border: none !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox]:focus {
    outline: unset !important;
    outline-offset: unset !important;
}
.wc-block-components-checkbox .wc-block-components-checkbox__mark {
    fill: #fff !important;
}

.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button {
    background: #1C3935;
    border-radius: 48px;
    color: #ffff !important;
    transition: all 0.4s ease-in-out !important;
    -webkit-transition: all 0.4s ease-in-out !important;
}
.wc-block-checkout__actions_row .wc-block-components-checkout-place-order-button:hover {
    background: transparent;
    color: #1C3935 !important;
    transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    outline: 1px solid #1C3935;
}
.wc-block-checkout__terms {
    line-height: 24px !important;
}
.wc-block-checkout__terms a {
    color: #1C3935;
}

.wc-block-components-radio-control__option-checked {
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
}
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked:before {
    background: #1C3935 !important; 
}
.wc-block-checkout input[type="tel"]:valid,
.wc-block-checkout input[type="email"]:valid,
.wc-block-checkout input[type="text"]:valid {
    padding-right: 20px !important;
}

.wc-blocks-components-select__container select {
    padding-right: 50px !important;
}
.wc-block-checkout input[type="text"]:valid , 
.wc-block-checkout .wc-block-components-text-input input[type=text]:focus ,
.wc-block-checkout input[type="tel"]:valid,
.wc-block-checkout input[type="email"]:valid ,
.wc-block-checkout .wc-blocks-components-select__select:focus,
.wc-block-checkout .wc-blocks-components-select__container:has(select option:checked) 

{
    border: none !important; 
    background: #ffffff !important;
    color: #1C3935 !important;
    box-shadow: none !important;
}
.wc-block-checkout .wc-block-components-text-input input {
        border: 1px solid 1px solid hsla(0,0%,7%,.8) !important;
  }
.wc-block-checkout .wc-block-components-totals-coupon__button .wc-block-components-button__text {
    border-radius: 48px !important;
    opacity: 1 !important;
    height: 48px !important;
    color: white !important;
    align-items: center !important;
    justify-content: center !important;
    display: flex !important;
    padding: 20px !important;
  }
  .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .wc-block-components-totals-item__description {
    line-height: 16px !important;
}
  .wc-block-components-totals-coupon__form .wc-block-components-totals-coupon__button {
    flex: unset !important;
    margin-left: 0px !important;
  }
  
  .wc-block-checkout .wc-block-components-totals-coupon__button .wc-block-components-button__text {
    background-color: #020304 !important;
  }
  
  .wc-block-checkout .wc-block-components-totals-coupon__button[aria-disabled="true"] .wc-block-components-button__text {
    background-color: #BCC5BA !important;
  }
  
  #wc-block-components-totals-coupon__input-0 {
    border: 1px solid #727270 !important;
  }

  .wc-block-checkout  .wc-block-components-textarea {
    padding: 10px !important;
  }
  .wc-block-components-totals-coupon__form {
    flex-wrap: nowrap !important;
  }
  .wc-block-components-totals-coupon__form {
    justify-content: space-between;
  }

  @media (max-width: 1280px) {
    .wc-block-components-sidebar-layout .wc-block-components-main {
        width: 60% !important;
        max-width: 620px !important;
    }
    .wc-block-checkout__sidebar {
        min-width: 350px !important;
    }
    .wc-block-components-sidebar-layout {
        flex-wrap: nowrap !important;
    }
    .wc-block-components-sidebar {
        padding-left: 35px !important;
    }
    .woocommerce-checkout .content-container {
        width: calc(100% - 20px) !important;
        max-width: 100% !important;
    }
  }

  @media (max-width: 820px) {
    .wc-block-components-sidebar-layout .wc-block-components-main {
        width:  100% !important;
        max-width:  100% !important;
    }
    .wc-block-components-checkout-step__heading {
        margin-bottom: 40px !important;
    }
    .wc-block-components-sidebar-layout {
        flex-wrap: wrap !important;
    }
    .wc-block-components-sidebar {
        width: 100% !important;
        max-width: 100% !important;
    }
    .wc-block-components-sidebar {
        padding-left: 0px !important;
    }
    .wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices {
        padding-top: 10px !important;
    }
    
    .wc-block-components-radio-control-accordion-option::after {
        display: none;
    }

    .wp-block-woocommerce-checkout-totals-block {
        min-width: 100% !important;
    }

    .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-wrapper:nth-child(1) {
        border-top: none !important;
    }
    .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
    }
    .woocommerce-checkout .content-container {
        width: 100% !important;
    }
    .is-mobile .wc-block-components-form .wc-block-components-checkout-step:after, .is-small .wc-block-components-form .wc-block-components-checkout-step:after {
        box-shadow: none !important;
    }
    .wc-block-components-panel__content .wc-block-components-order-summary-item .wc-block-components-product-price {
        padding-top: 3px !important;
    }
  }
 
  @media (max-width: 768px) {
    .wc-block-components-address-form__address_1 {
        margin-bottom: 10px !important;
    }
    .wc-block-components-address-form__address_2-toggle {
        margin-top: 5px  !important;
    }
  }

  @media (max-width: 575px) {

    .wc-block-checkout .wc-block-components-text-input:not(.wc-block-checkout .wc-block-components-text-input) , 
    .wc-block-checkout .wc-block-components-text-input input:not(.wc-block-checkout .wc-block-components-text-input input#wc-block-components-totals-coupon__input-coupon),
    .wc-block-checkout .wc-blocks-components-select__container,
    .wc-block-checkout .wc-block-components-radio-control__option  {
        height: 48px !important;
    }
    .wc-block-checkout .wc-block-components-text-input {
        height: 46px !important;
    }
   .wc-block-checkout  .wc-block-components-product-name , 
   .wc-block-checkout .wc-block-components-formatted-money-amount,
   .wc-block-checkout .wc-block-components-checkout-step__description,
   .wc-block-checkout  .wc-block-checkout__terms,
   .wc-block-checkout .wc-block-components-radio-control__option,
   .wc-block-checkout .wc-block-components-text-input,
   .wc-block-checkout .wc-block-components-address-form__address_2-toggle,
   .wc-block-checkout .wc-blocks-components-select__select,
   .wc-block-checkout .wc-block-components-address-card,
   .wc-block-checkout.wc-block-components-totals-shipping 
   {
        font-size: 14px !important;
        line-height: 16px !important;
    }
    .wc-block-checkout__shipping-option .wc-block-components-radio-control
    {
            gap: 10px !important;
    }

    .wc-block-checkout .is-small .wc-block-checkout__billing-fields .wc-block-components-address-form {
        gap: 0 10px !important;
    }
    .wc-block-checkout .wc-block-components-totals-coupon__form button {
        align-self: flex-end !important;
    }
    .wc-block-checkout .wc-block-components-address-form__address_2-toggle {
        margin-top: 0 !important;
    }
    .wc-block-checkout .wc-block-components-text-input label {
        padding-top: 2px !important;
    }
    .is-mobile .wc-block-components-form .wc-block-components-checkout-step:after, .is-small .wc-block-components-form .wc-block-components-checkout-step:after {
        bottom: -55px !important;
    }
   .wc-block-components-checkout-step__container:last-child::after {
    display: none !important;
   }
}
