/* ================= CARE HOME STAFF PAGE ================= */
/* Page-specific styles only. Global reset, typography, headings, buttons,
   container, header, footer and basket styles are supplied by core.css. */

.care-home-staff-page {
  overflow-x: hidden;
}

.care-home-staff-page .margin-block {
  margin-block: clamp(3.5rem, 7vw, 10rem);
}

.care-home-staff-page .max-width110 {
  max-width: 110rem;
  margin-inline: auto;
}

.care-home-staff-page .fw-500 {
  font-weight: 500;
}

.care-home-staff-page .shine-effect {
  position: relative;
  overflow: hidden;
}

.care-home-staff-page .shine-effect::before {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 1;
  display: block;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 100%);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out;
  pointer-events: none;
}

.care-home-staff-page .shine-effect:hover::before {
  animation: care-home-shine 1.3s forwards;
}

@keyframes care-home-shine {
  0% { left: -80%; }
  100% { left: 100%; }
}

/* ================= HERO ================= */
.carehome-hero-area__image-wrapper img {
  width: 100%;
  min-height: 36rem;
  object-fit: cover;
}

/* ================= STAFF ORGANISATION ================= */
.staff-organisation.margin-block {
  margin-block: clamp(3rem, 6vw, 7rem);
}

.staff-organisation__heading {
  color: #03a6aa;
}

.staff-organisation__description {
  max-width: 95rem;
  margin-inline: auto;
}

.staff-organisation__btn {
  margin-top: 3rem;
  padding-inline: clamp(2rem, 5vw, 6rem);
}

.staff-organisation__bottom-text {
  margin-top: 1rem;
  font-style: italic;
}

.staff-organisation__link {
  color: var(--button-color);
  font-weight: 600;
  text-decoration: underline;
}

/* ================= HOW LABELS HELP ================= */
.how-labels-help-staff__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  row-gap: 7rem;
  column-gap: 2rem;
  justify-items: center;
  margin-top: 5rem;
}

.how-labels-help-staff__item {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
}

.how-labels-help-staff__item picture {
  flex: 0 0 auto;
}

.how-labels-help-staff__item img {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  object-fit: cover;
}

.how-labels-help-staff__item-text {
  max-width: 30rem;
}

.how-labels-help-staff__title {
  margin-bottom: 1rem;
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem);
  color: #03a6aa;
}

/* ================= CLOTHING LABELS ================= */
.clothing-labels__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
}

.clothing-labels__item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 2rem;
  background: #f5f5f5;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

.clothing-labels__title-wrapper {
  min-height: 10rem;
  padding: 2.5rem 2rem;
  color: #fff;
  background: #03a6aa;
  text-align: center;
}

.clothing-labels__item:nth-child(2) .clothing-labels__title-wrapper {
  background: #f79a46;
}

.clothing-labels__item:nth-child(3) .clothing-labels__title-wrapper {
  background: #ed2144;
}

.clothing-labels__subtitle {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.clothing-labels__title {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
}

.clothing-labels__list-wrapper {
  padding: 2rem;
}

.clothing-labels__list {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.clothing-labels__list-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.clothing-labels__icon {
  width: 27px;
  height: auto;
  object-fit: contain;
}

/* ================= APPLY LABELS ================= */
.apply-labels .text-center > p {
  max-width: 90rem;
  margin-inline: auto;
}

.apply-labels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
}

.apply-labels__item {
  padding: 2.5rem 1.5rem;
  border-radius: 1.8rem;
  background: #f5f5f5;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apply-labels__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.1);
}

.apply-labels__img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 9rem;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: #fff;
}

.apply-labels__img-wrapper img {
  object-fit: contain;
}

.apply-labels__title {
  margin-bottom: 0.5rem;
  color: #03a6aa;
}

/* ================= CARE PRODUCTS ================= */
.care-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 5rem;
  text-align: center;
}

.care-product__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 3rem;
  background: #f5f5f5;
}

.care-product__card__img2 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2.5rem 2.5rem 0;
  background: transparent;
}

.care-product__card__img2 picture,
.care-product__card__img2 a {
  display: block;
  width: 100%;
}

.care-product__card__img2 img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  border-radius: 2rem;
}

.care-product__card .content {
  padding: 2.5rem;
}

.care-product__card .content h3 {
  margin-bottom: 1rem;
}

.care-product__card .content h3 a:hover {
  color: var(--button-color);
}

.use-for-title {
  margin-top: 1.5rem;
  color: #03a6aa;
}

/* ================= WHY NAMETAGS ================= */
.why-nametags__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 5rem;
  max-width: 95rem;
  margin: 5rem auto 0;
  text-align: center;
}

.why-nametags__item {
  max-width: 15rem;
  justify-self: center;
}

.why-nametags__icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 8rem;
}

.why-nametags__icon img {
  margin-inline: auto;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.why-nametags__item:hover img {
  transform: scale(1.12);
}

.why-nametags__text h3 {
  margin-top: 1rem;
  font-size: clamp(1rem, 0.9rem + 0.35vw, 1.25rem);
  font-weight: 500;
}

/* ================= PERFECT CARE HOME ================= */
.perfect-care-home {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: 6rem;
  background-color: #e9f5f8;
}

.perfect-care-home__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: center;
  padding-inline: 4rem;
}

.perfect-care-home__image img {
  max-height: 45rem;
  border-radius: 3.5rem;
  object-fit: scale-down;
}

.perfect-care-home__text p {
  margin: 1rem 0 3rem;
  line-height: 2;
}

