:root {
    --primary-rgb: 233, 172, 100;
    --bg-primary: #fefbf7;
    --surface-primary: #fbeee0;
    --subtle-primary: #f7e2c9;
    --border-primary: #f4d6b2;
    --muted-primary: #f2cda2;
    --base-primary: #e9ac64;
    --primary-rgb: 233, 172, 100;
    --hover-primary: #c69255;
    --text-primary: #af814b;
    --active-primary: #977041;
    --heading-primary: #755632;
    --dark-primary: #523c23;
    --secondary-rgb: 100, 161, 233;
    --bg-secondary: #f7fafe;
    --surface-secondary: #e0ecfb;
    --subtle-secondary: #c9def7;
    --border-secondary: #b2d0f4;
    --muted-secondary: #a2c7f2;
    --base-secondary: #64a1e9;
    --secondary-rgb: 100, 161, 233;
    --hover-secondary: #5589c6;
    --text-secondary: #4b79af;
    --active-secondary: #416997;
    --heading-secondary: #325175;
    --dark-secondary: #233852;
    --tertiary-rgb: 100, 233, 172;
    --bg-tertiary: #f7fefb;
    --surface-tertiary: #e0fbee;
    --subtle-tertiary: #c9f7e2;
    --border-tertiary: #b2f4d6;
    --muted-tertiary: #a2f2cd;
    --base-tertiary: #64e9ac;
    --tertiary-rgb: 100, 233, 172;
    --hover-tertiary: #55c692;
    --text-tertiary: #4baf81;
    --active-tertiary: #419770;
    --heading-tertiary: #327556;
    --dark-tertiary: #23523c;
    --accent-rgb: 12, 14, 23;
    --bg-accent: #f3f3f3;
    --surface-accent: #cecfd1;
    --subtle-accent: #aaabae;
    --border-accent: #86878b;
    --muted-accent: #6d6e74;
    --base-accent: #0c0e17;
    --accent-rgb: 12, 14, 23;
    --hover-accent: #0a0c14;
    --text-accent: #090b11;
    --active-accent: #08090f;
    --heading-accent: #06070c;
    --dark-accent: #040508;
    --neutral-rgb: 172, 175, 185;
    --bg-neutral: #f4f5f5;
    --surface-neutral: #ecedee;
    --subtle-neutral: #dfdfe2;
    --border-neutral: #cecfd4;
    --muted-neutral: #bebfc6;
    --base-neutral: #acafb9;
    --neutral-rgb: 172, 175, 185;
    --hover-neutral: #858899;
    --text-neutral: #606476;
    --active-neutral: #3f4250;
    --heading-neutral: #1e2029;
    --dark-neutral: #0f1015;
    --base-white: #FFFFFF;
    --white-rgb: 255, 255, 255;
    --white-rgb: 255, 255, 255;
    --base-black: #000000;
    --black-rgb: 0, 0, 0;
    --black-rgb: 0, 0, 0;

    /* Alpha Color Variables */
    --primary-10: rgba(var(--primary-rgb), 0.10);
    --primary-20: rgba(var(--primary-rgb), 0.20);
    --primary-30: rgba(var(--primary-rgb), 0.30);
    --primary-40: rgba(var(--primary-rgb), 0.40);
    --primary-50: rgba(var(--primary-rgb), 0.50);
    --primary-60: rgba(var(--primary-rgb), 0.60);
    --primary-70: rgba(var(--primary-rgb), 0.70);
    --primary-80: rgba(var(--primary-rgb), 0.80);
    --primary-90: rgba(var(--primary-rgb), 0.90);
    --secondary-10: rgba(var(--secondary-rgb), 0.10);
    --secondary-20: rgba(var(--secondary-rgb), 0.20);
    --secondary-30: rgba(var(--secondary-rgb), 0.30);
    --secondary-40: rgba(var(--secondary-rgb), 0.40);
    --secondary-50: rgba(var(--secondary-rgb), 0.50);
    --secondary-60: rgba(var(--secondary-rgb), 0.60);
    --secondary-70: rgba(var(--secondary-rgb), 0.70);
    --secondary-80: rgba(var(--secondary-rgb), 0.80);
    --secondary-90: rgba(var(--secondary-rgb), 0.90);
    --tertiary-10: rgba(var(--tertiary-rgb), 0.10);
    --tertiary-20: rgba(var(--tertiary-rgb), 0.20);
    --tertiary-30: rgba(var(--tertiary-rgb), 0.30);
    --tertiary-40: rgba(var(--tertiary-rgb), 0.40);
    --tertiary-50: rgba(var(--tertiary-rgb), 0.50);
    --tertiary-60: rgba(var(--tertiary-rgb), 0.60);
    --tertiary-70: rgba(var(--tertiary-rgb), 0.70);
    --tertiary-80: rgba(var(--tertiary-rgb), 0.80);
    --tertiary-90: rgba(var(--tertiary-rgb), 0.90);
    --accent-10: rgba(var(--accent-rgb), 0.10);
    --accent-20: rgba(var(--accent-rgb), 0.20);
    --accent-30: rgba(var(--accent-rgb), 0.30);
    --accent-40: rgba(var(--accent-rgb), 0.40);
    --accent-50: rgba(var(--accent-rgb), 0.50);
    --accent-60: rgba(var(--accent-rgb), 0.60);
    --accent-70: rgba(var(--accent-rgb), 0.70);
    --accent-80: rgba(var(--accent-rgb), 0.80);
    --accent-90: rgba(var(--accent-rgb), 0.90);
    --neutral-10: rgba(var(--neutral-rgb), 0.10);
    --neutral-20: rgba(var(--neutral-rgb), 0.20);
    --neutral-30: rgba(var(--neutral-rgb), 0.30);
    --neutral-40: rgba(var(--neutral-rgb), 0.40);
    --neutral-50: rgba(var(--neutral-rgb), 0.50);
    --neutral-60: rgba(var(--neutral-rgb), 0.60);
    --neutral-70: rgba(var(--neutral-rgb), 0.70);
    --neutral-80: rgba(var(--neutral-rgb), 0.80);
    --neutral-90: rgba(var(--neutral-rgb), 0.90);
    --white-10: rgba(var(--white-rgb), 0.10);
    --white-20: rgba(var(--white-rgb), 0.20);
    --white-30: rgba(var(--white-rgb), 0.30);
    --white-40: rgba(var(--white-rgb), 0.40);
    --white-50: rgba(var(--white-rgb), 0.50);
    --white-60: rgba(var(--white-rgb), 0.60);
    --white-70: rgba(var(--white-rgb), 0.70);
    --white-80: rgba(var(--white-rgb), 0.80);
    --white-90: rgba(var(--white-rgb), 0.90);
    --black-10: rgba(var(--black-rgb), 0.10);
    --black-20: rgba(var(--black-rgb), 0.20);
    --black-30: rgba(var(--black-rgb), 0.30);
    --black-40: rgba(var(--black-rgb), 0.40);
    --black-50: rgba(var(--black-rgb), 0.50);
    --black-60: rgba(var(--black-rgb), 0.60);
    --black-70: rgba(var(--black-rgb), 0.70);
    --black-80: rgba(var(--black-rgb), 0.80);
    --black-90: rgba(var(--black-rgb), 0.90);

    /* Fluid Spacing Variables */
    --s1: clamp(4px, calc(0.125rem + ((1vw - 3.6px) * 0.1852)), 4px);
    --s2: clamp(8px, calc(0.25rem + ((1vw - 3.6px) * 0.3704)), 8px);
    --s3: clamp(8px, calc(0.375rem + ((1vw - 3.6px) * 0.5556)), 12px);
    --s4: clamp(10px, calc(0.5rem + ((1vw - 3.6px) * 0.7407)), 16px);
    --s5: clamp(12px, calc(0.625rem + ((1vw - 3.6px) * 0.9259)), 20px);
    --s6: clamp(14px, calc(0.75rem + ((1vw - 3.6px) * 1.1111)), 24px);
    --s7: clamp(14px, calc(0.875rem + ((1vw - 3.6px) * 1.2963)), 28px);
    --s8: clamp(16px, calc(1rem + ((1vw - 3.6px) * 1.4815)), 32px);
    --s9: clamp(18px, calc(1.125rem + ((1vw - 3.6px) * 1.6667)), 36px);
    --s10: clamp(20px, calc(1.25rem + ((1vw - 3.6px) * 1.8519)), 40px);
    --s12: clamp(24px, calc(1.5rem + ((1vw - 3.6px) * 2.2222)), 48px);
    --s14: clamp(28px, calc(1.75rem + ((1vw - 3.6px) * 2.5926)), 56px);
    --s16: clamp(32px, calc(2rem + ((1vw - 3.6px) * 2.963)), 64px);
    --s20: clamp(40px, calc(2.5rem + ((1vw - 3.6px) * 3.7037)), 80px);
    --s24: clamp(48px, calc(3rem + ((1vw - 3.6px) * 4.4444)), 96px);
    --s28: clamp(56px, calc(3.5rem + ((1vw - 3.6px) * 5.1852)), 112px);
    --s32: clamp(64px, calc(4rem + ((1vw - 3.6px) * 5.9259)), 128px);
    --s36: clamp(72px, calc(4.5rem + ((1vw - 3.6px) * 6.6667)), 144px);
    --s40: clamp(80px, calc(5rem + ((1vw - 3.6px) * 7.4074)), 160px);
    --s44: clamp(88px, calc(5.5rem + ((1vw - 3.6px) * 8.1491)), 176px);
    --s48: clamp(96px, calc(6rem + ((1vw - 3.6px) * 9.2593)), 192px);
    --s56: clamp(112px, calc(7rem + ((1vw - 3.6px) * 11.029)), 224px);
    --s64: clamp(128px, calc(8rem + ((1vw - 3.6px) * 12.5926)), 256px);
    --s72: clamp(144px, calc(9rem + ((1vw - 3.6px) * 14.1491)), 288px);
    --ss-none: 0px;
    --ss-xxs: clamp(10px, calc(0.625rem + ((1vw - 3.6px) * 0.9259)), 20px);
    --ss-xs: clamp(20px, calc(1.25rem + ((1vw - 3.6px) * 1.8519)), 40px);
    --ss-sm: clamp(32px, calc(2rem + ((1vw - 3.6px) * 2.963)), 64px);
    --ss-md: clamp(40px, calc(2.5rem + ((1vw - 3.6px) * 3.7037)), 80px);
    --ss-lg: clamp(64px, calc(4rem + ((1vw - 3.6px) * 5.9259)), 128px);
    --ss-xl: clamp(80px, calc(5rem + ((1vw - 3.6px) * 7.4074)), 160px);
    --ss-xxl: clamp(128px, calc(8rem + ((1vw - 3.6px) * 11.852)), 256px);

    /* Tailwind Border Radius Variables */
    --radius-sm: 0.125rem;
    --radius-md: 0.25rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.5rem;
    --radius-full: 9999px;
}

