/* Reading cards (home .szept-pc and shop loop li.product), category hero, help box. */

/* Flex, so an incomplete last row is centred. */
.szept-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 26px; }
.szept-grid > .szept-pc { flex: 0 1 calc((100% - 52px) / 3); }
.szept-pc, .woocommerce ul.products li.product { position: relative; border-radius: 22px; background: linear-gradient(180deg, #1a2048, #12163a); border: 1px solid var(--kp-line); transition: transform .25s, border-color .25s, box-shadow .25s; }
.szept-pc:hover, .woocommerce ul.products li.product:hover { transform: translateY(-5px); border-color: var(--kp-line2); box-shadow: var(--kp-shadow); }
.szept-pc__in { display: flex; flex-direction: column; height: 100%; padding: 30px 26px 26px; text-decoration: none; color: inherit; }
.szept-pc .szept-tc, .woocommerce ul.products li.product .szept-tc { width: 112px; margin: 6px auto 22px; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .45)); transition: transform .35s; }
.szept-pc:hover .szept-tc, .woocommerce ul.products li.product:hover .szept-tc { transform: rotate(-4deg) translateY(-3px); }
.szept-pc .szept-num, .woocommerce ul.products li.product .szept-num { text-align: center; margin-bottom: 4px; opacity: .8; }
.szept-pc h3, .woocommerce ul.products li.product .woocommerce-loop-product__title { font: 600 26px/1.15 var(--kp-serif); color: var(--kp-head); margin: 0 0 8px; padding: 0; }
.szept-excerpt { font-size: 14.5px; line-height: 1.65; color: var(--kp-mut); flex: 1; margin: 0; }
.szept-pc__price, .woocommerce ul.products li.product .price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin: 20px 0 16px; font: 600 30px var(--kp-serif); color: var(--kp-gold2) !important; }
.szept-pc__price del, .woocommerce ul.products li.product .price del { order: 2; font: 400 14px var(--kp-sans); color: #7f7c92; opacity: 1; }
.szept-pc__price ins, .woocommerce ul.products li.product .price ins { text-decoration: none; }
.szept-from { font: 500 13px var(--kp-sans); color: var(--kp-mut); }
.szept-pc .szept-btn { width: 100%; padding: 13px; }
.szept-off { position: absolute; top: 18px; right: 18px; z-index: 2; padding: 5px 10px; border-radius: 999px; background: rgba(217, 182, 111, .14); border: 1px solid var(--kp-line2); color: var(--kp-gold2); font: 700 12px var(--kp-sans); }

/* Shop / category loop */
.woocommerce ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; text-align: left; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; padding: 30px 26px 0; text-decoration: none; color: inherit; }
.szept-loop-foot { padding: 0 26px 26px; }
.szept-loop-foot .szept-btn { width: 100%; padding: 13px; }
.related.products { margin-top: 70px; }
.related.products > h2 { text-align: center; font-size: 40px; margin: 0 0 32px; }

/* Category / page hero */
.szept-chero { position: relative; background: linear-gradient(90deg, rgba(10, 12, 30, .96) 0%, rgba(10, 12, 30, .82) 48%, rgba(10, 12, 30, .4) 100%), var(--bg) center / cover; padding: 80px 0 44px; border-bottom: 1px solid var(--kp-line); }
.szept-chero__orn { font: 600 12px var(--kp-sans); letter-spacing: 3px; color: var(--kp-gold); text-transform: uppercase; margin: 0; }
.szept-chero__orn::before { content: "✦ "; }
.szept-chero h1 { font-size: 62px; margin: 12px 0 12px; }
.szept-chero__desc { font-size: 18px; line-height: 1.7; color: #cfcbd9; max-width: 600px; margin: 0 0 30px; }
.szept-chero__cats { display: flex; flex-wrap: wrap; gap: 8px; }
.szept-chero__cats a { padding: 9px 16px; border: 1px solid var(--kp-line2); border-radius: 999px; color: var(--kp-ink); text-decoration: none; font: 500 13.5px var(--kp-sans); transition: background .2s; }
.szept-chero__cats a:hover { background: rgba(217, 182, 111, .12); }
.szept-chero__cats a[aria-current] { background: var(--kp-grad); border-color: transparent; color: #1b1630; font-weight: 700; }
.tax-product_cat .site-main, .post-type-archive-product .site-main { padding-top: 50px; }

/* Help box */
.szept-help { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 60px; padding: 32px 36px; border-radius: 22px; background: radial-gradient(600px 220px at 0 0, #262e6a, var(--kp-card) 70%); border: 1px solid var(--kp-line2); }
.szept-help h2 { font-size: 32px; margin: 0 0 6px; }
.szept-help p { margin: 0; color: var(--kp-mut); max-width: 560px; }
.szept-help__btns { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

@media (max-width: 960px) {
	.szept-grid > .szept-pc { flex-basis: 100%; }
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.szept-chero { padding: 50px 0 30px; background: linear-gradient(rgba(10, 12, 30, .86), rgba(10, 12, 30, .86)), var(--bg) center / cover; }
	.szept-chero h1 { font-size: 42px; }
	.szept-chero__desc { font-size: 16px; }
	.szept-chero__cats { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * var(--kp-gutter)); padding: 0 var(--kp-gutter) 4px; scrollbar-width: none; }
	.szept-chero__cats a { white-space: nowrap; }
	.szept-help { flex-direction: column; align-items: flex-start; padding: 26px 22px; }
	.related.products > h2 { font-size: 32px; }
}
@media (min-width: 640px) and (max-width: 960px) {
	.szept-grid > .szept-pc { flex-basis: calc((100% - 26px) / 2); }
	.woocommerce ul.products { grid-template-columns: 1fr 1fr; }
}
