/* Vichy Bags catalogue: listing, product pages and the enquiry tray.
   Builds on style.css tokens; nothing here changes existing pages. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.crumbs { font-size: .86rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { color: var(--accent); }
.cat-hero { padding: 48px 0 36px; }
.cat-hero h1 { max-width: none; }

/* collection chips */
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-chips .chip { text-decoration: none; font-size: .9rem; padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--rule); background: var(--card); color: var(--ink-2); }
.cat-chips .chip span { color: var(--ink-3); margin-left: 4px; font-size: .8rem; }
.cat-chips .chip:hover { border-color: var(--ink); color: var(--ink); }
.cat-chips .chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.cat-chips .chip.on span { color: #e9d99c; }

/* filters */
.cat-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 10px; }
.cat-filters select, .cat-filters input { padding: 10px 12px; font-size: .95rem; }
@media (max-width: 900px) { .cat-filters { grid-template-columns: 1fr 1fr; } .cat-filters input { grid-column: 1 / -1; } }
.cat-meta { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 14px; font-size: .9rem; color: var(--ink-2); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--accent); text-decoration: underline; cursor: pointer; }
.cat-empty { padding: 32px 0; text-align: center; color: var(--ink-2); }
.cat-more { text-align: center; margin-top: 28px; }

/* product cards */
.pc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
@media (max-width: 520px) { .pc-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.pc { background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s, transform .15s; }
.pc:hover { border-color: var(--ink); transform: translateY(-2px); }
.pc[hidden] { display: none; }
.pc-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; flex: 1; }
.pc-img { aspect-ratio: 452 / 342; background: #eef0f0; overflow: hidden; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; }
.pc-body { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-body h3 { font-size: 1rem; line-height: 1.25; margin: 2px 0 0; }
.pc-body p { font-size: .84rem; color: var(--ink-2); margin: 0; }
.pc-code { align-self: flex-start; font-family: var(--mono); font-size: .74rem; letter-spacing: .03em; padding: 2px 7px; border-radius: 5px; background: var(--paper); border: 1px solid var(--rule); color: var(--ink-2); }
.pc-add { margin: 4px 14px 14px; font: 600 .86rem var(--body); padding: 8px 10px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer; }
.pc-add:hover { background: var(--ink); color: #fff; }
.pc-add.added { background: var(--ink); color: #fff; }
@media (max-width: 520px) { .pc-body { padding: 10px 10px 6px; } .pc-body h3 { font-size: .9rem; } .pc-add { margin: 4px 10px 10px; font-size: .8rem; } }

/* product page */
.pd { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; gap: 28px; } }
.pd-media > * + * { margin-top: 12px; }
.pd-main, .pd-details { border-radius: 14px; overflow: hidden; border: 1px solid var(--rule); background: #eef0f0; }
.pd-main img, .pd-details img { width: 100%; height: auto; }
.pd-details { background: #f4f4f4; }
.pd-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.pd-code { font-size: .86rem; padding: 4px 10px; }
.pd-specs { margin: 20px 0 6px; }
.pd-actions { margin-top: 20px; }
.pd-custom { margin-top: 22px; }
.pd-custom .more { font-weight: 600; font-size: .92rem; text-decoration: none; }
.pd-custom .more:hover { color: var(--accent); }

/* enquiry tray */
.tray { position: fixed; left: 16px; right: 92px; bottom: 18px; z-index: 55; max-width: 720px; margin: 0 auto;
  background: var(--ink); color: #fff; border-radius: 14px; padding: 10px 12px 10px 18px;
  display: flex; align-items: center; gap: 12px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }
.tray[hidden] { display: none; }
.tray-txt { flex: 1; min-width: 0; font-size: .92rem; }
.tray-txt b { font-family: var(--display); font-size: 1.1rem; margin-right: 4px; }
.tray-codes { display: block; font-family: var(--mono); font-size: .74rem; color: #e9d99c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tray .btn { background: var(--yellow); border-color: var(--yellow); color: #33241f; padding: 10px 16px; font-size: .9rem; white-space: nowrap; }
.tray .tray-clear { background: none; border: 0; color: #d9cbb8; font: inherit; font-size: .82rem; cursor: pointer; text-decoration: underline; }
@media (max-width: 520px) { .tray { left: 10px; right: 80px; bottom: 14px; padding: 8px 8px 8px 12px; gap: 8px; } .tray .tray-clear { display: none; } .tray .btn { padding: 9px 12px; } }
body.has-tray { padding-bottom: 84px; }

/* catalogue strip used on home + bags pages */
.cat-strip { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--card); border: 1px solid var(--rule); border-radius: 16px; padding: 22px 26px; }
.cat-strip h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 4px; }
.cat-strip p { margin: 0; color: var(--ink-2); }
.cat-strip .thumbs { display: flex; gap: 8px; margin-top: 14px; }
.cat-strip .thumbs img { width: 64px; height: 50px; object-fit: cover; border-radius: 8px; border: 1px solid var(--rule); }
@media (max-width: 720px) { .cat-strip { grid-template-columns: 1fr; } .cat-strip .thumbs img { width: 52px; height: 41px; } }
.see-designs { display: inline-flex; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; margin-top: 10px; }
.see-designs:hover { color: var(--accent); }
