#dd-gift-basket-checkout-step .content {
  padding-top: 1.25rem;
}

.dd-gift-step {
  color: #183f31;
}

.dd-gift-intro {
  display: grid;
  grid-template-columns: minmax(240px, 42%) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #d9dfd7;
  border-radius: 18px;
  background: #fffdf8;
}

.dd-gift-intro__visual {
  overflow: hidden;
  border-radius: 14px;
  background: #f5efe3;
  aspect-ratio: 4 / 3;
}

.dd-gift-intro__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dd-gift-intro__visual--boxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  padding: .65rem;
  aspect-ratio: auto;
}

.dd-gift-intro__visual--boxes figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
}

.dd-gift-intro__visual--boxes img {
  aspect-ratio: 4 / 3;
}

.dd-gift-intro__visual--boxes figcaption {
  padding: .45rem .35rem;
  color: #082f22;
  font-size: .78rem;
  font-weight: 800;
  text-align: center;
}

.dd-gift-kicker {
  display: block;
  margin-bottom: .45rem;
  color: #b93b2e;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dd-gift-intro h2 {
  margin: 0 0 .7rem;
  color: #082f22;
  font-family: Georgia, serif;
  font-size: 1.9rem;
}

.dd-gift-intro p {
  color: #5d685f;
  line-height: 1.55;
}

.dd-gift-price {
  margin-bottom: 1.1rem;
}

.dd-gift-disclaimer {
  margin-top: -.25rem;
  padding-left: .75rem;
  border-left: 3px solid #b93b2e;
  font-size: .82rem;
  font-style: italic;
}

.dd-gift-intro label {
  display: block;
  margin-bottom: .45rem;
  color: #082f22;
  font-weight: 700;
}

.dd-gift-count {
  max-width: 230px;
  min-height: 46px;
  border-radius: 10px;
}

.dd-gift-configurator {
  margin-top: 1.25rem;
}

.dd-gift-help {
  margin-bottom: 1rem;
  color: #68746c;
  font-size: .92rem;
}

.dd-gift-basket {
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid #d6ddd7;
  border-radius: 14px;
  background: #fff;
}

.dd-gift-basket > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .8rem 1rem;
  background: #eef3eb;
}

.dd-gift-basket__title {
  display: flex;
  align-items: center;
}

.dd-gift-basket__type {
  display: flex;
  gap: .55rem;
  align-items: center;
  margin: 0 1rem;
  color: #082f22;
  font-size: .82rem;
  font-weight: 700;
}

.dd-gift-basket__type select {
  min-width: 190px;
  min-height: 40px;
  border-radius: 8px;
}

.dd-gift-basket__number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-right: .55rem;
  border-radius: 50%;
  color: white;
  background: #174f3d;
  font-weight: 800;
}

.dd-gift-basket__counter {
  color: #5d685f;
  font-size: .88rem;
}

.dd-gift-basket__counter.is-full {
  color: #174f3d;
  font-weight: 700;
}

.dd-gift-basket__counter.is-invalid {
  color: #b93b2e;
  font-weight: 700;
}

.dd-gift-minimum-note {
  display: block;
  margin-top: .55rem;
  color: #b93b2e;
}

.dd-gift-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #e6e9e5;
}

.dd-gift-product {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 72px;
  gap: .75rem;
  align-items: center;
  min-height: 78px;
  margin: 0;
  padding: .65rem .8rem;
  background: #fff;
  cursor: pointer;
}

.dd-gift-product__image img {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
}

.dd-gift-product__name {
  color: #082f22;
  font-weight: 700;
  line-height: 1.25;
}

.dd-gift-product__name small {
  display: block;
  margin-top: .25rem;
  color: #788179;
  font-size: .76rem;
  font-weight: 400;
}

.dd-gift-product select {
  min-height: 40px;
  border-radius: 8px;
}

.dd-gift-live-error {
  min-height: 1.4rem;
  color: #b52e25;
  font-weight: 700;
}

.dd-gift-errors p:last-child {
  margin-bottom: 0;
}

.dd-gift-step .form-footer {
  margin-top: 1rem;
}

.dd-gift-home {
  width: min(1320px, calc(100% - 2rem));
  margin: 4rem auto;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border: 1px solid #d8dfd8;
  border-radius: 24px;
  color: #183f31;
  background: #fffdf8;
  box-shadow: 0 18px 45px rgba(24, 63, 49, .08);
}

