/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Oct 23 2025 | 06:19:06 */
.container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
        margin: 0 auto;
        background-color: #fafafa;
        padding: 24px;
    }

    /* Key fix: make all blocks the same height */
    .block {
        display: flex;
        flex-direction: column;
        /* Stack image + text vertically */
        justify-content: space-between;
        /* Push bottom content down */
        background-color: #ffffff;
        border: solid 1px black;
        border-radius: 8px;
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        height: 100%;
        position: relative;
        /* Make height uniform inside grid */
    }

    .block:hover {
        transform: translateY(-5px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    }

    .image {
        width: 100%;
        height: max(300px, 30vh);
        height: 300px !important;
        object-fit: cover;
        border-bottom: 1px solid #eee;
    }

    .text {
        font-size: 15px;
        color: #222;
        line-height: 1.6;
        padding: 16px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    a {
        color: #0078d4;
        text-decoration: none;
        font-weight: 500;
    }

    a:hover {
        text-decoration: underline;
    }

    .red {
        color: red;

    }

    .shopName {
        font-size: 2rem;
        font-weight: 500;
    }

    .shopName:hover {
        color: #0d47a1;
        text-decoration: underline;
    }

    .shopName:active {
        color: #002171;
        transform: translateY(1px);
    }

    .saleTag {
        position: absolute;
        bottom: 10%;
        right: -5%;
        background-color: red;
        color: white;
        font-weight: bold;
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        transform: rotate(-10deg);
        z-index: 10;
    }

    .saleTag2 {
        position: absolute;
        bottom: 5%;
        left: -5%;
        background-color: #FFD700;
        color: #000;
        font-weight: bold;
        padding: 8px 12px;
        font-size: 14px;
        border-radius: 4px 4px 0 4px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        transform: rotate(15deg);
        z-index: 10;
    }

    .saleTag2::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border-width: 6px 6px 0 6px;
        border-style: solid;
        border-color: #FFD700 transparent transparent transparent;
    }

    .saleTag3 {
        position: absolute;
        bottom: 5%;
        left: -5%;
        background-color: #FFD700;
        color: #000;
        font-weight: bold;
        font-size: 12px;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
        transform: rotate(-15deg);
        z-index: 10;
        text-align: center;
    }

    @media (max-width: 700px) {
        .container {
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            padding: 12px;
        }

        .block {
            margin-bottom: 12px;
        }

        .shopName {
            font-size: 1.5rem;
        }
    }