/* Collection pages — cream paper, woven details and the shop's own photographs. */
.ogosta-catalog { padding-bottom: 40px; }
.ogosta-catalog .oc-breadcrumbs { padding: 21px 0 18px; }
.oc-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 0; list-style: none; padding: 0; margin: 0; }
.oc-breadcrumbs li { display: flex; align-items: center; font: 11px/1.5 var(--sans); color: var(--muted); }
.oc-breadcrumbs li + li::before { content: '/'; padding: 0 12px; color: #b3a58c; }
.oc-breadcrumbs a { color: var(--olive-dark); }
.oc-breadcrumbs a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ogosta-catalog .oc-category-intro { display: grid; grid-template-columns: 1.4fr 1fr; position: relative; overflow: hidden; min-height: 226px; border: 1px solid #ddd2bc; background: #ede5d5; }
.oc-category-intro::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 5px; background: repeating-linear-gradient(135deg, #8b5c433f 0 4px, transparent 4px 9px, #62674750 9px 13px, transparent 13px 18px); }
.oc-category-copy { padding: 28px 40px 25px; align-self: center; }
.oc-category-copy .eyebrow { margin: 0 0 12px; font-size: 9px; letter-spacing: .16em; }
.ogosta-catalog .oc-category-copy h1 { font: 400 clamp(32px, 3.1vw, 44px)/1.1 var(--serif); letter-spacing: -.9px; margin: 0 0 16px; max-width: 720px; text-wrap: balance; }
.oc-category-description { margin: 0; max-width: 545px; font: 16px/1.6 var(--serif); color: #78614c; }
.oc-category-note { margin: 19px 0 0; display: flex; align-items: center; gap: 10px; font: 9px/1.5 var(--sans); letter-spacing: .07em; color: var(--olive-dark); }
.oc-category-note > span { height: 1px; width: 30px; background: #9f9d7f; }
.oc-category-visual { position: relative; min-width: 0; height: 100%; min-height: 226px; overflow: hidden; background: #d9c9b0; }
.oc-category-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.8); filter: saturate(.82); }
.oc-category-visual::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, #ede5d54d, transparent 22%); }
.oc-maker-seal { position: absolute; bottom: 18px; right: 22px; padding: 6px; background: #f7efdfed; border-radius: 50%; box-shadow: 0 2px 10px #32200e22; z-index: 1; }
.oc-maker-seal img { width: 48px; height: 48px; object-fit: contain; }
.oc-original-description { margin-top: 15px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.oc-original-description summary { padding: 10px 0; cursor: pointer; }
.oc-original-description > div { padding: 3px 0 18px; }
.oc-subcollections { padding-top: 27px; padding-bottom: 8px; }
.ogosta-catalog .oc-subcollections > .eyebrow { margin: 0 0 12px; font: 500 9px/1.5 var(--sans); color: var(--olive-dark); letter-spacing: .13em; }
.oc-subcollection-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.oc-subcollection { display: flex; align-items: center; min-width: 0; min-height: 86px; background: var(--paper); border: 1px solid var(--line); transition: border-color .2s, background .2s; }
.oc-subcollection:hover { border-color: #a0a07a; background: #fffaf0; }
.oc-subcollection-photo { flex: 0 0 82px; width: 82px; align-self: stretch; overflow: hidden; background: white; }
.oc-subcollection-photo img { width: 100%; height: 100%; max-height: 104px; min-height: 84px; object-fit: cover; transition: transform .3s; }
.oc-subcollection:hover .oc-subcollection-photo img { transform: scale(1.06); }
.oc-subcollection-copy { min-width: 0; display: flex; flex-direction: column; padding: 11px 5px 11px 14px; gap: 5px; }
.oc-subcollection-name { font: 16px/1.25 var(--serif); color: var(--brown); text-wrap: balance; }
.oc-subcollection-count { font: 9px/1.5 var(--sans); color: var(--muted); }
.oc-subcollection > .icon { width: 18px; height: 18px; margin-left: auto; margin-right: 12px; color: var(--olive); }
.oc-catalog-body { display: grid; grid-template-columns: minmax(0, 1fr); }
.oc-catalog-body.oc-with-sidebar { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; }
.oc-catalog-body.oc-sidebar-right { grid-template-columns: minmax(0,1fr) 220px; }
.oc-catalog-body.oc-sidebar-both { grid-template-columns: 200px minmax(0,1fr) 200px; }
.oc-sidebar { padding-top: 30px; min-width: 0; }
.ogosta-page #content.oc-catalog-content { min-height: 0; padding-bottom: 0; min-width: 0; }
.oc-catalog-toolbar { display: flex; justify-content: space-between; align-items: flex-end; gap: 25px; margin: 25px 0 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.ogosta-catalog .oc-catalog-heading h2 { font: 400 26px/1.2 var(--serif); margin: 0 0 7px; }
.oc-catalog-heading > span { font: 10px/1.5 var(--sans); color: var(--muted); }
.oc-catalog-controls { display: flex; align-items: flex-end; gap: 16px; }
.ogosta-page .oc-compare-link { font: 10px/1.5 var(--sans); color: var(--muted); padding: 0 8px 13px 0; white-space: nowrap; }
.oc-compare-link .fa { margin-right: 4px; }
.oc-select-field { display: flex; flex-direction: column; gap: 6px; }
.ogosta-page .oc-select-field label { margin: 0; font: 10px/1.5 var(--sans); color: var(--muted); }
.oc-select-field select { height: 39px; width: 190px; max-width: 100%; padding: 0 32px 0 11px; border: 1px solid #cfc4ae; border-radius: 2px; background: #fbf8f1; color: var(--brown); font: 12px/1.5 var(--sans); cursor: pointer; }
.oc-limit-field select { width: 88px; }
.oc-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 20px; }
.oc-product-card { min-width: 0; display: flex; flex-direction: column; background: var(--paper); border: 1px solid #ded5c5; transition: border-color .2s, box-shadow .2s; }
.oc-product-card:hover { border-color: #b9b195; box-shadow: 0 6px 22px #402b1510; }
.oc-product-visual { position: relative; background: white; border-bottom: 1px solid #e5ddcf; }
.oc-product-photo { display: block; aspect-ratio: 1 / 1.03; padding: 12px; overflow: hidden; }
.oc-product-photo img { width: 100%; height: 100%; object-fit: contain; transition: transform .35s; }
.oc-product-card:hover .oc-product-photo img { transform: scale(1.025); }
.oc-product-tools { position: absolute; right: 10px; top: 10px; display: flex; gap: 5px; }
.oc-product-tools button { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid #dfd6c5; border-radius: 50%; background: #fbf8f1f0; color: var(--olive-dark); font-size: 13px; transition: background .2s; }
.oc-product-tools button:hover { background: #e7e0cf; }
.oc-product-copy { display: flex; flex-direction: column; flex: 1; padding: 18px 19px 17px; }
.oc-product-kind { font: 9px/1.4 var(--sans); color: var(--muted); letter-spacing: .06em; margin-bottom: 7px; }
.ogosta-catalog .oc-product-copy h2 { font: 400 22px/1.2 var(--serif); letter-spacing: -.2px; min-height: 52px; margin: 0 0 8px; }
.oc-product-description { font: 11px/1.65 var(--sans); color: var(--muted); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oc-product-rating { color: #8e7c43; font-size: 11px; margin-bottom: 12px; }
.oc-product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 13px; border-top: 1px solid #e7dfce; }
.oc-product-price { display: flex; flex-direction: column; min-width: 0; }
.oc-product-price strong { color: var(--brown); font: 400 21px/1.3 var(--serif); white-space: nowrap; }
.oc-product-price del { color: var(--muted); font: 11px/1.4 var(--sans); }
.oc-product-price > span { color: var(--muted); font: 8px/1.5 var(--sans); margin-top: 4px; }
.oc-add-to-cart { flex-shrink: 0; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 8px 12px; border: 1px solid var(--olive); border-radius: 2px; background: var(--olive); color: var(--paper); font: 11px/1.3 var(--sans); transition: background .2s; }
.oc-add-to-cart:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.oc-add-to-cart .icon { height: 18px; width: 18px; }
.oc-catalog-pagination { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--line); }
.oc-catalog-pagination .pagination { margin: 0; display: flex; gap: 5px; }
.oc-catalog-pagination .pagination > li > a, .oc-catalog-pagination .pagination > li > span { border-radius: 2px; padding: 8px 13px; font: 12px/1.5 var(--sans); }
.oc-catalog-pagination p { margin: 0; color: var(--muted); font: 10px/1.5 var(--sans); }
.oc-catalog-empty { border: 1px solid var(--line); background: var(--paper); padding: 28px; margin: 28px 0 0; font-size: 16px; }
@media (max-width: 1200px) {
  .oc-category-copy { padding: 26px 30px; }
  .oc-subcollection-grid { gap: 10px; }
  .oc-subcollection-photo { flex-basis: 66px; width: 66px; }
  .oc-subcollection-copy { padding-left: 10px; }
  .oc-subcollection-name { font-size: 15px; }
  .oc-subcollection > .icon { width: 14px; margin-right: 8px; }
  .oc-catalog-grid { gap: 20px 15px; }
  .oc-product-copy { padding: 15px 14px; }
  .ogosta-catalog .oc-product-copy h2 { font-size: 20px; min-height: 48px; }
  .oc-product-price strong { font-size: 19px; }
  .oc-add-to-cart { padding-inline: 9px; gap: 5px; }
}
@media (max-width: 950px) {
  .ogosta-catalog .oc-category-intro { grid-template-columns: 1.25fr 1fr; }
  .oc-category-copy { padding: 24px; }
  .ogosta-catalog .oc-category-copy h1 { font-size: 34px; }
  .oc-category-description { font-size: 15px; line-height: 1.5; }
  .oc-category-note { font-size: 8px; margin-top: 14px; }
  .oc-subcollection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oc-subcollection-photo { flex-basis: 76px; width: 76px; }
  .oc-subcollection-copy { padding-left: 14px; }
  .oc-subcollection > .icon { margin-right: 14px; }
  .oc-catalog-toolbar { gap: 15px; }
  .ogosta-catalog .oc-catalog-heading h2 { font-size: 24px; }
  .oc-catalog-controls { gap: 10px; }
  .ogosta-page .oc-compare-link { display: none; }
  .oc-select-field select { width: 170px; }
  .oc-limit-field select { width: 76px; }
  .oc-catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 12px; }
  .oc-product-copy { padding: 14px 12px; }
  .oc-add-to-cart > span { display: none; }
  .oc-product-tools button { width: 34px; height: 34px; }
}
@media (max-width: 640px) {
  .ogosta-catalog { padding-bottom: 28px; }
  .ogosta-catalog .oc-breadcrumbs { padding: 15px 0; }
  .oc-breadcrumbs li { font-size: 10px; }
  .oc-breadcrumbs li + li::before { padding: 0 8px; }
  .ogosta-catalog .oc-category-intro { grid-template-columns: minmax(0, 1fr) 112px; min-height: 205px; }
  .oc-category-copy { padding: 22px 17px; }
  .oc-category-copy .eyebrow { font-size: 7px; letter-spacing: .1em; margin-bottom: 10px; }
  .ogosta-catalog .oc-category-copy h1 { font-size: 29px; letter-spacing: -.6px; margin-bottom: 12px; }
  .oc-category-description { font-size: 13px; line-height: 1.5; }
  .oc-category-note { display: none; }
  .oc-category-visual { min-height: 205px; }
  .oc-category-visual > img { transform: scale(1.2); }
  .oc-maker-seal { right: 9px; bottom: 14px; padding: 4px; }
  .oc-maker-seal img { width: 35px; height: 35px; }
  .oc-subcollections { padding-top: 21px; padding-bottom: 0; }
  .ogosta-catalog .oc-subcollections > .eyebrow { font-size: 8px; margin-bottom: 10px; }
  .oc-subcollection-grid { gap: 8px; }
  .oc-subcollection { min-height: 80px; }
  .oc-subcollection-photo { flex-basis: 48px; width: 48px; }
  .oc-subcollection-photo img { min-height: 80px; max-height: 100px; }
  .oc-subcollection-copy { padding: 9px 8px; gap: 5px; }
  .oc-subcollection-name { font-size: 14px; line-height: 1.2; }
  .oc-subcollection-count { font-size: 8px; }
  .oc-subcollection > .icon { display: none; }
  .oc-catalog-body.oc-with-sidebar, .oc-catalog-body.oc-sidebar-right, .oc-catalog-body.oc-sidebar-both { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .oc-catalog-body.oc-sidebar-right { grid-template-columns: minmax(0,1fr) 220px; }
.oc-catalog-body.oc-sidebar-both { grid-template-columns: 200px minmax(0,1fr) 200px; }
.oc-sidebar { padding-top: 20px; }
  .oc-catalog-toolbar { align-items: stretch; flex-direction: column; gap: 15px; margin: 23px 0 16px; padding-top: 20px; }
  .oc-catalog-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .ogosta-catalog .oc-catalog-heading h2 { font-size: 22px; margin: 0; }
  .oc-catalog-heading > span { font-size: 9px; flex-shrink: 0; }
  .oc-catalog-controls { gap: 12px; }
  .oc-select-field { flex: 1; min-width: 0; gap: 5px; }
  .oc-select-field select { width: 100%; height: 38px; font-size: 11px; }
  .oc-limit-field { flex: 0 0 94px; }
  .ogosta-page .oc-select-field label { font-size: 9px; }
  .oc-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 9px; }
  .oc-product-photo { padding: 8px; aspect-ratio: 1 / 1.12; }
  .oc-product-tools { top: 5px; right: 5px; gap: 3px; }
  .oc-product-tools button { width: 32px; height: 32px; font-size: 12px; }
  .oc-product-copy { padding: 12px 10px; }
  .oc-product-kind { font-size: 8px; margin-bottom: 7px; }
  .ogosta-catalog .oc-product-copy h2 { font-size: 19px; line-height: 1.2; min-height: 46px; margin-bottom: 7px; }
  .oc-product-description { font-size: 10px; margin-bottom: 10px; }
  .oc-product-bottom { gap: 5px; padding-top: 11px; }
  .oc-product-price strong { font-size: 19px; }
  .oc-product-price > span { font-size: 7px; }
  .oc-add-to-cart { width: 36px; min-height: 36px; padding: 6px; }
  .oc-add-to-cart .icon { width: 18px; height: 18px; }
  .oc-catalog-pagination { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 22px; padding-top: 22px; }
  .oc-catalog-pagination p { font-size: 9px; }
}
@media (max-width: 359px) {
  .ogosta-catalog .oc-category-intro { grid-template-columns: minmax(0,1fr) 87px; }
  .oc-category-copy { padding: 20px 13px; }
  .ogosta-catalog .oc-category-copy h1 { font-size: 26px; }
  .oc-category-description { font-size: 12px; }
  .oc-subcollection-photo { flex-basis: 35px; width: 35px; }
  .oc-subcollection-name { font-size: 13px; }
  .oc-product-tools button { width: 29px; height: 29px; }
  .ogosta-catalog .oc-product-copy h2 { font-size: 17px; min-height: 41px; }
  .oc-product-copy { padding-inline: 8px; }
  .oc-product-price strong { font-size: 17px; }
  .oc-add-to-cart { width: 33px; min-height: 33px; }
}