.dd-gift-home__heading {
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.dd-gift-home__heading h2 {
  margin: 0 0 .6rem;
  color: #082f22;
  font-family: Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.dd-gift-home__heading p {
  margin: 0;
  color: #637067;
  line-height: 1.6;
}

.dd-gift-home fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.dd-gift-home legend,
.dd-gift-home__selection-heading h3 {
  margin-bottom: .8rem;
  color: #082f22;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
}

.dd-gift-home__sizes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.dd-gift-home__sizes legend {
  grid-column: 1 / -1;
}

.dd-gift-size {
  position: relative;
  display: grid;
  grid-template-columns: minmax(130px, 42%) minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin: 0;
  padding: .7rem;
  border: 2px solid #d8dfd8;
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dd-gift-size:hover,
.dd-gift-size.is-selected {
  border-color: #174f3d;
  box-shadow: 0 10px 24px rgba(23, 79, 61, .11);
  transform: translateY(-2px);
}

.dd-gift-size input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dd-gift-size img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  border-radius: 11px;
}

.dd-gift-size strong,
.dd-gift-size small {
  display: block;
}

.dd-gift-size strong {
  color: #082f22;
  font-size: 1.05rem;
}

.dd-gift-size small {
  margin-top: .3rem;
  color: #788179;
}

.dd-gift-home__selection {
  margin-top: 1.75rem;
}

.dd-gift-home__selection-heading {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.dd-gift-home__counter {
  padding: .45rem .75rem;
  border-radius: 999px;
  color: #174f3d;
  background: #eef3eb;
  font-weight: 700;
}

.dd-gift-home__products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .8rem;
}

.dd-gift-home-product {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: .7rem;
  align-items: center;
  min-height: 94px;
  margin: 0;
  padding: .6rem;
  overflow: hidden;
  border: 1px solid #dce2dc;
  border-radius: 13px;
  background: #fff;
  cursor: pointer;
}

.dd-gift-home-product.is-selected {
  border-color: #174f3d;
  box-shadow: inset 0 0 0 1px #174f3d;
}

.dd-gift-home-product.is-disabled {
  opacity: .48;
  cursor: not-allowed;
}

.dd-gift-home-product.is-unavailable {
  opacity: .55;
  cursor: not-allowed;
}

.dd-gift-home-product input {
  position: absolute;
  opacity: 0;
}

.dd-gift-home-product img {
  width: 74px;
  height: 74px;
  display: block;
  object-fit: cover;
  border-radius: 9px;
}

.dd-gift-home-product__check {
  position: absolute;
  top: .45rem;
  right: .45rem;
  display: none;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #fff;
  background: #174f3d;
  font-weight: 800;
}

.dd-gift-home-product input:checked + .dd-gift-home-product__check {
  display: grid;
}

.dd-gift-home-product__copy strong,
.dd-gift-home-product__copy small {
  display: block;
}

.dd-gift-home-product__copy em {
  display: block;
  margin-top: .2rem;
  color: #b93b2e;
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
}

.dd-gift-home-product__copy strong {
  padding-right: 1.2rem;
  color: #082f22;
  line-height: 1.25;
}

.dd-gift-home-product__copy small {
  margin-top: .35rem;
  color: #b93b2e;
  font-weight: 700;
}

.dd-gift-home__error {
  min-height: 1.5rem;
  margin: .7rem 0 0;
  color: #b52e25;
  font-weight: 700;
}

.dd-gift-home__footer {
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e1e5e1;
}

.dd-gift-home__footer p {
  max-width: 650px;
  margin: 0;
  color: #788179;
  font-size: .82rem;
  font-style: italic;
}

.dd-gift-home__submit {
  min-height: 50px;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  white-space: nowrap;
}

.dd-gift-home__submit:disabled {
  opacity: .5;
  cursor: not-allowed;
}

@media (max-width: 767px) {
  .dd-gift-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .dd-gift-products {
    grid-template-columns: 1fr;
  }

  .dd-gift-basket > header {
    align-items: stretch;
    flex-direction: column;
    gap: .7rem;
  }

  .dd-gift-basket__type {
    justify-content: space-between;
    margin: 0;
  }

  .dd-gift-basket__type select {
    min-width: 0;
    width: 70%;
  }

  .dd-gift-product {
    grid-template-columns: 52px minmax(0, 1fr) 64px;
  }

  .dd-gift-intro h2 {
    font-size: 1.55rem;
  }

  .dd-gift-home {
    width: calc(100% - 1rem);
    margin: 2rem auto;
    border-radius: 18px;
  }

  .dd-gift-home__sizes,
  .dd-gift-home__products {
    grid-template-columns: 1fr;
  }

  .dd-gift-home__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .dd-gift-home__submit {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .dd-gift-home__products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