.perfect-care-home__deco {
  position: absolute;
  right: -2rem;
  bottom: 0;
  z-index: -1;
  width: 22rem;
  opacity: 0.05;
}

/* ================= IRON-ON LABELS ================= */
.iron-on-labels__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5rem;
  justify-items: center;
  margin-top: 5rem;
  text-align: center;
}

.iron-on-labels__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.iron-on-labels__step {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 87px;
  height: 27px;
  margin: 0 auto 2.5rem;
  border-radius: 13px;
  background-color: #03a6aa;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
}

.iron-on-labels__image {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: 1.4rem;
}

.iron-on-labels__image picture {
  display: block;
  width: 100%;
}

.iron-on-labels__image img {
  width: 100%;
  margin-inline: auto;
  border-radius: 1.4rem;
}

.iron-on-labels__description {
  max-width: 28ch;
  margin-inline: auto;
}

.iron-on-labels__instructions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 110rem;
  margin: 5rem auto 0;
  padding: 1rem 5rem;
  border-radius: 16px;
  background-color: #fff1c1;
}

.iron-on-labels__icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  flex: 0 0 auto;
}

.iron-on-labels__icons img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.iron-on-labels__note {
  width: 100%;
}

/* ================= STAFF SAYS ================= */
.staff-says__content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5rem;
  justify-items: center;
  margin-top: 5rem;
}

.staff-says__item {
  position: relative;
  max-width: 51rem;
  padding: 3.4rem;
  border-radius: 3.1rem;
  background-color: #79c7c9;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.staff-says__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

.staff-says__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.staff-says__quote--start,
.staff-says__quote--end {
  position: absolute;
  width: 85px;
  height: 63px;
  object-fit: contain;
  opacity: 0.4;
}

.staff-says__quote--start {
  top: 2rem;
  left: 2rem;
}

.staff-says__quote--end {
  right: 2rem;
  bottom: 2rem;
}

.staff-says__person {
  margin-top: 2rem;
  font-weight: 600;
  text-align: left;
}

/* ================= RESOURCES ================= */
.fundraising {
  position: relative;
  margin-top: 12vw;
  padding-top: 3rem;
  padding-bottom: 7rem;
  background-color: #fbf6c2;
}

.fundraising .wave-deco {
  position: absolute;
  top: -10vw;
  left: 0;
  width: 100%;
}

.fundraising__item {
  max-width: 42rem;
  margin: 3rem auto 0;
  padding-inline: 2rem;
  text-align: center;
}

.fundraising__item .image {
  height: 10rem;
  margin-inline: auto;
  object-fit: contain;
}

.fundraising__item .title {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.75rem);
  font-weight: 700;
}

.fundraising__item .link {
  margin-top: 1rem;
  color: var(--button-color);
  font-weight: 700;
}

/* ================= FAQ ================= */
.care-faq .faq__inner {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr;
  gap: 3rem;
  max-width: 90rem;
  margin-inline: auto;
}

.care-faq .faq__left {
  margin-top: 6rem;
}

.care-faq .faq__left img {
  margin-inline: auto;
  object-fit: contain;
}

.care-faq details {
  border-bottom: 1px solid #c7c5c5;
  padding-block: 1.8rem;
}

.care-faq summary {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 1.5rem;
  list-style: none;
  cursor: pointer;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.35rem);
  font-weight: 600;
  line-height: 1.2;
  transition: margin 150ms ease-out;
}

.care-faq summary::-webkit-details-marker {
  display: none;
}

.care-faq summary::after {
  content: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAANCAYAAAB2HjRBAAAA4klEQVQokZXRMS6EURTF8d8LidCNQjIh0SlEawMSsQGJaKbRKVgBO5iGNYhCoVAoLIAd6EV0hJCRkMzV3JExvu8bXnKLe8/5v/NyX0Eb7xHx7I+nlDKNuYJzvEZE5x/wEVbgAoHNiDCusI4+rmERL3hEewzYwj16WB4MO5l+idIAn6ZvPyIMC2cp7NaA26lfDQKGxVk84A1LI+ACnrLmv+cjpo1cxg0mc1YyLbD1w1/xvOM0Hma/l/3JL28FPINbfOYie7hDayycF6ziIxP7WKv0NXzLQcLdWk8DPIEdTNV5vgCTE1PKNm/KjgAAAABJRU5ErkJggg==);
  position: absolute;
  right: 0;
  font-weight: 700;
  transform: rotate(0);
  transition: transform 0.3s ease;
}

.care-faq details[open] summary {
  margin-bottom: 1.5rem;
  user-select: none;
}

.care-faq details[open] summary::after {
  transform: rotate(180deg);
}

.care-faq details [itemprop="acceptedAnswer"] {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition:
    grid-template-rows 0.45s ease,
    opacity 0.35s ease;
}

.care-faq details[open] [itemprop="acceptedAnswer"] {
  grid-template-rows: 1fr;
  opacity: 1;
}

.care-faq details [itemprop="acceptedAnswer"] > p {
  overflow: hidden;
  padding-inline: 2rem;
}

.care-faq details p::before {
  display: none;
  content: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .care-home-staff-page .margin-block,
  .staff-organisation.margin-block {
    margin-block: 5rem;
  }

  .clothing-labels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .clothing-labels__item:nth-child(3) {
    grid-column: 1 / -1;
  }

  .apply-labels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .care-products {
    grid-template-columns: 1fr;
    max-width: 62rem;
  }

  .why-nametags__grid {
    gap: 2.5rem;
  }

  .why-nametags__icon img {
    transform: scale(0.9);
  }

  .perfect-care-home__content {
    grid-template-columns: 1fr;
    padding-inline: 2rem;
    text-align: center;
  }

  .perfect-care-home__image img {
    max-height: 40rem;
    margin-inline: auto;
  }

  .iron-on-labels__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
    margin-top: 3rem;
  }
}

