/* Cobras Store. Shares tokens and base styles with site.css. */
.store-head { padding-block: clamp(32px, 6vw, 64px) 0; }
.store-title { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -0.02em; }
.store-intro { color: var(--grey-d); margin-top: 14px; max-width: 62ch; font-size: clamp(17px, 1.6vw, 19px); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
.how li { background: var(--wash); border-radius: 0; padding: 16px 18px; font-size: 15px; display: flex; gap: 12px; align-items: baseline; }
.how b { font-size: 20px; font-variant-numeric: tabular-nums; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-block: clamp(28px, 4vw, 44px) 20px; }
.filter { font: inherit; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 0; border: 0; background: var(--wash); color: var(--ink); cursor: pointer; transition: transform 160ms var(--ease-out), background-color 160ms ease; }
.filter:active { transform: scale(0.97); }
.filter[aria-pressed="true"] { background: var(--black); color: var(--yellow); }

.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 20px; }
.product { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; display: block; width: 100%; }
.product-photo { display: block; position: relative; border-radius: 0; overflow: hidden; background: var(--wash); }
.product-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 300ms var(--ease-out); }
.badge { position: absolute; top: 12px; left: 12px; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 0; background: var(--black); color: var(--white); }
.badge.member { background: var(--yellow); color: var(--black); }
.product-name { display: block; font-weight: 700; font-size: 18px; margin-top: 14px; line-height: 1.3; }
.product-price { display: block; color: var(--grey-d); margin-top: 2px; font-variant-numeric: tabular-nums; }
.product-more { display: inline-flex; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 700; }
.product-more .arrow { transition: transform 200ms var(--ease-out); }
.product:active .product-photo img { transform: scale(0.98); }
@media (hover: hover) and (pointer: fine) {
  .product:hover .product-photo img { transform: scale(1.03); }
  .product:hover .product-more .arrow { transform: translateX(4px); }
}

dialog.item { border: 0; padding: 0; border-radius: 0; background: var(--white); color: var(--ink); width: min(980px, calc(100vw - 32px)); max-height: min(90vh, 1000px); overflow: auto;
  opacity: 1; transform: scale(1); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
@starting-style { dialog.item[open] { opacity: 0; transform: scale(0.96); } }
dialog.item::backdrop { background: rgba(0, 0, 0, 0.72); }
.item-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); padding: clamp(18px, 3.5vw, 36px); }
.gallery-main { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; background: var(--wash); }
.thumbs { display: flex; gap: 8px; margin-top: 8px; }
.thumb { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 0; overflow: hidden; width: 72px; opacity: 0.6; transition: opacity 160ms ease; }
.thumb[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px var(--black); }
.thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.item-tag { display: inline-block; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 0; background: var(--black); color: var(--white); }
.item-tag.member { background: var(--yellow); color: var(--black); }
.item h2 { font-size: clamp(26px, 3.4vw, 34px); margin-top: 12px; }
.item-price { font-size: 20px; font-weight: 700; margin-top: 6px; font-variant-numeric: tabular-nums; }
.item-desc { color: var(--grey-d); margin-top: 14px; }
.item-detail { margin-top: 16px; background: var(--wash); border-radius: 0; padding: 14px 16px; font-size: 15px; }
.item-detail b { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey); margin-bottom: 4px; }
.item-order { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.item-note { font-size: 13px; color: var(--grey); margin-top: 10px; }
.sizing { grid-column: 1 / -1; }
.sizing h3 { font-size: 18px; margin-bottom: 12px; }
.sizing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.sizing-grid img { width: 100%; border-radius: 0; }

/* FAQ */
.faq-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq-cols h3 { font-size: 22px; margin-bottom: 14px; }
.faq { background: var(--white); border-radius: 0; }
.faq + .faq { margin-top: 8px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 26px; height: 26px; border-radius: 0; background: var(--wash); display: grid; place-items: center; font-weight: 700; transition: transform 200ms var(--ease-out); }
.faq[open] summary::after { transform: rotate(45deg); background: var(--yellow); }
.faq-body { padding: 0 18px 18px; color: var(--grey-d); font-size: 16px; max-width: 64ch; }
.faq-body p + p, .faq-body p + ol, .faq-body ol + p, .faq-body p + ul { margin-top: 10px; }
.faq-body ol { list-style: decimal; padding-left: 20px; }
.faq-body ol li + li { margin-top: 8px; }
.faq-body ul { list-style: none; background: var(--wash); border-radius: 0; padding: 12px 14px; margin-top: 8px; font-size: 15px; }

@media (max-width: 860px) {
  .item-in, .faq-cols { grid-template-columns: minmax(0, 1fr); }
  .how { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .product-name { font-size: 16px; }
}
