/* Compact controls and mobile overlays shared by every page. */
[data-cid="sc-885c232-0"] { min-height: 38px; }
[data-cid="sc-885c232-1"] { padding-block: 4px; }
[data-cid="sc-885c232-5"] { padding: 4px 10px; font-size: 1.2rem; }
[data-cid="sc-885c232-5"] svg,
[data-cid="sc-e6edd6fb-3"] svg { width: 1em; height: 1em; flex: none; }
[data-cid="sc-885c232-7"] { min-height: 60px; }
[data-cid="sc-885c232-11"] { height: 44px; }
[data-cid="sc-885c232-19"] { font-size: 1.4rem; }
[data-cid="sc-e6edd6fb-3"] {
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  height: auto;
  padding: 8px 15px;
  font-size: 1.4rem;
}
[data-cid="sc-e6edd6fb-3"] svg { font-size: 1.6rem; }

body { container-type: inline-size; }
[data-cid="sc-6852d7ab-4"],
[data-cid="sc-6852d7ab-8"] {
  width: 100cqw;
  margin-inline-start: calc(50% - 50cqw);
}
[data-cid="sc-6852d7ab-8"] { padding-inline: max(10px, calc((100cqw - 1200px) / 2 + 10px)); }

:focus-visible { outline: 2px solid #573285; outline-offset: 3px; }
body:has(dialog[open]) { overflow: hidden; }
dialog.mobile-menu,
dialog.mobile-search {
  position: fixed;
  margin: 0;
  padding: 0;
  border: 0;
  color: #312b45;
  background: #fff;
  max-width: none;
  box-shadow: 0 12px 45px #20163838;
}
dialog::backdrop { background: #17112673; }
.mobile-menu {
  inset: 0 auto 0 0;
  height: 100dvh;
  max-height: none;
  width: min(86vw, 330px);
  animation: slide-menu .2s ease-out;
}
.mobile-search {
  inset: 0 0 auto;
  width: 100%;
  animation: slide-search .2s ease-out;
}
.mobile-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  min-height: 60px;
  border-bottom: 1px solid #ebe9ef;
}
.mobile-panel-head strong { font-size: 1.7rem; }
.mobile-panel-head button {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  height: 42px;
  border-radius: 10px;
  font-size: 1.7rem;
}
.mobile-panel-head button:hover { background: #f3eff8; }
.mobile-panel-head button svg { width: 1em; height: 1em; }
.mobile-panel-head form {
  flex: 1;
  min-width: 0;
  display: flex;
  border: 1px solid #ded9e7;
  border-radius: 12px;
  background: #f7f6f9;
}
.mobile-panel-head input {
  min-width: 0;
  width: 100%;
  padding: 0 10px;
  border: 0;
  background: transparent;
  font-size: 16px;
}
.mobile-menu nav { display: grid; gap: 4px; padding: 12px; }
.mobile-menu nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 10px;
  color: #312b45;
  background: #f7f4fa;
  font-size: 1.5rem;
  font-weight: 700;
  transition: background-color .18s ease;
}
.mobile-menu nav a:hover, .mobile-menu nav a:focus-visible { background: #fce6f4; }
.mobile-menu nav svg { width: 1em; height: 1em; flex: none; color: #ac176e; }
[data-cid="sc-885c232-47"] svg { width: 18px; height: 20px; flex: none; }
[data-cid="sc-885c232-16"] svg { width: 1em; height: 1em; flex: none; }
[data-cid="sc-1d3b1967-71"] svg { width: 1em; height: 1em; flex: none; }
[data-cid="sc-6852d7ab-7"],
[data-cid="sc-1d3b1967-88"] { display: none; }
[data-cid="sc-487c5891-0"] { overflow-wrap: anywhere; }
.browse-categories { min-width: 0; padding: 18px 0; border-block: 1px solid #e4deeb; }
.carousel-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.carousel-heading h2 { color: #312b45; font-size: 1.8rem; line-height: 1.25; }
.carousel-controls { display: flex; gap: 8px; margin-inline-start: auto; flex: none; }
.carousel-controls[hidden] { display: none; }
.carousel-controls button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #ff13a7;
  font: 700 24px/1 system-ui, sans-serif;
  box-shadow: 0 4px 10px #ff13a735;
  transition: background-color .18s ease, transform .18s ease, opacity .18s ease;
}
.carousel-controls button:not(:disabled):hover { background: #cb087f; }
.carousel-controls button:not(:disabled):active { transform: scale(.94); }
.carousel-controls button:disabled { opacity: .42; cursor: default; }
.category-rail {
  display: grid;
  grid-auto-columns: clamp(96px, 29vw, 128px);
  grid-auto-flow: column;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #dfa0c5 transparent;
  padding: 4px 4px 10px;
}
.category-tile {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  min-height: 99px;
  padding: 11px 6px;
  border: 1px solid #e9e0ec;
  border-radius: 12px;
  background: #fff;
  color: #312b45;
  text-align: center;
  line-height: 1.2;
  font-size: 1.25rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  scroll-snap-align: start;
  transition: border-color .18s ease, background-color .18s ease;
}
.category-tile:hover { border-color: #e68ac1; background: #fff5fb; }
.category-tile img { object-fit: contain; width: 46px; height: 46px; }
.coupon-confetti { position: fixed; inset: 0; z-index: 9999; overflow: clip; pointer-events: none; }
.coupon-confetti span { position: absolute; width: 7px; height: 10px; border-radius: 2px; }
[data-cid="sc-6852d7ab-35"] { min-width: 0; }
[data-cid="sc-6852d7ab-35"] h2 { min-width: 0; overflow-wrap: anywhere; }
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 225px), 1fr));
  gap: 20px;
}
.offer-grid > * { min-width: 0; }
.offer-grid [hidden], .search-status[hidden] { display: none !important; }
.search-status { margin: 0 0 12px; color: #5d556c; font-size: 1.4rem; }
.offer-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 10px;
  margin-block: 12px 16px;
  padding: 12px;
  border: 1px solid #e9e0ec;
  border-radius: 12px;
  background: #fff;
}
.offer-filters label { display: grid; min-width: 0; gap: 4px; color: #312b45; font-size: 1.3rem; font-weight: 700; }
.offer-filters select, .offer-filters button { width: 100%; min-width: 0; min-height: 42px; border-radius: 8px; padding: 7px 10px; }
.offer-filters select { border: 1px solid #ded9e7; color: #312b45; background: #faf8fb; font-size: 1.6rem; }
.offer-filters button { color: #fff; background: #a51a72; font-size: 1.4rem; font-weight: 800; }
.offer-filters button:hover { background: #831258; }
.live-catalog { max-width: 1200px; margin-inline: auto; padding: 22px 16px 36px; }
.live-catalog h1 { margin-bottom: 16px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.22; overflow-wrap: anywhere; }
.live-legal p { max-width: 70ch; margin-bottom: 12px; font-size: 1.6rem; overflow-wrap: anywhere; }
.live-catalog .breadcrumb { margin-bottom: 12px; color: #655b6d; font-size: 1.35rem; }
.live-catalog .panel { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #e8dfeb; }
.live-catalog .photo { width: 100%; max-height: 440px; padding: 16px; object-fit: contain; aspect-ratio: 1; align-self: center; }
.live-catalog .details { display: grid; gap: 14px; align-content: center; padding: clamp(16px, 5vw, 42px); min-width: 0; }
.live-catalog .details h1 { margin: 0; }
.live-catalog .price { color: #19864a; font-size: 2.7rem; font-weight: 900; overflow-wrap: anywhere; }
.live-catalog .buy { display: block; border-radius: 11px; padding: 12px 16px; text-align: center; background: #188547; color: #fff; font-weight: 800; font-size: 1.55rem; }
.live-catalog .buy:hover { background: #116639; }
.live-catalog .coupon { display: flex; min-width: 0; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; padding: 8px; background: #fff1fa; border: 1px dashed #c63893; border-radius: 10px; }
.live-catalog .coupon code { max-width: 100%; padding: 4px; overflow-wrap: anywhere; font-size: 1.5rem; font-weight: 700; }
.live-catalog .coupon button { min-height: 40px; border-radius: 8px; padding-inline: 10px; background: #a51a72; color: #fff; font-size: 1.4rem; font-weight: 800; }
.live-catalog .note, .live-catalog .store, .catalog-empty { color: #655b6d; font-size: 1.4rem; overflow-wrap: anywhere; }
.catalog-empty { grid-column: 1 / -1; padding: 14px 4px; }
.live-coupon-list { display: grid; gap: 10px; }
.live-coupon-list > article { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: #fff; padding: 12px; border-radius: 12px; }
.live-coupon-list h2 { flex: 1 1 210px; min-width: 0; font-size: 1.55rem; overflow-wrap: anywhere; }
.live-offer-card { display: flex; min-width: 0; flex-direction: column; background: #fff; border: 1px solid #e9e2ed; border-radius: 12px; overflow: hidden; transition: box-shadow .2s ease, border-color .2s ease; }
.live-offer-card:hover { box-shadow: 0 6px 18px #26153716; border-color: #e286c0; }
.live-card-image { position: relative; width: 100%; aspect-ratio: 1; display: grid; place-items: center; background: #faf9fc; overflow: hidden; }
.live-card-image img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.live-discount { position: absolute; inset: 8px auto auto 8px; background: #9c1468; color: #fff; padding: 4px 7px; border-radius: 6px; font-size: 1.2rem; font-weight: 800; }
.live-card-copy { display: grid; grid-template-rows: auto 1fr; gap: 6px; padding: 10px; align-content: start; flex: 1; min-width: 0; }
.live-card-time { color: #655b6d; font-size: 1.1rem; }
.live-card-copy p { font-size: clamp(1.25rem, 3.5vw, 1.55rem); font-weight: 700; line-height: 1.23; overflow-wrap: anywhere; }
.live-card-coupon { width: fit-content; max-width: 100%; background: #ffebf7; color: #86135a; padding: 2px 6px; border-radius: 5px; font-size: 1.15rem; font-weight: 800; overflow-wrap: anywhere; }
.live-card-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; overflow-wrap: anywhere; }
.live-card-prices s { color: #655b6d; font-size: 1.2rem; }
.live-card-prices strong { color: #157343; font-size: 1.5rem; }

@keyframes slide-menu { from { transform: translateX(-100%); } to { transform: translateX(0); } }
@keyframes slide-search { from { transform: translateY(-100%); } to { transform: translateY(0); } }

@media (max-width: 767px) {
  [data-cid="sc-885c232-1"] { gap: 8px; padding-inline: 12px; }
  [data-cid="sc-885c232-5"] { padding-inline: 8px; }
  [data-cid="sc-885c232-43"],
  [data-cid="sc-885c232-46"] { min-height: 56px; }
  [data-cid="sc-885c232-46"] { gap: 8px; }
  [data-cid="sc-885c232-46"] [data-cid="sc-885c232-11"] {
    width: max-content;
    max-width: 100%;
    justify-self: center;
  }
}
@media (max-width: 600px) {
  .offer-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .offer-filters button { grid-column: 1 / -1; }
  .live-catalog .panel { grid-template-columns: 1fr; }
  .live-catalog .photo { max-height: 300px; }
  .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  [data-cid="sc-e687716-12"], [data-cid="sc-6852d7ab-52"] { white-space: normal; overflow-wrap: anywhere; font-size: 1.6rem; }
  [data-cid="sc-e687716-6"], [data-cid="sc-6852d7ab-46"], [data-cid="sc-1d3b1967-70"] span { overflow-wrap: anywhere; }
  [data-cid="sc-6852d7ab-37"].featured-rail {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #dfa0c5 transparent;
    padding: 4px 3px 10px;
  }
  [data-cid="sc-6852d7ab-37"].featured-rail > a {
    grid-column: auto;
    grid-row: 1;
    min-width: 0;
    scroll-snap-align: start;
  }
  main h1, main h2, main h6 { overflow-wrap: anywhere; }
}

@media (max-width: 767px) {
  html, body { overflow-x: clip; }
}

/* Footer text occupies the available width instead of the old social-icon columns. */
footer[data-cid="sc-487c5891-0"] { padding: 24px 0; }
footer [data-cid="sc-2dce8c96-0"] {
  display: flex;
  width: 100%;
  padding: 0 20px 20px;
  justify-content: center;
}
footer [data-cid="sc-2dce8c96-1"] {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
footer [data-cid="sc-487c5891-5"] {
  flex-wrap: wrap;
  gap: 6px;
  padding-inline: 12px;
}
footer [data-cid="sc-487c5891-5"] a { text-align: center; }
footer [data-cid="sc-d6daa257-0"] {
  max-width: 900px;
  margin-inline: auto;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

