/*
 * public/print/home/service-tiles.css
 * "Ready in 48 hours" tiles. Phone: two columns. Desktop: the label on top, Custom Clothing
 * tall on the left right under it, the other tiles 2 by 2, and Special Request wide below.
 */

.mm-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mm-tiles-label {
    grid-column: 1 / -1;
    margin: 0 0 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 22px;
    line-height: 1.1;
}

.mm-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 12px;
    min-height: 140px;
    border: var(--border);
    border-radius: var(--card-radius);
    background: var(--c-paper);
    color: var(--c-ink);
    text-decoration: none;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.mm-tile:hover,
.mm-tile:focus-visible {
    transform: translateY(-3px);
    background: var(--c-cream);
}

.mm-tile-icon {
    width: 56px;
}

.mm-tile-icon svg {
    width: 100%;
    height: auto;
    display: block;
}

.mm-tile-name {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}

.mm-tile--special-request {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .mm-tiles {
        grid-template-columns: repeat(3, 1fr);
        grid-template-areas:
            "label   label    label"
            "clothing design   stickers"
            "clothing hats     hardware"
            "clothing special  special";
        gap: 16px;
    }

    .mm-tiles-label { grid-area: label; font-size: 30px; margin-bottom: 0; }
    .mm-tile { min-height: 170px; }
    .mm-tile--special-request { grid-area: special; }
    .mm-tile--design { grid-area: design; }
    .mm-tile--stickers { grid-area: stickers; }
    .mm-tile--hats { grid-area: hats; }
    .mm-tile--hardware { grid-area: hardware; }
    .mm-tile--clothing { grid-area: clothing; }
    .mm-tile--clothing .mm-tile-icon { width: 84px; }
    .mm-tile-icon { width: 64px; }
    .mm-tile-name { font-size: 15px; }
}
