/* Segment artwork is editorial. Only the separate photograph belongs to the featured product. */
.ilbm-store-banner {
  position: relative;
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  min-height: 190px;
  height: clamp(190px, 20vw, 288px);
  border-radius: 16px;
  background: linear-gradient(112deg, #f5e5cf 18%, #ddbe9d 62%, #bd5730);
  color: #29251f;
}
.ilbm-editorial-hero[data-art="importados"] .ilbm-store-banner {
  background: linear-gradient(112deg, #e8e4dd 12%, #d1c6b8 67%, #dc6a28);
}
.ilbm-store-banner-art, .ilbm-store-banner-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.ilbm-store-banner-art img { object-fit: cover; object-position: center 52%; }
.ilbm-store-banner-art { z-index: -2; }
.ilbm-store-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(249 238 223 / 88%), rgb(249 238 223 / 58%) 30%, transparent 53%);
}
.ilbm-store-banner-copy {
  display: grid;
  justify-items: start;
  align-content: center;
  gap: clamp(15px, 2vw, 25px);
  max-width: 49%;
  padding: 18px 0 18px clamp(20px, 4vw, 70px);
}
.ilbm-store-banner .ilbm-store-banner-copy h2 {
  margin: 0;
  color: #2b271f;
  font: 500 clamp(34px, 4.3vw, 64px)/1 'DM Serif Text', Georgia, serif;
  text-wrap: balance;
  letter-spacing: -.048em;
}
.ilbm-store-banner button[data-c96-browse] {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 17px;
  border: 1px solid #302c28;
  border-radius: 30px;
  background: #302c28;
  box-shadow: none;
  color: #fffaf5;
  font: 650 13px/1.25 Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}
