/* ==========================================================================
   SHOP ARCHIVE (Shop root / category / tag / search results) — loaded only
   on is_shop() || is_product_category() || is_product_tag() || is_search().

   NOTE: .mm-pcard and friends are intentionally duplicated from
   front-page.css rather than extracted into a shared file — front-page.css
   is already live-tested on the client's site, and a surgical extraction
   across its ~7 responsive breakpoints carries more regression risk than
   the ~25 lines of duplication are worth right now. Keep both copies in
   sync if the card design changes.
   ========================================================================== */

.mm-shop-header { margin-bottom: 24px; }
.mm-shop-title { margin-top: 8px; }
.woocommerce-breadcrumb { font-size: 12px; color: var(--mm-tm); }
.woocommerce-breadcrumb a { color: var(--mm-r); }

.mm-shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--mm-mg); }
.woocommerce-result-count { font-size: 13px; color: var(--mm-tm); margin: 0; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { padding: 8px 12px; border: 1.5px solid var(--mm-mg); border-radius: 8px; font-family: var(--mm-fb); font-size: 13px; background: #fff; color: var(--mm-t); }

.mm-prodg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.mm-pcard { background: var(--mm-cream-3); border: 1.5px solid var(--mm-mg); border-radius: 12px; overflow: hidden; transition: all .2s; position: relative; }
.mm-pcard:hover { border-color: var(--mm-r); box-shadow: 0 4px 20px rgba(0, 0, 0, .1); transform: translateY(-3px); }
.mm-pcard-link { display: block; color: inherit; }
.mm-pbadge { position: absolute; top: 10px; left: 10px; background: var(--mm-r); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 4px; z-index: 1; text-transform: uppercase; }
.mm-pbadge.mm-hot { background: #FF6B35; }
.mm-pbadge.mm-nw { background: #1B4332; }
.mm-pimg { height: 155px; background: var(--mm-cream-2); display: flex; align-items: center; justify-content: center; font-size: 50px; }
.mm-pimg-photo { height: 155px; width: 100%; object-fit: cover; display: block; }
.mm-pinf { padding: 12px; }
.mm-pbr { font-size: 11px; font-weight: 700; color: var(--mm-r); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
.mm-pnm { font-size: 13px; line-height: 1.4; margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--mm-t); }
.mm-pstr { color: #F59E0B; font-size: 12px; margin-bottom: 6px; }
.mm-pstr span { color: var(--mm-tm); font-size: 11px; }
.mm-prow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; flex-wrap: wrap; gap: 4px; }
.mm-ppr { font-family: var(--mm-fh); font-size: 22px; font-weight: 800; color: var(--mm-r); }
.mm-ppr del { color: var(--mm-tm); font-size: 14px; font-weight: 400; opacity: .7; margin-right: 4px; }
.mm-ppr ins { text-decoration: none; }
.mm-pbt { font-size: 11px; color: var(--mm-tm); text-align: right; }
.mm-pbt strong { color: #1B4332; font-weight: 700; }
.mm-acart,
a.mm-acart.button { display: block; width: 100%; text-align: center; background: var(--mm-r); color: #fff; border: none; padding: 9px; border-radius: 6px; font-family: var(--mm-fb); font-size: 13px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background .2s; }
.mm-acart:hover,
a.mm-acart.button:hover { background: var(--mm-rd); color: #fff; }

.mm-pagination { margin-top: 32px; }

@media (max-width: 1100px) {
	.mm-prodg { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
	.mm-prodg { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
	.mm-prodg { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.mm-pimg, .mm-pimg-photo { height: 130px; font-size: 40px; }
	.mm-shop-toolbar { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
	.mm-prodg { grid-template-columns: 1fr 1fr; }
	.mm-pimg, .mm-pimg-photo { height: 120px; font-size: 36px; }
}
