@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:wght@300;400;500;600;700&family=Playpen+Sans:wght@100..800&family=Roboto:wght@100;300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
}
* { box-sizing: border-box; }


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: #ffffff;
    font-family: "Inter", sans-serif;
}

.big-container {
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sections {
  display: flex;
  flex: 1;
  flex-direction: row; 
}
@media (max-width: 1151px) {
  .sections {
    flex-direction: column;
  }
}


.lsection {
    display: flex;
    flex-basis: 50%;
    justify-content: flex-end;
    padding: 50px 45px 0px 0px;
    background-color: #ffffff;
}
@media (max-width: 1151px) {
  .lsection {
    justify-content: center;
    padding: 25px 15px 0px 15px;
    flex-basis: 100%;
    background-color: #e4e8ef;
  }
}

.fields-section {
    width: 522px;
}

.rsection {
    flex-basis: 50%;
    background-color: #f6f7fa;
    padding: 50px 0px 0px 45px;
    border-left: 1px solid #d6d6d6;
}
@media (max-width: 1151px) {
  .rsection {
    display: flex;
    justify-content: center;
    padding: 0px 15px 0px 15px;
    border-left: 0px solid #d6d6d6;
    border-top: 0px dashed #d6d6d6;
    background: linear-gradient(to bottom, #e4e8ef 0%, #f6f7fa 100%);
  }
}


.cart-size-section {
    width: 522px;
}

.cart-block {
    background-color: #f6f7fa;
    margin-bottom: 25px;
}
@media (max-width: 1151px) {
  .cart-block {
    background-color: #fff;
  }
}

.cart-1 {
    padding: 15px;
    margin-top: 20px;
}


.product-block {
    position: relative;
    display: flex;
    justify-content: space-between;
    /* border: 1px solid #e7e7e7; */
    border-radius: 5px;
    background-color: #fff;
    padding: 14px 10px;
    margin-bottom: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.09);
}
@media (max-width: 1151px) {
  .product-block {
    border: 1px dashed #c7c7c7;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.0);
    background-color: #fff;
  }
}

.mob-cart-img-block {
  display: flex;
  justify-content: center;
  padding-bottom: 20px;
  padding-top: 10px;
}
.product-block-1 {
    position: relative;
    justify-content: space-between;
    /* border: 1px solid #e7e7e7; */
    border-radius: 7px;
    background-color: #fff;
    padding: 14px 10px;
    margin-bottom: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.09);
}


.product-name {
    display: flex;
    flex-basis: 100%;
    align-items: flex-start;
    padding: 0 10px;
    /* background-color: white; */
    flex-direction: column;
    justify-content: center;
}
.book-name-text {
    color: #000;
    font-weight: normal;
    font-style: normal;
    font-size: 15px;
    margin-bottom: 4px;
}

.auxiliary-text {
    color: #525252;
    font-size: .75rem;
    line-height: 1rem;
    font-family: Helvetica, sans-serif;
}

.product-price {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    flex-basis: 68px;
    flex-shrink: 0;
    padding: 0px 5px;
}
.t-price {
    color: #2c2c2c;
    font-size: 15px;
    font-weight: 400;
    font-family: Helvetica, sans-serif;
}

.book-wrapper {
  position: relative;
  display: inline-block;
}

.img_cover {
  max-width: 50px;
  height: auto;
  border: 0px solid #ccc;
  border-radius: 2px 4px 4px 2px;
  display: block;
  box-shadow: 3px 2px 3px rgba(0, 0, 0, 0.3);
}
.img_cover_1 {
  max-width: 200px;
  height: auto;
  border: 0px solid #ccc;
  border-radius: 3px 7px 7px 3px;
  display: block;
  box-shadow: 3px 2px 3px rgba(0, 0, 0, 0.3);
}

.book-spine {
  position: absolute;
  top: 0;
  height: 100%;
  pointer-events: none;
  border-radius: 4px;
}

.book-spine.layer1 {
  left: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.8);
  filter: blur(0.8px);
}

.book-spine.layer2 {
  left: 3%;
  width: 1.5px;
  background: rgba(0, 0, 0, 0.1);
  filter: blur(2px);
}

.book-spine.layer3 {
    left: 3.5%;
    width: 1.5px;
    background: rgba(0, 0, 0, 0.2);
    filter: blur(0.75px);
}

