/* ============================================================================
 * Veylix Bootstrap — Store Content Latest Parity
 * Exact latest Tailwind source block for Blog/Testimonial embedded categories
 * and content-image controls. No redesign.
 * ========================================================================== */
/* Store content category manager + single-image fields (Blog posts / Testimonials) */
.c-category-manager { margin-bottom: 20px; padding: 20px; font-family: var(--font-sans); font-size: var(--font-body); }
.c-category-heading { margin-bottom: 14px; }
.c-category-heading>span { display: block; margin-bottom: 5px; color: #9a7425; font-size: var(--font-caption); font-weight: 800; letter-spacing: .02em; }
.c-category-heading h2 { margin: 0; color: #3b372f; font-size: var(--font-heading); font-weight: 800; letter-spacing: -.2px; }
.c-category-heading p { margin: 6px 0 0; color: #8d826f; font-size: var(--font-body); line-height: 1.55; }
.c-category-layout { display: grid; grid-template-columns: minmax(240px,285px) minmax(0,1fr); gap: 14px; align-items: stretch; }
.c-category-form { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 13px; border: 1px solid #e6dbc8; border-radius: 13px; background: #fffaf08f; }
.c-category-form-heading>span { display: block; color: #9a7425; font-size: var(--font-caption); font-weight: 800; letter-spacing: .02em; }
.c-category-form-heading h3 { margin: 3px 0 1px; color: #4a4439; font-size: 15px; font-weight: 600; }
.c-category-form .c-field { gap: 6px; font-size: var(--font-body); }
.c-category-form .c-field>span,.c-category-form .c-field>span>small { font-size: var(--font-body); }
.c-category-form .c-field input,.c-category-form .c-field select,.c-category-form .c-field textarea { padding: 9px 10px; border-radius: 9px; font-size: var(--font-body); }
.c-category-form .c-field textarea { min-height: 84px; resize: vertical; }
.c-category-form .c-form-error { margin: 0; color: #aa3e26; font-size: var(--font-body); line-height: 1.45; }
.c-category-form .c-form-error:empty { display: none; }
.c-category-submit { display: flex; justify-content: flex-end; margin-top: auto; }
.c-category-submit .primary-button { min-height: 35px; padding: 8px 12px; font-size: var(--font-body); }
.c-category-list { min-width: 0; overflow: hidden; border: 1px solid #e6dbc8; border-radius: 13px; background: #fffdf8a3; }
.c-category-toolbar { display: flex; align-items: center; gap: 10px; padding: 0 10px 0 0; border-bottom: 1px solid #e8decb; }
.c-category-toolbar .c-search { max-width: none; height: 39px; border: 0; border-radius: 0; background: transparent; }
.c-category-toolbar .c-search input { font-size: var(--font-body); }
.c-category-toolbar .c-archive-toggle { font-size: var(--font-body); white-space: nowrap; }
.c-category-toolbar input[type="checkbox"] { width: 16px; height: 16px; }
.c-category-results { max-height: 278px; overflow: auto; scrollbar-width: thin; }
.c-category-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 58px; padding: 9px 12px; border-bottom: 1px solid #e9dfce; }
.c-category-row:last-child { border-bottom: 0; }
.c-category-copy { min-width: 0; }
.c-category-copy>div { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.c-category-copy strong { color: #49443a; font-size: var(--font-body); font-weight: 750; }
.c-category-copy span { color: #a09583; font-size: var(--font-body); }
.c-category-copy small { display: block; margin-top: 4px; color: #9a8e7b; font-size: var(--font-body); line-height: 1.4; overflow-wrap: anywhere; }
.c-category-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-shrink: 0; }
.c-category-actions>span { margin-right: 2px; color: #907234; font-size: var(--font-body); font-weight: 750; }
.c-category-actions .secondary-button { min-height: 29px; padding: 6px 9px; border-radius: 8px; font-size: var(--font-body); box-shadow: none; }
.c-category-empty { padding: 38px 18px; color: #8f846f; font-size: var(--font-body); text-align: center; }
.c-content-image-field { min-width: 0; }
.c-content-image-control { display: grid; grid-template-columns: minmax(150px,220px) minmax(0,1fr); gap: 15px; align-items: center; min-height: 155px; padding: 14px; border: 1px solid #e1d7c5; border-radius: 12px; background: #fffdf6a6; }
.c-content-image-preview { display: grid; place-items: center; width: 100%; height: 126px; overflow: hidden; border: 1px dashed #d8cbb3; border-radius: 11px; background: #f1ebdf; color: #958976; font-size: var(--font-body); font-weight: 600; text-align: center; }
.c-content-image-preview img { display: block; width: 100%; height: 100%; object-fit: cover; }
.c-content-image-actions { display: flex; align-items: center; align-content: center; flex-wrap: wrap; gap: 10px; min-width: 0; }
.c-content-image-actions>small { flex-basis: 100%; color: #8d806b; font-size: var(--font-body); font-weight: 500; line-height: 1.5; }
.c-content-image-upload { position: relative; overflow: hidden; cursor: pointer; }
.c-content-image-upload input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.c-content-image-upload:focus-within { outline: 2px solid #946b17; outline-offset: 3px; }
.c-content-image-remove:disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }
.c-content-table-image { display: grid; place-items: center; width: 56px; height: 40px; overflow: hidden; border-radius: 9px; background: #eee8da; color: #a1947d; font-size: var(--font-body); }
.c-content-table-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1000px) { .c-category-layout { grid-template-columns: 1fr; }.c-category-results { max-height: 320px; } }
@media (max-width: 767px) { .c-category-manager { padding: 15px; }.c-category-toolbar { align-items: stretch; flex-wrap: wrap; padding: 8px 10px; }.c-category-toolbar .c-search { width: 100%; padding: 0; }.c-category-toolbar .c-archive-toggle { margin-left: 0; }.c-category-row { align-items: flex-start; flex-direction: column; }.c-category-actions { width: 100%; justify-content: flex-start; }.c-content-image-control { grid-template-columns: 1fr; }.c-content-image-preview { max-width: 220px; }.c-content-image-actions { align-items: flex-start; } }
