/**
 * Widget Creator Universal Layout – All static styling migrated here
 * Version: 1.0.376 (2026-05-17 – Fixed wce-no-horizontal-padding cascade + Phase 17/5/1 complete)
 * Last modified: 2026-05-17
 */
.wce-universal-layout {
    --wce-desktop: 1280px;
    --wce-tablet: 1024px;
    --wce-mobile: 767px;
}

/* ==========================================
   NEW SEMANTIC LAYOUT CLASSES (Phase 15/5/1)
   ========================================== */
.wce-split-col {
    flex: 1 1 50%;
    min-width: 0;
    box-sizing: border-box;
}

.wce-col-pad {
    padding: 24px;
}

@media (max-width: 1024px) {
    .wce-col-pad {
        padding: 20px;
    }
}

@media (max-width: 767px) {
    .wce-col-pad {
        padding: 16px;
    }
}

/* ==========================================
   EXISTING STYLES (unchanged)
   ========================================== */
.wce-universal-layout .wce-image-left-split,
.wce-universal-layout .wce-below-split {
    display: flex !important;
    flex-direction: column !important;
}

@media (min-width: 768px) {
    .wce-universal-layout .wce-image-left-split,
    .wce-universal-layout .wce-below-split {
        flex-direction: row !important;
    }
}

.wce-image-left-split__image-column,
.wce-image-left-split__right-column,
.wce-below-split > div {
    flex: 1;
}

.wce-image-left-split__image-column {
    aspect-ratio: 1 / 1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 1rem;
}

.wce-product-image {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block;
}

.wce-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 1.25rem 0 0.5rem;
    width: 100%;
}

.wce-buttons-group .wce-button {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   PRODUCT NUMBER STYLES
   ========================================== */
.wce-product-number {
    display: inline-block;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 400;
    line-height: 1;
}

.wce-product-number--filled {
    font-size: 3rem;
    background: #000000;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border: none;
}

/* ==========================================
   PADDING SYSTEM
   ========================================== */
.wce-box-pad {
    padding: 24px;
}

.wce-content-wrapper {
    padding: 0;
}

.wce-below-single {
    padding-top: 24px;
}

/* ==========================================
   DISABLE HORIZONTAL PADDING (Phase 17/5/1)
   ========================================== */
/* Applied when "Remove side padding" is checked in Step 2 for single-box / split-box */
.wce-no-horizontal-padding {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Ensure inner columns also lose horizontal padding (split-box + single-box + image split right column) */
.wce-no-horizontal-padding .wce-col-pad,
.wce-no-horizontal-padding .wce-content-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
}