/* =========================================
   MERCH PRODUCT CARD
========================================= */

.merch-card {
    display: flex;
    flex-direction: column;

    height: 100%;

    background: #fff;

    border: 1px solid #e5e7eb;

    border-radius: 14px;

    overflow: hidden;

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.merch-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 8px 24px rgba(0,0,0,0.08);
}

/* =========================================
   IMAGE
========================================= */

.merch-card-image-wrapper {
    position: relative;

    width: 100%;
    height: 260px;

    overflow: hidden;

    background: #f5f5f5;
}

.merch-card-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.25s ease;
}

.merch-card:hover .merch-card-image {
    transform: scale(1.04);
}

/* =========================================
   BODY
========================================= */

.merch-card-body {
    display: flex;
    flex-direction: column;

    gap: 1rem;

    padding: 1rem;
}

/* =========================================
   TITLE
========================================= */

.merch-card-title {
    font-size: 1rem;
    font-weight: 700;

    margin-bottom: 0.35rem;
}

.merch-card-price {
    font-size: 0.95rem;
    font-weight: 600;

    color: #111;
}

/* =========================================
   LOCATION BLOCK
========================================= */

.merch-location-block {
    padding-top: 1rem;

    border-top: 1px solid #f1f1f1;
}

/* =========================================
   VARIANT GRID
========================================= */
.merch-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, 240px);

    gap: 16px;

    align-items: start;

    justify-content: start;
}
.merch-variant-grid {
    display: flex;

    flex-wrap: wrap;

    gap: 0.5rem;
}

/* =========================================
   VARIANT PILL
========================================= */

.merch-variant-pill {
    min-width: 90px;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    padding: 0.55rem;

    background: #fafafa;
}

.merch-variant-title {
    font-size: 0.75rem;
    font-weight: 700;
}

.merch-variant-details {
    font-size: 0.68rem;

    color: #777;

    margin-top: 0.15rem;
}
/* =========================================
   DETAILS BLOCK
========================================= */

.merch-location-block {
    border-top: 1px solid #f1f1f1;

    padding-top: 0.75rem;
}

/* =========================================
   SUMMARY BUTTON
========================================= */

.merch-location-summary {
    list-style: none;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0.5rem 0.75rem;

    border-radius: 10px;

    background: #f8f8f8;

    transition: background 0.15s ease;
}

.merch-location-summary:hover {
    background: #efefef;
}

/* Remove default arrow */

.merch-location-summary::-webkit-details-marker {
    display: none;
}

/* =========================================
   CUSTOM CHEVRON
========================================= */

.merch-location-summary::after {
    content: "+";

    font-weight: 700;

    color: #666;

    margin-left: auto;
}

details[open] .merch-location-summary::after {
    content: "−";
}

/* =========================================
   COLLAPSE BODY
========================================= */

.merch-variant-collapse {
    padding-top: 0.75rem;
}