@media (max-width: 767px) {
  .how-labels-help-staff__grid,
  .clothing-labels__grid,
  .staff-says__content-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }

  .clothing-labels__item:nth-child(3) {
    grid-column: auto;
  }

  .how-labels-help-staff__item {
    align-items: center;
  }

  .how-labels-help-staff__item img {
    width: 11rem;
    height: 11rem;
  }

  .apply-labels__grid {
    row-gap: 2.5rem;
  }

  .why-nametags__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem 2rem;
    margin-top: 3rem;
  }

  .why-nametags__item:nth-child(5) {
    grid-column: 1 / -1;
  }

  .perfect-care-home__content {
    padding-inline: 1rem;
  }

  .perfect-care-home__text p {
    line-height: 1.6;
  }

  .iron-on-labels__instructions {
    align-items: flex-start;
    padding: 1.5rem;
  }

  .staff-says__item {
    padding: 2.5rem;
  }

  .staff-says__quote--start,
  .staff-says__quote--end {
    width: 65px;
    height: 48px;
  }

  .care-faq .faq__inner {
    grid-template-columns: 1fr;
  }

  .care-faq .faq__left {
    margin-top: 0;
    text-align: center;
  }

  .care-faq .faq__left img {
    max-height: 8rem;
  }
}

@media (max-width: 576px) {
  .carehome-hero-area__image-wrapper img {
    min-height: 24rem;
  }

  .how-labels-help-staff__item {
    gap: 1.5rem;
  }

  .apply-labels__grid,
  .iron-on-labels__grid {
    grid-template-columns: 1fr;
  }

  .iron-on-labels__instructions {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .iron-on-labels__icons img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 380px) {
  .how-labels-help-staff__item {
    flex-direction: column;
    text-align: center;
  }
}

/* ================= DESIGN YOUR LABEL + DELIVERY DETAILS / BASKET (MOVED FROM care-homes-new.css) ================= */
/* These rules are kept intact for the complex label designer, checkout, delivery details, and basket functionality. */

.c-invalid {
  border-color: red !important;
  color: red !important;
}

:disabled {
  background-color: #d5d5d5;
}

.ui-disable {
  opacity: 0.4;
}

.ui-cover-disable {
  opacity: 0.4;
  background-color: #000000;
  z-index: 1000;
}

#care-homes {
  display: grid;
  grid-template-columns: 50% 50%;
}

.c-description {
  display: inline-block;
  font-size: small;
  line-height: normal;
  color: gray;
}

.c-underline {
  text-decoration: underline;
}

.c-pointer {
  cursor: pointer;
}

span.c-checkbox {
  width: 16px;
  height: 16px;
  margin-right: 12px;
  border: 1px solid #b9c4c9;
  border-radius: 50%;
  background-color: #fff;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

span.c-checkbox::after {
  content: "";
  position: relative;
  top: 50%;
  display: block;
  width: 8px;
  height: 8px;
  margin: auto;
  border-radius: 50%;
  background-color: #fff;
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease-out;
}

span.c-checkbox.selected {
  border: 0;
  background-color: #c8132f;
  transition: all 0.3s ease-out;
}

span.c-checkbox.selected::after {
  transform: translateY(-50%) scale(1);
}

/* Designer layout */
.c-space-designer {
  grid-column: 1 / 3;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.c-space-designer > div {
  margin: 10px;
}

.c-preview-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.c-preview-title > label.c-title {
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.5625rem, 1.1458rem + 1.8519vw, 2.8125rem);
  font-weight: bold;
}

.c-preview-title > label.c-description {
  margin-bottom: clamp(27px, 4vw, 60px);
  font-size: small;
}

.c-preview-image {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.c-preview-image > div.c-image {
  display: block;
  width: 283px;
  height: 126px;
  border-radius: 22px;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
}

.c-preview-image > label.c-description {
  margin-top: 10px;
  font-size: small;
  font-weight: bold;
}

.c-preview-inputs {
  margin-top: -18px !important;
}

.c-space-details {
  grid-column: 1 / 3;
  display: flex;
  justify-content: center;
  margin: 10px 10px 0;
  padding: 20px 0 10px;
  border-top: 1px solid #b8b8b8;
  background: #f5f5f5;
  font-family: "Quicksand", sans-serif;
  font-size: x-large;
  font-weight: bold;
}

.c-space-details > label:nth-child(1) {
  width: 50%;
  padding-right: 10px;
  text-align: end;
}

.c-space-details > label:nth-child(3) {
  width: 50%;
  padding-left: 10px;
  text-align: start;
}

/* Design swatches */
.c-designs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 800px;
}

.c-designs > div.c-image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 170px;
  height: 76px;
  margin: 8px;
  cursor: pointer;
}

.c-designs > div.c-image > div {
  width: 164px;
  height: 70px;
  border-radius: 8px;
  box-shadow: 0 0 1px 2px #fff, 0 0 1px 3px #dcdcdc;
}

.c-designs > div.c-image.active > div,
.c-designs > div.c-image:hover > div {
  box-shadow: 0 0 1px 2px #fff, 0 0 1px 4px #e5152f;
}

.c-designs > div.c-image > div > img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

/* Order controls */
.c-order {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.c-order > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 10px;
}