.ilbm-store-banner button[data-c96-browse]:hover { background: #4b3529; }
.ilbm-store-banner button[data-c96-browse] [aria-hidden] { color: #ffb284; font-size: 19px; line-height: 1; }
.c103-discovery.ilbm-editorial-hero .c96-hero-showcase { margin-top: 8px; }
.ilbm-editorial-hero .ilbm-editorial-stage {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px 5px 5px;
  border: 1px solid #d8d2ca;
  border-radius: 12px;
  background: #faf8f4;
  color: #282622;
}
.ilbm-editorial-hero .ilbm-editorial-stage > .ilbm-editorial-product,
.ilbm-editorial-hero .ilbm-editorial-stage > .ilbm-editorial-product:hover {
  display: flex;
  flex: 1 1 auto;
  flex-flow: row-reverse nowrap;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  width: auto;
  min-height: 54px;
  padding: 0;
  border-radius: 7px;
  background: transparent;
  color: #282622;
}
.ilbm-editorial-stage .ilbm-editorial-product .ilbm-editorial-photo {
  flex: 0 0 58px;
  align-self: stretch;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.ilbm-editorial-stage .ilbm-editorial-product .ilbm-editorial-photo img {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ilbm-editorial-stage .ilbm-editorial-product .ilbm-editorial-copy {
  flex: 1;
  min-width: 0;
  gap: 3px;
  padding: 5px 12px;
}
.ilbm-editorial-stage .ilbm-editorial-product .c96-hero-product-category {
  font: 650 10px/1.2 Inter,Arial,sans-serif;
  color: #805039;
  letter-spacing: .07em;
}
.ilbm-editorial-stage .ilbm-editorial-product .c96-hero-product-name {
  max-width: none;
  -webkit-line-clamp: 2;
  font: 650 14px/1.25 Inter,Arial,sans-serif;
  letter-spacing: -.012em;
  color: #242321;
}
.ilbm-editorial-stage .ilbm-editorial-product .ilbm-editorial-cta { display: none; }
.ilbm-editorial-stage .ilbm-editorial-product:focus-visible { outline-offset: -2px; }
.ilbm-editorial-hero .ilbm-editorial-stage .c103-showcase-controls {
  position: static;
  inset: auto;
  flex: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.ilbm-editorial-hero .ilbm-editorial-stage .c103-showcase-controls button {
  width: 38px;
  height: 38px;
  min-height: 38px;
  color: #38332f;
  background: transparent;
  border-color: #b7afa7;
}
.ilbm-editorial-hero .ilbm-editorial-stage .c103-showcase-controls button:hover:not(:disabled),
.ilbm-editorial-hero .ilbm-editorial-stage .c103-showcase-controls button[aria-pressed="true"] {
  background: #eee3d5;
  color: #272421;
}
.ilbm-editorial-hero .ilbm-editorial-stage .c103-showcase-controls button:disabled {
  background: transparent;
  color: #69625e;
  opacity: .55;
}
.ilbm-editorial-hero .c96-hero-showcase:not(:has(.c96-hero-product[data-c98-key])),
.ilbm-editorial-hero .ilbm-editorial-stage:not(:has(.ilbm-editorial-product[data-c98-key])),
.ilbm-editorial-hero .ilbm-editorial-more:not(:has(.c96-hero-product[data-c98-key])) { display: none; }
.ilbm-editorial-hero .ilbm-editorial-stage .c109-br-badge { top: 1px; right: 1px; transform: scale(.7); transform-origin: top right; }

@media (max-width: 640px) {
  .ilbm-store-banner { min-height: 152px; height: clamp(152px,43vw,224px); border-radius: 12px; }
  .ilbm-store-banner-art { left: 28%; width: 72%; }
  .ilbm-store-banner-art img { object-position: 58% center; }
  .ilbm-store-banner::before { background: linear-gradient(90deg, #f5e4d0 26%, rgb(245 228 208 / 90%) 37%, transparent 66%); }
  .ilbm-editorial-hero[data-art="importados"] .ilbm-store-banner::before { background: linear-gradient(90deg, #e9e3dc 26%, rgb(233 227 220 / 92%) 37%, transparent 64%); }
  .ilbm-store-banner-copy { gap: 10px; max-width: 56%; padding: 12px 0 12px 16px; }
  .ilbm-store-banner .ilbm-store-banner-copy h2 { font-size: clamp(27px,7vw,41px); }
  .ilbm-store-banner button[data-c96-browse] { gap: 6px; min-height: 40px; padding: 7px 10px; font-size: 11px; }
  .ilbm-editorial-hero .ilbm-editorial-stage { padding: 3px 4px; gap: 2px; }
  .ilbm-editorial-stage .ilbm-editorial-product .ilbm-editorial-photo { flex-basis: 44px; }
  .ilbm-editorial-stage .ilbm-editorial-product .ilbm-editorial-copy { padding: 4px 6px; }
  .ilbm-editorial-stage .ilbm-editorial-product .c96-hero-product-name { font-size: 12px; }
  .ilbm-editorial-stage .ilbm-editorial-product .c96-hero-product-category { font-size: 9px; }
  .ilbm-editorial-hero .ilbm-editorial-stage .c103-showcase-controls { gap: 2px; }
  .ilbm-editorial-hero .ilbm-editorial-stage .c103-showcase-controls button { width: 32px; height: 36px; min-height: 36px; }
}

/* Let the real segment buttons and store actions fit the phone viewport. */
@media (max-width: 760px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading.c104-store-heading .c104-store-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(93px, 100%), 1fr));
    align-items: stretch;
    gap: 4px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    padding: 0;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-heading .c104-store-actions > button:not([hidden]) {
    justify-content: center;
    gap: 4px;
    min-height: 40px;
    min-width: 0;
    padding: 4px 5px;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c104-store-actions > button > svg {
    flex: none;
    width: 15px;
    height: 15px;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation > .c67-category-row:not([hidden]) {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(59px, 100%), 1fr));
    align-items: stretch;
    gap: 3px;
    width: 100%;
    min-width: 0;
    overflow: visible;
    overscroll-behavior-inline: auto;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-row > button {
    width: 100%;
    min-width: 0;
    min-height: 42px;
    padding: 4px;
    gap: 0;
    justify-content: center;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 11px !important;
    line-height: 1.18;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-row > button > svg {
    display: none;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-row > button > small {
    position: absolute;
    min-width: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-physical:not([hidden]) {
    grid-template-columns: repeat(auto-fit, minmax(min(88px, 100%), 1fr));
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c95-category-select {
    grid-column: 1 / -1;
    min-width: 0;
    max-width: 100%;
    padding: 0;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c95-category-select select {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-physical:has([data-c95-category-select]) {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-physical:has([data-c95-category-select]) > .c95-category-select {
    grid-column: 1;
  }
  /* Every imported department is in the native select. Silver jumps to the national collection. */
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-physical:has([data-c95-category-select]) > button:not([data-c67-category="joias-prata"]) {
    display: none;
  }
}

.c67-category-segments .ilbm-segment-short { display: none; }

@media (max-width: 760px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation > .c67-category-segments:not([hidden]) {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation .c67-category-segments > button {
    padding-inline: 1px;
    overflow-wrap: normal;
  }
  .c67-category-segments .ilbm-segment-full {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .c67-category-segments .ilbm-segment-short {
    display: inline;
    white-space: nowrap;
  }
}
@media (max-width: 383px) {
  body :is(#ilbmPhysicalProducts,#v201Student#v201Student .c67-products) .c67-top-navigation > .c67-category-segments:not([hidden]) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
