.favoritesSection {
  background: #fff;
}

.favoritesInner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 50px;
}

.favoritesTitle {
  margin: 0 0 30px;
  color: #101820;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.6px;
  text-align: center;
}

.productGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 12px;
}

.productCard {
  min-width: 0;
  color: #101820;
  text-align: center;
}

.productVisual {
  overflow: hidden;
  border-radius: 8px;
  background: #f8f8f8;
}

.productMedia {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid #e6e6e6;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
}

.productImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.productCard:hover .productImage,
.productCard:focus-within .productImage {
  transform: scale(1.03);
}

.favoriteIcon {
  position: absolute;
  top: 14px;
  right: 13px;
  width: 24px;
  height: 24px;
  color: #eda5b1;
}

.favoriteIcon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.variantPanel {
  min-height: 70px;
  padding: 8px 8px 10px;
  background: #f7f7f7;
}

.variantLabel {
  display: block;
  margin-bottom: 3px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.variantList {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.variantPill {
  min-width: 55px;
  padding: 0 9px 1px;
  border: 1px solid #cecece;
  border-radius: 999px;
  background: #fff;
  color: #101820;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.variantPillActive {
  border-color: #101010;
  background: #101010;
  color: #fff;
}

.productInformation {
  min-height: 127px;
  padding: 21px 6px 0;
}

.productName {
  min-height: 58px;
  margin: 0;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.2px;
}

.productName a:hover,
.productName a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.productPrice {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
}

.addButton,
.promoButton,
.newsletterForm button {
  border: 0;
  border-radius: 41px;
  background: #121212;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.addButton {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1.5px;
}

.addButton:hover,
.addButton:focus-visible,
.promoButton:hover,
.promoButton:focus-visible,
.newsletterForm button:hover,
.newsletterForm button:focus-visible {
  background: #2b2b2b;
}

.socialSection {
  display: flow-root;
  height: 350px;
  background: #fff;
}

.socialInner {
  max-width: 1300px;
  height: 100%;
  margin: 0 auto;
  padding: 0 50px;
  text-align: center;
}

.socialTitle {
  margin: 22px 0 30px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.4px;
}

.socialTiles {
  display: none;
}

.socialDesktopSpace {
  height: 264px;
}

.storySection {
  min-height: 396px;
  padding: 40px 20px;
  background: #faf7f4;
  text-align: center;
}

.storyContent {
  max-width: 780px;
  margin: 0 auto;
}

.storyTitle {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.6px;
}

.storyText {
  margin-top: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
}

.promoSection {
  position: relative;
  height: 179px;
  max-width: 1200px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  background: #faf7f4;
}

.promoContent {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(850px, calc(100% - 80px));
  height: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  column-gap: 30px;
  align-content: center;
  align-items: center;
  margin: 0 auto;
}

.promoTitle {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 0.2px;
}

.promoButton {
  display: flex;
  min-width: 178px;
  height: 44px;
  align-items: center;
  justify-content: center;
  grid-column: 2;
  grid-row: 1 / span 2;
  padding: 0 30px;
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 1px;
}

.promoNote {
  font-size: 12px;
  line-height: 1.5;
}

.promoOrnament {
  position: absolute;
  top: 50%;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0 13px,
    rgb(224 206 170 / 55%) 14px 16px,
    transparent 17px 27px
  );
  transform: translateY(-50%);
}

.promoOrnamentLeft {
  left: -112px;
}

.promoOrnamentRight {
  right: -98px;
}

.footer {
  padding: 40px 0;
  background: #faf7f4;
  color: #101820;
}

.footerInner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

.footerMain {
  display: flex;
  min-height: 372px;
  gap: 80px;
}

.newsletter {
  width: 300px;
  flex: 0 0 300px;
}

.newsletterHeading {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.footerBrandMark {
  width: 63px;
  height: 65px;
  flex: 0 0 63px;
}

.newsletterHeading h2 {
  margin: 1px 0 4px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}

.newsletterHeading p,
.socialFollow p {
  font-size: 14px;
  line-height: 1.6;
}

.newsletterForm {
  display: grid;
  gap: 8px;
  margin-top: 24px;
}

.newsletterForm input {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #d9d6d2;
  border-radius: 3px;
  background: #fff;
  color: #101820;
  font-size: 13px;
}

.newsletterForm button {
  height: 42px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.7px;
}

.newsletterStatus {
  min-height: 18px;
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 18px;
}

.socialFollow {
  margin-top: 16px;
}

.socialLinks {
  display: flex;
  gap: 18px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.socialLinks a {
  display: flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
}

.socialLinks svg {
  width: 20px;
  height: 20px;
  fill: currentcolor;
}

.footerNavigation {
  display: grid;
  min-width: 0;
  flex: 1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.footerGroupTitle {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.footerAccordionButton {
  display: none;
}

.footerLinks {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footerLinks a {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
}

.footerLinks a:hover,
.footerLinks a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.copyright {
  margin: 80px 0 0;
  padding-top: 12px;
  border-top: 1px solid #e0ceaa;
  font-size: 12px;
  line-height: 21.6px;
  text-align: center;
}

@media (max-width: 1024px) {
  .favoritesInner {
    padding-right: 32px;
    padding-left: 32px;
  }

  .productGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footerMain {
    gap: 36px;
  }

  .footerInner {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 749px) {
  .favoritesInner {
    padding: 45px 20px 25px;
  }

  .favoritesTitle {
    margin-bottom: 25px;
    font-size: 26px;
    line-height: 1.3;
  }

  .productGrid {
    gap: 20px 12px;
  }

  .productMedia {
    border-width: 1px;
  }

  .favoriteIcon {
    top: 8px;
    right: 7px;
    width: 18px;
    height: 18px;
  }

  .variantPanel {
    min-height: 57px;
    padding: 6px 3px 7px;
  }

  .variantLabel {
    margin-bottom: 2px;
    font-size: 8px;
    line-height: 12px;
  }

  .variantList {
    gap: 2px;
  }

  .variantPill {
    min-width: 0;
    padding: 0 5px;
    font-size: 8px;
    line-height: 12px;
  }

  .productInformation {
    min-height: 117px;
    padding: 13px 1px 0;
  }

  .productName {
    min-height: 65px;
    font-size: 12px;
    line-height: 17px;
    letter-spacing: 0;
  }

  .productPrice {
    margin-top: 2px;
    font-size: 12px;
    line-height: 18px;
  }

  .addButton {
    height: 44px;
    padding: 0 20px;
    font-size: 14px;
    letter-spacing: 1px;
  }

  .socialSection {
    height: 305px;
  }

  .socialInner {
    padding: 0 20px;
  }

  .socialTitle {
    margin: 17px 0 30px;
    font-size: 20px;
    line-height: 26px;
  }

  .socialTiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }

  .socialTile {
    position: relative;
    display: block;
    height: 232px;
    overflow: hidden;
  }

  .socialTile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .socialDesktopSpace {
    display: none;
  }

  .storySection {
    min-height: 678px;
    padding: 30px 40px;
  }

  .storyTitle {
    font-size: 26px;
    line-height: 1.3;
  }

  .storyText {
    font-size: 16px;
    line-height: 1.8;
  }

  .promoSection {
    width: calc(100% - 40px);
    height: 251px;
  }

  .promoContent {
    display: flex;
    width: 270px;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    text-align: center;
  }

  .promoTitle {
    font-size: 22px;
    line-height: 30px;
  }

  .promoButton {
    min-width: 145px;
    height: 36px;
    padding: 0 22px;
    font-size: 12px;
  }

  .promoNote {
    margin-top: -7px;
    font-size: 10px;
  }

  .promoOrnament {
    width: 190px;
    height: 190px;
  }

  .promoOrnamentLeft {
    left: -128px;
  }

  .promoOrnamentRight {
    right: -123px;
  }

  .footer {
    padding: 30px 0;
  }

  .footerInner {
    padding: 0 20px 20px;
  }

  .footerMain {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 20px;
  }

  .newsletter {
    width: 100%;
    min-height: 463px;
    flex-basis: auto;
    text-align: center;
  }

  .newsletterHeading {
    display: block;
  }

  .footerBrandMark {
    width: 63px;
    height: 65px;
    margin: 0 auto 13px;
  }

  .newsletterHeading h2 {
    margin: 0 0 8px;
    font-size: 20px;
  }

  .newsletterHeading p,
  .socialFollow p {
    max-width: 290px;
    margin-right: auto;
    margin-left: auto;
    font-size: 14px;
    line-height: 1.7;
  }

  .newsletterForm {
    margin-top: 20px;
  }

  .newsletterForm input,
  .newsletterForm button {
    height: 40px;
  }

  .newsletterStatus {
    min-height: 18px;
  }

  .socialFollow {
    margin-top: 15px;
  }

  .socialLinks {
    justify-content: center;
    margin-top: 16px;
  }

  .footerNavigation {
    display: block;
  }

  .footerGroup {
    border-bottom: 1px solid #dfdcd8;
  }

  .footerGroup:first-child {
    border-top: 1px solid #dfdcd8;
  }

  .footerGroupTitle {
    display: none;
  }

  .footerAccordionButton {
    display: flex;
    width: 100%;
    height: 60px;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    border: 0;
    background: transparent;
    color: #101820;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
  }

  .footerAccordionButton svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.5;
    transition: transform 0.2s ease;
  }

  .footerAccordionButton[aria-expanded="true"] svg {
    transform: rotate(180deg);
  }

  .footerLinks {
    display: none;
    gap: 6px;
    padding: 0 0 16px;
    text-align: left;
  }

  .footerLinksOpen {
    display: grid;
  }

  .footerLinks a {
    display: block;
    padding: 2px 0;
    font-size: 13px;
  }

  .copyright {
    margin-top: 80px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .productImage,
  .addButton,
  .promoButton,
  .newsletterForm button,
  .footerAccordionButton svg {
    transition: none;
  }
}
