/*
 * Layout 2 homepage: scoped Lacostar storefront composition.
 *
 * The selectors intentionally live below .stylemen-lacostar-home so this
 * optional layout cannot restyle Stylemen's other templates or WooCommerce
 * archive pages.
 */

.stylemen-lacostar-home,
.stylemen-lacostar-home * {
  box-sizing: border-box;
}

.stylemen-lacostar-home {
  --sm-lacostar-page-bg: #fffdfb;
  --sm-lacostar-ink: #17120f;
  --sm-lacostar-muted: #796a61;
  --sm-lacostar-accent: #b3262d;
  --sm-lacostar-deep: #6b4331;
  --sm-lacostar-highlight: #d49a68;
  --sm-lacostar-surface: #faf7f4;
  --sm-lacostar-line: #e4d9d1;
  --sm-lacostar-body-font: "DM Sans", Arial, sans-serif;
  --sm-lacostar-heading-font: "Playfair Display", Georgia, serif;
  --sm-lacostar-overlay-strong: rgba(23, 18, 15, .90);
  --sm-lacostar-overlay-soft: rgba(23, 18, 15, .20);
  width: 100%;
  min-width: 0;
  overflow: clip;
  color: var(--sm-lacostar-ink);
  background: var(--sm-lacostar-page-bg);
  font-family: var(--sm-lacostar-body-font);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}

.stylemen-lacostar-home a {
  text-decoration: none;
}

.stylemen-lacostar-home button,
.stylemen-lacostar-home input,
.stylemen-lacostar-home textarea,
.stylemen-lacostar-home select {
  font: inherit;
}

.stylemen-lacostar-home button {
  cursor: pointer;
}

.stylemen-lacostar-home img {
  max-width: 100%;
  height: auto;
}

.sm-lacostar-container {
  /* Keep every Lacostar storefront screen on the same measured frame as
   * the product page's .lacostar-container. */
  width: min(1480px, calc(100% - 96px));
  margin-inline: auto;
}

.sm-lacostar-eyebrow {
  display: block;
  color: var(--sm-lacostar-accent);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .17em;
  line-height: 1.2;
  text-transform: uppercase;
}

.sm-lacostar-eyebrow--light {
  color: rgba(255, 255, 255, .84);
}

.sm-lacostar-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(90deg, var(--sm-lacostar-accent), var(--sm-lacostar-deep));
  box-shadow: 0 9px 22px rgba(80, 35, 24, .16);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.sm-lacostar-button:hover {
  color: #fff;
  background: var(--sm-lacostar-ink);
  box-shadow: 0 14px 29px rgba(80, 35, 24, .25);
  transform: translateY(-2px);
}

.sm-lacostar-button--light {
  color: var(--sm-lacostar-deep);
  background: #fff;
  box-shadow: none;
}

.sm-lacostar-button--light:hover {
  color: #fff;
  background: var(--sm-lacostar-accent);
}

.sm-lacostar-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sm-lacostar-ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.sm-lacostar-text-link:hover {
  color: var(--sm-lacostar-accent);
}

/* Search */
.sm-lacostar-home-search {
  margin-top: 22px;
}

.sm-lacostar-home-search__trigger {
  min-height: 48px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  padding: 6px 7px 6px 14px;
  border: 1px solid var(--sm-lacostar-line);
  border-radius: 11px;
  background: var(--sm-lacostar-surface);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sm-lacostar-home-search__trigger:hover,
.sm-lacostar-home-search__trigger:focus-visible {
  border-color: var(--sm-lacostar-accent);
  background: #fff;
  box-shadow: 0 6px 18px rgba(80, 35, 24, .08);
  outline: none;
}

.sm-lacostar-home-search__trigger > span {
  color: var(--sm-lacostar-accent);
  font-size: 22px;
  line-height: 1;
}

.sm-lacostar-home-search input[type="search"] {
  width: 100%;
  min-width: 0;
  min-height: 35px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--sm-lacostar-ink);
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

/* Hero carousel */
.sm-lacostar-hero {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  margin-top: 28px;
  border-radius: 9px;
  background: linear-gradient(120deg, var(--sm-lacostar-ink), var(--sm-lacostar-deep) 56%, var(--sm-lacostar-accent));
  box-shadow: 0 22px 44px rgba(80, 35, 24, .16);
}

.sm-lacostar-hero__slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  color: #fff;
  background: linear-gradient(120deg, var(--sm-lacostar-ink), var(--sm-lacostar-deep) 56%, var(--sm-lacostar-accent));
  opacity: 0;
  visibility: hidden;
  transition: opacity .52s ease, visibility .52s ease;
}

