/* RPC Frontend styles — namespaced .rpc- only */
.rpc-options-wrapper { margin: 16px 0 24px; padding: 16px; border: 1px solid #e5e5e5; border-radius: 4px; background: #fff; }
.rpc-group { margin-bottom: 18px; }
.rpc-group + .rpc-group { padding-top: 14px; border-top: 1px dashed #e5e5e5; }
.rpc-group-title { font-size: 15px; margin: 0 0 10px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: #111; }
.rpc-group-description { color: #666; font-size: 13px; margin-bottom: 10px; }

.rpc-field { margin-bottom: 14px; }
.rpc-field .rpc-label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 13px; color: #222; }
.rpc-field .rpc-required { color: #d32f2f; margin-left: 2px; }
.rpc-field .rpc-selected-value { font-weight: 400; color: #555; margin-left: 2px; }
.rpc-field .rpc-info-icon { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font-size: 11px; font-weight: 400; color: #666; text-decoration: none; border-bottom: 1px dotted #999; }
.rpc-field .rpc-info-icon:hover { color: #111; border-bottom-color: #111; }
.rpc-field .rpc-description { color: #666; font-size: 12px; margin: 2px 0 6px; }

.rpc-field .rpc-input,
.rpc-field input.rpc-text,
.rpc-field input.rpc-number,
.rpc-field textarea.rpc-textarea,
.rpc-field select.rpc-select { width: 100%; padding: 8px 10px; border: 1px solid #d0d0d0; border-radius: 2px; box-sizing: border-box; font-size: 14px; background: #fff; }
.rpc-field .rpc-charcount { float: right; color: #888; font-size: 11px; margin-top: 2px; }

/* === Pill-button rendering for radios / checkboxes / swatches === */
.rpc-field-radio .rpc-radio-group,
.rpc-field-checkbox .rpc-checkbox-group,
.rpc-swatches { display: flex; flex-wrap: wrap; gap: 6px; }

.rpc-radio-option,
.rpc-checkbox-option,
.rpc-swatch {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 8px 14px; min-height: 36px;
	border: 1px solid #222; border-radius: 2px; cursor: pointer;
	background: #fff; color: #111;
	font-size: 13px; font-weight: 500; line-height: 1.2;
	gap: 6px; transition: background .12s, color .12s, border-color .12s;
	box-shadow: none; min-width: auto;
}
.rpc-radio-option:hover,
.rpc-checkbox-option:hover,
.rpc-swatch:hover { background: #f3f3f3; }

/* Selected (modern browsers) */
.rpc-radio-option:has(input:checked),
.rpc-checkbox-option:has(input:checked),
.rpc-swatch:has(input:checked),
.rpc-radio-option.is-active,
.rpc-checkbox-option.is-active,
.rpc-swatch.is-active { background: #111; color: #fff; border-color: #111; }
.rpc-radio-option:has(input:checked) .rpc-price-mod,
.rpc-checkbox-option:has(input:checked) .rpc-price-mod,
.rpc-radio-option.is-active .rpc-price-mod,
.rpc-checkbox-option.is-active .rpc-price-mod { color: #ffd; }

/* Hide native radio/checkbox circles */
.rpc-radio-option > input[type=radio],
.rpc-checkbox-option > input[type=checkbox],
.rpc-swatch > input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; margin: 0; }

/* Swatch image-mode: when image present, show stacked layout */
.rpc-swatch.has-image { flex-direction: column; padding: 4px; min-width: 70px; }
.rpc-swatch.has-image img { width: 56px; height: 56px; object-fit: contain; background: #f3f3f3; border-radius: 2px; display: block; }
.rpc-swatch.has-image .rpc-swatch-label { font-size: 12px; margin-top: 4px; }
/* Hide empty placeholder when no image */
.rpc-swatch:not(.has-image) .rpc-swatch-placeholder,
.rpc-swatch .rpc-swatch-placeholder:empty { display: none; }

.rpc-price-mod { color: #d32f2f; font-size: 12px; font-weight: 500; }

.rpc-file-wrap { display: flex; flex-direction: column; gap: 6px; }
.rpc-file-status { font-size: 12px; color: #444; }
.rpc-file-progress { width: 100%; background: #eee; height: 6px; border-radius: 3px; overflow: hidden; }
.rpc-file-bar { height: 100%; width: 0%; background: #111; transition: width .15s ease; }
.rpc-file-preview img { max-width: 120px; max-height: 120px; margin-top: 6px; border: 1px solid #ddd; border-radius: 2px; }

/* Footer message */
.rpc-price-summary {
	margin-top: 16px; padding: 10px 12px;
	background: #f7f7f7; border: 1px solid #e5e5e5; border-radius: 2px;
	font-size: 13px; color: #555;
	display: flex; align-items: center; justify-content: space-between;
}
.rpc-price-summary.rpc-has-modifier { background: #eaf7ee; border-color: #cfe9d6; color: #1b6b34; font-weight: 600; }
.rpc-price-summary .rpc-price-summary-value { display: none; } /* legacy WC total slot — hidden, value still injected for AJAX consumers */

.rpc-error { color: #d32f2f; font-size: 12px; margin-top: 4px; }
.rpc-field.rpc-hidden { display: none !important; }

/* Inline price suffix on labels (for text/textarea/file fields with pricing rules) */
.rpc-field .rpc-label-price { color: #d32f2f; font-weight: 500; font-size: 12px; margin-left: 4px; }

/* Custom file upload button */
.rpc-file-button {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 8px 14px; min-height: 36px;
	border: 1px dashed #888; border-radius: 2px; cursor: pointer;
	background: #fafafa; color: #222;
	font-size: 13px; font-weight: 500; line-height: 1.2;
	width: max-content;
}
.rpc-file-button:hover { background: #efefef; border-color: #222; }
.rpc-file-button-icon { font-weight: 700; font-size: 15px; line-height: 1; }

/* Option C: RPC fields below product summary (full-width, two-column) */
.rpc-fields-section {
	clear: both;
	max-width: 1200px;
	margin: 40px auto;
	padding: 24px;
	background: #f9f9f9;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	box-sizing: border-box;
}
.rpc-fields-section .rpc-fields-section-title {
	margin: 0 0 18px;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	color: #111;
	border-bottom: 2px solid #111;
	padding-bottom: 10px;
}
.rpc-fields-section .rpc-options-wrapper {
	margin: 0; padding: 0; border: 0; background: transparent;
}
@media (min-width: 900px) {
	.rpc-fields-section .rpc-group {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px 24px;
	}
	.rpc-fields-section .rpc-group .rpc-group-title,
	.rpc-fields-section .rpc-group .rpc-group-description,
	.rpc-fields-section .rpc-group .rpc-field-textarea,
	.rpc-fields-section .rpc-group .rpc-field-file,
	.rpc-fields-section .rpc-group .rpc-price-summary { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
	.rpc-radio-option, .rpc-checkbox-option, .rpc-swatch { flex: 1 1 calc(50% - 6px); }
	.rpc-swatch.has-image { flex: 0 0 auto; }
}

/* [GALLERY-GRID 2026-05-05] Convert WC gallery thumbs to fansidea-style grid below main image */
@media (min-width: 768px) {
    .single-product .woocommerce-product-gallery .flex-control-thumbs {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 8px !important;
        padding: 12px 0 0 !important;
        list-style: none !important;
        margin: 0 !important;
    }
    .single-product .woocommerce-product-gallery .flex-control-thumbs li {
        margin: 0 !important;
        width: 100% !important;
    }
    .single-product .woocommerce-product-gallery .flex-control-thumbs li img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: cover !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 4px !important;
        cursor: pointer !important;
        transition: border-color 0.2s !important;
    }
    .single-product .woocommerce-product-gallery .flex-control-thumbs li img:hover,
    .single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
        border-color: #111 !important;
        border-width: 2px !important;
    }
}


/* ============================================================
 * v1.0.8 — Multi-logo, upload preview, info blocks, modal
 * ============================================================ */

/* Pill-group X clear button */
.rpc-pill-clear {
	display: inline-flex; align-items: center; justify-content: center;
	width: 28px; height: 28px; min-height: 28px;
	padding: 0; margin-left: 4px;
	border: 1px solid #ccc; border-radius: 50%;
	background: #f5f5f5; color: #666;
	font-size: 16px; line-height: 1; cursor: pointer;
	transition: background .12s, color .12s, border-color .12s;
	align-self: center;
}
.rpc-pill-clear:hover { background: #e0e0e0; color: #111; border-color: #999; }

/* Add More LOGO button */
.rpc-add-logo-btn {
	display: inline-flex; align-items: center; justify-content: center;
	margin: 8px 0 14px;
	padding: 10px 18px; min-height: 40px;
	border: 1px dashed #111; border-radius: 2px;
	background: #fff; color: #111;
	font-size: 13px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase;
	cursor: pointer;
	transition: background .12s, color .12s;
}
.rpc-add-logo-btn:hover { background: #111; color: #fff; }
.rpc-add-logo-btn.rpc-disabled,
.rpc-add-logo-btn:disabled { opacity: .5; cursor: not-allowed; background: #fff; color: #111; }

/* Cloned logo block container */
.rpc-logo-block {
	margin: 12px 0 14px;
	padding: 12px 14px;
	background: #fafafa;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
}
.rpc-logo-block .rpc-field { margin-bottom: 10px; }
.rpc-logo-block .rpc-field:last-child { margin-bottom: 0; }
.rpc-logo-block-head {
	display: flex; align-items: center; justify-content: space-between;
	margin-bottom: 8px; padding-bottom: 6px;
	border-bottom: 1px dashed #d5d5d5;
}
.rpc-logo-block-title {
	font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #333;
}
.rpc-logo-remove {
	display: inline-flex; align-items: center; justify-content: center;
	width: 24px; height: 24px; padding: 0;
	border: 1px solid #ccc; border-radius: 50%;
	background: #fff; color: #666;
	font-size: 14px; line-height: 1; cursor: pointer;
}
.rpc-logo-remove:hover { background: #d32f2f; color: #fff; border-color: #d32f2f; }

/* Upload preview card */
.rpc-upload-preview-card {
	display: flex; align-items: flex-start; gap: 10px;
	margin-top: 6px;
}
.rpc-upload-preview-thumb {
	display: block; width: 80px; height: 80px;
	border: 1px solid #ddd; border-radius: 3px;
	background: #f3f3f3; overflow: hidden;
	transition: border-color .15s, opacity .15s;
}
.rpc-upload-preview-thumb:hover { border-color: #111; opacity: .9; }
.rpc-upload-preview-thumb img {
	width: 100%; height: 100%; object-fit: cover; display: block;
}
.rpc-upload-preview-thumb.rpc-upload-preview-file {
	display: flex; align-items: center; justify-content: center;
	font-size: 32px; color: #888; text-decoration: none;
}
.rpc-upload-preview-meta {
	display: flex; flex-direction: column; gap: 6px; padding-top: 2px;
}
.rpc-upload-preview-magnify {
	font-size: 12px; color: #444; text-decoration: none;
	border-bottom: 1px dotted #999;
}
.rpc-upload-preview-magnify:hover { color: #111; border-bottom-color: #111; }
.rpc-upload-remove {
	display: inline-flex; align-items: center; justify-content: center;
	width: 22px; height: 22px; padding: 0;
	border: 1px solid #ccc; border-radius: 50%;
	background: #fff; color: #666;
	font-size: 13px; line-height: 1; cursor: pointer;
	align-self: flex-start;
}
.rpc-upload-remove:hover { background: #d32f2f; color: #fff; border-color: #d32f2f; }

/* "Comparing Methods" link */
.rpc-compare-methods {
	display: inline-flex; align-items: center;
	margin-left: 10px; padding: 2px 8px;
	border: 1px solid #999; border-radius: 12px;
	font-size: 11px; font-weight: 500; color: #444;
	text-decoration: none;
	transition: background .12s, color .12s, border-color .12s;
}
.rpc-compare-methods:hover { background: #111; color: #fff; border-color: #111; }
.rpc-compare-methods::before { content: "ℹ"; margin-right: 4px; font-style: normal; }

/* Modal */
.rpc-modal-backdrop {
	position: fixed; inset: 0; z-index: 99999;
	background: rgba(0,0,0,.55);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
}
.rpc-modal {
	position: relative; max-width: 640px; width: 100%;
	background: #fff; border-radius: 6px; padding: 24px 28px;
	box-shadow: 0 8px 32px rgba(0,0,0,.3);
	max-height: 90vh; overflow: auto;
}
.rpc-modal h3 { margin: 0 0 14px; font-size: 18px; }
.rpc-modal-close {
	position: absolute; top: 10px; right: 10px;
	width: 32px; height: 32px; padding: 0;
	border: 0; background: transparent; cursor: pointer;
	font-size: 22px; line-height: 1; color: #666;
}
.rpc-modal-close:hover { color: #111; }
.rpc-modal-table {
	width: 100%; border-collapse: collapse; font-size: 13px;
}
.rpc-modal-table th, .rpc-modal-table td {
	padding: 8px 10px; border: 1px solid #e5e5e5; text-align: left;
	vertical-align: top;
}
.rpc-modal-table thead th { background: #f5f5f5; font-weight: 700; }

/* Info blocks below gallery */
.rpc-info-block {
	display: flex; gap: 12px;
	padding: 14px 16px;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	align-items: flex-start;
}
.rpc-info-block .rpc-info-icon {
	font-size: 22px; line-height: 1; flex: 0 0 auto;
}
.rpc-info-block .rpc-info-text { flex: 1 1 auto; min-width: 0; }
.rpc-info-block h4 {
	margin: 0 0 4px; font-size: 13px; font-weight: 700;
	letter-spacing: .02em; color: #111; text-transform: uppercase;
}
.rpc-info-block p {
	margin: 0; font-size: 12px; line-height: 1.5; color: #555;
}
@media (max-width: 600px) {
}



}

/* [GALLERY-FILL 2026-05-05] Make image larger + bigger thumbs to fill desktop space */
@media (min-width: 992px) {
    /* Main image larger aspect ratio (taller) */
    .single-product .woocommerce-product-gallery__wrapper {
        position: relative;
        max-width: 100%;
    }
    .single-product .woocommerce-product-gallery__wrapper > div:first-child {
        position: relative;
    }
    .single-product .woocommerce-product-gallery__wrapper img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        max-height: 700px !important;
    }
    /* Bigger thumbnail grid */
    .single-product .flex-control-thumbs {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
        margin-top: 16px !important;
    }
    .single-product .flex-control-thumbs li img {
        aspect-ratio: 1/1 !important;
        height: auto !important;
    }
}

/* [SIZE-GUIDE 2026-05-05] */
.rpc-size-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: underline;
    text-decoration-style: dotted;
}
.rpc-size-guide-link:hover { color: #111; }

/* [SIZE-GUIDE-MODAL 2026-05-06] */
.rpc-modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.6);
    z-index: 999999; display: flex; align-items: center; justify-content: center;
    padding: 20px; box-sizing: border-box;
}
.rpc-modal-box {
    background: #fff; border-radius: 8px; max-width: 700px; width: 100%;
    max-height: 85vh; overflow-y: auto; padding: 32px; position: relative;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.rpc-modal-header { border-bottom: 1px solid #eee; padding-bottom: 16px; margin-bottom: 20px; position: relative; }
.rpc-modal-header h2 { font-size: 20px; font-weight: 700; margin: 0 0 4px 0; letter-spacing: 1px; }
.rpc-modal-subtitle { font-size: 14px; color: #555; letter-spacing: 0.5px; }
.rpc-modal-close {
    position: absolute; top: -8px; right: -8px; width: 32px; height: 32px;
    background: #111; color: #fff; border: 0; border-radius: 4px; font-size: 18px;
    cursor: pointer; line-height: 32px; padding: 0;
}
.rpc-sg-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.rpc-sg-tab {
    padding: 8px 18px; background: #fff; border: 1px solid #222;
    border-radius: 2px; cursor: pointer; font-size: 14px; font-weight: 500;
}
.rpc-sg-tab.is-active { background: #111; color: #fff; }
.rpc-sg-note { font-size: 13px; color: #666; margin: 12px 0 16px; }
.rpc-sg-content { display: none; }
.rpc-sg-content.is-active { display: block; }
.rpc-sg-content h3 { font-size: 17px; font-weight: 600; margin: 16px 0 12px; }
.rpc-sg-table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.rpc-sg-table th, .rpc-sg-table td { padding: 8px 12px; border: 1px solid #e0e0e0; text-align: center; font-size: 14px; }
.rpc-sg-table th { background: #f5f5f5; font-weight: 600; }
.rpc-sg-table tbody tr:nth-child(odd) { background: #fafafa; }
.rpc-sg-tip { font-size: 13px; color: #555; font-style: italic; }
.rpc-sg-help {
    margin-top: 16px; padding: 12px 16px; background: #f9f9f9;
    border-left: 3px solid #111; font-size: 13px; line-height: 1.5;
}


/* ============================================================
   [SIZE-GUIDE 2026-05-06] Full size guide modal (v1.0.11)
   ============================================================ */
.rpc-sg-modal { max-width: 860px; }

/* Unit toggle pill */
.rpc-sg-unit-toggle {
    display: inline-flex; border: 1px solid #111; border-radius: 999px;
    overflow: hidden; margin: 4px 0 16px;
}
.rpc-sg-unit {
    background: #fff; color: #111; border: 0; padding: 6px 18px;
    font-size: 13px; font-weight: 600; cursor: pointer; letter-spacing: 1px;
}
.rpc-sg-unit + .rpc-sg-unit { border-left: 1px solid #111; }
.rpc-sg-unit.is-active { background: #111; color: #fff; }

/* Two-column chart + illustration */
.rpc-sg-chart-title { font-size: 16px; font-weight: 700; margin: 8px 0 12px; }
.rpc-sg-twocol {
    display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: start;
}
.rpc-sg-illuscol { text-align: center; }
.rpc-sg-jersey { width: 100%; max-width: 280px; height: auto; }

/* Accordions */
.rpc-sg-accordion {
    border-top: 1px solid #e3e3e3; margin-top: 4px;
}
.rpc-sg-acc-head {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 14px 4px; background: transparent; border: 0; cursor: pointer;
    font-size: 14px; font-weight: 600; text-align: left;
}
.rpc-sg-acc-toggle { font-size: 12px; color: #666; font-weight: 500; }
.rpc-sg-accordion.is-open .rpc-sg-acc-toggle { transform: rotate(180deg); display: inline-block; }
.rpc-sg-acc-body { display: none; padding: 4px 4px 16px; font-size: 13px; line-height: 1.6; color: #333; }
.rpc-sg-accordion.is-open .rpc-sg-acc-body { display: block; }
.rpc-sg-acc-body ul { padding-left: 20px; margin: 6px 0; }

/* Section titles (with leading dash style) */
.rpc-sg-section-title {
    font-size: 13px; font-weight: 700; letter-spacing: 2px;
    margin: 28px 0 14px; color: #111;
}

/* Calculator */
.rpc-sg-calc-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 12px;
}
.rpc-sg-calc-grid label {
    display: flex; flex-direction: column; gap: 6px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #444;
}
.rpc-sg-calc-grid select {
    padding: 8px 10px; border: 1px solid #bbb; border-radius: 2px; font-size: 14px;
    background: #fff;
}
.rpc-sg-calc-msg {
    font-size: 13px; color: #333; margin-top: 8px; padding: 8px 10px;
    background: #f5f5f5; border-radius: 2px;
}
.rpc-sg-calc-result {
    margin-top: 10px; font-size: 15px; font-weight: 600;
}
.rpc-sg-calc-result strong { font-size: 18px; color: #111; }
.rpc-sg-calc-disclaimer {
    margin-top: 10px; font-size: 12px; color: #c00; line-height: 1.5;
}

/* Contact */
.rpc-sg-contact-h { font-size: 16px; font-weight: 700; margin: 0 0 4px; letter-spacing: 1px; }
.rpc-sg-contact-sub { font-size: 13px; color: #555; margin: 0 0 14px; }
.rpc-sg-contact-icons {
    display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px;
}
.rpc-sg-icon {
    flex: 1 1 0; min-width: 120px; display: flex; flex-direction: column;
    align-items: center; gap: 6px; padding: 14px 10px;
    border: 1px solid #e3e3e3; border-radius: 4px; text-decoration: none;
    color: #111; font-size: 12px; font-weight: 600; letter-spacing: 1px;
    transition: background .15s, border-color .15s;
}
.rpc-sg-icon:hover { background: #fafafa; border-color: #111; }
.rpc-sg-emoji { font-size: 24px; line-height: 1; }
.rpc-sg-contact-disc { font-size: 12px; color: #777; margin: 0 0 14px; line-height: 1.5; }

/* Form */
.rpc-sg-form .rpc-sg-form-row {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px;
}
.rpc-sg-form input,
.rpc-sg-form textarea {
    width: 100%; padding: 10px 12px; border: 1px solid #ccc; border-radius: 2px;
    font-size: 13px; font-family: inherit; box-sizing: border-box;
}
.rpc-sg-form textarea { resize: vertical; }
.rpc-sg-form input:focus,
.rpc-sg-form textarea:focus { outline: none; border-color: #111; }
.rpc-sg-send {
    margin-top: 10px; background: #111; color: #fff; border: 0;
    padding: 12px 32px; font-weight: 700; letter-spacing: 2px; cursor: pointer;
    border-radius: 2px; font-size: 13px;
}
.rpc-sg-send:hover { background: #333; }
.rpc-sg-form-status { margin-top: 10px; font-size: 13px; }

/* Mobile */
@media (max-width: 720px) {
    .rpc-sg-modal { padding: 20px; }
    .rpc-sg-twocol { grid-template-columns: 1fr; }
    .rpc-sg-illuscol { order: -1; }
    .rpc-sg-calc-grid { grid-template-columns: 1fr; }
    .rpc-sg-form .rpc-sg-form-row { grid-template-columns: 1fr; }
    .rpc-sg-contact-icons { flex-direction: column; }
}

/* [SG-OVERLAY-FIX 2026-05-06] Size Guide overlay styles */
.rpc-sg-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.6) !important;
    z-index: 999999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
}
.rpc-sg-modal {
    background: #fff !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 860px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 32px !important;
    position: relative !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3) !important;
}

/* [HIDE-TAG-WIDGET 2026-05-06] User request: hide product tag cloud sidebar */
.archive .widget_product_tag_cloud,
.tax-product_cat .widget_product_tag_cloud,
.post-type-archive-product .widget_product_tag_cloud {
    display: none !important;
}

/* [CATEGORY-DESC-FONT 2026-05-06] Improve category description typography */
.term-description,
.archive-description,
.woocommerce-products-header__description,
.shop-page-description {
    font-family: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #444 !important;
    max-width: 900px;
    margin: 0 auto;
}
.term-description h2,
.term-description h3,
.archive-description h2,
.archive-description h3 {
    font-size: 19px !important;
    font-weight: 600 !important;
    color: #222 !important;
    margin-top: 20px !important;
    margin-bottom: 10px !important;
}
.term-description strong,
.archive-description strong {
    color: #222 !important;
    font-weight: 600 !important;
}
.term-description blockquote,
.archive-description blockquote {
    border-left: 3px solid #d22 !important;
    padding-left: 16px !important;
    font-style: normal !important;
    margin: 16px 0 !important;
    font-size: 15px !important;
}
