
/* Latino Sneaker · Sistema visual empresarial */
body[data-design="latino-v4"] {--accent:#a58769;--focus-ring:0 0 0 4px rgba(165,135,105,.15)}
body[data-design="latino-v4"] .brand-caption {font-size:8px;letter-spacing:.16em}
body[data-design="latino-v4"] .sidebar-scroll {scroll-padding-bottom:20px}
body[data-design="latino-v4"] .nav-link {letter-spacing:0}
body[data-design="latino-v4"] .page-heading {gap:18px}
body[data-design="latino-v4"] .page-heading h1 {line-height:1.16}
body[data-design="latino-v4"] .gallery-panel {margin-top:25px;overflow:hidden}
.gallery-heading {padding-bottom:20px;border-bottom:1px solid var(--line)}
.gallery-heading h2 {display:flex;align-items:center;gap:10px;font-size:20px}
.gallery-upload {padding:25px;border-bottom:1px solid var(--line);background:linear-gradient(180deg,#fcfaf7,#fff)}
.gallery-drop {display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:33px 16px;min-height:185px;border:1.5px dashed #d4c6b7;border-radius:15px;background:#faf7f2;cursor:pointer;transition:background .2s,border-color .2s}
.gallery-drop:hover,.gallery-drop:focus-within {background:#f5eee5;border-color:#a68c70}
.gallery-drop>svg {height:26px;width:26px;color:#9e7f5f;margin-bottom:13px}
.gallery-drop strong {font-size:14px;color:#292724;margin-bottom:5px}
.gallery-drop small {font-size:11px;color:#8b837a}
.gallery-select {margin-top:12px;padding:9px 14px;border-radius:9px;background:#1e1d1c;color:#fff;font-size:11px;font-weight:700}
.gallery-input {position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
.gallery-previews {display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.gallery-previews img {height:68px;width:68px;object-fit:cover;border-radius:9px;border:1px solid #e9e4dc}
.gallery-upload-footer {display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:13px;flex-wrap:wrap}
.gallery-upload-footer>span {font-size:11px;color:#84796d}
.gallery-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:22px}
.gallery-card {border:1px solid #eae5df;border-radius:14px;background:#fff;overflow:hidden;box-shadow:0 8px 19px rgba(23,23,23,.025)}
.gallery-photo {position:relative;aspect-ratio:4/3;overflow:hidden;background:#f0ede8}
.gallery-photo img {display:block;width:100%;height:100%;object-fit:contain}
.gallery-cover-tag {position:absolute;top:12px;left:12px;border-radius:6px;padding:6px 8px;background:#1e1d1c;color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em}
.gallery-edit-form {padding:13px 13px 7px;display:grid;gap:10px}
.gallery-edit-form label {display:grid;gap:4px;font-size:10px;font-weight:750;color:#676057}
.gallery-edit-form input[type=text],.gallery-edit-form input[type=number] {width:100%;padding:9px 10px;border:1px solid #e9e5df;border-radius:8px;font-size:11px;outline:none}
.gallery-edit-form input:focus {border-color:#a58769;box-shadow:var(--focus-ring)}
.gallery-form-row {display:flex;gap:14px;align-items:center}
.gallery-form-row label:first-child {width:76px}
.gallery-checkbox {display:flex!important;flex-direction:row;gap:7px!important;align-items:center;cursor:pointer}
.gallery-checkbox input {accent-color:#8f775f}
.gallery-small-btn {width:100%;padding:9px}
.gallery-inline-action {display:flex;gap:7px;align-items:center;margin:0 13px 12px}
.gallery-file-action {display:flex;align-items:center;justify-content:center;min-width:0;flex:1;border:1px solid #ddd6ce;padding:9px;border-radius:8px;font-size:11px;font-weight:750;cursor:pointer;text-align:center;overflow:hidden;position:relative}
.gallery-file-action input {position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.gallery-inline-action .btn {padding:9px 12px}
.gallery-delete {width:calc(100% - 26px);margin:0 13px 13px;border:1px solid #f0e2db;color:#a75e51;background:#fff9f7;border-radius:9px;padding:9px;font-size:10px;font-weight:800}
.gallery-delete:hover {background:#fbe8e3}
.gallery-empty {grid-column:1/-1;display:flex;align-items:center;flex-direction:column;text-align:center;justify-content:center;min-height:170px;color:#948a7e}
.gallery-empty svg {width:27px;height:27px;margin-bottom:10px}
.gallery-empty strong {font-size:13px;color:#686059}
.gallery-empty p {font-size:11px;max-width:310px;margin:7px 0}
.product-thumbnail {overflow:hidden;display:flex;align-items:center;justify-content:center}
.product-photo-mini {width:100%;height:100%;object-fit:cover}
.product-cell>div:last-child {min-width:0}
.product-cell>div:last-child strong {display:block;line-height:1.3}
.product-cell .mono {display:block;margin-top:4px}
.staff-stat-row {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:16px}
.staff-stat {display:flex;flex-direction:column;gap:7px;padding:23px;border-radius:15px;background:#fff;border:1px solid #ebe8e3;box-shadow:var(--shadow-soft)}
.staff-stat small {color:#9b846b;letter-spacing:.09em;font-weight:850;font-size:9px}
.staff-stat strong {font:800 30px Manrope,sans-serif;color:#1c1b1a;line-height:1.1}
.staff-stat span {color:#8e877e;font-size:11px}
.employee-cell {display:flex;align-items:center;gap:12px;min-width:180px}
.employee-avatar {width:42px;height:42px;border-radius:12px;flex:0 0 42px;background:#eee5d9;color:#4d4034;display:grid;place-items:center;font-weight:800;font-size:15px}
.employee-cell div {display:flex;flex-direction:column;gap:4px}
.employee-cell div span {font-size:11px;color:#92897f}
.role-label {display:inline-block;padding:7px 11px;border-radius:7px;background:#f3eee7;color:#7c6751;font-size:10px;font-weight:800;white-space:nowrap}
.role-label.owner {background:#1d1b19;color:#f5f1ec}
.role-label.attendant {background:#f2f2ef;color:#6e6b66}
.roles-explain {display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}
.roles-explain>div {border:1px solid #eae5dc;background:#fff;border-radius:15px;padding:21px}
.role-pictogram {display:grid;place-items:center;width:37px;height:37px;background:#f2eae0;color:#8b7156;border-radius:10px;font-size:11px;font-weight:850;margin-bottom:13px}
.roles-explain h3 {margin:0 0 8px;color:#24211d}
.roles-explain p {font-size:11px;line-height:1.65;margin:0}
.role-choice-list {display:grid;gap:12px;padding:10px 24px 24px}
.role-choice {display:flex;gap:14px;align-items:center;border:1px solid #e7e1d9;padding:20px 17px;border-radius:13px;cursor:pointer;transition:background .2s,border-color .2s}
.role-choice:hover {background:#faf6f0;border-color:#cbb69c}
.role-choice:has(input:checked) {border-color:#b39878;background:#f8f3eb}
.role-choice input {accent-color:#8b7256;width:17px;height:17px;flex:0 0 17px}
.role-choice span {display:grid;gap:5px}
.role-choice strong {font-size:13px;color:#26211d}
.role-choice small {font-size:11px;color:#867e73;font-weight:400;line-height:1.55}
.role-switch {display:flex;flex-direction:column;border-top:1px solid var(--line);padding:12px 24px 20px;gap:4px}
.role-switch p {font-size:11px;margin:0;color:#978e83}
@media(max-width:1280px){.gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:980px){.roles-explain {grid-template-columns:1fr 1fr}.gallery-grid {grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){
  .gallery-upload {padding:15px}
  .gallery-grid {grid-template-columns:1fr;padding:14px}
  .gallery-photo {aspect-ratio:5/3}
  .gallery-upload-footer {align-items:stretch;flex-direction:column}
  .gallery-upload-footer .btn {width:100%}
  .staff-stat-row {grid-template-columns:1fr 1fr;gap:10px}
  .staff-stat {padding:17px}
  .staff-stat:last-child {grid-column:1/-1}
  .roles-explain {grid-template-columns:1fr}
  .role-choice-list {padding:10px 16px 20px}
  .page-heading>div:last-child .btn {width:100%}
  .employee-cell {min-width:150px}
}

.variant-details {position:relative;min-width:95px}
.variant-details summary {cursor:pointer;list-style:none;border:1px solid #ded8d0;background:#fcfaf7;border-radius:8px;padding:8px 10px;text-align:center;font-size:11px;font-weight:700}
.variant-details[open] {z-index:5}
.variant-update-form {position:relative;display:grid;gap:9px;padding:15px;background:#fff;border:1px solid #ddd5ca;border-radius:11px;box-shadow:0 12px 40px rgba(0,0,0,.12);width:250px;margin-top:8px;text-align:left}
.variant-update-form label {font-size:10px;font-weight:750;color:#6a6157;display:grid;gap:4px}
.variant-update-form input:not([type=checkbox]) {border:1px solid #e3dcd3;border-radius:8px;padding:8px;width:100%;font:inherit}
.variant-update-form .btn {width:100%}

.permissions-panel {margin-top:18px;overflow:hidden}
.permissions-table td:not(:first-child),.permissions-table th:not(:first-child) {text-align:center}
.permissions-table {min-width:570px}
.permission-indicator {display:inline-grid;place-items:center;width:25px;height:25px;border-radius:7px;font-weight:900}
.permission-indicator.yes {background:#e7f2e9;color:#467754}
.permission-indicator.no {background:#f4f1ed;color:#b9b2ab}