.sm-lacostar-hero__slide--2 {
  background: linear-gradient(120deg, var(--sm-lacostar-deep), var(--sm-lacostar-accent) 58%, var(--sm-lacostar-ink));
}

.sm-lacostar-hero__slide--3 {
  background: linear-gradient(120deg, var(--sm-lacostar-ink), var(--sm-lacostar-accent) 57%, var(--sm-lacostar-highlight));
}

.sm-lacostar-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.sm-lacostar-hero__slide::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(96deg, var(--sm-lacostar-overlay-strong) 4%, rgba(107, 67, 49, .86) 50%, var(--sm-lacostar-overlay-soft) 100%);
  content: "";
}

.sm-lacostar-hero__slide--2::before {
  background: linear-gradient(96deg, var(--sm-lacostar-overlay-strong) 4%, rgba(179, 38, 45, .72) 50%, var(--sm-lacostar-overlay-soft) 100%);
}

.sm-lacostar-hero__slide--3::before {
  background: linear-gradient(96deg, var(--sm-lacostar-overlay-strong) 4%, rgba(107, 67, 49, .78) 50%, var(--sm-lacostar-overlay-soft) 100%);
}

.sm-lacostar-hero__picture,
.sm-lacostar-hero__background {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.sm-lacostar-hero__background {
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.sm-lacostar-hero__copy {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  padding: 54px 58px;
}

.sm-lacostar-hero__copy-inner {
  animation: sm-lacostar-slide-in .5s cubic-bezier(.2, .75, .2, 1) both;
}

.sm-lacostar-hero__copy h1 {
  margin: 12px 0;
  color: #fff;
  font-family: var(--sm-lacostar-heading-font);
  font-size: clamp(47px, 5.3vw, 70px);
  font-weight: 500;
  letter-spacing: -.065em;
  line-height: .91;
}

.sm-lacostar-hero__copy h1 em {
  color: var(--sm-lacostar-highlight);
  font-style: italic;
}

.sm-lacostar-hero__copy p {
  max-width: 365px;
  margin: 0 0 20px;
  color: #f4e9e0;
  font-size: 15px;
  line-height: 1.5;
}

.sm-lacostar-hero__dots {
  display: flex;
  gap: 7px;
  margin-top: auto;
}

.sm-lacostar-hero__dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .37);
  transition: width .2s ease, background .2s ease, transform .2s ease;
}

.sm-lacostar-hero__dots button:hover {
  transform: scale(1.15);
}

.sm-lacostar-hero__dots button.is-active {
  width: 21px;
  background: var(--sm-lacostar-highlight);
}

.sm-lacostar-hero__product {
  position: relative;
  z-index: 4;
  min-width: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sm-lacostar-hero__product > span {
  position: absolute;
  z-index: 3;
  top: 40px;
  right: 42px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
  text-align: right;
}

.sm-lacostar-hero__product > a {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}

.sm-lacostar-hero__image {
  position: relative;
  z-index: 2;
  width: 108%;
  height: 90%;
  object-fit: contain;
  transform: rotate(-5deg) translate(4%, 6%);
  filter: drop-shadow(0 30px 23px rgba(4, 25, 73, .34));
  animation: sm-lacostar-float 6.4s ease-in-out infinite;
}

.sm-lacostar-hero__glow {
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle at 45% 45%, #f2d2b1 0, #c8755f 27%, rgba(179, 38, 45, .22) 56%, transparent 70%);
  opacity: .65;
  animation: sm-lacostar-glow 7s ease-in-out infinite;
}

@keyframes sm-lacostar-slide-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes sm-lacostar-float {
  0%, 100% { transform: rotate(-5deg) translate(4%, 6%); }
  50% { transform: rotate(-5deg) translate(4%, 1%); }
}

@keyframes sm-lacostar-glow {
  0%, 100% { transform: scale(.94); opacity: .58; }
  50% { transform: scale(1.07); opacity: .85; }
}

/* Shared section heading and products */
.sm-lacostar-section {
  margin-top: 66px;
}

.sm-lacostar-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.sm-lacostar-section-heading h2 {
  margin: 8px 0 0;
  color: var(--sm-lacostar-ink);
  font-family: var(--sm-lacostar-heading-font);
  font-size: clamp(35px, 4vw, 51px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.sm-lacostar-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.sm-lacostar-product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--sm-lacostar-line);
  border-radius: 9px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.sm-lacostar-product-card:hover {
  border-color: var(--sm-lacostar-highlight);
  box-shadow: 0 15px 30px rgba(80, 35, 24, .12);
  transform: translateY(-3px);
}

.sm-lacostar-product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(145deg, #f7eee8, #ead8cd);
}

.sm-lacostar-product-card__media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, .48);
  content: "";
}

