/* REFIDO Homepage 1.3.0 — editorial homepage composition */

.refido-home-hero,
.refido-home-hero .slides,
.refido-home-hero .slides__item {
  position: relative;
}

.refido-home-hero .slides__item {
  overflow: hidden;
}

.refido-home-hero .slides__item::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(63, 49, 38, 0) 40%,
    rgba(63, 49, 38, 0.06) 62%,
    rgba(63, 49, 38, 0.3) 100%
  );
}

.refido-home-hero .slides__item > .container-fluid,
.refido-home-hero .slides__item > a > .container-fluid {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.refido-home-hero .slides__item-desc {
  position: absolute;
  top: 50%;
  right: clamp(180px, 13vw, 250px);
  left: auto;
  width: min(440px, 36vw);
  max-width: 440px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
  text-align: left;
  color: #fff;
  text-shadow: 0 1px 16px rgba(42, 31, 23, 0.22);
}

.refido-home-hero .slides__item-desc::before {
  content: "";
  display: block;
  width: 52px;
  height: 1px;
  margin: 0 0 22px;
  background: currentColor;
  opacity: 0.82;
}

.refido-home-hero .slides__item-title {
  display: block;
  margin: 0 0 20px;
  padding: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 3vw, 56px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.025em;
  text-transform: none;
}

.refido-home-hero .slides__item-price {
  display: block;
  max-width: 100%;
  margin: 0 0 28px;
  padding: 0;
  font-size: clamp(16px, 1.08vw, 20px);
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.005em;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

.refido-home-hero .slides__item-desc .btn {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 10px 22px;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.07em;
  pointer-events: auto;
}

@media (max-width: 1199px) and (min-width: 768px) {
  .refido-home-hero .slides__item-desc {
    right: clamp(70px, 9vw, 108px);
    width: min(390px, 39vw);
  }

  .refido-home-hero .slides__item-title {
    font-size: clamp(34px, 4vw, 46px);
  }

  .refido-home-hero .slides__item-price {
    font-size: clamp(16px, 1.7vw, 18px);
  }
}

@media (max-width: 767px) {
  .refido-home-hero .slides__item::after {
    background: linear-gradient(
      180deg,
      rgba(63, 49, 38, 0.28) 0%,
      rgba(63, 49, 38, 0.13) 48%,
      rgba(63, 49, 38, 0.02) 78%,
      rgba(63, 49, 38, 0) 100%
    );
  }

  .refido-home-hero .slides__item-desc {
    top: clamp(46px, 12vw, 68px);
    right: 24px;
    left: 24px;
    width: auto;
    max-width: none;
    transform: none;
    text-align: left;
    text-shadow: 0 1px 14px rgba(42, 31, 23, 0.27);
  }

  .refido-home-hero .slides__item-desc::before {
    width: 42px;
    margin-bottom: 17px;
  }

  .refido-home-hero .slides__item-title {
    max-width: 330px;
    margin-bottom: 16px;
    font-size: clamp(34px, 9.4vw, 43px);
    line-height: 1.04;
    letter-spacing: -0.025em;
  }

  .refido-home-hero .slides__item-price {
    max-width: 350px;
    margin-bottom: 22px;
    font-size: clamp(16px, 4.4vw, 19px);
    line-height: 1.45;
  }

  .refido-home-hero .slides__item-desc .btn {
    min-height: 40px;
    padding: 10px 18px;
    font-size: 14px;
  }
}

@media (max-width: 359px) {
  .refido-home-hero .slides__item-desc {
    top: 34px;
    right: 18px;
    left: 18px;
  }

  .refido-home-hero .slides__item-title {
    font-size: 32px;
  }

  .refido-home-hero .slides__item-price {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refido-home-hero *,
  .refido-home-hero *::before,
  .refido-home-hero *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* World of REFIDO */

.refido-world {
  padding: clamp(72px, 7vw, 124px) 0;
  background: #f7f4ef;
}

.refido-world > .container-fluid {
  width: min(100% - 64px, 1760px);
  max-width: 1760px;
  margin: 0 auto;
  padding: 0;
}

.refido-world .category__head {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(360px, 1fr);
  align-items: end;
  gap: 52px;
  margin: 0 0 clamp(34px, 3.5vw, 58px);
}

.refido-world .category__heading {
  display: block;
  margin: 0;
  color: #3d3933;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 3.4vw, 62px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.03em;
  text-transform: none;
}

.refido-world__intro {
  max-width: 620px;
  margin: 0 0 4px;
  color: #756d63;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55;
}

.refido-world .category__grid > .row {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(260px, 300px));
  gap: clamp(14px, 1.3vw, 24px);
  margin: 0;
}

.refido-world .category__grid > .row > [class*="col-"] {
  position: relative;
  width: auto;
  max-width: none;
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #ded6ca;
}

.refido-world .category__grid > .row > [class*="col-"]:nth-child(1) {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}

.refido-world .category__grid > .row > [class*="col-"]:nth-child(2),
.refido-world .category__grid > .row > [class*="col-"]:nth-child(4) {
  grid-column: span 3;
}

.refido-world .category__grid > .row > [class*="col-"]:nth-child(3),
.refido-world .category__grid > .row > [class*="col-"]:nth-child(5) {
  grid-column: span 3;
}

.refido-world .category__grid > .row > [class*="col-"]:nth-child(n + 6) {
  display: none;
}

.refido-world .category__grid > .row > [class*="col-"]::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(41, 34, 28, 0) 44%,
    rgba(41, 34, 28, 0.1) 64%,
    rgba(41, 34, 28, 0.66) 100%
  );
}

.refido-world .category__item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  color: #fff;
}