.c-order > div > button {
  margin-bottom: 10px;
  font-family: "Nunito Sans", sans-serif;
}

.c-order > div > label {
  font-size: small;
  font-weight: bold;
}

/* Red order / checkout buttons */
#care-homes .c-btn,
#care-homes button.c-btn,
#care-homes .c-order button,
section.c-section-checkout .c-btn,
section.c-section-checkout button.c-btn,
section.c-section-checkout .c-checkout__payment-confirm > button,
section.c-section-checkout .c-checkout__payment-invoice > button {
  border: 1px solid var(--button-color);
  border-radius: 8px;
  background-color: var(--button-color);
  color: #fff;
  font-family: "Quicksand", sans-serif;
  transition: all 0.3s ease;
  padding: clamp(8px, 1vw, 16px) clamp(16px, 2vw, 32px);
  font-weight: 700;
}

#care-homes .c-btn:hover,
#care-homes button.c-btn:hover,
#care-homes .c-order button:hover,
section.c-section-checkout .c-btn:hover,
section.c-section-checkout button.c-btn:hover,
section.c-section-checkout .c-checkout__payment-confirm > button:hover,
section.c-section-checkout .c-checkout__payment-invoice > button:hover {
  border-color: #c8132f;
  background-color: #c8132f;
  color: #fff;
}

/* Text inputs */
.c-input-line {
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 4px;
  padding: 4px 20px;
  border: 1px solid #bcbcbc;
  border-radius: 8px;
  color: grey;
}

.c-input-line input {
  display: flex;
  width: 100%;
  height: 36px;
  border: none;
  font-family: "Nunito Sans", sans-serif;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}

.c-input-line input:focus,
.c-input-line input:focus-visible {
  outline: none;
}

/* Checkout layout */
section.c-section-checkout {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  max-width: 1240px;
  margin-inline: auto;
  padding-top: 0;
}

section.c-section-checkout .c-space-checkout {
  grid-row: 3 / 4;
  margin: 0 0 0 10px;
  padding: 20px;
  border-right: 1px solid #b8b8b8;
  border-left: none;
  border-bottom: none;
  background: #f5f5f5;
}

section.c-section-checkout .c-space-checkout input {
  padding: 12px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  font-family: "Nunito Sans", sans-serif;
}

section.c-section-checkout .c-space-checkout .c-checkout > div {
  margin-top: 50px;
}

/* Express checkout */
section.c-section-checkout .c-checkout-express {
  padding: 0;
}

section.c-section-checkout .c-checkout-express > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
}

section.c-section-checkout .c-checkout-express > div > label {
  align-self: center;
  margin-top: -20px;
  margin-bottom: 10px;
  padding-inline: 10px;
  background-color: #fff;
  font-size: small;
  font-weight: bold;
}

section.c-section-checkout .c-checkout-express > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#express-payment-container > div {
  z-index: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

#express-payment-container > label {
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  justify-content: left;
  margin-top: 10px;
  margin-left: 6px;
  font-size: small;
  line-height: normal;
  cursor: pointer;
}

#express-payment-container > label > input {
  margin-right: 6px;
  accent-color: red;
  cursor: pointer;
}

/* Other checkout methods */
section.c-section-checkout .c-checkout-other-methods {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: gray;
  font-size: x-small;
}

section.c-section-checkout .c-checkout-other-methods > hr {
  flex-grow: 1;
}

section.c-section-checkout .c-checkout-other-methods > label {
  margin: 0 10px;
  color: #494949;
  font-size: small;
  text-align: center;
}

/* Email */
section.c-section-checkout .c-checkout__email {
  margin-top: 30px !important;
}

section.c-section-checkout .c-checkout__email > div {
  display: flex;
  flex-direction: column;
}

section.c-section-checkout .c-checkout__email > div > label {
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  justify-content: left;
  margin-top: 10px;
  margin-left: 6px;
  font-size: small;
  line-height: normal;
  cursor: pointer;
}

section.c-section-checkout .c-checkout__email > div > label.c-invalid {
  margin-top: 0;
}

section.c-section-checkout .c-checkout__email > div > label > input {
  margin-right: 6px;
  accent-color: red;
  cursor: pointer;
}

/* Shipping details */
section.c-section-checkout .c-checkout__shipping-details {
  display: flex;
  flex-direction: column;
}

section.c-section-checkout .c-checkout__shipping-details > div {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
}

section.c-section-checkout .c-checkout__shipping-details > div > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 10px;
}

section.c-section-checkout .c-checkout__shipping-details > div > div.c-half-size {
  width: calc(50% - 6px);
}

section.c-section-checkout .c-checkout__shipping-details > div > div > label {
  font-size: small;
}

section.c-section-checkout .c-checkout__shipping-details > div > div > select {
  padding: 12px;
  border-color: #b8b8b8;
  border-radius: 8px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
}

section.c-section-checkout .c-checkout__shipping-details__school-id,
section.c-section-checkout .c-checkout__shipping-details__additional-charge {
  margin-top: 10px;
}

section.c-section-checkout .c-checkout__shipping-details__school-id > label,
section.c-section-checkout .c-checkout__shipping-details__additional-charge > label {
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  justify-content: left;
  margin-bottom: 6px;
  margin-left: 6px;
  font-size: small;
  line-height: normal;
  cursor: pointer;
}

section.c-section-checkout .c-checkout__shipping-details__school-id > label > input,
section.c-section-checkout .c-checkout__shipping-details__additional-charge > label > input {
  margin-right: 6px;
  accent-color: red;
  cursor: pointer;
}

