/* ── Product category label ── */
.product-category-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #E07020;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ── Available sizes ── */
.mep-available-sizes {
    margin: 20px 0;
}

.mep-sizes-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.mep-size-chips {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mep-size-chip {
    padding: 12px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background: #fff;
}

/* ── Shop: filter bar ── */
.mep-shop-filters {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.mep-filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.mep-filter-tab {
    padding: 10px 20px;
    border: 2px solid #d0d0d0;
    border-radius: 4px;
    background: transparent;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.mep-filter-tab:hover {
    border-color: #E07020;
    color: #E07020;
}

.mep-filter-tab.is-active {
    background: #E07020;
    border-color: #E07020;
    color: #fff;
}

/* ── Shop: product grid ── */
.mep-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

@media (max-width: 1024px) {
    .mep-product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .mep-product-grid { grid-template-columns: 1fr; }
}

/* ── Product card ── */
.mep-product-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
}

.mep-product-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.mep-card-image-wrap {
    display: block;
    overflow: hidden;
    background: #f0f0f0;
    aspect-ratio: 4 / 3;
}

.mep-card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

.mep-product-card:hover .mep-card-image-wrap img {
    transform: scale(1.04);
}

.mep-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mep-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mep-card-cats {
    margin-bottom: 8px;
}

.mep-card-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #E07020;
    margin-right: 6px;
}

.mep-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
    line-height: 1.2;
}

.mep-card-title a {
    color: inherit;
    text-decoration: none;
}

.mep-card-title a:hover {
    color: #E07020;
}

.mep-card-sku {
    margin: 0 0 10px;
    font-size: 12px;
}

.mep-sku-label {
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-right: 4px;
}

.mep-sku-value {
    font-weight: 700;
    color: #E07020;
}

.mep-card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0 0 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mep-card-cta {
    display: block;
    padding: 14px 20px;
    background: #E07020;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.2s;
}

.mep-card-cta:hover {
    background: #c55f10;
    color: #fff;
}

.mep-no-products {
    color: #888;
    font-style: italic;
    padding: 20px 0;
}

/* ── Quote modal ── */
.mep-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.mep-modal-overlay.is-open {
    display: flex;
}

body.mep-modal-open {
    overflow: hidden;
}

.mep-modal-box {
    background: #fff;
    border-radius: 12px;
    width: 100%;
    max-width: 660px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 48px 40px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.mep-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0;
    transition: background 0.15s, color 0.15s;
}

.mep-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* ── Homepage: featured products section ── */
.mep-featured-products {
    margin: 0;
}

.mep-featured-header {
    margin-bottom: 32px;
}

.mep-featured-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E07020;
    margin: 0 0 8px;
}

.mep-featured-heading {
    font-size: 36px;
    font-weight: 800;
    color: #0d1b2e;
    margin: 0;
    line-height: 1.15;
}

.mep-featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .mep-featured-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .mep-featured-grid { grid-template-columns: 1fr; }
}

/* ── Shop page template ── */
.mep-shop-page {
    padding: 48px 0 80px;
}

.mep-shop-header {
    margin-bottom: 40px;
}

.mep-shop-title {
    font-size: 36px;
    font-weight: 800;
    color: #0d1b2e;
    margin: 0 0 12px;
    line-height: 1.15;
}

.mep-shop-desc {
    font-size: 16px;
    color: #555;
    margin: 0;
    max-width: 640px;
}