.sm-lacostar-product-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  display: block;
  margin: 0 !important;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.sm-lacostar-product-card:hover .sm-lacostar-product-card__media img {
  transform: scale(1.045);
}

.sm-lacostar-chip,
.sm-lacostar-stock-note {
  position: absolute;
  z-index: 2;
  top: 11px;
  left: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  background: var(--sm-lacostar-accent);
  font-size: 9px;
  font-weight: 800;
}

.sm-lacostar-stock-note {
  right: 11px;
  left: auto;
  color: var(--sm-lacostar-accent);
  background: #f7e8df;
}

.sm-lacostar-product-card__body {
  min-width: 0;
  display: grid;
  gap: 10px;
  flex: 1;
  padding: 13px;
}

.sm-lacostar-product-card__title {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.sm-lacostar-product-card__title > a {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.sm-lacostar-product-card__title span {
  overflow: hidden;
  color: var(--sm-lacostar-deep);
  font-size: 9px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.sm-lacostar-product-card__title h3 {
  display: -webkit-box;
  min-height: 2.25em;
  overflow: hidden;
  margin: 0;
  color: var(--sm-lacostar-ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.13;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sm-lacostar-wishlist {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--sm-lacostar-ink);
  background: transparent;
  font-size: 25px;
  line-height: 1;
}

.sm-lacostar-wishlist:hover,
.sm-lacostar-wishlist[aria-pressed="true"] {
  color: var(--sm-lacostar-accent);
  background: #f7e8df;
}

.sm-lacostar-product-card__subtitle {
  display: -webkit-box;
  min-height: 2.7em;
  overflow: hidden;
  margin: 0;
  color: var(--sm-lacostar-muted);
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.sm-lacostar-product-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sm-lacostar-product-card__price .price,
.sm-lacostar-product-card__price > span {
  color: var(--sm-lacostar-ink);
  font-size: 15px;
  font-weight: 800;
}

.sm-lacostar-product-card__price del {
  color: var(--sm-lacostar-muted);
  font-size: 11px;
  font-weight: 500;
}

.sm-lacostar-product-card__price ins {
  color: var(--sm-lacostar-ink);
  text-decoration: none;
}

.sm-lacostar-product-card__price small {
  color: var(--sm-lacostar-highlight);
  font-size: 10px;
  font-weight: 800;
}

.sm-lacostar-card-order {
  min-height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--sm-lacostar-line);
  border-radius: 7px;
  color: var(--sm-lacostar-deep);
  font-size: 10px;
  font-weight: 800;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.sm-lacostar-card-order:hover {
  color: #fff;
  border-color: var(--sm-lacostar-accent);
  background: var(--sm-lacostar-accent);
}

/* Trust / service promises */
.sm-lacostar-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.sm-lacostar-trust-bar article {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 70px;
  padding: 13px 16px;
  border: 1px solid var(--sm-lacostar-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .88);
}

.sm-lacostar-trust-bar article > span {
  color: var(--sm-lacostar-accent);
  font-size: 22px;
}

.sm-lacostar-trust-bar article div {
  display: grid;
  gap: 3px;
}

.sm-lacostar-trust-bar b {
  font-size: 11px;
}

.sm-lacostar-trust-bar small {
  color: var(--sm-lacostar-muted);
  font-size: 9px;
}

/* Collections */
.sm-lacostar-collection-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.sm-lacostar-collection-card {
  position: relative;
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42%;
  overflow: hidden;
  padding: 24px;
  border-radius: 9px;
  color: #fff;
  transition: transform .22s ease, box-shadow .22s ease;
}

.sm-lacostar-collection-card:hover {
  box-shadow: 0 18px 36px rgba(80, 35, 24, .18);
  transform: translateY(-3px);
}

.sm-lacostar-collection-card__number {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 19px;
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
}

.sm-lacostar-collection-card > div {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 7px;
}

.sm-lacostar-collection-card h3 {
  margin: 0;
  color: inherit;
  font-family: var(--sm-lacostar-heading-font);
  font-size: 31px;
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: .95;
}

.sm-lacostar-collection-card p {
  max-width: 190px;
  margin: 0;
  color: rgba(255, 255, 255, .83);
  font-size: 11px;
  line-height: 1.45;
}

.sm-lacostar-collection-card i {
  margin-top: 2px;
  color: inherit;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.sm-lacostar-collection-card > img,
.sm-lacostar-collection-placeholder {
  position: absolute;
  z-index: 0;
  right: -10%;
  bottom: -11%;
  width: 61%;
  height: 88%;
  object-fit: cover;
  filter: drop-shadow(0 19px 13px rgba(15, 39, 86, .22));
  transform: rotate(-7deg);
  transition: transform .35s ease;
}

.sm-lacostar-collection-card:hover > img {
  transform: rotate(-5deg) translateY(-7px);
}

.sm-lacostar-collection-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .16);
  font-family: var(--sm-lacostar-heading-font);
  font-size: 170px;
}

.sm-lacostar-collection-card--cobalt,
.sm-lacostar-collection-card--teal,
.sm-lacostar-collection-card--violet,
.sm-lacostar-collection-card--slate {
  background: linear-gradient(125deg, var(--sm-lacostar-ink), var(--sm-lacostar-deep) 55%, var(--sm-lacostar-accent));
}

.sm-lacostar-collection-card--sky {
  color: #3e281c;
  background: linear-gradient(125deg, #f1e5dc, #d4b6a1 58%, #b3262d);
}

.sm-lacostar-collection-card--orange {
  color: #58331c;
  background: linear-gradient(125deg, #ffe1b9, #ffc47c);
}

.sm-lacostar-collection-card--mint {
  color: #143e40;
  background: linear-gradient(125deg, #d0f6e9, #aee7d8);
}

.sm-lacostar-collection-card--rose {
  color: #5a213a;
  background: linear-gradient(125deg, #ffe0e9, #f8b9ca);
}

.sm-lacostar-collection-card--sky p,
.sm-lacostar-collection-card--orange p,
.sm-lacostar-collection-card--mint p,
.sm-lacostar-collection-card--rose p {
  color: rgba(19, 49, 83, .72);
}

.sm-lacostar-collection-card--sky .sm-lacostar-collection-card__number,
.sm-lacostar-collection-card--orange .sm-lacostar-collection-card__number,
.sm-lacostar-collection-card--mint .sm-lacostar-collection-card__number,
.sm-lacostar-collection-card--rose .sm-lacostar-collection-card__number {
  color: rgba(19, 49, 83, .45);
}

/* Editorial story */
.sm-lacostar-editorial {
  position: relative;
  min-height: 330px;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, 1.05fr);
  align-items: center;
  overflow: hidden;
  padding: 45px 56px;
  border-radius: 9px;
  isolation: isolate;
  color: var(--sm-lacostar-editorial-text, #fff);
  background: linear-gradient(125deg, var(--sm-lacostar-editorial-bg-start, var(--sm-lacostar-deep)), var(--sm-lacostar-editorial-bg-end, var(--sm-lacostar-accent)));
}

.sm-lacostar-editorial::after {
  position: absolute;
  right: -4%;
  bottom: -32%;
  z-index: -1;
  width: 50%;
  height: 128%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--sm-lacostar-editorial-glow, rgba(212, 154, 104, .34)), transparent 67%);
  content: "";
}

.sm-lacostar-editorial__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.stylemen-lacostar-home[dir="rtl"] .sm-lacostar-editorial__content {
  align-items: flex-end;
  text-align: right;
}

.sm-lacostar-editorial h2 {
  max-width: 450px;
  margin: 10px 0 12px;
  color: var(--sm-lacostar-editorial-text, #fff);
  font-family: var(--sm-lacostar-heading-font);
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.sm-lacostar-editorial p {
  max-width: 460px;
  margin: 0 0 19px;
  color: var(--sm-lacostar-editorial-description, #f6ebe4);
  font-size: 13px;
  line-height: 1.58;
}

.sm-lacostar-editorial .sm-lacostar-eyebrow--light {
  color: color-mix(in srgb, var(--sm-lacostar-editorial-text, #fff) 84%, transparent);
}

.sm-lacostar-editorial .sm-lacostar-button--light {
  color: var(--sm-lacostar-editorial-button-text, var(--sm-lacostar-deep));
  background: var(--sm-lacostar-editorial-button-bg, #fff);
}

.sm-lacostar-editorial .sm-lacostar-button--light:hover {
  color: var(--sm-lacostar-editorial-text, #fff);
  background: var(--sm-lacostar-editorial-bg-end, var(--sm-lacostar-accent));
}

.sm-lacostar-editorial__media {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 290px;
  height: 100%;
}

.sm-lacostar-editorial__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 22px 18px rgba(7, 27, 71, .32));
  transform: rotate(var(--sm-lacostar-editorial-image-rotation, -5deg)) scale(var(--sm-lacostar-editorial-image-scale, 1));
}

.sm-lacostar-editorial-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 13px;
}

.sm-lacostar-editorial-points article {
  padding: 18px;
  border: 1px solid var(--sm-lacostar-line);
  border-radius: 9px;
  background: rgba(255, 255, 255, .88);
}

.sm-lacostar-editorial-points span {
  display: block;
  margin-bottom: 21px;
  color: var(--sm-lacostar-deep);
  font-size: 11px;
  font-weight: 800;
}

.sm-lacostar-editorial-points b {
  font-size: 14px;
}

.sm-lacostar-editorial-points p {
  margin: 6px 0 0;
  color: var(--sm-lacostar-muted);
  font-size: 11px;
  line-height: 1.55;
}

/* Reviews and FAQ */
.sm-lacostar-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.sm-lacostar-review-grid article {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--sm-lacostar-line);
  border-radius: 9px;
  background: #fff;
}

.sm-lacostar-review-grid article > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sm-lacostar-accent);
}

.sm-lacostar-review-grid article > div span {
  color: var(--sm-lacostar-highlight);
  font-size: 12px;
  letter-spacing: 2px;
}

.sm-lacostar-review-grid article > div b {
  font-size: 15px;
}

.sm-lacostar-review-grid p {
  margin: 20px 0 auto;
  color: var(--sm-lacostar-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.sm-lacostar-review-grid small {
  margin-top: 16px;
  color: var(--sm-lacostar-muted);
  font-size: 10px;
}

.sm-lacostar-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sm-lacostar-faq-grid details {
  border: 1px solid var(--sm-lacostar-line);
  border-radius: 9px;
  background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.sm-lacostar-faq-grid details[open] {
  border-color: var(--sm-lacostar-highlight);
  box-shadow: 0 8px 20px rgba(80, 35, 24, .08);
}

.sm-lacostar-faq-grid summary {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 17px;
  cursor: pointer;
  color: var(--sm-lacostar-ink);
  font-size: 13px;
  font-weight: 800;
  list-style: none;
}

.sm-lacostar-faq-grid summary::-webkit-details-marker {
  display: none;
}

.sm-lacostar-faq-grid summary span {
  color: var(--sm-lacostar-accent);
  font-size: 20px;
  transition: transform .2s ease;
}

.sm-lacostar-faq-grid details[open] summary span {
  transform: rotate(180deg);
}

.sm-lacostar-faq-grid p {
  margin: -1px 17px 17px;
  color: var(--sm-lacostar-muted);
  font-size: 12px;
  line-height: 1.58;
}

/* Newsletter */
.sm-lacostar-newsletter {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, .75fr);
  align-items: center;
  gap: 30px;
  margin-top: 66px;
  margin-bottom: 30px;
  padding: 42px 56px;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(120deg, var(--sm-lacostar-ink), var(--sm-lacostar-deep) 56%, var(--sm-lacostar-accent));
}

.sm-lacostar-newsletter h2 {
  max-width: 510px;
  margin: 10px 0 12px;
  color: #fff;
  font-family: var(--sm-lacostar-heading-font);
  font-size: clamp(35px, 4vw, 51px);
  font-weight: 500;
  letter-spacing: -.055em;
  line-height: .98;
}

.sm-lacostar-newsletter p {
  max-width: 480px;
  margin: 0;
  color: #f6ebe4;
  font-size: 13px;
  line-height: 1.58;
}

.sm-lacostar-newsletter__form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

@media (min-width: 701px) and (max-width: 1180px) {
  .sm-lacostar-container {
    width: min(1040px, calc(100% - 48px));
  }

  .sm-lacostar-hero {
    min-height: 360px;
  }

  .sm-lacostar-hero__copy {
    padding: 42px 38px;
  }

  .sm-lacostar-hero__copy h1 {
    font-size: clamp(43px, 6vw, 55px);
  }

  .sm-lacostar-hero__copy p {
    max-width: 305px;
    font-size: 13px;
  }

  .sm-lacostar-section {
    margin-top: 56px;
  }

  .sm-lacostar-product-grid,
  .sm-lacostar-collection-grid {
    gap: 14px;
  }
}

@media (max-width: 700px) {
  .sm-lacostar-container {
    width: min(520px, calc(100% - 24px));
  }

  .sm-lacostar-home-search {
    margin-top: 15px;
  }

  .sm-lacostar-home-search__trigger {
    min-height: 42px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 7px;
    padding: 5px 5px 5px 11px;
  }

  .sm-lacostar-home-search__trigger > span {
    font-size: 19px;
  }

  .sm-lacostar-home-search input[type="search"] {
    font-size: 10px;
  }

  .sm-lacostar-hero {
    min-height: 250px;
    margin-top: 14px;
    border-radius: 9px;
  }

  .sm-lacostar-hero__slide {
    grid-template-columns: 1fr;
  }

  .sm-lacostar-hero__slide::before {
    background: linear-gradient(95deg, var(--sm-lacostar-overlay-strong) 0%, rgba(107, 67, 49, .88) 50%, var(--sm-lacostar-overlay-soft) 100%);
  }

  .sm-lacostar-hero__copy {
    z-index: 4;
    width: 61%;
    height: 100%;
    padding: 25px 18px 14px;
  }

  .sm-lacostar-hero__copy h1 {
    margin: 6px 0;
    font-size: 31px;
    line-height: .92;
  }

  .sm-lacostar-hero__copy p {
    max-width: 170px;
    margin: 0 0 12px;
    font-size: 10px;
    line-height: 1.38;
  }

  .sm-lacostar-hero__copy .sm-lacostar-button {
    min-height: 32px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 10px;
  }

  .sm-lacostar-hero__dots {
    gap: 4px;
  }

  .sm-lacostar-hero__dots button {
    width: 5px;
    height: 5px;
  }

  .sm-lacostar-hero__dots button.is-active {
    width: 15px;
  }

  .sm-lacostar-hero__product {
    position: absolute;
    z-index: 2;
    inset: 0 0 0 32%;
  }

  .sm-lacostar-hero__product > span {
    top: auto;
    right: 12px;
    bottom: 18px;
    font-size: 6px;
  }

  .sm-lacostar-hero__image {
    width: 133%;
    height: 100%;
    transform: rotate(-7deg) translate(5%, 14%);
  }

  .sm-lacostar-hero__glow {
    width: 230px;
    height: 230px;
    top: 27px;
    right: -38px;
  }

  .sm-lacostar-section {
    margin-top: 42px;
  }

  .sm-lacostar-section-heading {
    gap: 14px;
    margin-bottom: 14px;
  }

  .sm-lacostar-section-heading h2 {
    max-width: 250px;
    font-size: 32px;
  }

  .sm-lacostar-text-link {
    font-size: 10px;
  }

  .sm-lacostar-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .sm-lacostar-product-card {
    border-radius: 8px;
  }

  .sm-lacostar-chip,
  .sm-lacostar-stock-note {
    top: 8px;
    left: 8px;
    padding: 4px 6px;
    font-size: 8px;
  }

  .sm-lacostar-stock-note {
    right: 8px;
    left: auto;
  }

  .sm-lacostar-product-card__body {
    gap: 8px;
    padding: 10px;
  }

  .sm-lacostar-product-card__title h3 {
    font-size: 12px;
  }

  .sm-lacostar-product-card__title span {
    font-size: 8px;
  }

  .sm-lacostar-wishlist {
    width: 24px;
    height: 24px;
    font-size: 22px;
  }

  .sm-lacostar-product-card__price .price,
  .sm-lacostar-product-card__price > span {
    font-size: 13px;
  }

  .sm-lacostar-product-card__price small {
    display: none;
  }

  .sm-lacostar-card-order {
    min-height: 31px;
    font-size: 9px;
  }

  .sm-lacostar-trust-bar {
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 17px;
  }

  .sm-lacostar-trust-bar article {
    min-height: 51px;
    padding: 8px 12px;
  }

  .sm-lacostar-trust-bar article > span {
    font-size: 18px;
  }

  .sm-lacostar-trust-bar b {
    font-size: 10px;
  }

  .sm-lacostar-trust-bar small {
    font-size: 8px;
  }

  .sm-lacostar-collection-grid {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .sm-lacostar-collection-card {
    min-height: 132px;
    padding: 16px;
    border-radius: 9px;
  }

  .sm-lacostar-collection-card__number {
    top: 13px;
    right: 14px;
    font-size: 9px;
  }

  .sm-lacostar-collection-card h3 {
    font-size: 25px;
  }

  .sm-lacostar-collection-card p {
    max-width: 200px;
    font-size: 9px;
  }

  .sm-lacostar-collection-card i {
    font-size: 9px;
  }

  .sm-lacostar-collection-card > img,
  .sm-lacostar-collection-placeholder {
    right: -8%;
    bottom: -24%;
    width: 42%;
    height: 135%;
  }

  .sm-lacostar-editorial {
    min-height: 390px;
    display: block;
    padding: 27px 22px;
    border-radius: 9px;
    background: linear-gradient(148deg, var(--sm-lacostar-editorial-bg-start, var(--sm-lacostar-deep)) 0%, var(--sm-lacostar-editorial-bg-end, var(--sm-lacostar-accent)) 100%);
  }

  .sm-lacostar-editorial__content {
    position: relative;
    z-index: 3;
    width: 72%;
    min-height: 100%;
  }

  .stylemen-lacostar-home[dir="rtl"] .sm-lacostar-editorial__content {
    margin-left: auto;
  }

  .sm-lacostar-editorial h2 {
    max-width: 270px;
    font-size: 34px;
  }

  .sm-lacostar-editorial p {
    max-width: 260px;
    font-size: 11px;
  }

  .sm-lacostar-editorial__media {
    position: absolute;
    right: -5%;
    bottom: -8%;
    width: 61%;
    height: 57%;
  }

  .sm-lacostar-editorial__image {
    width: 145%;
    height: 145%;
  }

  .sm-lacostar-editorial-points {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sm-lacostar-editorial-points article {
    min-height: 89px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 3px 10px;
    padding: 13px;
  }

  .sm-lacostar-editorial-points span {
    grid-row: span 2;
    margin: 2px 0 0;
  }

  .sm-lacostar-editorial-points b {
    font-size: 11px;
  }

  .sm-lacostar-editorial-points p {
    margin: 0;
    font-size: 9px;
  }

  .sm-lacostar-review-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sm-lacostar-review-grid article {
    min-height: 136px;
    padding: 16px;
  }

  .sm-lacostar-review-grid p {
    margin-top: 12px;
    font-size: 11px;
  }

  .sm-lacostar-faq-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sm-lacostar-faq-grid summary {
    min-height: 53px;
    padding: 12px 14px;
    font-size: 11px;
  }

  .sm-lacostar-faq-grid p {
    margin: -1px 14px 14px;
    font-size: 10px;
  }

  .sm-lacostar-newsletter {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 42px;
    margin-bottom: 22px;
    padding: 27px 22px;
    border-radius: 9px;
  }

  .sm-lacostar-newsletter h2 {
    font-size: 35px;
  }

  .sm-lacostar-newsletter p {
    font-size: 11px;
  }

  .sm-lacostar-newsletter__form {
    justify-content: flex-start;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__copy {
    width: 61%;
    margin-right: 0;
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__product {
    inset: 0 32% 0 0;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__product > span {
    right: auto;
    left: 12px;
    text-align: left;
  }
}

@media (min-width: 701px) {
  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide {
    direction: ltr;
    grid-template-columns: 1.14fr .86fr;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__copy {
    grid-column: 2;
    grid-row: 1;
    direction: rtl;
    align-items: flex-end;
    text-align: right;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__copy p {
    margin-right: 0;
    margin-left: auto;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__copy .sm-lacostar-button,
  .stylemen-lacostar-home--rtl .sm-lacostar-hero__dots {
    align-self: flex-end;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__product {
    grid-column: 1;
    grid-row: 1;
    direction: ltr;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__product > span {
    right: auto;
    left: 42px;
    text-align: left;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-collection-card {
    text-align: right;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-collection-card__number {
    right: auto;
    left: 19px;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-collection-card > img,
  .stylemen-lacostar-home--rtl .sm-lacostar-collection-placeholder {
    right: auto;
    left: -10%;
    transform: rotate(7deg);
  }
}

@media (max-width: 370px) {
  .sm-lacostar-container {
    width: calc(100% - 18px);
  }

  .sm-lacostar-hero__copy h1 {
    font-size: 28px;
  }

  .sm-lacostar-collection-card h3 {
    font-size: 23px;
  }
}

/* Art-directed Lacostar slides use the supplied product scene as the full
 * background. Keep the live copy readable over the intentionally dark left
 * side of the artwork, matching the reference theme's compact hero. */
.sm-lacostar-hero__background {
  pointer-events: none;
}

/* The homepage reset gives every image height:auto. The hero artwork is a
 * full-bleed layer, so it must fill the carousel height or the slide
 * gradient becomes visible as an empty band on wide screens. */
.stylemen-lacostar-home .sm-lacostar-hero__background {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100% !important;
}

.sm-lacostar-hero__slide--with-art::before {
  background: linear-gradient(90deg, rgba(23, 18, 15, .88) 0%, rgba(23, 18, 15, .58) 47%, rgba(23, 18, 15, .12) 100%);
}

.sm-lacostar-hero__slide--with-art .sm-lacostar-hero__glow {
  display: none;
}

@media (min-width: 701px) {
  .sm-lacostar-hero {
    min-height: clamp(390px, 25vw, 460px);
  }

  .sm-lacostar-hero__image {
    height: 94%;
  }
}

@media (max-width: 700px) {
  .sm-lacostar-hero {
    height: 210px;
    min-height: 210px;
    aspect-ratio: auto;
  }

  .sm-lacostar-hero__slide--with-art::before {
    background: linear-gradient(90deg, rgba(23, 18, 15, .90) 0%, rgba(23, 18, 15, .60) 54%, rgba(23, 18, 15, .10) 100%);
  }

  .sm-lacostar-hero__background {
    object-position: 60% center;
  }
}

/* Keep the non-Arabic, right-facing art composition stable when the page
 * itself is RTL. The artwork reserves the visual right side for the shoes,
 * so the copy must remain in the visual left column. */
@media (min-width: 701px) {
  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art {
    direction: ltr;
    grid-template-columns: .86fr 1.14fr;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__copy {
    grid-column: 1;
    grid-row: 1;
    direction: ltr;
    align-items: flex-start;
    text-align: left;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__copy p {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__copy .sm-lacostar-button,
  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__dots {
    align-self: flex-start;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__product {
    grid-column: 2;
    grid-row: 1;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__product > span {
    right: 42px;
    left: auto;
    text-align: right;
  }
}

@media (max-width: 700px) {
  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__copy {
    width: 58%;
    margin-right: auto;
    margin-left: 0;
    direction: ltr;
    text-align: left;
    align-items: flex-start;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__copy-inner {
    width: 100%;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__copy p {
    margin-right: auto;
    margin-left: 0;
    text-align: left;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__copy .sm-lacostar-button,
  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__dots {
    align-self: flex-start;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__product {
    inset: 0 0 0 34%;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-hero__slide--with-art .sm-lacostar-hero__product > span {
    right: 13px;
    left: auto;
    text-align: right;
  }
}

/* Collections follow the reference theme's separate desktop/mobile lists.
 * The mobile cards deliberately keep the copy on the left and reserve the
 * right side for the category/product image. */
.sm-lacostar-collection-grid--mobile,
.sm-lacostar-mobile-more {
  display: none;
}

@media (max-width: 700px) {
  .sm-lacostar-home-collections .sm-lacostar-section-heading {
    align-items: center;
    direction: ltr;
    margin-bottom: 9px;
  }

  .sm-lacostar-home-collections .sm-lacostar-section-heading > div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .sm-lacostar-home-collections .sm-lacostar-section-heading .sm-lacostar-eyebrow {
    display: none;
  }

  .sm-lacostar-home-collections .sm-lacostar-section-heading h2 {
    max-width: none;
    margin: 0;
    font-size: 32px;
    line-height: .95;
    white-space: nowrap;
  }

  .sm-lacostar-home-collections .sm-lacostar-section-heading .sm-lacostar-text-link {
    flex: 0 0 auto;
    align-self: center;
  }

  .sm-lacostar-collection-grid--desktop {
    display: none;
  }

  .sm-lacostar-collection-grid--mobile {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card {
    min-height: 132px;
    padding: 16px;
    border-radius: 15px;
  }

  .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card__number {
    top: 13px;
    right: 14px;
    font-size: 9px;
  }

  .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card h3 {
    font-size: 25px;
  }

  .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card p {
    max-width: 200px;
    font-size: 9px;
  }

  .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card i {
    font-size: 9px;
  }

  .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card > img,
  .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card > .sm-lacostar-collection-placeholder {
    right: -8%;
    bottom: -24%;
    width: 42%;
    height: 135%;
  }

  .sm-lacostar-mobile-more {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    border: 1px solid #ccd9ed;
    border-radius: 11px;
    color: var(--sm-lacostar-accent);
    background: #f8fbff;
    font-size: 11px;
    font-weight: 800;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card {
    direction: ltr;
    text-align: left;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card > div {
    direction: ltr;
    text-align: left;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card__number {
    right: 14px;
    left: auto;
  }

  .stylemen-lacostar-home--rtl .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card > img,
  .stylemen-lacostar-home--rtl .sm-lacostar-collection-grid--mobile .sm-lacostar-collection-card > .sm-lacostar-collection-placeholder {
    right: -8%;
    left: auto;
    transform: rotate(-7deg);
  }
}

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