/* door-stickers.css */

/* ================= DOOR STICKERS PAGE ================= */
/* Page-specific styles + door sticker design tool styles.
   Global typography, headings, buttons, container, header, footer and basket styles come from core.css / basket-new.css. */

.door-sticker-page {
  overflow-x: hidden;
}

/* ================= SHARED PAGE UTILITIES ================= */
.margin-block {
  margin-block: 10rem;
}

.max-width110 {
  max-width: 110rem;
  margin-inline: auto;
}

.position-relative {
  position: relative;
}

.shine-effect {
  position: relative;
  overflow: hidden;
}

.shine-effect::before {
  position: absolute;
  top: 0;
  left: -80%;
  z-index: 1;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, #fff0 0%, #fff3 100%);
  transform: skewX(-25deg);
  transition: left 0.5s ease-in-out;
}

.shine-effect:hover::before {
  animation: door-sticker-shine 1.3s forwards;
}

@keyframes door-sticker-shine {
  0% {
    left: -80%;
  }

  100% {
    left: 100%;
  }
}

/* ================= DOOR STICKER DESIGN TOOL ================= */
/* Design tool layout is preserved; only font family/button overrides are aligned. */

.door-stickers-design-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
}

#door-stickers-designs {
  max-width: 1250px;
  width: 100%;
  padding: 35px 16px 0;
  font-family: "Nunito Sans", sans-serif;
}

#door-stickers-designs iframe,
#door-stickers-designs img {
  height: 100%;
}

#door-stickers-designs > div {
  margin-top: 24px;
  margin-bottom: 24px;
}

#door-stickers-designs .previews img {
  width: 99%;
  height: 99%;
  border: 1px solid #d7d7d7;
}

#basket-order-ext {
  margin: 10px 0;
}

#designer-info > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#designer-info .title {
  margin-bottom: 1.15rem;
  font-family: "Quicksand", sans-serif;
  font-size: clamp(1.875rem, 1.625rem + 1.1111vw, 2.625rem);
  font-weight: 700;
  line-height: 1.1;
}

#designer-info .description {
  font-size: medium;
  text-align: center;
}

#design {
  display: grid;
  grid-template-columns: 62% 38%;
  justify-content: center;
  font-family: "Nunito Sans", sans-serif;
}

#design > div {
  margin: 0 16px 32px;
}

#design > div.previews {
  grid-row: 1 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#design > div.description > div {
  margin-bottom: 24px;
  text-align: center;
}

#design > div.description > div.variants > div {
  display: flex;
  flex-direction: row;
  justify-content: start;
  align-items: center;
  width: 100%;
}

#design > div.description > div > div.title {
  display: block;
  margin-bottom: 16px;
  font-family: "Quicksand", sans-serif;
  font-size: x-large;
  font-weight: 700;
}

#door-stickers-designs swiper-container {
  width: calc(100% - 40px);
}

#door-stickers-designs swiper-slide {
  display: flex;
  justify-content: center;
  flex-flow: column;
  align-items: center;
}

#door-stickers-designs .mySwiper2 {
  width: auto;
  padding: 10px 0;
}

#door-stickers-designs .mySwiper2 .swiper-slide-thumb-active {
  opacity: 1;
}

#door-stickers-designs .mySwiper2 swiper-slide {
  height: 100px;
  opacity: 0.4;
  width: fit-content;
  cursor: pointer;
  margin: 0 6px;
}

#door-stickers-designs .mySwiper2 swiper-slide.swiper-slide-thumb-active img {
  height: 90px;
  box-shadow: 0 0 1px 3px #fff, 0 0 2px 4px black;
}

#door-stickers-designs .c-swiper-arrow-left,
#door-stickers-designs .c-swiper-arrow-right {
  margin-top: -16px;
  width: 20px;
  cursor: pointer;
  text-align: center;
}

#door-stickers-designs .swiper-button-disabled {
  cursor: default;
}

#door-stickers-designs .c-swiper-arrow-left img {
  content: url("../../dev/static/img/swiper/arrow-left.svg");
}

[dir="rtl"] #door-stickers-designs .c-swiper-arrow-left img {
  content: url("../../dev/static/img/swiper/arrow-right.svg");
}

#door-stickers-designs .c-swiper-arrow-right img {
  content: url("../../dev/static/img/swiper/arrow-right.svg");
}

[dir="rtl"] #door-stickers-designs .c-swiper-arrow-right img {
  content: url("../../dev/static/img/swiper/arrow-left.svg");
}

#door-stickers-designs .c-swiper-arrow-left.swiper-button-disabled img,
#door-stickers-designs .c-swiper-arrow-right.swiper-button-disabled img {
  content: "";
}

#door-stickers-designs .c-design {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 6px 2px;
}

#door-stickers-designs .c-design.active > a,
#door-stickers-designs .c-design:hover > a {
  box-shadow: 0 0 1px 2px #fff, 0 0 1px 4px #e5152f;
}

#door-stickers-designs .c-design > a {
  display: flex;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
  border-radius: 50%;
  box-shadow: 0 0 1px 2px #fff, 0 0 1px 3px #dbdbdb;
  overflow: hidden;
}

#door-stickers-designs .c-design > a > div {
  height: 100%;
  width: 100%;
  background-size: contain;
}

#door-stickers-designs .c-design > a > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

#door-stickers-designs .basket {
  margin-block: 14px;
  text-align: center;
}

#door-stickers-designs .basket .description {
  margin-bottom: 14px;
  font-size: medium;
  font-weight: 700;
  text-align: center;
}

