/*
Theme Name: LuxeVault
Theme URI: https://www.luxevault777.com/
Author: LuxeVault
Description: Private luxury catalog theme for LuxeVault.
Version: 1.1.45
*/

:root {
  --ink: #151515;
  --muted: #6c6a65;
  --soft: #efede8;
  --paper: #ffffff;
  --panel: #f8f7f4;
  --line: rgba(21, 21, 21, 0.1);
  --shadow: 0 18px 50px rgba(22, 20, 17, 0.12);
  --green: #2f8a4a;
  --green-dark: #246e3b;
  --wine: #842643;
  --gold: #b9995b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #e7e5df;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0;
}

body:has(.product-dialog[open]) {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.page-bg {
  min-height: 100vh;
  padding: 0 clamp(0px, 3vw, 28px);
}

.shop-shell {
  position: relative;
  width: min(100%, 980px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  background: var(--paper);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.12);
}

.shop-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 9px clamp(14px, 4vw, 30px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.admin-bar .shop-topbar {
  top: 32px;
}

.top-pill,
.top-icon,
.login-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
}

.top-pill {
  gap: 5px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.top-pill span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}

.top-icon {
  width: 38px;
  border-radius: 50%;
}

.top-icon svg,
.search-wrap svg,
.dialog-close svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.top-spacer {
  flex: 1;
}

.top-brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 800;
  text-decoration: none;
}

.login-link {
  padding: 0 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
}

.store-cover {
  position: relative;
  aspect-ratio: 16 / 7.2;
  overflow: hidden;
  background: #111;
}

.cover-track,
.cover-slide {
  position: absolute;
  inset: 0;
}

.cover-slide {
  visibility: hidden;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity 700ms ease, transform 4.8s ease, visibility 700ms;
}

.cover-slide.is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.store-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-cover::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.32));
  pointer-events: none;
}

.cover-dots {
  position: absolute;
  right: 18px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  gap: 6px;
}

.cover-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  transition: width 180ms ease, background 180ms ease;
}

.cover-dots button.is-active {
  width: 18px;
  border-radius: 999px;
  background: #fff;
}

.store-profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px clamp(18px, 4vw, 34px) 14px;
  background: #fff;
}

.store-logo {
  width: 66px;
  height: 66px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
}

.store-profile h1 {
  margin: 0 0 5px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  font-weight: 850;
}

.store-profile p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-bubble,
.contact-actions a,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 800;
  transition: background 160ms ease, transform 160ms ease;
}

.contact-bubble {
  padding: 0 22px;
  white-space: nowrap;
}

.contact-bubble:hover,
.contact-actions a:hover,
.primary-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.store-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(420px, calc(100% - 68px));
  margin: 2px clamp(18px, 4vw, 34px) 24px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.store-stats div {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 10px 8px;
}

.store-stats div + div {
  border-left: 1px solid var(--line);
}

.store-stats strong {
  font-size: 18px;
  line-height: 1;
}

.store-stats span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
}

.quick-search {
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 12px;
  padding: 18px clamp(18px, 4vw, 34px) 10px;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: var(--muted);
}

.search-wrap input,
.quick-search select {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.quick-search select {
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}

.category-strip {
  padding: 0 clamp(18px, 4vw, 34px) 16px;
}

.filters {
  display: flex;
  gap: 9px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}

.filters::-webkit-scrollbar {
  display: none;
}

.filters button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-weight: 750;
}

.filters button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.brand-block,
.catalog-section,
.contact-panel {
  padding: 0 clamp(18px, 4vw, 34px);
}

.round-entry-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 18px 12px;
  padding: 18px 0 24px;
}