/* Alt-Shade Class - Flipped Color Variable Overrides */
.alt-shade, .alt-shade-hover:hover {
    --bg-primary: #523c23;
    --dark-primary: #fefbf7;
    --surface-primary: #755632;
    --heading-primary: #fbeee0;
    --subtle-primary: #977041;
    --active-primary: #f7e2c9;
    --border-primary: #af814b;
    --text-primary: #f4d6b2;
    --muted-primary: #c69255;
    --hover-primary: #f2cda2;
    --base-primary: #e9ac64;
    --bg-secondary: #233852;
    --dark-secondary: #f7fafe;
    --surface-secondary: #325175;
    --heading-secondary: #e0ecfb;
    --subtle-secondary: #416997;
    --active-secondary: #c9def7;
    --border-secondary: #4b79af;
    --text-secondary: #b2d0f4;
    --muted-secondary: #5589c6;
    --hover-secondary: #a2c7f2;
    --base-secondary: #64a1e9;
    --bg-tertiary: #23523c;
    --dark-tertiary: #f7fefb;
    --surface-tertiary: #327556;
    --heading-tertiary: #e0fbee;
    --subtle-tertiary: #419770;
    --active-tertiary: #c9f7e2;
    --border-tertiary: #4baf81;
    --text-tertiary: #b2f4d6;
    --muted-tertiary: #55c692;
    --hover-tertiary: #a2f2cd;
    --base-tertiary: #64e9ac;
    --bg-accent: #040508;
    --dark-accent: #f3f3f3;
    --surface-accent: #06070c;
    --heading-accent: #cecfd1;
    --subtle-accent: #08090f;
    --active-accent: #aaabae;
    --border-accent: #090b11;
    --text-accent: #86878b;
    --muted-accent: #0a0c14;
    --hover-accent: #6d6e74;
    --base-accent: #0c0e17;
    --bg-neutral: #0f1015;
    --dark-neutral: #f4f5f5;
    --surface-neutral: #1e2029;
    --heading-neutral: #ecedee;
    --subtle-neutral: #3f4250;
    --active-neutral: #dfdfe2;
    --border-neutral: #606476;
    --text-neutral: #cecfd4;
    --muted-neutral: #858899;
    --hover-neutral: #bebfc6;
    --base-neutral: #acafb9;
    --base-white: #000000;
    --white-rgb: 0, 0, 0;
    --base-black: #FFFFFF;
    --black-rgb: 255, 255, 255;
}

