.srcreator-designer { margin: 14px 0; }

/* Single prominent CTA at the top of the product info column. Matches the site's
   buttons (green #78B045, square corners, bold) but with WHITE text so it reads
   as distinct from the black-text "Add to cart". */
.srcreator-designer-cta { margin: 4px 0 18px; }

.srcreator-designer__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #78B045;
    color: #fff;
    border: 0;
    border-radius: 0;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    cursor: pointer;
    transition: background .15s ease;
}
.srcreator-designer__btn:hover { background: #66992f; color: #fff; }
.srcreator-designer__btn:focus-visible { outline: 2px solid #1c211a; outline-offset: 2px; }
.srcreator-designer__btn:disabled { opacity: .55; cursor: default; }

.srcreator-designer__ic { width: 20px; height: 20px; flex: 0 0 auto; }

.srcreator-designer__msg { margin: 8px 0 0; font-size: 13px; color: #b4482e; font-weight: 600; }

.srcreator-designer__modal {
    position: fixed;
    inset: 0;
    z-index: 2147483000; /* above the sticky site header */
    display: flex;
    align-items: center;
    justify-content: center;
}
/* The HTML `hidden` attribute must win over the display above, otherwise the
   modal shows on page load ("del tirón"). Keep these [hidden] guards. */
.srcreator-designer__modal[hidden],
.srcreator-designer__loading[hidden] {
    display: none !important;
}
.srcreator-designer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
}
.srcreator-designer__dialog {
    position: relative;
    background: #fff;
    border-radius: 10px;
    width: min(1500px, 98vw);
    height: 95vh;
    max-height: 95vh;
    overflow: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .3);
}
.srcreator-designer__x {
    position: absolute;
    top: 6px;
    right: 12px;
    z-index: 2;
    background: transparent;
    border: 0;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
    color: #333;
}
.srcreator-designer__loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 15px;
}
.srcreator-designer__iframe {
    display: block;
    width: 100%;
    min-height: 70vh;
    border: 0;
}
body.srcreator-designer-open { overflow: hidden; }