.round-entry {
  display: grid;
  justify-items: center;
  gap: 9px;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.logo-round {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(68px, 10vw, 92px);
  height: clamp(68px, 10vw, 92px);
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.35), transparent 32%),
    linear-gradient(145deg, var(--badge-start, #624a64) 0%, var(--badge-end, #211723) 76%);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--badge-accent, #e6cf9b) 70%, transparent),
    inset 0 0 0 5px rgba(255, 255, 255, 0.09),
    inset 0 -18px 28px rgba(0, 0, 0, 0.18),
    0 9px 22px rgba(31, 23, 24, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.logo-round::before {
  position: absolute;
  inset: 6px;
  content: "";
  border: 1px solid color-mix(in srgb, var(--badge-accent, #e6cf9b) 72%, white);
  border-radius: 50%;
  opacity: 0.74;
}

.logo-round::after {
  position: absolute;
  right: 25%;
  bottom: 15%;
  left: 25%;
  height: 2px;
  border-radius: 2px;
  background: var(--badge-accent, #e6cf9b);
  content: "";
  opacity: 0.92;
}

.round-entry:hover .logo-round,
.round-entry:focus-visible .logo-round {
  transform: translateY(-3px);
  box-shadow:
    0 0 0 2px color-mix(in srgb, var(--badge-accent, #e6cf9b) 72%, transparent),
    inset 0 0 0 5px rgba(255, 255, 255, 0.12),
    inset 0 -18px 28px rgba(0, 0, 0, 0.18),
    0 13px 27px rgba(31, 23, 24, 0.25);
}

.logo-mark {
  position: relative;
  display: block;
  max-width: 76%;
  color: #fffdf7;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 3.4vw, 31px);
  font-weight: 850;
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
  white-space: nowrap;
}

.logo-sub {
  position: relative;
  display: block;
  max-width: 76%;
  margin-top: 5px;
  overflow: hidden;
  color: var(--badge-accent, #f2d79e);
  font-size: clamp(6px, 1vw, 9px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-tone-word .logo-mark {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 2vw, 19px);
  font-weight: 850;
}

.logo-tone-stack .logo-mark {
  font-size: clamp(17px, 2.8vw, 26px);
}

.logo-tone-script .logo-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 3.8vw, 34px);
  font-style: italic;
}

.logo-prada .logo-mark,
.logo-celine .logo-mark,
.logo-coach .logo-mark,
.logo-omega .logo-mark,
.logo-panerai .logo-mark,
.logo-balenciaga .logo-mark {
  font-size: clamp(12px, 1.8vw, 18px);
}

.logo-nike .logo-mark,
.logo-adidas .logo-mark {
  font-size: clamp(13px, 2vw, 18px);
}

.logo-gucci .logo-mark,
.logo-chanel .logo-mark,
.logo-louis-vuitton .logo-mark {
  font-size: clamp(24px, 4vw, 36px);
}

.logo-dior .logo-mark {
  font-size: clamp(15px, 2.4vw, 22px);
}

.round-entry em {
  width: 100%;
  color: #66635f;
  font-style: normal;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.2;
  min-height: 32px;
  text-align: center;
  overflow-wrap: anywhere;
  white-space: normal;
}

.brand-sections {
  padding-top: 8px;
  background: #f2f3f3;
}

.brand-block {
  margin-top: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(21, 21, 21, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.75);
  background: #f6f4f1;
}

.brand-block:first-child {
  border-top: 0;
}

.brand-block[data-group-category="Watches"] {
  background: #edf2f1;
}

.brand-block[data-group-category="Shoes"] {
  background: #f1f2f5;
}

.brand-block[data-group-category="Perfume"] {
  background: #f5f0f3;
}

.brand-group-title {
  margin: 0;
  padding-left: 10px;
  border-left: 3px solid #8a572f;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  line-height: 1.1;
}

.brand-block[data-group-category="Watches"] .brand-group-title {
  border-left-color: #245c55;
}

.brand-block[data-group-category="Shoes"] .brand-group-title {
  border-left-color: #405a78;
}

.brand-block[data-group-category="Perfume"] .brand-group-title {
  border-left-color: #8d4a82;
}

.brand-block .round-entry-grid {
  padding-top: 13px;
  padding-bottom: 20px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 4px 0 14px;
}

.section-head h2,
.contact-panel h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.1;
}

.section-head p {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 28px;
}

.catalog-more {
  display: block;
  min-width: 220px;
  min-height: 46px;
  margin: 0 auto 34px;
  padding: 0 24px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.catalog-more[hidden] {
  display: none;
}

.catalog-more:hover {
  background: var(--ink);
  color: #fff;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.product-card > button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f6f3ed;
}

.product-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.16;
  object-fit: cover;
  object-position: center;
}

.product-image-count {
  position: absolute;
  right: 7px;
  bottom: 7px;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-size: 10px;
  font-weight: 750;
  line-height: 1.2;
}

.product-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 10px 0;
}

.product-row span {
  color: var(--wine);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-row strong {
  overflow: hidden;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card h3 {
  min-height: 34px;
  margin: 6px 10px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.2;
}

.product-actions {
  padding: 0 10px 10px;
}

.product-actions button {
  width: 100%;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px 18px;
  color: var(--muted);
  text-align: center;
  background: var(--panel);
  border-radius: 14px;
}

.contact-panel {
  margin: 0 clamp(18px, 4vw, 34px) 30px;
  padding: 24px;
  border-radius: 18px;
  background: #171717;
  color: #fff;
}

.contact-panel p {
  max-width: 660px;
  margin: 10px 0 18px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.contact-actions a {
  border-radius: 10px;
}

.contact-actions a:nth-child(3) {
  background: #fff;
  color: var(--ink);
}

.product-dialog {
  width: min(100vw, 980px);
  max-width: 100vw;
  height: min(100vh, 920px);
  max-height: 100vh;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  color: var(--ink);
}

.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 3px solid #66ace5;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(320px, 42%);
  height: 100%;
}

.gallery-main {
  position: relative;
  min-height: 0;
  background: #f1eee8;
}

.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  height: 100%;
  margin: 0;
  scroll-snap-align: center;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.68);
  color: #fff;
  font-weight: 850;
}

.dialog-info {
  min-width: 0;
  overflow-y: auto;
  padding: 30px 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dialog-info h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
}

.dialog-info > p:not(.eyebrow):not(.gallery-count) {
  margin: 12px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.gallery-count {
  margin: 12px 0 16px;
  color: var(--wine);
  font-size: 18px;
  font-weight: 850;
}

.dialog-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 14px;
}

.primary-button {
  min-height: 46px;
  border-radius: 10px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.thumb-grid button {
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 9px;
  background: #f4f1eb;
}

.thumb-grid button.is-active {
  border-color: var(--wine);
}

.thumb-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (min-width: 761px) and (max-width: 1050px) {
  .round-entry-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .page-bg {
    padding: 0;
  }

  .shop-topbar {
    min-height: 54px;
    padding: 8px 12px;
  }

  .admin-bar .shop-topbar {
    top: 46px;
  }

  .top-pill {
    padding: 0 12px;
    font-size: 13px;
  }

  .login-link {
    padding: 0 12px;
  }

  .store-cover {
    aspect-ratio: 16 / 9.6;
  }

  .store-profile {
    grid-template-columns: auto 1fr;
    padding: 13px 14px 10px;
  }

  .store-logo {
    width: 56px;
    height: 56px;
  }

  .store-profile h1 {
    font-size: 30px;
  }

  .store-profile p {
    font-size: 12px;
  }

  .store-profile .contact-bubble {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 40px;
  }

  .store-stats {
    width: min(315px, calc(100% - 28px));
    margin: 0 14px 16px auto;
    border-radius: 12px;
  }

  .store-stats div {
    padding: 8px 6px;
  }

  .store-stats strong {
    font-size: 16px;
  }

  .store-stats span {
    font-size: 9px;
  }

  .quick-search {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px 14px 8px;
  }

  .search-wrap,
  .quick-search select {
    min-height: 42px;
    border-radius: 10px;
  }

  .category-strip,
  .brand-block,
  .catalog-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .filters button {
    min-height: 34px;
    padding: 0 13px;
    font-size: 13px;
  }

  .round-entry-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px 6px;
    padding: 14px 0 20px;
  }

  .logo-round {
    width: 62px;
    height: 62px;
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--badge-accent, #e6cf9b) 70%, transparent),
      inset 0 0 0 4px rgba(255, 255, 255, 0.09),
      inset 0 -14px 22px rgba(0, 0, 0, 0.18),
      0 7px 16px rgba(31, 23, 24, 0.2);
  }

  .logo-round::before {
    inset: 5px;
  }

  .logo-mark {
    font-size: 20px;
  }

  .logo-dior .logo-mark {
    font-size: 15px;
  }

  .logo-sub {
    max-width: 72%;
    margin-top: 3px;
    font-size: 6px;
  }

  .round-entry em {
    font-size: 12px;
    min-height: 29px;
  }

  .brand-group-title {
    font-size: 17px;
  }

  .section-head {
    display: block;
    margin-bottom: 10px;
  }

  .section-head h2 {
    font-size: 24px;
  }

  .section-head p {
    margin-top: 5px;
    font-size: 13px;
    text-align: left;
  }

  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding-bottom: 20px;
  }

  .product-card {
    border-radius: 7px;
  }

  .product-card img {
    aspect-ratio: 1 / 1.14;
  }

  .product-row {
    gap: 4px;
    padding: 7px 7px 0;
  }

  .product-row span {
    font-size: 9px;
  }

  .product-row strong {
    max-width: 68px;
    font-size: 10px;
  }

  .product-card h3 {
    min-height: 27px;
    margin: 4px 7px 5px;
    font-size: 11px;
    line-height: 1.18;
  }

  .product-actions {
    padding: 0 7px 7px;
  }

  .product-actions button {
    min-height: 29px;
    font-size: 11px;
  }

  .contact-panel {
    margin: 0 14px 20px;
    padding: 18px;
    border-radius: 14px;
  }

  .contact-panel h2 {
    font-size: 24px;
  }

  .contact-panel p {
    margin: 8px 0 14px;
    font-size: 13px;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .product-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
  }

  .dialog-close {
    top: max(12px, env(safe-area-inset-top));
    right: 12px;
    width: 46px;
    height: 46px;
  }

  .dialog-layout {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .gallery-main {
    flex: 0 0 61dvh;
  }

  .gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .gallery-counter {
    right: 12px;
    bottom: 12px;
    padding: 7px 12px;
  }

  .dialog-info {
    flex: 1;
    padding: 14px 14px max(18px, env(safe-area-inset-bottom));
  }

  .eyebrow {
    margin-bottom: 6px;
    font-size: 11px;
  }

  .dialog-info h2 {
    font-size: 24px;
    line-height: 1.08;
  }

  .dialog-info > p:not(.eyebrow):not(.gallery-count) {
    margin: 8px 0;
    font-size: 13px;
    line-height: 1.36;
  }

  .gallery-count {
    margin: 8px 0 10px;
    font-size: 15px;
  }

  .dialog-actions {
    gap: 8px;
    margin-bottom: 10px;
  }

  .primary-button {
    min-height: 40px;
    border-radius: 9px;
    font-size: 14px;
  }

  .thumb-grid {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .thumb-grid::-webkit-scrollbar {
    display: none;
  }

  .thumb-grid button {
    flex: 0 0 58px;
    border-radius: 8px;
  }
}

@media (max-width: 380px) {
  .top-pill {
    max-width: 118px;
    overflow: hidden;
  }

  .logo-round {
    width: 56px;
    height: 56px;
  }

  .logo-mark {
    font-size: 18px;
  }

  .logo-sub {
    font-size: 5px;
  }

  .product-card h3 {
    font-size: 10.5px;
  }
}



/* Unified round entries for Other Categories */
.other-category-block {
  padding-top: 12px;
  padding-bottom: 0;
  background: #f2f3f3;
}

.other-category-block .brand-group-title {
  border-left-color: #7b4662;
}

.other-entry-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 700px;
}

.other-round-entry .logo-round {
  width: clamp(68px, 10vw, 92px);
  height: clamp(68px, 10vw, 92px);
}

@media (max-width: 720px) {
  .other-category-block {
    padding-top: 12px;
    padding-bottom: 0;
  }

  .other-entry-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: none;
    gap: 14px 6px;
  }

  .other-round-entry .logo-round {
    width: 62px;
    height: 62px;
  }
}