/* Nested Alt-Shade Class - Double Inversion Returns to Original */
.alt-shade .alt-shade, .alt-shade-hover:hover .alt-shade-hover {
    --bg-primary: #fefbf7;
    --dark-primary: #523c23;
    --surface-primary: #fbeee0;
    --heading-primary: #755632;
    --subtle-primary: #f7e2c9;
    --active-primary: #977041;
    --border-primary: #f4d6b2;
    --text-primary: #af814b;
    --muted-primary: #f2cda2;
    --hover-primary: #c69255;
    --base-primary: #e9ac64;
    --bg-secondary: #f7fafe;
    --dark-secondary: #233852;
    --surface-secondary: #e0ecfb;
    --heading-secondary: #325175;
    --subtle-secondary: #c9def7;
    --active-secondary: #416997;
    --border-secondary: #b2d0f4;
    --text-secondary: #4b79af;
    --muted-secondary: #a2c7f2;
    --hover-secondary: #5589c6;
    --base-secondary: #64a1e9;
    --bg-tertiary: #f7fefb;
    --dark-tertiary: #23523c;
    --surface-tertiary: #e0fbee;
    --heading-tertiary: #327556;
    --subtle-tertiary: #c9f7e2;
    --active-tertiary: #419770;
    --border-tertiary: #b2f4d6;
    --text-tertiary: #4baf81;
    --muted-tertiary: #a2f2cd;
    --hover-tertiary: #55c692;
    --base-tertiary: #64e9ac;
    --bg-accent: #f3f3f3;
    --dark-accent: #040508;
    --surface-accent: #cecfd1;
    --heading-accent: #06070c;
    --subtle-accent: #aaabae;
    --active-accent: #08090f;
    --border-accent: #86878b;
    --text-accent: #090b11;
    --muted-accent: #6d6e74;
    --hover-accent: #0a0c14;
    --base-accent: #0c0e17;
    --bg-neutral: #f4f5f5;
    --dark-neutral: #0f1015;
    --surface-neutral: #ecedee;
    --heading-neutral: #1e2029;
    --subtle-neutral: #dfdfe2;
    --active-neutral: #3f4250;
    --border-neutral: #cecfd4;
    --text-neutral: #606476;
    --muted-neutral: #bebfc6;
    --hover-neutral: #858899;
    --base-neutral: #acafb9;
    --base-white: #FFFFFF;
    --white-rgb: 255, 255, 255;
    --base-black: #000000;
    --black-rgb: 0, 0, 0;
}

