/* Lorys store pages (inc/store.php, woocommerce/archive-product.php, content-product.php) — Paul's design 18 Nov 2026. */
body.lorys-store .site-content > .ast-container { max-width: 1320px; display: block; padding: 0 16px; }
body.lorys-store #primary, body.lorys-store .site-main { width: 100%; margin: 0; padding: 0; border: 0; background: none; }
.lorys-shop { padding: 18px 0 48px; color: var(--lorys-text, #1b2420); }
.lorys-i { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.lorys-crumbs { display: flex; align-items: center; gap: 6px; font-size: 14px; color: #5d6b64; }
.lorys-crumbs a { color: #5d6b64; text-decoration: none; display: inline-flex; }
.lorys-crumbs .lorys-i { width: 18px; height: 18px; }
.lorys-shop-head h1 { font-size: 34px; line-height: 1.15; margin: 8px 0 6px; color: #0f5a2b; }
.lorys-shop-head p { margin: 0 0 18px; color: #4a5751; font-size: 17px; }

/* Tiles */
.lorys-tiles { display: flex; gap: 12px; overflow-x: auto; padding: 2px 2px 14px; scrollbar-width: none; }
.lorys-tiles::-webkit-scrollbar { display: none; }
.lorys-tile { flex: 0 0 auto; min-width: 170px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: #fff; border: 1px solid #dde5e0; border-radius: 12px; color: #1b2420; text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.25; }
.lorys-tile .lorys-i { color: #1e7b3c; width: 30px; height: 30px; }
.lorys-tile:hover { border-color: #1e7b3c; }
.lorys-tile.is-on { background: #e3f2e7; border-color: #bfdcc8; }
.lorys-tile small { display: block; font-weight: 400; font-size: 13px; color: #5d6b64; }
.lorys-tile.is-offer { background: #fff1e6; border-color: #f7c9a0; }
.lorys-tile.is-offer .lorys-i { color: #c8202a; }
.lorys-tile.is-offer.is-on { box-shadow: inset 0 0 0 2px #e8730c; }

/* Layout */
.lorys-shop-body { display: grid; gap: 20px; margin-top: 8px; }
.lorys-filters { background: #fff; border: 1px solid #dde5e0; border-radius: 14px; padding: 4px 18px; align-self: start; }
.lorys-filters summary { cursor: pointer; padding: 12px 0; font-size: 20px; font-weight: 700; color: #0f5a2b; display: flex; align-items: center; gap: 10px; list-style: none; }
.lorys-filters summary::-webkit-details-marker { display: none; }
.lorys-filters summary .lorys-i { width: 20px; height: 20px; }
.lorys-filters fieldset { border: 0; border-top: 1px solid #e6ece8; margin: 0; padding: 12px 0 14px; }
.lorys-filters legend { font-weight: 700; font-size: 16px; padding: 0 0 6px; float: left; width: 100%; }
.lorys-cats { list-style: none; margin: 0; padding: 0; clear: both; }
.lorys-cats a { display: block; padding: 5px 0; color: #1b2420; text-decoration: none; font-size: 15px; }
.lorys-cats a span { color: #5d6b64; }
.lorys-cats a.is-on { color: #0f5a2b; font-weight: 700; }
.lorys-cats a:hover { color: #0f5a2b; text-decoration: underline; }
.lorys-check { display: flex; gap: 10px; align-items: center; clear: both; font-size: 15px; cursor: pointer; }
.lorys-check input { width: 18px; height: 18px; accent-color: #1e7b3c; }
.lorys-price { display: flex; align-items: center; gap: 8px; clear: both; }
.lorys-price input { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #c9d6ce; border-radius: 8px; font-size: 15px; }
.lorys-price button, .lorys-btn { text-transform: none; letter-spacing: 0; background: #0f5a2b; color: #fff; border: 0; border-radius: 8px; padding: 9px 16px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.lorys-reset { margin: 0 0 14px; }
.lorys-reset a { color: #0f5a2b; font-weight: 600; }

/* Toolbar */
.lorys-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 14px; }
.lorys-count { margin: 0; color: #4a5751; font-size: 15px; }
.lorys-tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.lorys-sort, .lorys-perpage label { display: flex; align-items: center; gap: 8px; font-size: 15px; color: #4a5751; margin: 0; }
.lorys-sort form, .lorys-sort .woocommerce-ordering { margin: 0; float: none; }
.lorys-tools select { border: 1px solid #c9d6ce; border-radius: 8px; padding: 8px 32px 8px 12px; background-color: #fff; font-size: 15px; color: #1b2420; min-height: 40px; }
.lorys-perpage { margin: 0; }

/* Grid and cards */
.lorys-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lorys-card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e1e8e3; border-radius: 14px; overflow: hidden; margin: 0 !important; width: auto !important; padding: 0 !important; }
.lorys-card:hover { box-shadow: 0 6px 20px rgba(15, 90, 43, .08); }
.lorys-card-img { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 3; background: #fff; padding: 12px; }
.lorys-card-img img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; margin: 0 !important; }
.lorys-nophoto { display: grid; place-items: center; gap: 6px; width: 100%; height: 100%; background: #f3f7f4; border-radius: 10px; color: #8aa293; font-size: 13px; }
.lorys-nophoto .lorys-i { width: 34px; height: 34px; }
.lorys-off { position: absolute; top: 10px; left: 10px; background: #c8202a; color: #fff; border-radius: 999px; padding: 2px 10px; font-size: 13px; font-weight: 700; }
.lorys-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; flex: 1; }
.lorys-card-body .lorys-rx-badge { align-self: flex-start; }
.lorys-card-title { font-size: 16px; line-height: 1.3; margin: 2px 0 0; font-weight: 700; }
.lorys-card-title a { color: #1b2420; text-decoration: none; }
.lorys-card-title a:hover { color: #0f5a2b; }
.lorys-card-sub { margin: 0; color: #5d6b64; font-size: 14px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lorys-card-price { margin: 4px 0 8px; font-size: 22px; font-weight: 800; color: #0f5a2b; }
.lorys-card-price del { color: #8a948f; font-size: 15px; font-weight: 400; margin-right: 6px; }
.lorys-card-price ins { text-decoration: none; }
.lorys-card-btn { margin-top: auto; }
.lorys-card-btn .button, .lorys-card-btn a.added_to_cart { display: flex !important; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 44px; border-radius: 8px !important; font-weight: 700 !important; font-size: 15px !important; padding: 10px 12px !important; text-align: center; line-height: 1.2 !important; text-transform: none !important; letter-spacing: 0 !important; }
.lorys-card-btn .add_to_cart_button { background: #0f5a2b !important; color: #fff !important; border: 0 !important; }
.lorys-card-btn .add_to_cart_button:hover { background: #1e7b3c !important; }
.lorys-card-btn .lorys-rx-btn { background: #fff !important; color: #0f5a2b !important; border: 1.5px solid #0f5a2b !important; }
.lorys-card-btn a.added_to_cart { margin-top: 6px; background: none; color: #0f5a2b; padding: 4px !important; min-height: 0; text-decoration: underline; }

/* Pages */
.lorys-pages { margin: 24px 0 0; }
.lorys-pages .woocommerce-pagination ul { border: 0 !important; display: flex !important; justify-content: center; gap: 8px; }
.lorys-pages .woocommerce-pagination ul li { border: 0 !important; }
.lorys-pages .woocommerce-pagination ul li a, .lorys-pages .woocommerce-pagination ul li span { min-width: 42px; height: 42px; display: grid !important; place-items: center; border: 1px solid #dde5e0 !important; border-radius: 10px; background: #fff; color: #1b2420; font-weight: 700; padding: 0 10px !important; }
.lorys-pages .woocommerce-pagination ul li span.current { background: #0f5a2b; border-color: #0f5a2b !important; color: #fff; }
.lorys-none { background: #fff; border: 1px solid #dde5e0; border-radius: 14px; padding: 24px; }

@media (min-width: 700px) {
	.lorys-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1000px) {
	.lorys-shop-body { grid-template-columns: 280px minmax(0, 1fr); gap: 24px; }
	.lorys-filters summary { pointer-events: none; }
	.lorys-tiles { flex-wrap: wrap; overflow: visible; }
	.lorys-tile { flex: 1 1 180px; }
}
@media (min-width: 1200px) {
	.lorys-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 999px) {
	.lorys-shop-head h1 { font-size: 28px; }
	.lorys-filters:not([open]) { padding-bottom: 0; }
}