.refido-world .category__item-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

.refido-world .category__item-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform 700ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.refido-world .category__item-title {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 2vw, 34px);
  bottom: clamp(20px, 2vw, 34px);
  left: clamp(20px, 2vw, 34px);
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 2vw, 38px);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 16px rgba(25, 20, 17, 0.25);
}

.refido-world .category__grid > .row > [class*="col-"]:first-child .category__item-title {
  font-size: clamp(36px, 3.2vw, 58px);
}

@media (hover: hover) and (pointer: fine) {
  .refido-world .category__item:hover .category__item-image img {
    transform: scale(1.045);
  }
}

@media (max-width: 1199px) {
  .refido-world > .container-fluid {
    width: min(100% - 48px, 1120px);
  }

  .refido-world .category__grid > .row {
    grid-template-rows: repeat(2, minmax(230px, 270px));
  }
}

@media (max-width: 767px) {
  .refido-world {
    padding: 64px 0 72px;
  }

  .refido-world > .container-fluid {
    width: calc(100% - 32px);
  }

  .refido-world .category__head {
    display: block;
    margin-bottom: 30px;
  }

  .refido-world .category__heading {
    margin-bottom: 15px;
    font-size: clamp(38px, 11vw, 48px);
  }

  .refido-world__intro {
    max-width: 420px;
    font-size: 16px;
    line-height: 1.5;
  }

  .refido-world .category__grid > .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 360px repeat(2, 230px);
    gap: 12px;
  }

  .refido-world .category__grid > .row > [class*="col-"]:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .refido-world .category__grid > .row > [class*="col-"]:nth-child(n + 2):nth-child(-n + 5) {
    grid-column: span 1;
    grid-row: auto;
  }

  .refido-world .category__item-title,
  .refido-world .category__grid > .row > [class*="col-"]:first-child .category__item-title {
    right: 18px;
    bottom: 18px;
    left: 18px;
    font-size: clamp(24px, 7vw, 31px);
  }

  .refido-world .category__grid > .row > [class*="col-"]:first-child .category__item-title {
    font-size: clamp(36px, 10vw, 44px);
  }
}

@media (max-width: 374px) {
  .refido-world .category__grid > .row {
    grid-template-rows: 330px repeat(2, 205px);
  }

  .refido-world .category__item-title {
    right: 14px;
    bottom: 14px;
    left: 14px;
    font-size: 22px;
  }
}

/* Editorial tea story */

.refido-story {
  padding: clamp(78px, 8vw, 144px) 0;
  background: #e9e1d6;
}

.refido-story > .container-fluid {
  width: min(100% - 64px, 1760px);
  max-width: 1760px;
  margin: 0 auto;
  padding: 0;
}

.refido-story > .container-fluid > .row {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: stretch;
  margin: 0;
  background: #f6f1e9;
}