#door-stickers-designs .basket .c-btn,
#door-stickers-designs .basket .c-btn--medium,
#door-stickers-designs .basket button,
#door-stickers-designs .basket input[type="button"],
#door-stickers-designs .basket input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto;
  background-color: var(--button-color);
  border: 1px solid var(--button-color);
  color: var(--color-white);
  border-radius: 0.6rem;
  padding: 1rem 1.35rem;
  min-height: 0;
  height: auto;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
  cursor: pointer;
  transition: all 0.2s ease;
}

#door-stickers-designs .basket .c-btn *,
#door-stickers-designs .basket .c-btn--medium *,
#door-stickers-designs .basket button *,
#door-stickers-designs .basket input[type="button"] *,
#door-stickers-designs .basket input[type="submit"] * {
  line-height: 1;
  vertical-align: middle;
}

#door-stickers-designs .basket .c-btn:hover,
#door-stickers-designs .basket .c-btn--medium:hover,
#door-stickers-designs .basket button:hover,
#door-stickers-designs .basket input[type="button"]:hover,
#door-stickers-designs .basket input[type="submit"]:hover {
  background-color: transparent;
  border-color: var(--button-color);
  color: var(--button-color);
}

#door-stickers-designs .c-input-line {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  border: 1px solid #bcbcbc;
  border-radius: 8px;
  margin: 4px;
  padding: 4px 20px;
  color: grey;
}

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

#door-stickers-designs .c-input-line input:focus,
#door-stickers-designs .c-input-line input:focus-visible {
  border: none;
  outline: none;
  box-shadow: none;
  -webkit-box-shadow: 0 0 0 1000px #fff inset;
}

/* ================= FEATURE SUMMARY ================= */
.feature-summary {
  margin-top: 4rem;
}

.feature-summary__grid {
  display: grid;
  align-items: center;
  text-align: center;
  margin-top: 3rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  justify-items: center;
}

.feature-summary__item {
  width: 100%;
}

.feature-summary__title {
  line-height: 1.1;
  font-size: 1.35rem;
  color: var(--color-black);
  font-weight: 500;
  margin-top: 0.65rem;
}

.feature-summary__icon {
  width: auto;
  max-width: 46px;
  height: 4.2rem;
  object-fit: contain;
  transition: transform 0.3s ease;
  margin-inline: auto;
}

.feature-summary__icon:hover {
  transform: scale(1.1);
}

/* ================= ABOUT DECOR ================= */
.about-decor {
  background-color: #fcf9de;
  padding-block: 6rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-decor__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  padding-inline: 2rem;
  grid-template-areas: "image text";
}

.about-decor__image {
  grid-area: image;
}

.about-decor_text-section,
.about-decor__text-section {
  grid-area: text;
  flex: 1 1 55%;
  min-width: 300px;
}

.about-decor__image img {
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-decor_text-section .text-block,
.about-decor__text-section .text-block {
  margin-bottom: 4rem;
}

.about-decor_text-section .text-block:last-child,
.about-decor__text-section .text-block:last-child {
  margin-bottom: 0;
}

.about-decor_text-section .text-block h2,
.about-decor__text-section .text-block h2 {
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ================= MORE STICKERS ================= */
.more-stickers-grid {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
}

.more-stickers-item {
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
}

.more-stickers-item:hover img {
  transform: scale(1.1);
}

.more-stickers-item img {
  width: 100%;
  height: 100%;
  transition: 0.3s ease-in-out;
  object-fit: cover;
}

.more-stickers-content {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  width: 85%;
  text-align: center;
  font-family: "Quicksand", sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--color-black);
  padding: 0.3rem 0.5rem;
  opacity: 0.851;
  border-radius: 0.7rem;
  background-color: var(--color-white);
}

/* ================= RESPONSIVE ================= */
@media screen and (max-width: 1003px) {
  .more-stickers-content {
    font-size: 1.55rem;
  }
}

@media screen and (max-width: 991px) {
  .margin-block {
    margin-block: 5rem;
  }
}

@media screen and (max-width: 883px) {
  .more-stickers-content {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 862px) {
  .about-decor__content {
    padding-inline: unset;
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "image";
  }

  .about-decor__image {
    margin-top: 1.5rem;
  }

  .about-decor_text-section .text-block h2,
  .about-decor__text-section .text-block h2 {
    text-align: center;
  }
}

@media screen and (max-width: 800px) {
  #designer-info .title {
    text-align: center;
  }

  #design {
    display: block;
  }

  #design > div {
    margin: 0 0 16px;
  }

  #design > div.previews {
    margin-bottom: 32px;
  }

  #design > div.description {
    max-width: 100%;
  }

  #design > div.description > div {
    margin-bottom: 32px;
  }
}

@media screen and (max-width: 767px) {
  .feature-summary {
    margin-top: 2rem;
  }

  .feature-summary.margin-block {
    margin-block: 3rem;
  }

  .feature-summary__grid {
    margin-top: 1.75rem;
  }

  .feature-summary__title {
    margin-top: 0.45rem;
    font-size: 0.95rem;
  }

  .feature-summary__icon {
    max-width: 38px;
    height: 3.5rem;
  }

  .more-stickers-grid {
    margin-top: 3rem;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .more-stickers-content {
    font-size: 1.25rem;
  }

  .about-decor__image img {
    max-width: 100%;
    width: 100%;
  }

  .about-decor_text-section .text-block h2,
  .about-decor__text-section .text-block h2 {
    font-size: 2rem;
    text-align: center;
  }
}

@media screen and (max-width: 749px) {
  #door-stickers-designs {
    padding-top: 45px;
  }
}