.choose-title {
  font-size: 17px;
  font-weight: 500;
}
@media (min-width: 768px) {
  .choose-title {
    font-size: 20px;
  }
}

.size-choose-item {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 1;
  background-color: #f7f7f7;
  border-radius: 12px;
  max-height: 262px;
}
@media (min-width: 576px) {
  .size-choose-item {
    border-radius: 24px;
  }
}
.size-choose-item:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 12px;
  pointer-events: none;
}
@media (min-width: 576px) {
  .size-choose-item:before {
    border-radius: 24px;
  }
}
.size-choose-item-inner {
  display: block;
  text-align: center;
  padding: 10px 6px;
}
@media (min-width: 992px) {
  .size-choose-item-inner {
    padding: 20px;
  }
}

:checked + .size-choose-item:before {
  border: 3px solid #8d8bff;
}

.size-choose-count {
  font-size: 32px;
  font-weight: 600;
}

.photobook-cost-list {
  padding: 4px 24px;
  border-radius: 24px;
}
.photobook-cost-list > div {
  display: flex;
  gap: 16px;
  padding: 12px 0;
}
.photobook-cost-list > div:not(:last-child) {
  border-bottom: 1px solid #d9d9d9;
}
.photobook-cost-list dt {
  margin: 0;
  font-weight: 400;
  flex: 1 0 0;
}
.photobook-cost-list dt.final-price-label {
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
}
.photobook-cost-list dd {
  flex: 0 0 auto;
  margin: 0;
  font-size: 19px;
  font-weight: 600;
}

.photobook-cost-modal .submit-container .btn {
  width: 315px;
  max-width: 100%;
}

.photo-amount-text {
  font-size: 15px;
}
@media (min-width: 992px) {
  .photo-amount-text {
    font-size: 20px;
    font-weight: 500;
  }
}

.photo-amount-input {
  width: 75px;
  text-align: right;
  border-color: rgba(0, 17, 34, 0.3);
}
@media (min-width: 576px) {
  .photo-amount-input {
    width: 135px;
  }
}

.size-round-num {
  height: 24px;
}
@media (min-width: 992px) {
  .size-round-num {
    height: 50px;
  }
}

.size-choose-title {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
}
@media (min-width: 992px) {
  .size-choose-title {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 500;
  }
}

.size-choose-descr {
  display: block;
  font-size: 10px;
}
@media (min-width: 992px) {
  .size-choose-descr {
    font-size: 15px;
  }
}

.create-inform-section {
  padding: 12px;
  border-radius: 16px;
}
@media (min-width: 576px) {
  .create-inform-section {
    padding: 17px 24px;
  }
}
@media (min-width: 992px) {
  .create-inform-section {
    margin-top: 55px;
  }
}
.create-inform-section .create-inform-img {
  width: 70px;
  height: 67px;
}
.create-inform-section-inner {
  position: relative;
  display: grid;
  gap: 16px 24px;
  grid-template-columns: 1fr;
  align-items: center;
  max-width: 1220px;
  text-align: center;
}
.create-inform-section-inner:before {
  width: 73px;
  height: 105px;
  left: 0;
  background-image: url("../img/lines_left.png");
}
.create-inform-section-inner:after {
  width: 93px;
  height: 107px;
  right: 0;
  background-image: url("../img/lines_right.png");
}
@media (min-width: 992px) {
  .create-inform-section-inner {
    grid-template-columns: 80px 1fr;
    text-align: left;
    padding-left: 147px;
    padding-right: 157px;
  }
  .create-inform-section-inner:before, .create-inform-section-inner:after {
    content: "";
    position: absolute;
    bottom: 0;
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
  }
}
.create-inform-section .box-item-header {
  margin-bottom: 12px;
}
.create-inform-section .box-item-descr {
  margin-bottom: 0;
}
.create-inform-section .box-item-descr p {
  margin-bottom: 4px;
}
.create-inform-section .box-item-descr p:last-child {
  margin-bottom: 0;
}

.photobook-create-wrapper {
  max-width: 925px;
}

.photobook-template-img {
  border-radius: 12px;
}
@media (min-width: 576px) {
  .photobook-template-img {
    border-radius: 24px;
  }
}