section.c-section-checkout .c-checkout__shipping-details__school-id > input,
section.c-section-checkout .c-checkout__shipping-details__additional-charge > input {
  width: calc(50% - 6px);
}

.c-checkout__shipping-details__school-id > div {
  flex-direction: row !important;
}

.c-checkout__shipping-details__school-id > div > div {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background-color: #fff;
}

.c-checkout__shipping-details__school-id > div.ui-disable > div {
  background-color: #d5d5d5;
}

.c-checkout__shipping-details__school-id > div > div.school-id-box-label {
  padding-right: 6px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.c-checkout__shipping-details__school-id > div > div.school-id-box-input {
  flex-grow: 1;
  overflow: auto;
  padding-left: 6px;
  border-left: unset;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.c-checkout__shipping-details__school-id > div > div input {
  width: 100%;
  overflow: auto;
  border: unset !important;
  border-radius: unset !important;
  padding: 0 !important;
}

section.c-section-checkout .c-checkout__shipping-details .c-checkout__shipping-details__additional-info {
  margin-top: 10px;
  font-size: medium;
}

section.c-section-checkout .c-checkout__shipping-details .c-checkout__shipping-details__additional-info .c-additional-info-2 {
  font-size: small;
}

/* Delivery method */
section.c-section-checkout .c-checkout__delivery-method > div {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
  background-color: #fff;
  font-size: small;
  cursor: pointer;
}

section.c-section-checkout .c-checkout__delivery-method > div:first-of-type {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

section.c-section-checkout .c-checkout__delivery-method > div:first-of-type:last-of-type {
  border: 1px solid #b8b8b8;
  border-radius: 8px;
}

section.c-section-checkout .c-checkout__delivery-method > div:not(:first-of-type):not(:last-of-type) {
  border-top: unset;
  border-radius: 0;
}

section.c-section-checkout .c-checkout__delivery-method > div:last-of-type {
  border-top: unset;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

section.c-section-checkout .c-checkout__delivery-method > div label {
  cursor: pointer;
}

section.c-section-checkout .c-checkout__delivery-method > div > span {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid #b9c4c9;
  border-radius: 50%;
  background-color: #fff;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

section.c-section-checkout .c-checkout__delivery-method > div > span::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 50% auto 0;
  border-radius: 50%;
  background-color: #fff;
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease-out;
}

section.c-section-checkout .c-checkout__delivery-method > div > span.selected {
  border: 0;
  background-color: #c8132f;
  transition: all 0.3s ease-out;
}

section.c-section-checkout .c-checkout__delivery-method > div > span.selected::after {
  transform: translateY(-50%) scale(1);
}

section.c-section-checkout .c-checkout__delivery-method > div > div {
  width: 100%;
}

section.c-section-checkout .c-checkout__delivery-method > div > div > div {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

section.c-section-checkout .c-checkout__delivery-method > div > div > label {
  color: gray;
}

/* Billing address */
section.c-section-checkout .c-checkout__billing-address > div {
  display: flex;
  flex-direction: column;
}

section.c-section-checkout .c-checkout__billing-address > div > label {
  display: flex;
  align-items: center;
  padding: 12px;
  border: 1px solid #b8b8b8;
  background-color: #fff;
  cursor: pointer;
}

section.c-section-checkout .c-checkout__billing-address > div > label > span {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  border: 1px solid #b9c4c9;
  border-radius: 50%;
  background-color: #fff;
  transition: border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

section.c-section-checkout .c-checkout__billing-address > div > label > span::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin: 50% auto 0;
  border-radius: 50%;
  background-color: #fff;
  transform: translateY(-50%) scale(0);
  transition: transform 0.3s ease-out;
}

section.c-section-checkout .c-checkout__billing-address > div > label > span.selected {
  border: 0;
  background-color: #c8132f;
  transition: all 0.3s ease-out;
}

section.c-section-checkout .c-checkout__billing-address > div > label > span.selected::after {
  transform: translateY(-50%) scale(1);
}

section.c-section-checkout .c-checkout__billing-address > div > label > input[type="radio"] {
  margin-right: 10px;
  accent-color: red;
}

section.c-section-checkout .c-checkout__billing-address > div > label.c-checkout__billing-address__same {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

section.c-section-checkout .c-checkout__billing-address > div > label.c-checkout__billing-address__different {
  border-top: none;
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
}

section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details {
  display: flex;
  flex-direction: column;
  margin-top: 10px;
}

section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
}

section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div > div {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 10px;
}

section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div > div.c-half-size {
  width: calc(50% - 6px);
}

section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div > div > label {
  font-size: small;
}

section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div > div > select {
  padding: 12px;
  border-color: #b8b8b8;
  border-radius: 8px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
}

/* Payment */
section.c-section-checkout .c-checkout__payment > div {
  margin: 10px 0;
}

section.c-section-checkout .c-checkout__payment > .c-invalid {
  text-align: center;
}

section.c-section-checkout .c-checkout__payment > .c-invalid > label {
  width: 100%;
  padding: 12px;
  color: red;
  font-size: unset;
  text-align: center;
}

section.c-section-checkout .c-checkout__payment > div > div > div {
  display: flex;
  align-items: center;
}

section.c-section-checkout .c-checkout__payment > div > div > div > label,
section.c-section-checkout .c-checkout__payment > label {
  display: inline-block;
  margin-right: 6px;
  color: gray;
  font-size: small;
  line-height: normal;
}

section.c-section-checkout .c-checkout__payment .c-checkout__payment__adyen-form {
  display: flex;
  flex-direction: column;
}

section.c-section-checkout .c-checkout__payment .c-checkout__payment__adyen-form > div {
  margin-top: 10px;
}

#payment_container {
  display: grid;
  --adyen-sdk-text-title-font-size: 1em;
  --adyen-sdk-text-caption-font-size: 0.7em;
  --adyen-sdk-text-body-font-size: 0.81em;
}

#dropin-container > div {
  width: 100%;
}

.adyen-checkout__button {
  border: 1px solid #e5152f !important;
  border-radius: 8px !important;
  background: #e5152f !important;
  color: #fff !important;
  box-shadow: none !important;
  transition: all 0.3s ease-out;
}

.adyen-checkout__payment-method__radio--selected {
  background-color: #c8132f !important;
}

.adyen-checkout__applepay__button {
  width: 100% !important;
  height: 48px !important;
  border-radius: 8px !important;
  -webkit-appearance: -apple-pay-button !important;
  -apple-pay-button-type: buy !important;
  -apple-pay-button-style: black !important;
}

/* Invoice payment */
section.c-section-checkout .c-checkout__payment .c-checkout__payment-invoice {
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: baseline;
  margin-top: 12px;
  padding: 16px;
  border: 1px solid #dbdee2;
  border-radius: 8px;
  background-color: #fff;
  cursor: pointer;
}

section.c-section-checkout .c-checkout__payment .c-checkout__payment-invoice:hover,
section.c-section-checkout .c-checkout__payment .c-checkout__payment-invoice.selected {
  border-color: #c9cdd3;
}

section.c-section-checkout .c-checkout__payment .c-checkout__payment-invoice.selected {
  background-color: #f7f7f8;
}

.c-checkout__payment-invoice:hover:not(.c-checkout__payment-invoice.selected) span.c-checkbox {
  box-shadow: 0 0 0 2px #c9cdd3;
}

.c-checkout__payment-invoice > div,
.c-checkout__payment-confirm {
  display: flex;
  align-items: baseline;
  width: 100%;
  cursor: pointer;
}

.c-checkout__payment-invoice > div > img {
  width: 40px;
  height: 26px;
  margin-right: 12px;
  content: url("/dev/static/img/checkout/invoice-icon.svg");
}

.c-checkout__payment-invoice > div > input {
  margin-right: 10px;
  accent-color: red;
}

.c-checkout__payment-invoice > div > div {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.c-checkout__payment-invoice > div > div > label {
  cursor: pointer;
}

.c-checkout__payment-invoice > div > label.c-checkout__payment-invoice-desc {
  margin-top: 16px;
  color: grey;
  font-size: small;
}

.c-checkout__payment-invoice > button {
  margin-top: 10px;
}

/* Payment confirmation */
.c-checkout__payment-confirm {
  flex-direction: column;
  align-items: baseline !important;
  margin-top: 8px;
  padding: 8px;
  border: 1px solid #e6e9eb;
  border-radius: 8px;
}

.c-checkout__payment-confirm > div {
  flex-direction: row !important;
}

.c-checkout__payment-confirm > div > input {
  margin-right: 10px;
  accent-color: red;
}

.c-checkout__payment-confirm > div > div {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.c-checkout__payment-confirm > div > div > label {
  color: grey;
  font-size: small;
  cursor: pointer;
}

.c-checkout__payment-confirm > button {
  margin-top: 10px;
}

/* Care homes payment */
.c-checkout__payment-care-homes {
  margin-top: 0 !important;
}

.c-checkout__payment-care-homes > div {
  display: flex;
  align-items: baseline;
  padding-top: 6px;
  cursor: pointer;
}

.c-checkout__payment-care-homes > div > input {
  margin-right: 10px;
  accent-color: red;
  cursor: pointer;
}

.c-checkout__payment-care-homes > div > div {
  display: flex;
}

.c-checkout__payment-care-homes > div > div > label {
  display: inline-block;
  color: grey;
  font-size: small;
  line-height: normal;
  cursor: pointer;
}

/* Checkout footer icons */
section.c-section-checkout-footer {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

section.c-section-checkout-footer > div {
  display: flex;
  width: 100%;
  max-width: 1240px;
}

section.c-section-checkout-footer > div > div {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-around;
  width: calc(50% - 10px);
  margin: 0 0 0 10px;
  border-right: 1px solid #b8b8b8;
}

section.c-section-checkout-footer > div > div.c-empty {
  margin: 0 10px 0 0;
  border: none;
  background: #f5f5f5;
}

div.icon-box-item-main {
  display: flex;
  flex: 1 0 100%;
  justify-content: center;
}

div.icon-box-item {
  padding: 10px;
}

div.icon-box-item > img {
  width: 120px;
}

/* Basket summary */
section.c-section-checkout .c-space-summary {
  margin: 0 10px 0 0;
}

.c-space-summary {
  background: #f5f5f5;
}

.c-space-summary__cart-items > div {
  display: flex;
  justify-content: space-between;
}

.c-space-summary__cart-items-title {
  height: 100px;
  padding: 20px;
  font-size: larger;
  font-weight: bold;
}

.c-space-summary__cart-items-elements {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.c-preview-element {
  display: flex;
  flex-flow: row wrap;
  align-self: center;
  width: calc(100% - 40px);
  margin-bottom: 16px;
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 0 1px 1px #fff, 0 0 3px 3px #e7e7e7;
}

.c-preview-element:nth-child(1) {
  margin-top: -30px;
}

.c-preview-element.c-undouble {
  display: block;
  margin-top: -30px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  clip-path: inset(0 -10px -10px -10px);
}

.c-preview-element.c-undouble > div {
  display: flex;
  flex-flow: row wrap;
}

.c-preview-element .c-preview-image {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 30%;
  margin-right: 10px;
}

.c-preview-element .c-preview-image > img {
  width: 100%;
  max-width: 128px;
  border-radius: 8px;
}

.c-preview-element .c-preview-image > img.layer {
  position: absolute;
}

.c-preview-element .c-preview-image.c-bw > img {
  border: 1px solid #e7e7e7;
}

.c-preview-element .c-preview-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  margin-left: 0;
}

.c-preview-element .c-preview-desc {
  display: flex;
  justify-content: space-between;
}

.c-preview-element .c-preview-desc > div {
  display: flex;
  flex-direction: column;
}

.c-preview-element .c-preview-desc > div > label.c-preview-desc-name {
  font-weight: bold;
}

.c-preview-element .c-preview-desc > div > label.c-preview-desc-value {
  color: #808080;
  font-size: x-small;
}

.c-preview-element .c-preview-desc > .c-preview-desc-prices {
  display: flex;
  flex-flow: column-reverse wrap;
  align-items: end;
  justify-content: right;
}

.c-preview-element .c-preview-desc > div > label.c-preview-desc-old-price {
  margin-right: 0;
  font-size: small;
  text-decoration: line-through;
}

.c-preview-element .c-preview-desc > div > label.c-preview-desc-price {
  color: red;
}

.c-preview-element .c-preview-options {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 4px;
}

.c-preview-element.c-undouble > div.c-hr {
  margin: 10px 0 4px;
  border-top: 1px solid #e8e8e8;
}

.c-preview-element.c-undouble > .c-preview-details > .c-preview-options {
  align-items: center;
}

.c-preview-element .c-preview-options > .c-preview-options-double,
.c-preview-element .c-preview-options > .c-preview-options-undouble {
  display: flex;
  flex-direction: column;
  align-items: start;
  padding-bottom: 6px;
}

.c-preview-element .c-preview-options > .c-preview-options-double > label {
  z-index: 2;
  width: fit-content;
  margin-top: 10px;
  padding: 1px 4px;
  border: 1px solid #000;
  border-radius: 8px;
  background: yellow;
  color: #000;
  font-size: small;
  font-weight: bold;
  white-space: nowrap;
  transform: rotate(342deg);
}

.c-preview-element .c-preview-options > .c-preview-options-double > button {
  margin-left: 10px;
}

.c-preview-element .c-preview-options > .c-preview-options-double > button,
.c-preview-element .c-preview-options > .c-preview-options-undouble > button {
  padding: 6px 8px;
  border-radius: 8px;
  font-size: small;
}

.c-preview-element .c-preview-options > .c-preview-options-edit-remove {
  display: flex;
  justify-content: center;
}

.c-preview-element .c-preview-options > div > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2px 4px;
  cursor: pointer;
}

.c-preview-element .c-preview-options > div > div > img {
  width: 24px;
  height: 24px;
}

.c-preview-element .c-preview-options > div > div > label {
  color: #d90d2d;
  font-size: small;
}

.c-preview-element .c-preview-options > .c-preview-options-edit-remove > .c-preview-options-edit > img {
  content: url("/dev/static/img/checkout/edit-icon.svg");
}

.c-preview-element .c-preview-options > .c-preview-options-edit-remove > .c-preview-options-remove > img {
  content: url("/dev/static/img/checkout/remove-icon.svg");
}

.c-preview-element .c-preview-options > .c-preview-options-count {
  display: flex;
  flex-direction: row;
  margin-bottom: 2px;
  border: 1px solid #adadad;
  border-radius: 8px;
}

.c-preview-element .c-preview-options > .c-preview-options-count > label.c-preview-options-count-quantity {
  padding: 2px 10px;
  color: unset;
  font-size: medium;
}

.c-preview-element .c-preview-options > .c-preview-options-count > img.c-preview-options-count-dec,
.c-preview-element .c-preview-options > .c-preview-options-count > img.c-preview-options-count-inc {
  width: 16px;
  height: 16px;
  margin: 6px;
  cursor: pointer;
}

.c-preview-element .c-preview-options > .c-preview-options-count > img.c-preview-options-count-dec {
  content: url("/dev/static/img/checkout/minus.svg");
}

.c-preview-element .c-preview-options > .c-preview-options-count > img.c-preview-options-count-inc {
  content: url("/dev/static/img/checkout/plus.svg");
}

/* Order summary */
.c-space-summary__order-summary {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.c-space-summary__order-summary > div {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.c-space-summary__order-summary-title {
  font-size: larger;
  font-weight: bold;
}

.c-space-summary__order-summary-discount input {
  padding: 5px;
  border: 1px solid #b8b8b8;
  border-radius: 8px;
}

.c-space-summary__order-summary-discount-remove {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

.c-space-summary__order-summary-discount-remove-desc {
  display: flex;
  justify-content: space-between;
}

.c-space-summary__order-summary-discount-remove-info {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.c-space-summary__order-summary-discount-remove-info .c-invalid {
  font-size: small;
}

.c-space-summary__order-summary-discount > div > div {
  display: flex;
  align-items: baseline;
}

.c-space-summary__order-summary-discount > div > div > div,
.c-space-summary__order-summary-shipping > div > div {
  color: #808080;
  font-size: small;
}

.c-space-summary__order-summary-discount .c-space-summary__order-summary-discount-title > div > a {
  text-decoration: underline;
  cursor: pointer;
}

.c-space-summary__order-summary-discount .c-space-summary__order-summary-discount-value {
  display: flex;
  align-items: end;
}

.c-space-summary__order-summary-discount .c-space-summary__order-summary-discount-value > div {
  display: flex;
  flex-direction: column;
}

.c-space-summary__order-summary-discount .c-btn {
  margin-left: 6px;
  padding: 6px 8px;
  border-radius: 8px;
  font-size: small;
}

.c-space-summary__order-summary-discount-message > label {
  color: red;
  font-size: small;
  font-weight: bold;
}

.c-space-summary__order-summary-shipping > div {
  display: flex;
  align-items: baseline;
}

.c-space-summary__order-summary-total {
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-top: 1px solid #d1d1d1;
  border-bottom: 1px solid #d1d1d1;
  font-weight: bold;
}

.c-space-summary__order-add-more {
  display: none;
  padding: 0 20px 20px;
}

.c-space-summary__order-teddy {
  display: none;
  justify-content: center;
}

.c-space-summary__order-teddy > img {
  width: 100%;
  max-width: 400px;
  margin-top: 100px;
  content: url("/dev/static/img/checkout/teddy-basket.svg");
}

/* Responsive checkout */
@media screen and (max-width: 1023px) {
  section.c-section-checkout .c-checkout__shipping-details > div > div.c-half-size,
  section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div > div.c-half-size {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  section.c-section-checkout {
    flex-direction: column-reverse;
  }

  section.c-section-checkout .c-space-checkout,
  section.c-section-checkout .c-space-summary {
    grid-column: 1 / 3;
    width: 100%;
    margin: 0;
    border: none;
  }

  section.c-section-checkout .c-space-checkout {
    padding: 10px 0 0;
    background: #ddd;
  }

  section.c-section-checkout .c-checkout-express {
    padding: 0 20px;
    background: #f5f5f5;
  }

  section.c-section-checkout .c-checkout-express > div {
    margin: 0;
    background: #f5f5f5;
  }

  section.c-section-checkout .c-checkout-express > div > div {
    padding: 0;
  }

  section.c-section-checkout .c-checkout-express > div > label {
    z-index: 1;
    background: #f5f5f5;
  }

  section.c-section-checkout .c-checkout-other-methods {
    margin: 0;
    padding: 20px 20px 0;
    background: #f5f5f5;
  }

  section.c-section-checkout .c-space-checkout .c-checkout > div {
    margin-top: 10px;
    padding: 20px;
    background: #f5f5f5;
  }

  section.c-section-checkout .c-checkout__email {
    margin-top: 0 !important;
  }

  section.c-section-checkout .c-checkout__shipping-details > div > div.c-half-size,
  section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div > div.c-half-size {
    width: calc(50% - 6px);
  }

  section.c-section-checkout .c-checkout__delivery-method > div {
    background-color: #e9e9e9;
  }

  .c-space-summary__order-add-more > a {
    width: 100%;
  }

  .c-space-summary__order-teddy > img {
    margin-top: 20px;
    content: none;
  }

  section.c-section-checkout-footer {
    margin-bottom: 0;
    padding-bottom: 20px;
    background: #f5f5f5;
  }

  section.c-section-checkout-footer > div > div.icon-box {
    width: 100%;
    border-right: none;
  }

  section.c-section-checkout-footer > div > div.c-empty {
    width: 0;
  }

  .tp-widget-wrapper > a {
    display: flex;
  }

  .c-space-designer {
    flex-direction: column;
  }

  .c-space-designer > div {
    margin: 10px 0;
  }

  .c-space-details {
    display: none;
    margin: 0;
  }

  .c-preview-inputs {
    margin-top: unset !important;
  }

  .c-designs > div.c-image {
    margin: 6px 4px;
  }
}

@media screen and (max-width: 500px) {
  section.c-section-checkout .c-checkout__shipping-details > div > div.c-half-size,
  section.c-section-checkout .c-checkout__billing-address .c-checkout__billing-address-details > div > div.c-half-size,
  section.c-section-checkout-footer > div > div {
    width: 100%;
  }

  .c-preview-element {
    font-size: small;
  }

  .c-preview-element .c-preview-desc > div > label.c-preview-desc-value,
  .c-preview-element .c-preview-desc > div > label.c-preview-desc-old-price,
  .c-preview-element .c-preview-options > .c-preview-options-double > label,
  .c-preview-element .c-preview-options > .c-preview-options-double > button,
  .c-preview-element .c-preview-options > .c-preview-options-undouble > button,
  .c-preview-element .c-preview-options > div > div > label {
    font-size: xx-small;
  }

  section.c-section-checkout .c-checkout__shipping-details .c-checkout__shipping-details__additional-info {
    font-size: small;
  }

  section.c-section-checkout .c-checkout__shipping-details .c-checkout__shipping-details__additional-info .c-additional-info-2 {
    font-size: smaller;
  }

  .c-designs > div.c-image {
    margin: 4px 2px;
  }
}

@media screen and (max-width: 376px) {
  .c-preview-element {
    font-size: x-small;
  }

  .c-preview-element .c-preview-desc > div > label.c-preview-desc-value,
  .c-preview-element .c-preview-desc > div > label.c-preview-desc-old-price,
  .c-preview-element .c-preview-options > .c-preview-options-double > label,
  .c-preview-element .c-preview-options > .c-preview-options-double > button,
  .c-preview-element .c-preview-options > .c-preview-options-undouble > button,
  .c-preview-element .c-preview-options > div > div > label {
    font-size: 0.8rem;
  }
}