.cc-rb-launch { margin-top: 20px; padding-top: 18px; border-top: 1px solid #dce4e0; }
.cc-rb-short-description p { margin: 0 0 12px; }
.cc-rb-short-description p:last-child { margin-bottom: 0; }
.cc-rb-short-description strong { color: #303735; font-weight: 550; }
.cc-rb-short-description small { font-size: 13px; line-height: 1.5; }
.cc-rb-spec { font-size: 15px; color: #303735; margin: 0 0 16px; }
.cc-rb-spec span { display: block; font-size: 13px; color: #68716e; margin-top: 4px; }
.cc-rb-open, .cc-rb-submit { color: white; border: 0; border-radius: 6px; padding: 0 24px; height: 46px; font: 550 15px/1 var(--wp--preset--font-family--jost,sans-serif); cursor: pointer; box-shadow: none; }
.cc-rb-open { background: #2f7d71; }
.cc-rb-open:hover { background: #25665c; }
.cc-rb-open:focus-visible { outline: 2px solid #2f7d71; outline-offset: 3px; }
.cc-rb-submit { background: #c04f3d; }
.cc-rb-submit:hover { background: #a94334; }
.single-product.postid-17 .wp-block-woocommerce-product-image-gallery { width: 100%; max-width: none; aspect-ratio: 1 / 1; max-height: 680px; position: relative; top: 0; border-radius: 0; }
.single-product.postid-17 .wp-block-woocommerce-product-image-gallery :is(.woocommerce-product-gallery,.woocommerce-product-gallery__wrapper,.woocommerce-product-gallery__image,.woocommerce-product-gallery__image > a) { display: block; height: 100%; margin: 0; }
.single-product.postid-17 .wp-block-woocommerce-product-image-gallery img.wp-post-image { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
@media (min-width: 782px) {
    .single-product.postid-17 .wp-block-woocommerce-product-image-gallery { height: clamp(480px,calc(100svh - 180px),680px); aspect-ratio: auto; }
}
.cc-rb-dialog { --rb-line: #dce4e0; --rb-ink: #303735; --rb-green: #2f7d71; padding: 0; width: min(1180px,calc(100% - 48px)); height: min(940px,calc(100dvh - 40px)); max-width: none; max-height: none; margin: auto; border: 1px solid var(--rb-line); border-radius: 8px; background: white; color: var(--rb-ink); font-family: var(--wp--preset--font-family--jost,sans-serif); font-size: 15px; line-height: 1.4; letter-spacing: 0; overflow: hidden; }
.cc-rb-dialog::backdrop { background: rgb(30 41 37 / 38%); }
.cc-rb-dialog { box-sizing: border-box; overflow: clip; }
.cc-rb-dialog:not([open]) { display: none !important; }
.cc-rb-dialog *, .cc-rb-dialog *::before, .cc-rb-dialog *::after { box-sizing: border-box; }
.cc-rb-dialog [hidden] { display: none !important; }
.cc-rb-dialog p { margin: 0; }
.cc-rb-dialog p:empty { display: none; }
.cc-rb-form { height: 100%; display: flex; flex-direction: column; margin: 0; }
.cc-rb-dialog .cc-rb-form { max-height: 100%; overflow: clip; }
.cc-rb-header { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--rb-line); flex-shrink: 0; gap: 12px; }
.cc-rb-dialog h2 { font: 550 22px/1.25 var(--wp--preset--font-family--jost,sans-serif); margin: 0; letter-spacing: 0; }
.cc-rb-header > div > span { font-size: 13px; color: #68716e; }
.cc-rb-dialog h3, .cc-rb-dialog legend { font-size: 16px; font-weight: 550; line-height: 1.4; padding: 0; margin: 0 0 12px; }
.cc-rb-dialog h3 span { color: #68716e; font-weight: 400; font-size: 13px; }
.cc-rb-body { display: grid; grid-template-columns: minmax(0,1fr) minmax(400px,480px); min-height: 0; flex: 1; }
.cc-rb-preview-pane { background: #f3f6f4; display: flex; flex-direction: column; min-height: 0; align-items: center; padding: 24px; border-right: 1px solid var(--rb-line); gap: 14px; overflow: hidden; }
.cc-rb-canvas-space { flex: 1; width: 100%; min-height: 0; display: flex; align-items: center; justify-content: center; }
.cc-rb-dialog .canvas-container { background: #fafafa; box-shadow: 0 3px 18px rgb(30 41 37 / 9%); }
.cc-rb-dialog canvas { display: block; touch-action: none; }
.cc-rb-caption { font-size: 12px; color: #68716e; }
.cc-rb-controls { overflow-y: auto; overscroll-behavior: contain; padding: 24px; min-width: 0; }
.cc-rb-controls > section, .cc-rb-controls > fieldset { margin: 0 0 24px; padding: 0 0 24px; border: 0; border-bottom: 1px solid var(--rb-line); min-width: 0; }
.cc-rb-controls > section:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.cc-rb-swatches { display: grid; grid-template-columns: repeat(8,minmax(0,1fr)); gap: 8px; }
.cc-rb-swatch { display: block; background: var(--swatch); height: 34px; width: 100%; border: 1px solid rgb(0 0 0 / 18%); border-radius: 4px; padding: 0; box-shadow: none; cursor: pointer; }
.cc-rb-swatch[aria-pressed=true] { outline: 2px solid var(--rb-green); outline-offset: 2px; }
.cc-rb-color-custom { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.cc-rb-color-custom label, .cc-rb-hex { font-size: 13px; }
.cc-rb-hex { color: #68716e; font-variant-numeric: tabular-nums; }
.cc-rb-dialog input[type=color] { appearance: none; width: 42px; height: 40px; padding: 5px; border: 1px solid var(--rb-line); border-radius: 5px; background: white; cursor: pointer; }
.cc-rb-dialog input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.cc-rb-dialog input[type=color]::-webkit-color-swatch { border: 0; border-radius: 2px; }
.cc-rb-dialog .cc-rb-help { font-size: 12px; color: #68716e; margin: -6px 0 14px; }
.cc-rb-image-row { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 10px; position: relative; min-height: 42px; }
.cc-rb-image-thumb { object-fit: contain; flex: 0 0 44px; border: 1px solid var(--rb-line); border-radius: 4px; }
.cc-rb-file-label { flex: 0 0 52px; font-size: 13px; }
.cc-rb-file-name { min-width: 0; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color: #68716e; font-size: 12px; }
.cc-rb-file-input, .cc-rb-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip: rect(0,0,0,0); overflow: hidden; }
.cc-rb-upload { display: flex; justify-content: center; align-items: center; height: 40px; padding: 0 12px; border: 1px solid var(--rb-line); border-radius: 5px; cursor: pointer; font-size: 13px; font-weight: 500; white-space: nowrap; background: #fff; }
.cc-rb-icon { width: 38px; height: 38px; flex: 0 0 38px; display: inline-flex; justify-content: center; align-items: center; padding: 0; border: 0; border-radius: 5px; background: transparent; color: var(--rb-ink); cursor: pointer; }
.cc-rb-icon:hover { background: #eff4f1; }
.cc-rb-icon .dashicons { width: 20px; height: 20px; font-size: 20px; }
.cc-rb-text-block { border-top: 1px solid var(--rb-line); margin: 0; padding: 0 0 4px; }
.cc-rb-text-block summary { cursor: pointer; padding: 13px 0; font-size: 14px; font-weight: 500; list-style-position: inside; }
.cc-rb-text-summary { display: inline; padding-left: 10px; color: #68716e; font-size: 12px; font-weight: 400; overflow-wrap: anywhere; }
.cc-rb-text-block[open] { padding-bottom: 16px; }
.cc-rb-dialog textarea, .cc-rb-dialog select, .cc-rb-dialog input[type=number] { width: 100%; min-width: 0; margin: 0; border: 1px solid var(--rb-line); border-radius: 5px; background-color: white; color: var(--rb-ink); padding: 8px 10px; font: 400 16px/1.4 var(--wp--preset--font-family--jost,sans-serif); box-shadow: none; }
.cc-rb-dialog textarea { display: block; min-height: 78px; resize: vertical; }
.cc-rb-dialog select, .cc-rb-dialog input[type=number] { height: 40px; }
.cc-rb-dialog select { padding-right: 26px; }
.cc-rb-count { text-align: right; color: #68716e; font-size: 11px; margin: 4px 0 10px; }
.cc-rb-text-tools { display: grid; grid-template-columns: minmax(0,1fr) 42px 65px; gap: 10px; }
.cc-rb-text-tools label { display: block; font-size: 12px; margin-bottom: 6px; }
.cc-rb-alignment { display: flex; gap: 6px; margin-top: 10px; }
.cc-rb-alignment label { display: flex; align-items: center; justify-content: center; width: 36px; height: 34px; border: 1px solid var(--rb-line); border-radius: 4px; cursor: pointer; position: relative; }
.cc-rb-alignment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-rb-alignment label:has(:checked) { border-color: var(--rb-green); background: #edf5f1; color: var(--rb-green); }
.cc-rb-alignment .dashicons { font-size: 18px; width: 18px; height: 18px; }
.cc-rb-dialog :is(button,input,select,textarea,summary):focus-visible, .cc-rb-alignment label:has(:focus-visible), .cc-rb-file-input:focus-visible + label { outline: 2px solid var(--rb-green); outline-offset: 3px; }
.cc-rb-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--rb-line); gap: 20px; padding: 16px 24px; flex-shrink: 0; background: white; }
.cc-rb-price { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: baseline; }
.cc-rb-price span { font-size: 13px; }
.cc-rb-price output { font-size: 28px; color: var(--rb-green); line-height: 1.2; font-weight: 500; font-variant-numeric: tabular-nums; }
.cc-rb-price small { font-size: 12px; color: #68716e; grid-column: 1/-1; }
.cc-rb-purchase { display: flex; align-items: end; gap: 12px; }
.cc-rb-purchase label { display: block; font-size: 12px; margin-bottom: 5px; }
.cc-rb-purchase input { max-width: 84px; }
.cc-rb-dialog .cc-rb-submit { height: 40px; min-width: 170px; }
.cc-rb-submit[aria-disabled=true] { opacity: .65; cursor: wait; }
.cc-rb-error { color: #a32b22; font-size: 14px; border-left: 3px solid #c04f3d; background: #fff5f2; padding: 10px 12px; margin-bottom: 18px; }
.cc-rb-mobile-tabs { display: none; }
.cc-eb-dialog .cc-rb-swatches { grid-template-columns: repeat(6,minmax(0,1fr)); }
.cc-eb-choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.cc-eb-hem .cc-eb-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.cc-eb-choice { position: relative; display: flex; flex-direction: column; gap: 3px; min-width: 0; min-height: 94px; padding: 11px 10px; border: 1px solid var(--rb-line); border-radius: 5px; cursor: pointer; overflow-wrap: anywhere; }
.cc-eb-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-eb-choice:has(:checked) { border-color: var(--rb-green); box-shadow: inset 0 0 0 1px var(--rb-green); background: #eff6f3; }
.cc-eb-choice:has(:focus-visible) { outline: 2px solid var(--rb-green); outline-offset: 2px; }
.cc-eb-choice-title { font-size: 14px; font-weight: 500; }
.cc-eb-choice-note { font-size: 12px; color: #68716e; }
.cc-eb-choice-price { font-size: 12px; color: #68716e; margin-top: auto; }
.cc-eb-dialog .cc-eb-choice-price .woocommerce-Price-amount { font: inherit !important; color: inherit !important; }
.cc-eb-contact-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.cc-eb-contact label { display: block; margin-bottom: 6px; font-size: 13px; }
.cc-eb-contact input { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--rb-line); border-radius: 5px; background: white; color: var(--rb-ink); font: inherit; font-size: 16px; padding: 8px 10px; }
.cc-eb-dialog .cc-rb-price output { min-width: 110px; }
body:has(.cc-rb-dialog[open]) { overflow: hidden; }
@media (max-width: 760px) {
    .cc-rb-dialog { width: 100%; height: 100dvh; border: 0; border-radius: 0; }
    .cc-rb-header { padding: 14px 18px; }
    .cc-rb-dialog h2 { font-size: 20px; }
    .cc-rb-mobile-tabs { display: flex; gap: 0; padding: 0 18px; border-bottom: 1px solid var(--rb-line); flex-shrink: 0; }
    .cc-rb-mobile-tabs button { flex: 1; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: white; color: #68716e; height: 42px; font: inherit; cursor: pointer; }
    .cc-rb-mobile-tabs button[aria-selected=true] { color: var(--rb-green); border-bottom-color: var(--rb-green); }
    .cc-rb-body { display: flex; }
    .cc-rb-controls { padding: 20px 18px; width: 100%; }
    .cc-rb-preview-pane { width: 100%; padding: 18px; border: 0; }
    .cc-rb-dialog[data-view=design] .cc-rb-preview-pane, .cc-rb-dialog[data-view=preview] .cc-rb-controls { display: none; }
    .cc-rb-footer { padding: 12px 18px max(12px,env(safe-area-inset-bottom)); align-items: end; gap: 12px; }
    .cc-rb-price { display: block; }
    .cc-rb-price span, .cc-rb-price small { display: block; font-size: 11px; }
    .cc-rb-price output { font-size: 24px; }
    .cc-rb-purchase { gap: 8px; }
    .cc-rb-purchase input { max-width: 60px; }
    .cc-rb-dialog .cc-rb-submit { min-width: 0; padding: 0 14px; font-size: 14px; }
    .cc-rb-swatches { gap: 8px; grid-template-columns: repeat(6,minmax(0,1fr)); }
    .cc-rb-image-row { gap: 8px; flex-wrap: wrap; }
    .cc-rb-image-row:has(img:not([hidden])) .cc-rb-file-label { display: none; }
    .cc-rb-file-name { flex-basis: 50px; }
    .cc-eb-choice-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .cc-eb-contact-grid { grid-template-columns: minmax(0,1fr); }
    .cc-eb-dialog .cc-rb-header h2 { font-size: 18px; }
}
@media (max-width: 380px) {
    .cc-rb-footer { flex-wrap: wrap; gap: 10px; }
    .cc-rb-price { display: grid; }
    .cc-rb-purchase { width: 100%; }
    .cc-rb-purchase > p { flex: 1; }
    .cc-rb-dialog .cc-rb-submit { width: 100%; }
}