.template-choose-item {
  position: relative;
  margin: 0 auto;
  cursor: pointer;
  border-radius: 12px;
}
@media (min-width: 576px) {
  .template-choose-item {
    border-radius: 24px;
  }
}
.template-choose-item:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: 12px;
  pointer-events: none;
}
@media (min-width: 576px) {
  .template-choose-item:before {
    border-radius: 24px;
  }
}

:checked + .template-choose-item:before {
  border: 3px solid #8d8bff;
}

.template-btn-container {
  margin-top: 36px;
}
@media (min-width: 576px) {
  .template-btn-container {
    margin-top: 40px;
    width: 488px;
  }
}

@media (min-width: 576px) {
  .photobook-create-submit {
    width: 285px;
  }
}

.dropzone {
  --dropzone-bg: #fff;
  --dropzone-border-color: rgba(0, 17, 34, 0.3);
  --dropzone-border-width: 1px;
  --dropzone-pin-bg: #f0f0f0;
  --dropzone-pin-color: #694efb;
  display: block;
  position: relative;
  padding: 16px;
  font-size: 15px;
  text-align: center;
  border-radius: 12px;
  background-color: var(--dropzone-bg);
  cursor: pointer;
  transition: 0.2s;
}
.dropzone:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  border-radius: 12px;
  pointer-events: none;
  border: var(--dropzone-border-width) dashed var(--dropzone-border-color);
}
.dropzone-dragging {
  --dropzone-border-color: #b1b9ff;
  --dropzone-border-width: 2px;
  --dropzone-pin-bg: #d9d9d9;
  --dropzone-pin-color: #8d8bff;
}
.dropzone-error {
  --dropzone-border-color: #d3003d;
  --dropzone-pin-bg: rgba(0, 17, 34, 0.1);
  --dropzone-pin-color: #8d8bff;
}
.dropzone:hover {
  --dropzone-bg: rgba(97, 131, 162, 0.1);
  --dropzone-border-color: rgba(97, 131, 162, 0.43);
  --dropzone-pin-bg: rgba(97, 131, 162, 0.16);
  --dropzone-pin-color: #8d8bff;
}

.photo-uploader-square {
  width: 44px;
  height: 44px;
  margin: 0 auto 8px;
  padding: 10px;
  color: var(--dropzone-pin-color);
  background-color: var(--dropzone-pin-bg);
  border-radius: 8px;
  transition: 0.2s;
}
.photo-uploader-choose {
  margin-bottom: 2px;
  font-size: 17px;
}
.photo-uploader-format {
  color: rgba(0, 17, 34, 0.45);
}

.drop-files {
  margin-top: 12px;
}
.drop-files:not(.is-open) .drop-file:nth-child(n+4) {
  display: none;
}
.drop-files.is-open .drop-file-collapse svg {
  transform: rotate(-180deg);
}

.drop-file {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 4px 8px;
  margin-bottom: 16px;
  color: #171717;
}
.drop-file-btn {
  transition: 0.2s;
}
.drop-file-icon {
  display: block;
  width: 24px;
  height: 24px;
}
.drop-file-square {
  width: 44px;
  height: 44px;
  padding: 10px;
  background-color: #f0f0f0;
  border-radius: 8px;
  color: rgba(0, 17, 34, 0.3);
}
.drop-file-title {
  margin-bottom: 4px;
  font-size: 13px;
}
.drop-file-size {
  margin-bottom: 6px;
  font-size: 11px;
  color: rgba(0, 17, 34, 0.56);
}
.drop-file-action {
  margin-top: 6px;
}
.drop-file-reload-btn {
  color: #694efb;
}
.drop-file-reload-btn:hover {
  color: #8d8bff;
}
.drop-file-remove-btn {
  color: rgba(0, 17, 34, 0.3);
}
.drop-file-remove-btn:hover {
  color: #000;
}

.drop-file-collapse {
  display: none;
}
.drop-file-collapse:nth-child(n+5) {
  display: inline;
}
.drop-file-collapse-chevron-down {
  width: 16px;
  height: 16px;
}

.transparent-20 {
  opacity: 0.2;
}


