#min-order-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#min-order-container #min-order-text {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 5px;
}
#min-order-container p {
    font-size: 10px;    
}

#pop-types-container {
    display: flex;
    flex-direction: column;
}
#pop-types-container .primary-link {
    width: 100%;
}

.pop-type {
    display: flex;
    flex-direction: column;
    
    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 25px;
    overflow: hidden;
}
.pop-type p {
    color: var(--text-muted);
}
.pop-type span {
    color: var(--primary);
}

.pop-content {
    padding: 20px;
    padding-top: 0;
}

.pop-type .primary-link {
    width: calc(100% - 40px);
}

.title-price-container {
    margin: 10px 0 0 0;
}
.title-price-container h2 {
    margin: 0;
    font-family: "poppins", sans-serif;
    font-weight: 500;
    font-size: 22px;
}
.title-price-container p {
    margin: 0;
}

.pop-price {
    font-size: 24px;
    font-weight: 500;

    margin: 0 5px;
}

#img-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    grid-template-rows: 1fr 1fr;
    width: 100%;
    height: 300px;
    gap: 5px;

    overflow: hidden;
}
#img-grid .img-cell {
    overflow: hidden;
}
#img-grid .img-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.img-cell.small {
    grid-column: span 1;
}
.img-cell.big {
    grid-column: span 2;
}
.img-cell:last-child img {
    transform: scale(1.8);
    transform-origin: center top;
}

.start-prices {
    text-align: center;
    color: var(--text-muted);
    margin-top: 0;
}

#make-your-own {
    margin: 0;
    padding: 20px;
    background-color: var(--pink-bg);
}
#make-your-own h2 {
    margin: 15px 0;
}

.numbered-list {
    list-style: none;
    padding: 0;
    counter-reset: step;
}
.numbered-list > li {
    position: relative;
    display: flex;
    flex-direction: column;

    padding-left: 42px;

    counter-increment: step;

    display: flex;
    align-items: start;
}
.numbered-list > li::before {
    position: absolute;
    top: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: center;
    content: counter(step, decimal-leading-zero);

    border: 1px solid var(--pink-on-pink);
    border-radius: 50%;

    margin-top: 5px;
    margin-right: 10px;

    aspect-ratio: 1 / 1;
    width: 30px;

    font-family: "poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
}
#make-your-own .numbered-list h3 {
    font-family: "poppins", sans-serif;
    font-weight: 600;
    font-size: 18px;

    margin: 10px 0 10px 0;
}

input[name="cake-type"] {
    /* hides it without removing from focus */
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
}
input[name="cake-type"]:focus-visible + label {
    outline: 2px solid var(--heading-accent);
    outline-offset: 3px;
}
input[name="cake-type"]:checked + label {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--surface);
}
.label-btn {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 10px;

    background-color: var(--surface);
    color: var(--text-muted);

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
    cursor: pointer;
}

.input-container {
    display: flex;
    gap: 10px;
}

#cake-flavour {
    border: 1px solid var(--border);
    border-radius: 5px;
    padding: 10px;

    font-size: 14px;

    background-color: var(--surface);
    color: var(--text-muted);
}

#coating {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

input[name="coating"] {
    position: relative;
    appearance: none;
    width: 20px;
    height: 20px;

    background-color: var(--surface);
    border: 1px solid var(--border);
    border-radius: 50%;
}
input[name="coating"]:checked {
    background-color: var(--surface);
    border-color: var(--primary);
}
input[name="coating"]:checked::after {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    content: "";

    width: 15px;
    height: 15px;

    background-color: var(--primary);
    border-radius: 50%;
}
#coating label {
    font-size: 14px;
    margin-left: 10px;
}
#coating .input-container {
    display: flex;
    flex-direction: row;
    align-items: center;
}

#extra-info {
    width: calc(100% - 20px);
    height: 50px;
    font-family: "poppins", sans-serif;

    padding: 10px;
    font-size: 14px;

    border: 1px solid var(--border);
    border-radius: 5px;
    resize: none;
}

.display-container .img-holder {
    height: 330px;
    border-radius: 10px;
}

#steps-section .eyebrow {
    margin: 0;
    margin-top: 40px;
}
#steps-section h3 {
    margin: 20px 0;
}
#steps-section hr {
    background-color: var(--border);
    border: none;

    width: 100%;
    height: 1px;
}
#steps-section .purple-title {
    color: var(--heading-accent);
    font-weight: 600;
    font-size: 16px;
}
#steps-section .title {
    font-family: "poppins", sans-serif;
    font-size: 20px;
    font-weight: 600;

    margin: 10px 0;
}

#steps-container {
    display: flex;
    flex-direction: column;
}

#enquire-my-pop {
    margin-top: 20px;
}

#your-celebration {
    margin-top: 80px;
    padding: 30px 20px;
    background-color: var(--pink-bg);

    border-radius: 10px;
}
#your-celebration .primary-link {
    text-wrap: nowrap;
}
#your-celebration h2 {
    margin: 0;
}
#your-celebration p {
    margin-bottom: 30px;
}

.main-title {
    font-size: 2.2rem;
}

@media (min-width: 768px) {
    #pop-types-container {
        display: flex;
        flex-direction: row;
        gap: 40px;
    }
    #pop-types-container .pop-type {
        flex: 1;
    }
    .pop-type .img-holder {
        height: 350px;
    }

    #img-grid {
        height: 350px;
        margin-top: 0;
    }
    
    #min-order-container {
        justify-content: center;
        gap: 10px;
    }
    #min-order-container #min-order-text {
        padding: 5px 10px;
    }
    #min-order-container p {
        font-size: 14px;    
    }

    .pop-price {
        font-size: 32px;
    }

    .start-prices {
        margin-bottom: 80px;
    }

    #make-your-own {
        display: grid;
        grid-template-columns: 1.1fr .9fr;
        padding: 40px clamp(20px, 8vw, 150px);

        column-gap: 40px;
    }

    .numbered-list h3 {
        margin: 0;
        /* line-height: 2rem; */
    }

    .display-container {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
    }
    .display-container .img-holder {
        flex: 1;
        height: auto;
        position: relative;
    }
    .display-container .img-holder img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    #steps-section .main-title {
        margin: 10px 0;
    }

    #steps-container {
        flex-direction: row;
        gap: 20px;
    }
    #steps-container h3 {
        margin: 0;
        /* line-height: 2rem; */
    }
    #steps-container > div {
        display: flex;
        flex-direction: column;
        flex: 1;

        height: 220px;
    }
    #steps-container > div .muted-text {
        margin-bottom: auto;
    }
    #steps-container .purple-title {
        margin-bottom: 0;
    }
    #steps-container .title {
        margin-bottom: 0;
    }

    #enquire-my-pop {
        width: 350px;
    }  

    #your-celebration {
        display: flex;
        justify-content: space-between;
        align-items: center;

        padding: 40px;
    }
    #your-celebration h2 {
        font-size: 2.8rem;
    }
    #your-celebration a {
        height: fit-content;
    }
    #your-celebration p {
        margin-bottom: 0;
    }
}