.frame-container {
    --border-height: 10px;
    --frame-width: 50px;
    --frame-height: 30px;
    --container-size: 350px;
    --content-area-width: calc(var(--container-size) - ((var(--container-size) - var(--frame-width)) / 2 + var(--border-height)) * 2 + 5px);
    --content-area-height: calc(var(--container-size) - ((var(--container-size) - var(--frame-height)) / 2 + var(--border-height)) * 2 + 5px);

    position: relative;
    width: var(--container-size) !important;
    height: var(--container-size) !important;
    aspect-ratio: calc(var(--frame-width) / var(--frame-height));
    width: 100%;
    height: auto;
    position: relative;
    max-width: 100%;
    max-height: 100%;
}

.frame-container .frame-top,
.frame-container .frame-bottom,
.frame-container .frame-left,
.frame-container .frame-right {
    position: absolute;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

.frame-container .frame-top {
    top: calc((var(--container-size) - var(--frame-height)) / 2);
    left: 50%;
    right: 0;
    height: var(--border-height) !important;
    clip-path: polygon(0% 0%, 100% 0%, calc(100% - var(--border-height)) 100%, var(--border-height) 100%);
    width: var(--frame-width);
    transform: translateX(-50%);
}

.frame-container .frame-bottom {
    bottom: calc((var(--container-size) - var(--frame-height)) / 2);
    left: 50%;
    right: 0;
    height: var(--border-height) !important;
    clip-path: polygon(var(--border-height) 0%, calc(100% - var(--border-height)) 0%, 100% 100%, 0% 100%);
    width: var(--frame-width);
    transform: translateX(-50%);
}

.frame-container .frame-left {
    top: 50%;
    transform: translateY(-50%);
    left: calc((var(--container-size) - var(--frame-width)) / 2);
    bottom: 0;
    width: var(--border-height);
    clip-path: polygon(100% calc(var(--border-height) - 1px), 100% calc(100% - var(--border-height) + 1px), 0% 100%, 0% 0%);
    height: var(--frame-height) !important;
}

.frame-container .frame-right {
    top: 50%;
    transform: translateY(-50%);
    right: calc((var(--container-size) - var(--frame-width)) / 2);
    bottom: 0;
    width: var(--border-height);
    clip-path: polygon(0% calc(var(--border-height) - 1px), 100% 0%, 100% 100%, 0% calc(100% - var(--border-height) + 1px));
    height: var(--frame-height) !important;
}

.frame-container .content-area {
    width: var(--content-area-width) !important;
    height: var(--content-area-height) !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}


.frame-container .content-area img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center;
    transition: opacity 0.4s ease-in-out;
}

.set-canvases {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    gap: 10px;
    transition: opacity 0.3s ease;
}

.woo-single-gallery .set-canvases {
    height: 100% !important;
}

.minimog-size-guide #variationImages {
    opacity: 1;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.minimog-size-guide .set-canvases {
    position: relative;
    bottom: 30%;
}

.set-canvases.quad-square {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

}

.set-canvases.quad-square .frame-container .frame-container-1 {
    align-self: end;
    justify-self: end;
}

.set-canvases.quad-square .frame-container .frame-container-2 {
    align-self: end;
    justify-self: start;
}

.set-canvases.quad-square .frame-container .frame-container-3 {
    align-self: start;
    justify-self: end;
}

.set-canvases.quad-square .frame-container .frame-container-4 {
    align-self: start;
    justify-self: start;
}

.frame-measure-label {
    display: none;
    color: #333;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
}

.frame-measure-label.horizontal {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 72%;
}

.frame-measure-label.vertical {
    position: absolute;
    top: 50%;
    left: 78%;
    transform: translateY(-50%) rotate(90deg);
}

.frame-measure-label::before,
.frame-measure-label::after {
    content: '';
    flex: 1 1;
    border-bottom: 1px solid;
    margin: auto;
}

.frame-measure-label::before {
    margin-right: 10px;
}

.frame-measure-label::after {
    margin-left: 10px;
}

/* ADD below your current CSS */
.frame-measure-label {
    /* space for arrows */
    padding-left: 14px;
    padding-right: 14px;

    /* arrows as tiny SVGs */
    background:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><polygon fill='%23333' points='10,0 0,5 10,10'/></svg>") no-repeat left 6px center,
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><polygon fill='%23333' points='0,0 10,5 0,10'/></svg>") no-repeat right 6px center;
    background-size: 10px 10px, 10px 10px;
}


/* media */
@media (max-width: 425px) {
    .minimog-size-guide .set-canvases {
        bottom: 20%;
        gap: 5px;
    }
}

/* .box-shadow-test {
    width: 98%;
    height: calc(var(--frame-height) - 5px);
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
} */