.refido-story > .container-fluid > .row > [class*="col-"] {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}

.refido-story .seo__logo {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: clamp(520px, 38vw, 680px);
  margin: 0;
  overflow: hidden;
  background: #d9cdbf;
}

.refido-story .seo__logo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform 900ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.refido-story:hover .seo__logo img {
  transform: scale(1.025);
}

.refido-story .seo__logo h1 {
  display: none;
}

.refido-story .sea__readmore {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  margin: 0;
  padding: clamp(58px, 6.3vw, 112px);
  color: #4a443d;
}

.refido-story .readmore-js-toggle,
.refido-story .js-readmore-toggle,
.refido-story .readmore__toggle,
.refido-story [class*="readmore"][class*="toggle"],
.refido-story .sea__readmore + a,
.refido-story .sea__readmore + button {
  display: none !important;
}

.refido-story .refido-story__kicker {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 25px;
  color: #8a7662;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.refido-story .refido-story__kicker::before {
  content: "";
  width: 44px;
  height: 1px;
  background: currentColor;
}

.refido-story .refido-story__title {
  max-width: 620px;
  margin: 0 0 30px;
  color: #3d3933;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 4vw, 72px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.refido-story .refido-story__lead {
  max-width: 620px;
  margin: 0 0 22px;
  color: #625a51;
  font-size: clamp(18px, 1.35vw, 23px);
  line-height: 1.55;
}

.refido-story .refido-story__text {
  max-width: 590px;
  margin: 0 0 34px;
  color: #756c62;
  font-size: 16px;
  line-height: 1.7;
}

.refido-story .refido-story__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  padding: 0 0 7px;
  border-bottom: 1px solid rgba(75, 65, 55, 0.45);
  color: #4b4137;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.055em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 220ms ease, border-color 220ms ease, gap 220ms ease;
}

.refido-story .refido-story__link:hover,
.refido-story .refido-story__link:focus {
  gap: 17px;
  border-color: #4b4137;
  color: #2f2923;
  text-decoration: none;
}

.refido-story .refido-story__link span {
  font-size: 19px;
  line-height: 1;
}

@media (max-width: 991px) {
  .refido-story > .container-fluid {
    width: min(100% - 48px, 900px);
  }

  .refido-story > .container-fluid > .row {
    grid-template-columns: minmax(0, 1fr);
  }

  .refido-story .seo__logo {
    min-height: 520px;
  }

  .refido-story .sea__readmore {
    padding: 64px;
  }
}

@media (max-width: 767px) {
  /* Theme controls must never cover editorial copy on small screens. */
  .scroll-to-top {
    display: none !important;
  }

  .app-chats.app-chats--right {
    right: 12px !important;
    left: auto !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .app-chats.app-chats--left {
    right: auto !important;
    left: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .app-chats__toggle {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
  }

  .app-chats__toggle svg {
    width: 23px !important;
    height: 23px !important;
  }

  .app-chats__dropdown {
    bottom: 58px !important;
    max-width: calc(100vw - 24px);
  }

  .refido-story {
    padding: 72px 0;
  }

  .refido-story > .container-fluid {
    width: calc(100% - 32px);
  }

  .refido-story .seo__logo {
    min-height: 0;
    aspect-ratio: 1 / 1;
  }

  .refido-story .sea__readmore {
    padding: 40px 24px 48px;
  }

  .refido-story .refido-story__kicker {
    margin-bottom: 21px;
    font-size: 14px;
    letter-spacing: 0.12em;
  }

  .refido-story .refido-story__title {
    margin-bottom: 24px;
    font-size: clamp(34px, 9.6vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.03em;
  }

  .refido-story .refido-story__lead {
    margin-bottom: 18px;
    font-size: 18px;
    line-height: 1.5;
  }

  .refido-story .refido-story__text {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.65;
  }

  .refido-story .refido-story__link {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .refido-story .seo__logo img,
  .refido-story .refido-story__link {
    transition: none;
  }
}


/* REFIDO Homepage 1.3.5 — larger category labels */
.refido-world__badge {
  position: absolute;
  z-index: 3;
  top: clamp(16px, 1.6vw, 26px);
  right: clamp(16px, 1.6vw, 26px);
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.7);
  background: rgba(54,47,40,.62);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
