.prestige-page-collection { padding-top: 20px; }
.prestige-page-collection > .prestige-breadcrumb { margin-bottom: 16px; }
.prestige-page-collection > .prestige-title { margin-bottom: 16px; }
.prestige-page-collection > .prestige-title h1 { font-size: 32px; }
.prestige-page-collection > .prestige-title p { font-size: 10px; }
.prestige-page-collection > .prestige-demo-note { margin: 0 0 26px; font-size: 10px; }
.tap-collection { --c-edge: #80632f; --c-gold: #edc96c; --c-muted: #b2a58a; }
.tap-collection button, .tap-collection input, .tap-collection select { font: inherit; }
.tap-collection button { cursor: pointer; }
.tap-collection button:disabled { cursor: default; opacity: .35; }
.tap-collection [hidden] { display: none !important; }
.tap-c-layout { display: grid; grid-template-columns: 206px minmax(0, 1fr); gap: 28px; align-items: start; }
.tap-c-filters { padding: 20px 17px; background: linear-gradient(145deg, #17150e, #0b0d08); border: 1px solid #84672f; border-radius: 7px; }
.tap-c-panel-heading { display: flex; align-items: center; gap: 8px; padding-bottom: 17px; border-bottom: 1px solid #97733a40; }
.tap-c-panel-heading h2 { display: flex; align-items: center; gap: 9px; margin: 0; color: #edce86; font: 500 14px/1.7 system-ui, sans-serif; }
.tap-c-panel-heading h2 > svg { width: 17px; height: 17px; flex-shrink: 0; }
.tap-c-filters fieldset { border: 0; margin: 22px 0; padding: 0; min-width: 0; }
.tap-c-filters legend { margin: 0 0 10px; padding: 0; color: #dfbc69; font-size: 12px; line-height: 1.7; }
.tap-c-choice { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 5px 0; font-size: 11px; line-height: 1.65; color: #d7ccb3; cursor: pointer; }
.tap-c-choice input { width: 15px; height: 15px; accent-color: #e6b951; margin: 0; flex-shrink: 0; }
.tap-c-choice small { margin-left: auto; font-size: 10px; color: #b39a63; }
.tap-c-reset { padding: 10px 15px; min-height: 42px; width: 100%; background: transparent; border: 1px solid #95723a; color: #e2c17b; border-radius: 4px; font-size: 12px !important; }
.tap-c-reset:hover { background: #bea05517; }
.tap-c-results { min-width: 0; }
.tap-c-search { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; padding: 5px 6px 5px 15px; border: 1px solid #8e6c33; border-radius: 5px; background: #11120c; }
.tap-c-search > svg { width: 18px; height: 18px; color: #e5c075; flex-shrink: 0; }
.prestige-main .tap-collection .tap-c-search > input { flex: 1; min-width: 0; border: 0; border-radius: 0; background: transparent; padding: 7px 0; min-height: 34px; font-size: 12px; outline-offset: 3px; }
.tap-c-search > input::placeholder { color: #a99c80; opacity: 1; }
.tap-c-search > button { padding: 8px 19px; min-height: 38px; border: 1px solid #a37c36; border-radius: 4px; color: #f4d592; background: linear-gradient(#272111, #14120a); font-size: 12px; flex-shrink: 0; }
.tap-c-search > button:hover { background: #49371b; }
.tap-c-toolbar { display: flex; align-items: center; gap: 14px; min-height: 54px; margin-bottom: 16px; border-bottom: 1px solid #a9803538; padding-bottom: 12px; }
.tap-c-status { font-size: 11px; line-height: 1.7; color: #cebb91; margin: 0 auto 0 0; }
.tap-c-view-switch { display: flex; border: 1px solid #72572b; border-radius: 4px; overflow: hidden; flex-shrink: 0; }
.tap-c-view-switch > button { border: 0; color: #b7a57d; background: #0b0d08; width: 37px; height: 36px; display: grid; place-items: center; }
.tap-c-view-switch > button + button { border-left: 1px solid #72572b; }
.tap-c-view-switch > button[aria-pressed="true"] { color: #ffe09b; background: #60451b66; }
.tap-c-view-switch svg { width: 17px; height: 17px; }
.tap-c-sort { display: flex; align-items: center; gap: 10px; font-size: 11px; color: #b9a889; }
.prestige-main .tap-c-sort select { min-height: 38px; padding: 7px 10px; font-size: 11px; width: 162px; border-color: #81642f; }
.tap-c-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.tap-c-chip { border: 1px solid #9c7939; border-radius: 20px; padding: 5px 12px; min-height: 34px; color: #ead1a0; background: #d6a23e12; font-size: 11px !important; line-height: 1.5; max-width: 100%; overflow-wrap: anywhere; }
.tap-c-chip:hover { background: #c79d3d28; }
.tap-c-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.tap-c-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid #a67f37; border-radius: 8px; background: radial-gradient(ellipse at 50% 30%, #50391330, #0a0c08 70%); transition: border-color .2s, box-shadow .2s; }
.tap-c-card:hover { border-color: #f3ce73; box-shadow: 0 5px 24px #c5932920; }
.tap-c-visual { position: relative; padding: 12px 8px 0; }
.tap-c-visual > a { display: block; text-decoration: none; overflow: hidden; border-radius: 4px 4px 0 0; }
.tap-c-photo { position: relative; margin: 0; aspect-ratio: 1.03 / 1; overflow: hidden; background: #080a06; }
.tap-c-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .35s; }
.tap-c-visual > a:hover img { transform: scale(1.035); }
.tap-c-photo figcaption { position: absolute; bottom: 6px; right: 5px; padding: 2px 4px; background: #030501b8; color: #cdbb92; font-size: 7px; line-height: 1.6; }
.tap-c-badge { position: absolute; top: 0; left: 0; max-width: calc(100% - 40px); padding: 5px 12px 5px 9px; border-radius: 6px 0 13px 0; color: #261a05; background: linear-gradient(110deg, #d9a13b, #ffe09a); font-size: 9px; line-height: 1.5; font-weight: 600; }
.tap-c-save { position: absolute; z-index: 2; top: 7px; right: 7px; width: 30px; height: 30px; border: 1px solid #b28b4259; border-radius: 50%; background: #080a05b3; color: #d7b96f; display: grid; place-items: center; }
.tap-c-save svg { width: 16px; height: 16px; }
.tap-c-save[aria-pressed="true"] { color: #ffda7a; border-color: #dba942; background: #5d421bcc; }
.tap-c-save[aria-pressed="true"] svg { fill: #d5a03455; }
.tap-c-card-copy { display: flex; flex-direction: column; align-items: stretch; padding: 11px 12px 12px; }
.tap-c-code { font: 9px/1.6 Georgia, serif; letter-spacing: 1.5px; margin: 0 0 5px; color: #b8a173; }
.tap-c-card h3 { font: 500 12px/1.7 system-ui, sans-serif; margin: 0 0 11px; min-height: 42px; }
.tap-c-card h3 a { color: #eee4ce; text-decoration: none; }
.tap-c-card h3 a:hover { color: #ffdb8c; }
.tap-c-card-price { border-top: 1px solid #ba8e3d26; padding-top: 9px; margin-top: auto; }
.tap-c-card-price > span { display: block; color: #b8a88a; font-size: 9px; line-height: 1.6; }
.tap-c-card-price strong { color: #f4d076; font: 21px/1.5 Georgia, serif; white-space: nowrap; }
.tap-c-card-price strong small { font: 10px/1.5 system-ui, sans-serif; }
.tap-c-card-link { display: flex; align-items: center; justify-content: space-between; gap: 6px; border: 1px solid #ad84384f; border-radius: 3px; margin-top: 10px; min-height: 34px; padding: 7px 9px; font-size: 10px; line-height: 1.5; color: #e0c484; text-decoration: none; }
.tap-c-card-link:hover { background: #c5963020; border-color: #bf9345; }
.tap-c-card-link svg { width: 12px; height: 12px; flex-shrink: 0; }
.tap-c-pagination-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; border-top: 1px solid #93713940; padding-top: 22px; }
.tap-c-pagination-row > label { display: flex; align-items: center; gap: 12px; font-size: 10px; line-height: 1.6; color: #b3a181; }
.prestige-main .tap-c-pagination-row select { width: 78px; min-height: 38px; padding: 7px 10px; font-size: 12px; border-color: #72592c; }
.tap-c-pagination { display: flex; gap: 7px; flex-wrap: wrap; justify-content: flex-end; }
.tap-c-pagination > button { width: 38px; height: 38px; display: grid; place-items: center; padding: 0; font: 14px/1.4 Georgia, serif; color: #d9bb77; background: #0a0c08; border: 1px solid #796030; border-radius: 4px; }
.tap-c-pagination > button[aria-current] { background: linear-gradient(#f1ce7c, #bd8b36); color: #241800; border-color: #f4d48c; }
.tap-c-empty { padding: 55px 25px; border: 1px solid #9273394d; border-radius: 8px; background: radial-gradient(ellipse, #74521620, transparent 70%); text-align: center; }
.tap-c-empty > svg { color: #c8a254; width: 45px; height: 45px; margin-bottom: 15px; }
.tap-c-empty h3 { font-size: 26px; color: #ead098; margin: 0 0 12px; }
.tap-c-empty p { font-size: 13px; color: #b8aa8e; margin: 0 auto 24px; max-width: 450px; }
.tap-c-mobile-only { display: none !important; }
.tap-c-filter-dialog { color: #eee3cc; background: #11120c; border: 1px solid #9f7b36; padding: 0; width: min(380px, calc(100vw - 34px)); max-height: 100dvh; max-width: none; margin: 0 0 0 auto; height: 100dvh; overflow-y: auto; }
.tap-c-filter-dialog::backdrop { background: #000b; backdrop-filter: blur(3px); }
.tap-c-filter-dialog .tap-c-filters { border: 0; border-radius: 0; min-height: 100%; padding: 22px; }
.tap-c-icon-button { width: 42px; height: 42px; border: 1px solid #a48038; border-radius: 4px; color: #e9c77b; background: #14160e; font-size: 28px !important; margin-left: auto; line-height: 1; }
.tap-c-grid[data-view="list"] { grid-template-columns: 1fr; }
.tap-c-grid[data-view="list"] .tap-c-card { display: grid; grid-template-columns: 180px minmax(0, 1fr); }
.tap-c-grid[data-view="list"] .tap-c-visual { padding: 10px; }
.tap-c-grid[data-view="list"] .tap-c-photo { height: 180px; aspect-ratio: auto; }
.tap-c-grid[data-view="list"] .tap-c-card-copy { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-content: center; gap: 4px 24px; padding: 20px; }
.tap-c-grid[data-view="list"] .tap-c-code { grid-column: 1; }
.tap-c-grid[data-view="list"] .tap-c-card h3 { grid-column: 1; font-size: 16px; min-height: 0; }
.tap-c-grid[data-view="list"] .tap-c-card-price { grid-column: 2; grid-row: 1 / span 2; border: 0; padding: 0; margin: 0; align-self: center; }
.tap-c-grid[data-view="list"] .tap-c-card-price strong { font-size: 25px; }
.tap-c-grid[data-view="list"] .tap-c-card-link { grid-column: 2; margin-top: 5px; }
@media (max-width: 1200px) {
  .tap-c-layout { grid-template-columns: 195px minmax(0, 1fr); gap: 22px; }
  .tap-c-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tap-c-toolbar { gap: 10px; }
  .tap-c-sort > span { display: none; }
  .tap-c-card-price strong { font-size: 22px; }
}
@media (max-width: 1000px) {
  .tap-c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tap-c-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; }
  .tap-c-filters { padding: 18px 14px; }
  .tap-c-toolbar { flex-wrap: wrap; }
  .tap-c-status { flex-basis: calc(100% - 90px); }
  .tap-c-sort { margin-left: auto; }
  .tap-c-grid[data-view="list"] .tap-c-card { grid-template-columns: 125px minmax(0, 1fr); }
  .tap-c-grid[data-view="list"] .tap-c-photo { height: 160px; }
  .tap-c-grid[data-view="list"] .tap-c-card-copy { display: flex; padding: 14px; gap: 0; }
  .tap-c-grid[data-view="list"] .tap-c-card h3 { font-size: 13px; margin-bottom: 6px; }
  .tap-c-grid[data-view="list"] .tap-c-card-price strong { font-size: 20px; }
}
@media (max-width: 760px) {
  .prestige-page-collection { width: calc(100% - 32px); padding-top: 16px; }
  .prestige-page-collection > .prestige-breadcrumb { margin-bottom: 14px; }
  .prestige-page-collection > .prestige-title h1 { font-size: 26px; line-height: 1.5; }
  .prestige-page-collection > .prestige-title p { font-size: 9px; letter-spacing: 1px; }
  .prestige-page-collection > .prestige-demo-note { font-size: 9px; margin-bottom: 20px; }
  .tap-c-layout { display: block; }
  .tap-c-filter-slot { display: none; }
  .tap-c-mobile-only { display: flex !important; }
  .tap-c-panel-heading h2 { font-size: 16px; }
  .tap-c-filters fieldset { margin-block: 25px; }
  .tap-c-filters legend { font-size: 14px; }
  .tap-c-choice { min-height: 44px; font-size: 13px; gap: 12px; }
  .tap-c-choice input { width: 18px; height: 18px; }
  .tap-c-choice small { font-size: 12px; }
  .tap-c-reset { min-height: 44px; font-size: 13px !important; }
  .tap-c-apply { width: 100%; margin-top: 14px; }
  .tap-c-search { margin-bottom: 12px; padding-left: 12px; gap: 10px; }
  .prestige-main .tap-collection .tap-c-search > input { font-size: 11px; }
  .tap-c-search > button { min-height: 36px; padding: 7px 13px; font-size: 11px; }
  .tap-c-toolbar { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding-bottom: 14px; margin-bottom: 16px; }
  .tap-c-status { font-size: 10px; margin: 0; }
  .tap-c-view-switch { justify-self: end; }
  .tap-c-view-switch > button { width: 36px; height: 34px; }
  .tap-c-open-filters { align-items: center; gap: 9px; width: 100%; min-height: 42px; padding: 8px 12px; font-size: 12px !important; border: 1px solid #9a7736; background: #211c1066; color: #e7c77c; border-radius: 4px; }
  .tap-c-open-filters > svg { width: 15px; height: 15px; }
  .tap-c-open-filters small { margin-left: auto; display: grid; place-items: center; width: 20px; height: 20px; background: #e4bd63; color: #241900; border-radius: 50%; font-size: 10px; }
  .tap-c-sort { margin: 0; }
  .prestige-main .tap-c-sort select { width: 160px; max-width: 100%; min-height: 42px; font-size: 11px; }
  .tap-c-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px 12px; }
  .tap-c-visual { padding: 10px 5px 0; }
  .tap-c-badge { max-width: calc(100% - 31px); padding: 5px 8px; font-size: 8px; }
  .tap-c-save { width: 27px; height: 27px; right: 4px; top: 5px; }
  .tap-c-save svg { width: 14px; height: 14px; }
  .tap-c-photo { aspect-ratio: .97 / 1; }
  .tap-c-photo figcaption { font-size: 6px; padding: 2px 3px; right: 3px; bottom: 4px; }
  .tap-c-card-copy { padding: 10px 9px; }
  .tap-c-code { font-size: 8px; letter-spacing: 1.2px; margin-bottom: 5px; }
  .tap-c-card h3 { font-size: 11px; line-height: 1.7; min-height: 39px; margin-bottom: 8px; }
  .tap-c-card-price { padding-top: 8px; }
  .tap-c-card-price > span { font-size: 8px; }
  .tap-c-card-price strong { font-size: clamp(15px, 4.5vw, 20px); }
  .tap-c-card-price strong small { font-size: 9px; }
  .tap-c-card-link { margin-top: 8px; min-height: 34px; font-size: 9px; padding: 6px; }
  .tap-c-card-link svg { width: 10px; height: 10px; }
  .tap-c-pagination-row { gap: 12px; margin-top: 24px; padding-top: 18px; flex-wrap: wrap; }
  .tap-c-pagination-row > label { gap: 8px; font-size: 10px; }
  .tap-c-pagination { gap: 5px; }
  .tap-c-pagination > button { width: 32px; height: 36px; font-size: 13px; }
  .tap-c-active-filters { margin-bottom: 14px; gap: 7px; }
  .tap-c-chip { min-height: 34px; font-size: 10px !important; padding-inline: 10px; }
  .tap-c-empty { padding: 35px 20px; }
  .tap-c-empty h3 { font-size: 24px; }
  .tap-c-empty p { font-size: 12px; }
  .tap-c-grid[data-view="list"] .tap-c-card { grid-template-columns: 115px minmax(0, 1fr); }
  .tap-c-grid[data-view="list"] .tap-c-photo { height: 157px; }
  .tap-c-grid[data-view="list"] .tap-c-visual { padding: 10px 5px; }
  .tap-c-grid[data-view="list"] .tap-c-card-copy { padding: 13px 10px; }
  .tap-c-grid[data-view="list"] .tap-c-card h3 { font-size: 12px; }
  .tap-c-grid[data-view="list"] .tap-c-card-price strong { font-size: 18px; }
}
@media (max-width: 359px) {
  .prestige-main .tap-c-sort select { width: 140px; }
  .tap-c-card-copy { padding: 9px 7px; }
  .tap-c-card h3 { font-size: 10px; }
  .tap-c-card-price strong { font-size: 15px; }
  .tap-c-card-price strong small { font-size: 8px; }
  .tap-c-grid[data-view="list"] .tap-c-card { grid-template-columns: 98px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .tap-c-card, .tap-c-photo img { transition: none; }
}

/* Comfortable controls on compact screens, including native iOS text entry. */
@media (max-width: 760px) {
  .prestige-main .tap-collection .tap-c-search > input { font-size: 16px; min-height: 44px; min-width: 0; }
  .tap-c-search > button { min-height: 44px; font-size: 12px; padding-inline: 10px; }
  .tap-c-view-switch > button { width: 44px; height: 44px; }
  .tap-c-open-filters { min-height: 44px; }
  .prestige-main .tap-c-sort select { min-height: 44px; font-size: 16px; width: 100%; }
  .tap-c-save { width: 44px; height: 44px; right: 2px; top: 2px; background: #080905dd; }
  .tap-c-save svg { width: 20px; height: 20px; }
  .tap-c-badge { max-width: calc(100% - 48px); }
  .tap-c-card-link { min-height: 44px; }
  .tap-c-pagination button { min-width: 44px; min-height: 44px; }
  .tap-c-pagination-row { flex-wrap: wrap; gap: 16px; }
  .tap-c-pagination-row select { min-height: 44px; font-size: 16px; }
}