.product-del {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background-color: #a0a0a0;
  color: #fff;
  border-radius: 10px;
  font-size: 12px;
  font-weight: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
}
@media (max-width: 1151px) {
  .product-del {
    background-color: #c7c7c7;
  }
}


.cart-empt-text {
    border: 1px dashed red;
    border-radius: 5px;
    background-color: #fff;
    color: red;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    padding: 19px 12px;
    margin-bottom: 10px;
}

.courier-block {
    display: flex;
    background-color: transparent;
    padding: 5px;
    margin-bottom: 6px;
}
.courier-name {
    display: flex;
    flex-basis: 50%;
    align-items: flex-start;
    color: #000;
    font-weight: normal;
    font-style: normal;
    font-size: 14px;
    padding: 0 10px;
}
.courier-price-fix {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 5px;
    flex-basis: 50%;
    flex-shrink: 0;
    color: #000;
    font-weight: 400;
    font-style: normal;
    font-size: 14px;
    font-family: Helvetica, sans-serif;
}

.genprice-block {
    display: flex;
    background-color: transparent;
    border-top: 1px dashed #d4d4d4;
    padding: 15px 5px 0px 5px;
    margin-bottom: 6px;
}
.genprice-text {
    display: flex;
    flex-basis: 100%;
    align-items: flex-end;
    color: #000;
    font-weight: 600;
    font-style: normal;
    font-size: 14px;
    padding: 0 10px;
    font-family: Helvetica, sans-serif;;
}
.genprice-price {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 0 5px;
    flex-basis: 50%;
    flex-shrink: 0;
    color: #000;
    font-weight: 600;
    font-size: 15px;
}

.strelkaright {
    display: flex;
    flex-direction: row-reverse;
    background-color: #f6f7fa;
    padding-right: 38px;
    margin-top: 20px;
}
@media (max-width: 1151px) {
  .strelkaright {
    background-color: #fff;
  }
}

.strelka {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid #e4e4e4;
}
.cod {
    background-color: #e4e4e4;
    border-radius: 5px;
    padding: 10px 16px;
    color: #000;
    font-size: 15px;
    margin-bottom: 20px;
}
@media (max-width: 1151px) {
  .cod {
    margin-bottom: 0px;
    border-radius: 7px;
  }
}
.btn-success {
    color: #ffffff;
    font-weight: bold;
    font-style: normal;
    font-size: 16px;
    line-height: 1.25;
    background-color: #2ac0cf;
    border-radius: 5px;
    border: 0px;
    box-shadow: none;
    width: 100%;
    height: 60px;
    padding: 8px 14px 8px 14px;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    margin-bottom: 100px;
}
.btn-success:hover {
    background-color: #4eced9;
    border: 0px;
}
@media (max-width: 1151px) {
  .btn-success {
    margin-bottom: 120px;
    margin-top: 20px;
    border-radius: 8px;
  }
}



.block-title {
    font-size: 18px;
    font-weight: bold;
    color: rgb(32, 32, 32);
    margin-bottom: 15px;
}
@media (max-width: 1151px) {
  .block-title {
    padding-top: 10px;
    padding-bottom: 5px;
  }
}

.block-small-title {
    font-size: 13px;
    font-weight: 500;
    color: rgb(32, 32, 32);
    margin-bottom: 10px;
    padding-top: 10px;
}
.selected_products {
  display: none;
}
@media (max-width: 1151px) {
  .selected_products {
    display: block;
  }
}
.cart-text {
  display: block;
}
@media (max-width: 1151px) {
  .cart-text {
    display: none;
  }
}


.add-more {
  display: flex;
  justify-content: center;
  justify-items: center;
  border: 1px dashed #0d7fac;
  border-radius: 7px;
  padding: 10px;
  margin-top: 15px;
  color: #096388;
  background-color: #ffffffc2;
  cursor: pointer;
}
.add-more:hover {
  background-color: #faf9e6;
}



.t-old-price{
  margin-top: 2px;
  font-size: 13px;
  color: #6b7280;             /* серый */
  text-decoration: line-through;
  line-height: 1.1;
}

.btn-success.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.btn-success.loading::before {
    content: "";
    position: absolute;
    left: 18px; /* слегка левее текста */
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translateY(-50%) rotate(360deg); }
}
