.pmx-products-wrapper {
    width: 1400px;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.pmx-section-heading#pmx-collection-title {
    font-family: var(--main-font);
    color: #ffffff;
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pmx-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.pmx-card {
    position: relative;
    background: #000000;
    border: 1.5px solid #242424;
    border-radius: 20px;
    padding: 0; 
    display: flex;
    flex-direction: column;
    overflow: hidden; 
    transition: border-color 0.3s ease, background 0.3s ease;
}

.pmx-card:hover {
    border-color: #ccf95f;
    background: #0a0a0a;
    box-shadow: 0 0 20px rgba(204, 249, 95, 0.2);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.pmx-card-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: block;
}

/* 1. IMAGE WITH ASPECT RATIO */
.pmx-image {
    width: 100%;
    background: #000;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* This ensures the box stays a consistent shape */
    aspect-ratio: 4 / 3; 
    overflow: hidden;
}

.pmx-image img {
    width: 100%;
    height: 100%;
    /* 'contain' ensures the whole shoe is visible regardless of its original size */
    object-fit: contain; 
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.6));
}

.pmx-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.pmx-title {
    font-family: var(--main-font);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.2;
}

.pmx-title a {
    color: #ffffff;
    text-decoration: none;
    pointer-events: none;
}

.pmx-cat {
    margin-bottom: 15px;
}

.pmx-cat a {
    font-family: var(--main-font);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    background: #1a1a1a;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    pointer-events: none;
}

/* 2. PRICE STACK (No margins) */
.pmx-price-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left;
}

.pmx-price-reg {
    display: block !important;
    position: relative;
    margin-bottom: 2px;
}

.pmx-price-reg .woocommerce-Price-amount {
    font-family: var(--main-font);
    font-size: 25px;
    color: #888888 !important;
    font-weight: var(--fw-medium) !important;
}

.pmx-price-reg .strike-wrap {
    position: relative;
    display: inline-block;
}

.pmx-price-reg .strike-wrap::after {
    content: "";
    position: absolute;
    left: -5%;
    top: 50%;
    width: 110%;
    height: 3px;
    background: #ccf95f;
    transform: rotate(-4deg);
    border-radius: 10px;
}

.pmx-price-sale .woocommerce-Price-amount {
    font-family: var(--main-font);
    font-size: 32px;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1;
}

.pmx-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 15px 0;
}

.pmx-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.pmx-spec {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-family: var(--main-font);
    font-size: 14px;
    color: #cccccc;
}

.pmx-icon {
    width: 6px;
    height: 6px;
    background-color: #ccf95f;
    border-radius: 50%;
    box-shadow: 0 0 5px #ccf95f;
}

.pmx-unlock-footer {
    display: flex;
    gap: 10px;
    margin-top: auto;
    color: #ccf95f;
    font-family: var(--main-font);
    font-size: 13px;
    font-weight: var(--fw-semibold);
    line-height: 1.3;
}

@media (max-width: 768px) {
    .pmx-grid { grid-template-columns: 1fr; }
    .pmx-price-sale .woocommerce-Price-amount { font-size: 38px !important; }
    .pmx-section-heading#pmx-collection-title { font-size: 32px; }
    .pmx-image { aspect-ratio: 1 / 1; } /* Squarer on mobile if desired */
}