/* Color panel css */

/* Color Panel Styles */
.color-panel-slider {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 999999;
    overflow-y: auto;
    transition: right 0.3s ease;
}

.color-panel-slider.open {
    right: 0;
}

.color-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.color-panel-overlay.open {
    opacity: 1;
    visibility: visible;
}

.color-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid var(--subtle-neutral);
}

.color-panel-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.color-panel-close {
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.color-panel-close svg {
    width: 100%;
    height: 100%;
    fill: var(--muted-neutral);
}

.color-panel-content {
    padding: 20px;
}

.color-panel-section {
    margin-bottom: 25px;
    border-radius: 4px;
    overflow: hidden;
}

.color-panel-section .breakmade-heading {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 600;
    color: var(--heading-neutral);
}

.color-panel-section .breakmade-description {
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text-neutral);
    font-weight: 500;
}

.color-panel-section .color-title {
    margin: 0;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--text-neutral);
}

.color-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: var(--surface-neutral);
    cursor: pointer;
}

.color-section-content {
    padding: 15px;
    display: none;
}

.color-section-content.open {
    display: block;
}

.show {
    display: block !important;
}

.color-swatch {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.color-swatch:hover {
    background-color: var(--subtle-neutral);
}

.color-swatch-preview {
    width: 30px;
    height: 30px;
    border-radius: 4px;
    margin-right: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.color-swatch-name {
    font-weight: 500;
    margin-right: 10px;
}

.color-swatch-value {
    color: var(--muted-neutral);
    font-size: 12px;
    font-family: monospace;
    margin-left: auto;
}

.color-swatch-alias {
    color: var(--muted-neutral);
    font-size: 11px;
    margin-left: 10px;
}

.color-picker-container {
    display: none;
    margin-top: 5px;
    margin-bottom: 15px;
    padding-left: 45px;
}

.color-picker-container.open {
    display: block;
}

.breakmade-color-picker {
    width: 100%;
    padding: 8px;
    border: 1px solid var(--border-neutral);
    border-radius: 4px;
    margin-bottom: 15px;
}

.breakmade-generate-button {
    display: inline-block;
    background-color: var(--bg-primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.breakmade-generate-button:hover {
    background-color: var(--hover-primary);
}

.breakmade-save-button {
    display: inline-block;
    background-color: var(--bg-tertiary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 10px 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-left: 10px;
}

.breakmade-save-button:hover {
    background-color: var(--hover-tertiary);
}

/* Enhanced Color Picker Styles */
.breakmade-color-picker-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

.breakmade-color-field {
    display: flex;
    align-items: center;
    background-color: var(--subtle-neutral);
    border: 1px solid var(--border-neutral);
    border-radius: 6px;
    padding: 8px 12px;
    flex: 1;
    transition: border-color 0.2s ease;
    cursor: pointer;
}

.breakmade-color-field:hover {
    border-color: var(--muted-neutral);
}

.breakmade-color-preview {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.breakmade-color-input {
    position: absolute;
    opacity: 0;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.breakmade-color-preview input[type="color"] {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 34px;
    height: 34px;
    border: none;
    opacity: 0;
    cursor: pointer;
}

.breakmade-color-value {
    font-family: monospace;
    font-size: 14px;
    color: var(--text-neutral);
    flex: 1;
}

.breakmade-icon-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background-color: var(--base-primary);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.breakmade-icon-button:hover {
    background-color: var(--hover-primary);
}

.breakmade-icon-button:active {
    transform: scale(0.95);
}

.breakmade-icon-button svg {
    width: 20px;
    height: 20px;
    fill: white;
}

/* Notification container */
.breakmade-notifications-container {
    margin-top: 15px;
}

/* Update notification styles */
.breakmade-notification {
    padding: 12px 15px;
    margin: 10px 0;
    border-radius: 6px;
    display: none;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.breakmade-notification.success {
    background-color: var(--subtle-tertiary);
    color: var(--text-tertiary);
    border: 1px solid var(--border-tertiary);
}

.breakmade-notification.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Main color picker container */
.color-main-picker-container {
    display: none;
    padding: 15px;
    background-color: var(--subtle-neutral);
    border-top: 1px solid var(--border-neutral);
    border-bottom: 1px solid var(--border-neutral);
}

.color-main-picker-container.open {
    display: block;
}

/* Adjust the color section content to not have top padding when picker is open */
.color-main-picker-container.open + .color-section-content.open {
    padding-top: 0;
}

.breakmade-color-panel-closed {
    transform: translateX(100%); /* Move it off-screen */
    opacity: 0;
    pointer-events: none; /* Prevent interaction while closed */
}

.breakmade-spacing-popup {
    position: fixed;
    z-index: 999999;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.15);
    width: 480px;
}

.breakmade-spacing-popup-header {
    background: #f5f5f5;
    padding: 8px 12px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    font-size: 13px;
}

.breakmade-spacing-popup-body {
    max-height: 480px;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.breakmade-spacing-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 2px;
    margin-right: 2px;
    font-size: 12px;
    background-color: #f5f5f5;
    transition: background-color 0.2s ease;
    text-align: center;
    justify-content: center;
    color: #666;
}

.breakmade-spacing-button:hover {
    background-color: #ccc;
}

.breakmade-spacing-option {
    text-align: center;
    margin-bottom: 10px;
    width: 42px;
}

.breakmade-spacing-var {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #666;
}


.breakmade-section-spacing-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 2px;
    margin-right: 2px;
    font-size: 12px;
    background-color: #f5f5f5;
    transition: background-color 0.2s ease;
    text-align: center;
    justify-content: center;
    color: #666;
}

.breakmade-section-spacing-button:hover {
    background-color: #ccc;
}

.breakmade-section-spacing-option {
    text-align: center;
    margin-bottom: 10px;
    width: 42px;
}

.breakmade-section-spacing-var {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    color: #666;
}

.breakmade-spacing-label {
    font-family: monospace;
    font-size: 11px;
    text-align: center;
}

.breakmade-color-popup-header, .breakmade-spacing-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid var(--subtle-neutral);
}

.breakmade-color-popup-header .breakmade-branding, .breakmade-spacing-popup-header .breakmade-branding {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-neutral);
}

.breakmade-color-popup-header svg, .breakmade-spacing-popup-header svg {
    width: 12px;
    height: 12px;
    margin-bottom: -1px;
    color: #999;
    fill: #999;
}

.breakmade-color-popup-header .breakmade-branding, .breakmade-spacing-popup-header .breakmade-branding {
    cursor: pointer;
    margin-left: 0px;
    color: #999;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: auto;
    letter-spacing: 0.5px;
    font-size: 12px;
    transition: color 0.2s ease;
}

.breakmade-color-popup-header .breakmade-branding:hover, .breakmade-spacing-popup-header .breakmade-branding:hover {
    color: #333;
}


/* ================================================ */
/* FRONTEND CSS for BreakMade */
/* ================================================ */

/* Section Spacing Variables */
:root {
    --margin-sections: 60px;
    --section-width: 1440px;
}

@media screen and (max-width: 1440px) {
    :root {
        --margin-sections: 23px;
        --section-width: 1366px;
    }
}
/* Color picker css */

.sp-container {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	z-index: 99999999!important;
	overflow: hidden;
}
.sp-original-input-container {
	position: relative;
	display: inline-flex;
}
.sp-original-input-container input {
	margin: 0 !important;
}
.sp-original-input-container .sp-add-on {
	width: 40px;
	border-top-right-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
}
input.spectrum.with-add-on {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-left: 0;
}
.sp-original-input-container .sp-add-on .sp-colorize {
	height: 100%;
	width: 100%;
	border-radius: inherit;
}
.sp-colorize-container {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-container.sp-flat {
	position: relative;
}
.sp-container,
.sp-container * {
	-webkit-box-sizing: content-box;
	-moz-box-sizing: content-box;
	box-sizing: content-box;
}
.sp-top {
	position: relative;
	width: 100%;
	display: inline-block;
}
.sp-top-inner {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.sp-color {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 20px !important;
}
.sp-hue {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 12px;
	height: 100%;
	left: initial !important;
}
.sp-clear-enabled .sp-hue {
	top: 15%;
	height: 85%;
}
.sp-fill {
	padding-top: 80%;
}
.sp-sat,
.sp-val {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}
.sp-alpha-enabled .sp-top {
	margin-bottom: 28px !important;
}
.sp-alpha-enabled .sp-alpha {
	display: block;
}
.sp-alpha-handle {
	position: absolute;
	top: -3px;
	cursor: pointer;
	height: 16px;
	border-radius: 50%;
	width: 16px;
	margin-right: 5px;
	left: -2px;
	right: 0;
	background: #f9f9f9;
	box-shadow: 0 0 2px 0 #3a3a3a;
}
.sp-alpha {
	display: none;
	position: absolute;
	bottom: -18px;
	right: 0;
	left: 0;
	height: 10px;
}
.sp-alpha-inner {
	border-radius: 4px;
}
.sp-clear {
	display: none;
}
.sp-clear.sp-clear-display {
	background-position: center;
}
.sp-clear-enabled .sp-clear {
	display: block;
	position: absolute;
	top: 3px;
	right: 0;
	bottom: 0;
	cursor: pointer;
	left: initial;
	height: 12px;
	width: 12px;
}
.sp-alpha,
.sp-alpha-handle,
.sp-clear,
.sp-container,
.sp-container button,
.sp-container.sp-dragging .sp-input,
.sp-dragger,
.sp-preview,
.sp-replacer,
.sp-slider {
	-webkit-user-select: none;
	-moz-user-select: -moz-none;
	-o-user-select: none;
	user-select: none;
}
.sp-container.sp-input-disabled .sp-input-container {
	display: none;
}
.sp-container.sp-buttons-disabled .sp-button-container {
	display: none;
}
.sp-container.sp-palette-buttons-disabled .sp-palette-button-container {
	display: none;
}
.sp-palette-only .sp-picker-container {
	display: none;
}
.sp-palette-disabled .sp-palette-container {
	display: none;
}
.sp-initial-disabled .sp-initial {
	display: none;
}
.sp-sat {
	background-image: -webkit-gradient(
		linear,
		0 0,
		100% 0,
		from(#fff),
		to(rgba(204, 154, 129, 0))
	);
	background-image: -webkit-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
	background-image: -moz-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
	background-image: -o-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
	background-image: -ms-linear-gradient(left, #fff, rgba(204, 154, 129, 0));
	background-image: linear-gradient(to right, #fff, rgba(204, 154, 129, 0));
}
.sp-val {
	border-radius: 4px;
	background-image: -webkit-gradient(
		linear,
		0 100%,
		0 0,
		from(#000),
		to(rgba(204, 154, 129, 0))
	);
	background-image: -webkit-linear-gradient(
		bottom,
		#000,
		rgba(204, 154, 129, 0)
	);
	background-image: -moz-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
	background-image: -o-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
	background-image: -ms-linear-gradient(bottom, #000, rgba(204, 154, 129, 0));
	background-image: linear-gradient(to top, #000, rgba(204, 154, 129, 0));
}
.sp-hue {
	background: -moz-linear-gradient(
		top,
		red 0,
		#ff0 17%,
		#0f0 33%,
		#0ff 50%,
		#00f 67%,
		#f0f 83%,
		red 100%
	);
	background: -ms-linear-gradient(
		top,
		red 0,
		#ff0 17%,
		#0f0 33%,
		#0ff 50%,
		#00f 67%,
		#f0f 83%,
		red 100%
	);
	background: -o-linear-gradient(
		top,
		red 0,
		#ff0 17%,
		#0f0 33%,
		#0ff 50%,
		#00f 67%,
		#f0f 83%,
		red 100%
	);
	background: -webkit-gradient(
		linear,
		left top,
		left bottom,
		from(red),
		color-stop(0.17, #ff0),
		color-stop(0.33, #0f0),
		color-stop(0.5, #0ff),
		color-stop(0.67, #00f),
		color-stop(0.83, #f0f),
		to(red)
	);
	background: -webkit-linear-gradient(
		top,
		red 0,
		#ff0 17%,
		#0f0 33%,
		#0ff 50%,
		#00f 67%,
		#f0f 83%,
		red 100%
	);
	background: linear-gradient(
		to bottom,
		red 0,
		#ff0 17%,
		#0f0 33%,
		#0ff 50%,
		#00f 67%,
		#f0f 83%,
		red 100%
	);
}
.sp-1 {
	height: 17%;
}
.sp-2 {
	height: 16%;
}
.sp-3 {
	height: 17%;
}
.sp-4 {
	height: 17%;
}
.sp-5 {
	height: 16%;
}
.sp-6 {
	height: 17%;
}
.sp-hidden {
	display: none !important;
}
.sp-cf:after,
.sp-cf:before {
	content: "";
	display: table;
}
.sp-cf:after {
	clear: both;
}
@media (max-device-width: 480px) {
	.sp-color {
		right: 40%;
	}
	.sp-hue {
		left: 63%;
	}
	.sp-fill {
		padding-top: 60%;
	}
}
.sp-dragger {
	border-radius: 5px;
	height: 10px;
	width: 10px;
	border: 1px solid #fff;
	cursor: pointer;
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 3px;
	margin-top: 3px;
	box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
}
.sp-slider {
	position: absolute;
	top: 0;
	cursor: pointer;
	height: 16px;
	border-radius: 50%;
	width: 16px;
	left: -2px;
	background: #f9f9f9;
	box-shadow: 0 0 2px 0 #3a3a3a;
	margin-top: 8px;
}
.sp-container {
	display: inline-flex;
	border-radius: 0;
	background-color: #fff;
	padding: 0;
	border-radius: 4px;
	color: #000;
	box-shadow: 0 0 0 1px rgba(99, 114, 130, 0.16),
		0 8px 16px rgba(27, 39, 51, 0.08);
    z-index: 99999999!important;
}

.sp-clear,
.sp-color,
.sp-container,
.sp-container button,
.sp-container input,
.sp-hue {
	font-size: 12px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
.sp-top {
	margin-bottom: 10px;
}
.sp-clear,
.sp-color,
.sp-hue,
.sp-sat,
.sp-val {
	border-radius: 3px;
}
.sp-input-container {
	margin-top: -5px;
}
.sp-button-container.sp-cf,
.sp-initial.sp-thumb.sp-cf,
.sp-input-container.sp-cf {
	height: 25px;
}
.sp-picker-container .sp-cf {
	margin-bottom: 10px;
}
.sp-palette-row-initial > span:first-child {
	cursor: pointer;
}
.sp-initial-disabled .sp-input-container {
	width: 100%;
}
.sp-input {
	padding: 0 5px !important;
	margin: 0;
	width: 100%;
	box-shadow: none !important;
	height: 100% !important;
	background: 0 0;
	color: #3a3a3a;
	border-radius: 2px !important;
	border: 1px solid #e0e0e0 !important;
	text-align: center;
	font-family: monospace;
	font-size: inherit !important;
}
.sp-input:focus {
	border: 1px solid orange;
}
.sp-input.sp-validation-error {
	border: 1px solid red;
	background: #fdd;
}
.sp-palette-container,
.sp-picker-container {
	position: relative;
	padding: 10px;
}
.sp-picker-container {
	width: 200px;
	padding-bottom: 0;
}
.sp-palette-container {
	border-right: solid 1px #ccc;
}
.sp-palette-only .sp-palette-container {
	border: 0;
}
.sp-palette .sp-thumb-el {
	display: block;
	position: relative;
	float: left;
	width: 24px;
	height: 15px;
	margin: 3px;
	cursor: pointer;
	border: solid 2px transparent;
}
.sp-palette .sp-thumb-el.sp-thumb-active,
.sp-palette .sp-thumb-el:hover {
	border-color: orange;
}
.sp-thumb-el {
	position: relative;
}
.sp-initial {
	float: left;
}
.sp-initial span {
	width: 30px;
	height: 25px;
	border: none;
	display: block;
	float: left;
	margin: 0;
}
.sp-initial .spe-thumb-el.sp-thumb-active {
	border-radius: 0 5px 5px 0;
}
.sp-initial .spe-thumb-el {
	border-radius: 5px 0 0 5px;
}
.sp-initial .sp-clear-display {
	background-position: center;
}
.sp-button-container {
	float: right;
}
.sp-palette-button-container {
	margin-top: 10px;
}
.sp-replacer {
	position: relative;
	overflow: hidden;
	cursor: pointer;
	display: inline-block;
	border-radius: 3px;
	border: 1px solid #aaa;
	color: #666;
	transition: border-color 0.3s;
	vertical-align: middle;
	width: 3rem;
	height: 1.5rem;
}
.sp-replacer.sp-active,
.sp-replacer:hover {
	border: 1px solid #666;
	color: #000;
}
.sp-replacer.sp-disabled {
	cursor: default;
	border-color: silver;
	color: silver;
}
.sp-dd {
	position: absolute;
	font-size: 10px;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 0 2px;
	line-height: 1.6rem;
	background-color: #fff;
}
.sp-preview {
	position: relative;
	width: 100%;
	height: 100%;
	float: left;
	z-index: 0;
}
.sp-preview-inner {
	transition: background-color 0.2s;
}
.sp-preview-inner.sp-clear-display {
	display: none;
}
.sp-palette .sp-thumb-el {
	width: 16px;
	height: 16px;
	margin: 3px;
	border: none;
	border-radius: 3px;
}
.sp-container button {
	border-radius: 3px;
	border: none;
	background: 0 0;
	line-height: 1;
	padding: 0 8px;
	height: 25px;
	text-transform: capitalize;
	text-align: center;
	vertical-align: middle;
	cursor: pointer;
	color: #606c72;
	font-weight: 700;
}
.sp-container button.sp-choose {
	background-color: #3cab3b;
	color: #fff;
	margin-left: 5px;
}
.sp-container button:hover {
	opacity: 0.8;
}
.sp-container button.sp-palette-toggle {
	width: 100%;
	background-color: #f3f3f3;
	margin: 0;
}
.sp-palette span.sp-thumb-active,
.sp-palette span:hover {
	border-color: #000;
}
.sp-alpha,
.sp-preview,
.sp-thumb-el {
	position: relative;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}
.sp-alpha-inner,
.sp-preview-inner,
.sp-thumb-inner {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
}
.sp-palette .sp-thumb-inner {
	border-radius: 3px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}
.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=);
}
.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner {
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=);
}
.sp-clear-display {
	background-repeat: no-repeat;
	background-position: center;
	background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAABe0lEQVQokYXSsUtcQRTF4d8Jj+VhHSxkEQuLsEUKK0nhTBFTmLSSUhBCMCAWsmgIwWrBLk0akfwLCaSQKBJmtrIIISwpRFKIhViETScphGMzysMtvOVwvpm5d0bGNCuGWAOPgYdl6S8wSDn9b+bUhDHEKWAdeAFMANg+l/TV9ofcz6cjMIbYBvaBMds7QCqZ58CmpBNgPuV0DvAAIMyFGugWtJr7eTv38xEwkPRPErY7QDeG2LqFkjrAgu0dSd/KDVqSNmxvAZ8lfbS9AHRuYemnLWkv5XRVBrQMbAI/gTXgEzAJtJuwBVS2L2OIle03QA/4Lmkl5XQBXEqqbFcAVYFDYChpFngiqWf7l6TXKaezMt2Zkhk24THwG+jZriX9AFZvUAyxLbRke2D75O5zPAO+ADXwEtizjaRHwDvbTyUtppwOmicCHAJvbXcl9YA1SQDjtseA97YPRz7ATcUQp2y/kjRdevsjaTfldNrMjcDGBjXA3T96L7yvrgFzP69+0Ao/HAAAAABJRU5ErkJggg==);
}

.is-small-text{font-size:.875em}.is-regular-text{font-size:1em}.is-large-text{font-size:2.25em}.is-larger-text{font-size:3em}.has-drop-cap:not(:focus):first-letter{float:left;font-size:8.4em;font-style:normal;font-weight:100;line-height:.68;margin:.05em .1em 0 0;text-transform:uppercase}body.rtl .has-drop-cap:not(:focus):first-letter{float:none;margin-left:.1em}p.has-drop-cap.has-background{overflow:hidden}:root :where(p.has-background){padding:1.25em 2.375em}:where(p.has-text-color:not(.has-link-color)) a{color:inherit}p.has-text-align-left[style*="writing-mode:vertical-lr"],p.has-text-align-right[style*="writing-mode:vertical-rl"]{rotate:180deg}
